0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.69 for protobuf-c 1.3.3.
|
|
2 |
# Generated by GNU Autoconf 2.71 for protobuf-c 1.4.0.
|
3 | 3 |
#
|
4 | 4 |
# Report bugs to <https://github.com/protobuf-c/protobuf-c/issues>.
|
5 | 5 |
#
|
6 | 6 |
#
|
7 | |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
|
|
7 |
# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
|
|
8 |
# Inc.
|
8 | 9 |
#
|
9 | 10 |
#
|
10 | 11 |
# This configure script is free software; the Free Software Foundation
|
|
15 | 16 |
|
16 | 17 |
# Be more Bourne compatible
|
17 | 18 |
DUALCASE=1; export DUALCASE # for MKS sh
|
18 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
|
19 |
as_nop=:
|
|
20 |
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
|
|
21 |
then :
|
19 | 22 |
emulate sh
|
20 | 23 |
NULLCMD=:
|
21 | 24 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
22 | 25 |
# is contrary to our usage. Disable this feature.
|
23 | 26 |
alias -g '${1+"$@"}'='"$@"'
|
24 | 27 |
setopt NO_GLOB_SUBST
|
25 | |
else
|
|
28 |
else $as_nop
|
26 | 29 |
case `(set -o) 2>/dev/null` in #(
|
27 | 30 |
*posix*) :
|
28 | 31 |
set -o posix ;; #(
|
|
32 | 35 |
fi
|
33 | 36 |
|
34 | 37 |
|
|
38 |
|
|
39 |
# Reset variables that may have inherited troublesome values from
|
|
40 |
# the environment.
|
|
41 |
|
|
42 |
# IFS needs to be set, to space, tab, and newline, in precisely that order.
|
|
43 |
# (If _AS_PATH_WALK were called with IFS unset, it would have the
|
|
44 |
# side effect of setting IFS to empty, thus disabling word splitting.)
|
|
45 |
# Quoting is to prevent editors from complaining about space-tab.
|
35 | 46 |
as_nl='
|
36 | 47 |
'
|
37 | 48 |
export as_nl
|
38 | |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
39 | |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
40 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
41 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
42 | |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
43 | |
# but without wasting forks for bash or zsh.
|
44 | |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
45 | |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
46 | |
as_echo='print -r --'
|
47 | |
as_echo_n='print -rn --'
|
48 | |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
49 | |
as_echo='printf %s\n'
|
50 | |
as_echo_n='printf %s'
|
51 | |
else
|
52 | |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
53 | |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
54 | |
as_echo_n='/usr/ucb/echo -n'
|
55 | |
else
|
56 | |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
57 | |
as_echo_n_body='eval
|
58 | |
arg=$1;
|
59 | |
case $arg in #(
|
60 | |
*"$as_nl"*)
|
61 | |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
62 | |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
63 | |
esac;
|
64 | |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
65 | |
'
|
66 | |
export as_echo_n_body
|
67 | |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
68 | |
fi
|
69 | |
export as_echo_body
|
70 | |
as_echo='sh -c $as_echo_body as_echo'
|
71 | |
fi
|
|
49 |
IFS=" "" $as_nl"
|
|
50 |
|
|
51 |
PS1='$ '
|
|
52 |
PS2='> '
|
|
53 |
PS4='+ '
|
|
54 |
|
|
55 |
# Ensure predictable behavior from utilities with locale-dependent output.
|
|
56 |
LC_ALL=C
|
|
57 |
export LC_ALL
|
|
58 |
LANGUAGE=C
|
|
59 |
export LANGUAGE
|
|
60 |
|
|
61 |
# We cannot yet rely on "unset" to work, but we need these variables
|
|
62 |
# to be unset--not just set to an empty or harmless value--now, to
|
|
63 |
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
|
|
64 |
# also avoids known problems related to "unset" and subshell syntax
|
|
65 |
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
|
|
66 |
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
|
|
67 |
do eval test \${$as_var+y} \
|
|
68 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
|
69 |
done
|
|
70 |
|
|
71 |
# Ensure that fds 0, 1, and 2 are open.
|
|
72 |
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
|
|
73 |
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
|
|
74 |
if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
|
72 | 75 |
|
73 | 76 |
# The user is always right.
|
74 | |
if test "${PATH_SEPARATOR+set}" != set; then
|
|
77 |
if ${PATH_SEPARATOR+false} :; then
|
75 | 78 |
PATH_SEPARATOR=:
|
76 | 79 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
77 | 80 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
79 | 82 |
}
|
80 | 83 |
fi
|
81 | 84 |
|
82 | |
|
83 | |
# IFS
|
84 | |
# We need space, tab and new line, in precisely that order. Quoting is
|
85 | |
# there to prevent editors from complaining about space-tab.
|
86 | |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
87 | |
# splitting by setting IFS to empty value.)
|
88 | |
IFS=" "" $as_nl"
|
89 | 85 |
|
90 | 86 |
# Find who we are. Look in the path if we contain no directory separator.
|
91 | 87 |
as_myself=
|
|
95 | 91 |
for as_dir in $PATH
|
96 | 92 |
do
|
97 | 93 |
IFS=$as_save_IFS
|
98 | |
test -z "$as_dir" && as_dir=.
|
99 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
94 |
case $as_dir in #(((
|
|
95 |
'') as_dir=./ ;;
|
|
96 |
*/) ;;
|
|
97 |
*) as_dir=$as_dir/ ;;
|
|
98 |
esac
|
|
99 |
test -r "$as_dir$0" && as_myself=$as_dir$0 && break
|
100 | 100 |
done
|
101 | 101 |
IFS=$as_save_IFS
|
102 | 102 |
|
|
108 | 108 |
as_myself=$0
|
109 | 109 |
fi
|
110 | 110 |
if test ! -f "$as_myself"; then
|
111 | |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
111 |
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
112 | 112 |
exit 1
|
113 | 113 |
fi
|
114 | 114 |
|
115 | |
# Unset variables that we do not need and which cause bugs (e.g. in
|
116 | |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
117 | |
# suppresses any "Segmentation fault" message there. '((' could
|
118 | |
# trigger a bug in pdksh 5.2.14.
|
119 | |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
120 | |
do eval test x\${$as_var+set} = xset \
|
121 | |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
122 | |
done
|
123 | |
PS1='$ '
|
124 | |
PS2='> '
|
125 | |
PS4='+ '
|
126 | |
|
127 | |
# NLS nuisances.
|
128 | |
LC_ALL=C
|
129 | |
export LC_ALL
|
130 | |
LANGUAGE=C
|
131 | |
export LANGUAGE
|
132 | |
|
133 | |
# CDPATH.
|
134 | |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
135 | 115 |
|
136 | 116 |
# Use a proper internal environment variable to ensure we don't fall
|
137 | 117 |
# into an infinite loop, continuously re-executing ourselves.
|
|
153 | 133 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
|
154 | 134 |
# Admittedly, this is quite paranoid, since all the known shells bail
|
155 | 135 |
# out after a failed `exec'.
|
156 | |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
|
157 | |
as_fn_exit 255
|
|
136 |
printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
|
|
137 |
exit 255
|
158 | 138 |
fi
|
159 | 139 |
# We don't want this to propagate to other subprocesses.
|
160 | 140 |
{ _as_can_reexec=; unset _as_can_reexec;}
|
161 | 141 |
if test "x$CONFIG_SHELL" = x; then
|
162 | |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
|
142 |
as_bourne_compatible="as_nop=:
|
|
143 |
if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
|
|
144 |
then :
|
163 | 145 |
emulate sh
|
164 | 146 |
NULLCMD=:
|
165 | 147 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
166 | 148 |
# is contrary to our usage. Disable this feature.
|
167 | 149 |
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
168 | 150 |
setopt NO_GLOB_SUBST
|
169 | |
else
|
|
151 |
else \$as_nop
|
170 | 152 |
case \`(set -o) 2>/dev/null\` in #(
|
171 | 153 |
*posix*) :
|
172 | 154 |
set -o posix ;; #(
|
|
186 | 168 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
187 | 169 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
188 | 170 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
189 | |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
190 | |
|
191 | |
else
|
|
171 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" )
|
|
172 |
then :
|
|
173 |
|
|
174 |
else \$as_nop
|
192 | 175 |
exitcode=1; echo positional parameters were not saved.
|
193 | 176 |
fi
|
194 | 177 |
test x\$exitcode = x0 || exit 1
|
|
178 |
blah=\$(echo \$(echo blah))
|
|
179 |
test x\"\$blah\" = xblah || exit 1
|
195 | 180 |
test -x / || exit 1"
|
196 | 181 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
197 | 182 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
198 | 183 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
199 | 184 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
200 | |
test \$(( 1 + 1 )) = 2 || exit 1
|
201 | 185 |
|
202 | 186 |
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
|
203 | 187 |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
205 | 189 |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
|
206 | 190 |
PATH=/empty FPATH=/empty; export PATH FPATH
|
207 | 191 |
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
|
208 | |
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
|
209 | |
if (eval "$as_required") 2>/dev/null; then :
|
|
192 |
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
|
|
193 |
test \$(( 1 + 1 )) = 2 || exit 1"
|
|
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: https://github.com/protobuf-c/protobuf-c/issues about
|
278 | 279 |
$0: your system, including any error possibly output before
|
279 | 280 |
$0: this message. Then install a modern shell, or manually
|
|
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
|
|
589 | 620 |
# Identity of this package.
|
590 | 621 |
PACKAGE_NAME='protobuf-c'
|
591 | 622 |
PACKAGE_TARNAME='protobuf-c'
|
592 | |
PACKAGE_VERSION='1.3.3'
|
593 | |
PACKAGE_STRING='protobuf-c 1.3.3'
|
|
623 |
PACKAGE_VERSION='1.4.0'
|
|
624 |
PACKAGE_STRING='protobuf-c 1.4.0'
|
594 | 625 |
PACKAGE_BUGREPORT='https://github.com/protobuf-c/protobuf-c/issues'
|
595 | 626 |
PACKAGE_URL='https://github.com/protobuf-c/protobuf-c'
|
596 | 627 |
|
597 | 628 |
ac_unique_file="protobuf-c/protobuf-c.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
|
|
683 | 710 |
DUMPBIN
|
684 | 711 |
LD
|
685 | 712 |
FGREP
|
|
713 |
EGREP
|
|
714 |
GREP
|
686 | 715 |
SED
|
687 | 716 |
host_os
|
688 | 717 |
host_vendor
|
|
693 | 722 |
build_cpu
|
694 | 723 |
build
|
695 | 724 |
LIBTOOL
|
696 | |
EGREP
|
697 | |
GREP
|
698 | |
CPP
|
699 | 725 |
LN_S
|
700 | 726 |
am__fastdepCXX_FALSE
|
701 | 727 |
am__fastdepCXX_TRUE
|
|
723 | 749 |
AM_DEFAULT_VERBOSITY
|
724 | 750 |
AM_DEFAULT_V
|
725 | 751 |
AM_V
|
|
752 |
CSCOPE
|
|
753 |
ETAGS
|
|
754 |
CTAGS
|
726 | 755 |
am__untar
|
727 | 756 |
am__tar
|
728 | 757 |
AMTAR
|
|
818 | 847 |
CXX
|
819 | 848 |
CXXFLAGS
|
820 | 849 |
CCC
|
821 | |
CPP
|
822 | 850 |
LT_SYS_LIBRARY_PATH
|
823 | 851 |
CXXCPP
|
824 | 852 |
PKG_CONFIG
|
|
895 | 923 |
*) ac_optarg=yes ;;
|
896 | 924 |
esac
|
897 | 925 |
|
898 | |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
899 | |
|
900 | 926 |
case $ac_dashdash$ac_option in
|
901 | 927 |
--)
|
902 | 928 |
ac_dashdash=yes ;;
|
|
937 | 963 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
938 | 964 |
# Reject names that are not valid shell variable names.
|
939 | 965 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
940 | |
as_fn_error $? "invalid feature name: $ac_useropt"
|
|
966 |
as_fn_error $? "invalid feature name: \`$ac_useropt'"
|
941 | 967 |
ac_useropt_orig=$ac_useropt
|
942 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
968 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
|
943 | 969 |
case $ac_user_opts in
|
944 | 970 |
*"
|
945 | 971 |
"enable_$ac_useropt"
|
|
963 | 989 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
964 | 990 |
# Reject names that are not valid shell variable names.
|
965 | 991 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
966 | |
as_fn_error $? "invalid feature name: $ac_useropt"
|
|
992 |
as_fn_error $? "invalid feature name: \`$ac_useropt'"
|
967 | 993 |
ac_useropt_orig=$ac_useropt
|
968 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
994 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
|
969 | 995 |
case $ac_user_opts in
|
970 | 996 |
*"
|
971 | 997 |
"enable_$ac_useropt"
|
|
1176 | 1202 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1177 | 1203 |
# Reject names that are not valid shell variable names.
|
1178 | 1204 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1179 | |
as_fn_error $? "invalid package name: $ac_useropt"
|
|
1205 |
as_fn_error $? "invalid package name: \`$ac_useropt'"
|
1180 | 1206 |
ac_useropt_orig=$ac_useropt
|
1181 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1207 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1182 | 1208 |
case $ac_user_opts in
|
1183 | 1209 |
*"
|
1184 | 1210 |
"with_$ac_useropt"
|
|
1192 | 1218 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1193 | 1219 |
# Reject names that are not valid shell variable names.
|
1194 | 1220 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1195 | |
as_fn_error $? "invalid package name: $ac_useropt"
|
|
1221 |
as_fn_error $? "invalid package name: \`$ac_useropt'"
|
1196 | 1222 |
ac_useropt_orig=$ac_useropt
|
1197 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1223 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1198 | 1224 |
case $ac_user_opts in
|
1199 | 1225 |
*"
|
1200 | 1226 |
"with_$ac_useropt"
|
|
1238 | 1264 |
|
1239 | 1265 |
*)
|
1240 | 1266 |
# FIXME: should be removed in autoconf 3.0.
|
1241 | |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
|
1267 |
printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
|
1242 | 1268 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1243 | |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
|
1269 |
printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
|
1244 | 1270 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
|
1245 | 1271 |
;;
|
1246 | 1272 |
|
|
1256 | 1282 |
case $enable_option_checking in
|
1257 | 1283 |
no) ;;
|
1258 | 1284 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
1259 | |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
|
1285 |
*) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
1260 | 1286 |
esac
|
1261 | 1287 |
fi
|
1262 | 1288 |
|
|
1320 | 1346 |
X"$as_myself" : 'X\(//\)[^/]' \| \
|
1321 | 1347 |
X"$as_myself" : 'X\(//\)$' \| \
|
1322 | 1348 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
1323 | |
$as_echo X"$as_myself" |
|
|
1349 |
printf "%s\n" X"$as_myself" |
|
1324 | 1350 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1325 | 1351 |
s//\1/
|
1326 | 1352 |
q
|
|
1377 | 1403 |
# Omit some internal or obsolete options to make the list less imposing.
|
1378 | 1404 |
# This message is too long to be a string in the A/UX 3.1 sh.
|
1379 | 1405 |
cat <<_ACEOF
|
1380 | |
\`configure' configures protobuf-c 1.3.3 to adapt to many kinds of systems.
|
|
1406 |
\`configure' configures protobuf-c 1.4.0 to adapt to many kinds of systems.
|
1381 | 1407 |
|
1382 | 1408 |
Usage: $0 [OPTION]... [VAR=VALUE]...
|
1383 | 1409 |
|
|
1448 | 1474 |
|
1449 | 1475 |
if test -n "$ac_init_help"; then
|
1450 | 1476 |
case $ac_init_help in
|
1451 | |
short | recursive ) echo "Configuration of protobuf-c 1.3.3:";;
|
|
1477 |
short | recursive ) echo "Configuration of protobuf-c 1.4.0:";;
|
1452 | 1478 |
esac
|
1453 | 1479 |
cat <<\_ACEOF
|
1454 | 1480 |
|
|
1499 | 1525 |
you have headers in a nonstandard directory <include dir>
|
1500 | 1526 |
CXX C++ compiler command
|
1501 | 1527 |
CXXFLAGS C++ compiler flags
|
1502 | |
CPP C preprocessor
|
1503 | 1528 |
LT_SYS_LIBRARY_PATH
|
1504 | 1529 |
User-defined run-time library search path.
|
1505 | 1530 |
CXXCPP C++ preprocessor
|
|
1534 | 1559 |
case "$ac_dir" in
|
1535 | 1560 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1536 | 1561 |
*)
|
1537 | |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
|
1562 |
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
|
1538 | 1563 |
# A ".." for each directory in $ac_dir_suffix.
|
1539 | |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|
1564 |
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
1540 | 1565 |
case $ac_top_builddir_sub in
|
1541 | 1566 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1542 | 1567 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
1564 | 1589 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
1565 | 1590 |
|
1566 | 1591 |
cd "$ac_dir" || { ac_status=$?; continue; }
|
1567 | |
# Check for guested configure.
|
|
1592 |
# Check for configure.gnu first; this name is used for a wrapper for
|
|
1593 |
# Metaconfig's "Configure" on case-insensitive file systems.
|
1568 | 1594 |
if test -f "$ac_srcdir/configure.gnu"; then
|
1569 | 1595 |
echo &&
|
1570 | 1596 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
|
1572 | 1598 |
echo &&
|
1573 | 1599 |
$SHELL "$ac_srcdir/configure" --help=recursive
|
1574 | 1600 |
else
|
1575 | |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
|
1601 |
printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
1576 | 1602 |
fi || ac_status=$?
|
1577 | 1603 |
cd "$ac_pwd" || { ac_status=$?; break; }
|
1578 | 1604 |
done
|
|
1581 | 1607 |
test -n "$ac_init_help" && exit $ac_status
|
1582 | 1608 |
if $ac_init_version; then
|
1583 | 1609 |
cat <<\_ACEOF
|
1584 | |
protobuf-c configure 1.3.3
|
1585 | |
generated by GNU Autoconf 2.69
|
1586 | |
|
1587 | |
Copyright (C) 2012 Free Software Foundation, Inc.
|
|
1610 |
protobuf-c configure 1.4.0
|
|
1611 |
generated by GNU Autoconf 2.71
|
|
1612 |
|
|
1613 |
Copyright (C) 2021 Free Software Foundation, Inc.
|
1588 | 1614 |
This configure script is free software; the Free Software Foundation
|
1589 | 1615 |
gives unlimited permission to copy, distribute and modify it.
|
1590 | 1616 |
_ACEOF
|
|
1601 | 1627 |
ac_fn_c_try_compile ()
|
1602 | 1628 |
{
|
1603 | 1629 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1604 | |
rm -f conftest.$ac_objext
|
|
1630 |
rm -f conftest.$ac_objext conftest.beam
|
1605 | 1631 |
if { { ac_try="$ac_compile"
|
1606 | 1632 |
case "(($ac_try" in
|
1607 | 1633 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1608 | 1634 |
*) ac_try_echo=$ac_try;;
|
1609 | 1635 |
esac
|
1610 | 1636 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1611 | |
$as_echo "$ac_try_echo"; } >&5
|
|
1637 |
printf "%s\n" "$ac_try_echo"; } >&5
|
1612 | 1638 |
(eval "$ac_compile") 2>conftest.err
|
1613 | 1639 |
ac_status=$?
|
1614 | 1640 |
if test -s conftest.err; then
|
|
1616 | 1642 |
cat conftest.er1 >&5
|
1617 | 1643 |
mv -f conftest.er1 conftest.err
|
1618 | 1644 |
fi
|
1619 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1645 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1620 | 1646 |
test $ac_status = 0; } && {
|
1621 | 1647 |
test -z "$ac_c_werror_flag" ||
|
1622 | 1648 |
test ! -s conftest.err
|
1623 | |
} && test -s conftest.$ac_objext; then :
|
|
1649 |
} && test -s conftest.$ac_objext
|
|
1650 |
then :
|
1624 | 1651 |
ac_retval=0
|
1625 | |
else
|
1626 | |
$as_echo "$as_me: failed program was:" >&5
|
|
1652 |
else $as_nop
|
|
1653 |
printf "%s\n" "$as_me: failed program was:" >&5
|
1627 | 1654 |
sed 's/^/| /' conftest.$ac_ext >&5
|
1628 | 1655 |
|
1629 | 1656 |
ac_retval=1
|
|
1639 | 1666 |
ac_fn_cxx_try_compile ()
|
1640 | 1667 |
{
|
1641 | 1668 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1642 | |
rm -f conftest.$ac_objext
|
|
1669 |
rm -f conftest.$ac_objext conftest.beam
|
1643 | 1670 |
if { { ac_try="$ac_compile"
|
1644 | 1671 |
case "(($ac_try" in
|
1645 | 1672 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1646 | 1673 |
*) ac_try_echo=$ac_try;;
|
1647 | 1674 |
esac
|
1648 | 1675 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1649 | |
$as_echo "$ac_try_echo"; } >&5
|
|
1676 |
printf "%s\n" "$ac_try_echo"; } >&5
|
1650 | 1677 |
(eval "$ac_compile") 2>conftest.err
|
1651 | 1678 |
ac_status=$?
|
1652 | 1679 |
if test -s conftest.err; then
|
|
1654 | 1681 |
cat conftest.er1 >&5
|
1655 | 1682 |
mv -f conftest.er1 conftest.err
|
1656 | 1683 |
fi
|
1657 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1684 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1658 | 1685 |
test $ac_status = 0; } && {
|
1659 | 1686 |
test -z "$ac_cxx_werror_flag" ||
|
1660 | 1687 |
test ! -s conftest.err
|
1661 | |
} && test -s conftest.$ac_objext; then :
|
|
1688 |
} && test -s conftest.$ac_objext
|
|
1689 |
then :
|
1662 | 1690 |
ac_retval=0
|
1663 | |
else
|
1664 | |
$as_echo "$as_me: failed program was:" >&5
|
|
1691 |
else $as_nop
|
|
1692 |
printf "%s\n" "$as_me: failed program was:" >&5
|
1665 | 1693 |
sed 's/^/| /' conftest.$ac_ext >&5
|
1666 | 1694 |
|
1667 | 1695 |
ac_retval=1
|
|
1670 | 1698 |
as_fn_set_status $ac_retval
|
1671 | 1699 |
|
1672 | 1700 |
} # ac_fn_cxx_try_compile
|
1673 | |
|
1674 | |
# ac_fn_c_try_cpp LINENO
|
1675 | |
# ----------------------
|
1676 | |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
1677 | |
ac_fn_c_try_cpp ()
|
1678 | |
{
|
1679 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1680 | |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
1681 | |
case "(($ac_try" in
|
1682 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1683 | |
*) ac_try_echo=$ac_try;;
|
1684 | |
esac
|
1685 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1686 | |
$as_echo "$ac_try_echo"; } >&5
|
1687 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
1688 | |
ac_status=$?
|
1689 | |
if test -s conftest.err; then
|
1690 | |
grep -v '^ *+' conftest.err >conftest.er1
|
1691 | |
cat conftest.er1 >&5
|
1692 | |
mv -f conftest.er1 conftest.err
|
1693 | |
fi
|
1694 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1695 | |
test $ac_status = 0; } > conftest.i && {
|
1696 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
1697 | |
test ! -s conftest.err
|
1698 | |
}; then :
|
1699 | |
ac_retval=0
|
1700 | |
else
|
1701 | |
$as_echo "$as_me: failed program was:" >&5
|
1702 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1703 | |
|
1704 | |
ac_retval=1
|
1705 | |
fi
|
1706 | |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1707 | |
as_fn_set_status $ac_retval
|
1708 | |
|
1709 | |
} # ac_fn_c_try_cpp
|
1710 | |
|
1711 | |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
1712 | |
# -------------------------------------------------------
|
1713 | |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
1714 | |
# the include files in INCLUDES and setting the cache variable VAR
|
1715 | |
# accordingly.
|
1716 | |
ac_fn_c_check_header_mongrel ()
|
1717 | |
{
|
1718 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1719 | |
if eval \${$3+:} false; then :
|
1720 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1721 | |
$as_echo_n "checking for $2... " >&6; }
|
1722 | |
if eval \${$3+:} false; then :
|
1723 | |
$as_echo_n "(cached) " >&6
|
1724 | |
fi
|
1725 | |
eval ac_res=\$$3
|
1726 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1727 | |
$as_echo "$ac_res" >&6; }
|
1728 | |
else
|
1729 | |
# Is the header compilable?
|
1730 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
1731 | |
$as_echo_n "checking $2 usability... " >&6; }
|
1732 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1733 | |
/* end confdefs.h. */
|
1734 | |
$4
|
1735 | |
#include <$2>
|
1736 | |
_ACEOF
|
1737 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
1738 | |
ac_header_compiler=yes
|
1739 | |
else
|
1740 | |
ac_header_compiler=no
|
1741 | |
fi
|
1742 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1743 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
1744 | |
$as_echo "$ac_header_compiler" >&6; }
|
1745 | |
|
1746 | |
# Is the header present?
|
1747 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
1748 | |
$as_echo_n "checking $2 presence... " >&6; }
|
1749 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1750 | |
/* end confdefs.h. */
|
1751 | |
#include <$2>
|
1752 | |
_ACEOF
|
1753 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
1754 | |
ac_header_preproc=yes
|
1755 | |
else
|
1756 | |
ac_header_preproc=no
|
1757 | |
fi
|
1758 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
1759 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
1760 | |
$as_echo "$ac_header_preproc" >&6; }
|
1761 | |
|
1762 | |
# So? What about this header?
|
1763 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
1764 | |
yes:no: )
|
1765 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
1766 | |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
1767 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
1768 | |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
1769 | |
;;
|
1770 | |
no:yes:* )
|
1771 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
1772 | |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
1773 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
1774 | |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
1775 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
1776 | |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
1777 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
1778 | |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
1779 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
1780 | |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
1781 | |
( $as_echo "## -------------------------------------------------------------- ##
|
1782 | |
## Report this to https://github.com/protobuf-c/protobuf-c/issues ##
|
1783 | |
## -------------------------------------------------------------- ##"
|
1784 | |
) | sed "s/^/$as_me: WARNING: /" >&2
|
1785 | |
;;
|
1786 | |
esac
|
1787 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1788 | |
$as_echo_n "checking for $2... " >&6; }
|
1789 | |
if eval \${$3+:} false; then :
|
1790 | |
$as_echo_n "(cached) " >&6
|
1791 | |
else
|
1792 | |
eval "$3=\$ac_header_compiler"
|
1793 | |
fi
|
1794 | |
eval ac_res=\$$3
|
1795 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1796 | |
$as_echo "$ac_res" >&6; }
|
1797 | |
fi
|
1798 | |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1799 | |
|
1800 | |
} # ac_fn_c_check_header_mongrel
|
1801 | |
|
1802 | |
# ac_fn_c_try_run LINENO
|
1803 | |
# ----------------------
|
1804 | |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
1805 | |
# that executables *can* be run.
|
1806 | |
ac_fn_c_try_run ()
|
1807 | |
{
|
1808 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1809 | |
if { { ac_try="$ac_link"
|
1810 | |
case "(($ac_try" in
|
1811 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1812 | |
*) ac_try_echo=$ac_try;;
|
1813 | |
esac
|
1814 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1815 | |
$as_echo "$ac_try_echo"; } >&5
|
1816 | |
(eval "$ac_link") 2>&5
|
1817 | |
ac_status=$?
|
1818 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1819 | |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
1820 | |
{ { case "(($ac_try" in
|
1821 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1822 | |
*) ac_try_echo=$ac_try;;
|
1823 | |
esac
|
1824 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1825 | |
$as_echo "$ac_try_echo"; } >&5
|
1826 | |
(eval "$ac_try") 2>&5
|
1827 | |
ac_status=$?
|
1828 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1829 | |
test $ac_status = 0; }; }; then :
|
1830 | |
ac_retval=0
|
1831 | |
else
|
1832 | |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
1833 | |
$as_echo "$as_me: failed program was:" >&5
|
1834 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1835 | |
|
1836 | |
ac_retval=$ac_status
|
1837 | |
fi
|
1838 | |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
1839 | |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1840 | |
as_fn_set_status $ac_retval
|
1841 | |
|
1842 | |
} # ac_fn_c_try_run
|
1843 | 1701 |
|
1844 | 1702 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
1845 | 1703 |
# -------------------------------------------------------
|
|
1848 | 1706 |
ac_fn_c_check_header_compile ()
|
1849 | 1707 |
{
|
1850 | 1708 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1851 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1852 | |
$as_echo_n "checking for $2... " >&6; }
|
1853 | |
if eval \${$3+:} false; then :
|
1854 | |
$as_echo_n "(cached) " >&6
|
1855 | |
else
|
|
1709 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1710 |
printf %s "checking for $2... " >&6; }
|
|
1711 |
if eval test \${$3+y}
|
|
1712 |
then :
|
|
1713 |
printf %s "(cached) " >&6
|
|
1714 |
else $as_nop
|
1856 | 1715 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1857 | 1716 |
/* end confdefs.h. */
|
1858 | 1717 |
$4
|
1859 | 1718 |
#include <$2>
|
1860 | 1719 |
_ACEOF
|
1861 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1720 |
if ac_fn_c_try_compile "$LINENO"
|
|
1721 |
then :
|
1862 | 1722 |
eval "$3=yes"
|
1863 | |
else
|
|
1723 |
else $as_nop
|
1864 | 1724 |
eval "$3=no"
|
1865 | 1725 |
fi
|
1866 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1726 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
1867 | 1727 |
fi
|
1868 | 1728 |
eval ac_res=\$$3
|
1869 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1870 | |
$as_echo "$ac_res" >&6; }
|
|
1729 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1730 |
printf "%s\n" "$ac_res" >&6; }
|
1871 | 1731 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1872 | 1732 |
|
1873 | 1733 |
} # ac_fn_c_check_header_compile
|
|
1878 | 1738 |
ac_fn_c_try_link ()
|
1879 | 1739 |
{
|
1880 | 1740 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1881 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
1741 |
rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
|
1882 | 1742 |
if { { ac_try="$ac_link"
|
1883 | 1743 |
case "(($ac_try" in
|
1884 | 1744 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1885 | 1745 |
*) ac_try_echo=$ac_try;;
|
1886 | 1746 |
esac
|
1887 | 1747 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1888 | |
$as_echo "$ac_try_echo"; } >&5
|
|
1748 |
printf "%s\n" "$ac_try_echo"; } >&5
|
1889 | 1749 |
(eval "$ac_link") 2>conftest.err
|
1890 | 1750 |
ac_status=$?
|
1891 | 1751 |
if test -s conftest.err; then
|
|
1893 | 1753 |
cat conftest.er1 >&5
|
1894 | 1754 |
mv -f conftest.er1 conftest.err
|
1895 | 1755 |
fi
|
1896 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1756 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1897 | 1757 |
test $ac_status = 0; } && {
|
1898 | 1758 |
test -z "$ac_c_werror_flag" ||
|
1899 | 1759 |
test ! -s conftest.err
|
1900 | 1760 |
} && test -s conftest$ac_exeext && {
|
1901 | 1761 |
test "$cross_compiling" = yes ||
|
1902 | 1762 |
test -x conftest$ac_exeext
|
1903 | |
}; then :
|
|
1763 |
}
|
|
1764 |
then :
|
1904 | 1765 |
ac_retval=0
|
1905 | |
else
|
1906 | |
$as_echo "$as_me: failed program was:" >&5
|
|
1766 |
else $as_nop
|
|
1767 |
printf "%s\n" "$as_me: failed program was:" >&5
|
1907 | 1768 |
sed 's/^/| /' conftest.$ac_ext >&5
|
1908 | 1769 |
|
1909 | 1770 |
ac_retval=1
|
|
1924 | 1785 |
ac_fn_c_check_func ()
|
1925 | 1786 |
{
|
1926 | 1787 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1927 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1928 | |
$as_echo_n "checking for $2... " >&6; }
|
1929 | |
if eval \${$3+:} false; then :
|
1930 | |
$as_echo_n "(cached) " >&6
|
1931 | |
else
|
|
1788 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1789 |
printf %s "checking for $2... " >&6; }
|
|
1790 |
if eval test \${$3+y}
|
|
1791 |
then :
|
|
1792 |
printf %s "(cached) " >&6
|
|
1793 |
else $as_nop
|
1932 | 1794 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1933 | 1795 |
/* end confdefs.h. */
|
1934 | 1796 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
|
1936 | 1798 |
#define $2 innocuous_$2
|
1937 | 1799 |
|
1938 | 1800 |
/* System header to define __stub macros and hopefully few prototypes,
|
1939 | |
which can conflict with char $2 (); below.
|
1940 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
1941 | |
<limits.h> exists even on freestanding compilers. */
|
1942 | |
|
1943 | |
#ifdef __STDC__
|
1944 | |
# include <limits.h>
|
1945 | |
#else
|
1946 | |
# include <assert.h>
|
1947 | |
#endif
|
1948 | |
|
|
1801 |
which can conflict with char $2 (); below. */
|
|
1802 |
|
|
1803 |
#include <limits.h>
|
1949 | 1804 |
#undef $2
|
1950 | 1805 |
|
1951 | 1806 |
/* Override any GCC internal prototype to avoid an error.
|
|
1963 | 1818 |
#endif
|
1964 | 1819 |
|
1965 | 1820 |
int
|
1966 | |
main ()
|
|
1821 |
main (void)
|
1967 | 1822 |
{
|
1968 | 1823 |
return $2 ();
|
1969 | 1824 |
;
|
1970 | 1825 |
return 0;
|
1971 | 1826 |
}
|
1972 | 1827 |
_ACEOF
|
1973 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
1828 |
if ac_fn_c_try_link "$LINENO"
|
|
1829 |
then :
|
1974 | 1830 |
eval "$3=yes"
|
1975 | |
else
|
|
1831 |
else $as_nop
|
1976 | 1832 |
eval "$3=no"
|
1977 | 1833 |
fi
|
1978 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
1834 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
1979 | 1835 |
conftest$ac_exeext conftest.$ac_ext
|
1980 | 1836 |
fi
|
1981 | 1837 |
eval ac_res=\$$3
|
1982 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1983 | |
$as_echo "$ac_res" >&6; }
|
|
1838 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1839 |
printf "%s\n" "$ac_res" >&6; }
|
1984 | 1840 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1985 | 1841 |
|
1986 | 1842 |
} # ac_fn_c_check_func
|
|
1997 | 1853 |
*) ac_try_echo=$ac_try;;
|
1998 | 1854 |
esac
|
1999 | 1855 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
2000 | |
$as_echo "$ac_try_echo"; } >&5
|
|
1856 |
printf "%s\n" "$ac_try_echo"; } >&5
|
2001 | 1857 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
2002 | 1858 |
ac_status=$?
|
2003 | 1859 |
if test -s conftest.err; then
|
|
2005 | 1861 |
cat conftest.er1 >&5
|
2006 | 1862 |
mv -f conftest.er1 conftest.err
|
2007 | 1863 |
fi
|
2008 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1864 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2009 | 1865 |
test $ac_status = 0; } > conftest.i && {
|
2010 | 1866 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
2011 | 1867 |
test ! -s conftest.err
|
2012 | |
}; then :
|
|
1868 |
}
|
|
1869 |
then :
|
2013 | 1870 |
ac_retval=0
|
2014 | |
else
|
2015 | |
$as_echo "$as_me: failed program was:" >&5
|
|
1871 |
else $as_nop
|
|
1872 |
printf "%s\n" "$as_me: failed program was:" >&5
|
2016 | 1873 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2017 | 1874 |
|
2018 | 1875 |
ac_retval=1
|
|
2028 | 1885 |
ac_fn_cxx_try_link ()
|
2029 | 1886 |
{
|
2030 | 1887 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
2031 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
1888 |
rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
|
2032 | 1889 |
if { { ac_try="$ac_link"
|
2033 | 1890 |
case "(($ac_try" in
|
2034 | 1891 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2035 | 1892 |
*) ac_try_echo=$ac_try;;
|
2036 | 1893 |
esac
|
2037 | 1894 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
2038 | |
$as_echo "$ac_try_echo"; } >&5
|
|
1895 |
printf "%s\n" "$ac_try_echo"; } >&5
|
2039 | 1896 |
(eval "$ac_link") 2>conftest.err
|
2040 | 1897 |
ac_status=$?
|
2041 | 1898 |
if test -s conftest.err; then
|
|
2043 | 1900 |
cat conftest.er1 >&5
|
2044 | 1901 |
mv -f conftest.er1 conftest.err
|
2045 | 1902 |
fi
|
2046 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1903 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2047 | 1904 |
test $ac_status = 0; } && {
|
2048 | 1905 |
test -z "$ac_cxx_werror_flag" ||
|
2049 | 1906 |
test ! -s conftest.err
|
2050 | 1907 |
} && test -s conftest$ac_exeext && {
|
2051 | 1908 |
test "$cross_compiling" = yes ||
|
2052 | 1909 |
test -x conftest$ac_exeext
|
2053 | |
}; then :
|
|
1910 |
}
|
|
1911 |
then :
|
2054 | 1912 |
ac_retval=0
|
2055 | |
else
|
2056 | |
$as_echo "$as_me: failed program was:" >&5
|
|
1913 |
else $as_nop
|
|
1914 |
printf "%s\n" "$as_me: failed program was:" >&5
|
2057 | 1915 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2058 | 1916 |
|
2059 | 1917 |
ac_retval=1
|
|
2068 | 1926 |
|
2069 | 1927 |
} # ac_fn_cxx_try_link
|
2070 | 1928 |
|
2071 | |
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
|
|
1929 |
# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
|
2072 | 1930 |
# ---------------------------------------------------------
|
2073 | |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
2074 | |
# the include files in INCLUDES and setting the cache variable VAR
|
2075 | |
# accordingly.
|
2076 | |
ac_fn_cxx_check_header_mongrel ()
|
|
1931 |
# Tests whether HEADER exists and can be compiled using the include files in
|
|
1932 |
# INCLUDES, setting the cache variable VAR accordingly.
|
|
1933 |
ac_fn_cxx_check_header_compile ()
|
2077 | 1934 |
{
|
2078 | 1935 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
2079 | |
if eval \${$3+:} false; then :
|
2080 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
2081 | |
$as_echo_n "checking for $2... " >&6; }
|
2082 | |
if eval \${$3+:} false; then :
|
2083 | |
$as_echo_n "(cached) " >&6
|
2084 | |
fi
|
2085 | |
eval ac_res=\$$3
|
2086 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
2087 | |
$as_echo "$ac_res" >&6; }
|
2088 | |
else
|
2089 | |
# Is the header compilable?
|
2090 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
2091 | |
$as_echo_n "checking $2 usability... " >&6; }
|
2092 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1936 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1937 |
printf %s "checking for $2... " >&6; }
|
|
1938 |
if eval test \${$3+y}
|
|
1939 |
then :
|
|
1940 |
printf %s "(cached) " >&6
|
|
1941 |
else $as_nop
|
|
1942 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2093 | 1943 |
/* end confdefs.h. */
|
2094 | 1944 |
$4
|
2095 | 1945 |
#include <$2>
|
2096 | 1946 |
_ACEOF
|
2097 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
2098 | |
ac_header_compiler=yes
|
2099 | |
else
|
2100 | |
ac_header_compiler=no
|
2101 | |
fi
|
2102 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2103 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
2104 | |
$as_echo "$ac_header_compiler" >&6; }
|
2105 | |
|
2106 | |
# Is the header present?
|
2107 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
2108 | |
$as_echo_n "checking $2 presence... " >&6; }
|
2109 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2110 | |
/* end confdefs.h. */
|
2111 | |
#include <$2>
|
2112 | |
_ACEOF
|
2113 | |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
2114 | |
ac_header_preproc=yes
|
2115 | |
else
|
2116 | |
ac_header_preproc=no
|
2117 | |
fi
|
2118 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
2119 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
2120 | |
$as_echo "$ac_header_preproc" >&6; }
|
2121 | |
|
2122 | |
# So? What about this header?
|
2123 | |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
|
2124 | |
yes:no: )
|
2125 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
2126 | |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
2127 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
2128 | |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
2129 | |
;;
|
2130 | |
no:yes:* )
|
2131 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
2132 | |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
2133 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
2134 | |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
2135 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
2136 | |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
2137 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
2138 | |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
2139 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
2140 | |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
2141 | |
( $as_echo "## -------------------------------------------------------------- ##
|
2142 | |
## Report this to https://github.com/protobuf-c/protobuf-c/issues ##
|
2143 | |
## -------------------------------------------------------------- ##"
|
2144 | |
) | sed "s/^/$as_me: WARNING: /" >&2
|
2145 | |
;;
|
2146 | |
esac
|
2147 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
2148 | |
$as_echo_n "checking for $2... " >&6; }
|
2149 | |
if eval \${$3+:} false; then :
|
2150 | |
$as_echo_n "(cached) " >&6
|
2151 | |
else
|
2152 | |
eval "$3=\$ac_header_compiler"
|
|
1947 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
1948 |
then :
|
|
1949 |
eval "$3=yes"
|
|
1950 |
else $as_nop
|
|
1951 |
eval "$3=no"
|
|
1952 |
fi
|
|
1953 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
2153 | 1954 |
fi
|
2154 | 1955 |
eval ac_res=\$$3
|
2155 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
2156 | |
$as_echo "$ac_res" >&6; }
|
2157 | |
fi
|
|
1956 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1957 |
printf "%s\n" "$ac_res" >&6; }
|
2158 | 1958 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
2159 | 1959 |
|
2160 | |
} # ac_fn_cxx_check_header_mongrel
|
|
1960 |
} # ac_fn_cxx_check_header_compile
|
2161 | 1961 |
|
2162 | 1962 |
# ac_fn_cxx_try_run LINENO
|
2163 | 1963 |
# ------------------------
|
2164 | |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
2165 | |
# that executables *can* be run.
|
|
1964 |
# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
|
|
1965 |
# executables *can* be run.
|
2166 | 1966 |
ac_fn_cxx_try_run ()
|
2167 | 1967 |
{
|
2168 | 1968 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
2172 | 1972 |
*) ac_try_echo=$ac_try;;
|
2173 | 1973 |
esac
|
2174 | 1974 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
2175 | |
$as_echo "$ac_try_echo"; } >&5
|
|
1975 |
printf "%s\n" "$ac_try_echo"; } >&5
|
2176 | 1976 |
(eval "$ac_link") 2>&5
|
2177 | 1977 |
ac_status=$?
|
2178 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1978 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2179 | 1979 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
2180 | 1980 |
{ { case "(($ac_try" in
|
2181 | 1981 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2182 | 1982 |
*) ac_try_echo=$ac_try;;
|
2183 | 1983 |
esac
|
2184 | 1984 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
2185 | |
$as_echo "$ac_try_echo"; } >&5
|
|
1985 |
printf "%s\n" "$ac_try_echo"; } >&5
|
2186 | 1986 |
(eval "$ac_try") 2>&5
|
2187 | 1987 |
ac_status=$?
|
2188 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2189 | |
test $ac_status = 0; }; }; then :
|
|
1988 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1989 |
test $ac_status = 0; }; }
|
|
1990 |
then :
|
2190 | 1991 |
ac_retval=0
|
2191 | |
else
|
2192 | |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
2193 | |
$as_echo "$as_me: failed program was:" >&5
|
|
1992 |
else $as_nop
|
|
1993 |
printf "%s\n" "$as_me: program exited with status $ac_status" >&5
|
|
1994 |
printf "%s\n" "$as_me: failed program was:" >&5
|
2194 | 1995 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2195 | 1996 |
|
2196 | 1997 |
ac_retval=$ac_status
|
|
2200 | 2001 |
as_fn_set_status $ac_retval
|
2201 | 2002 |
|
2202 | 2003 |
} # ac_fn_cxx_try_run
|
|
2004 |
ac_configure_args_raw=
|
|
2005 |
for ac_arg
|
|
2006 |
do
|
|
2007 |
case $ac_arg in
|
|
2008 |
*\'*)
|
|
2009 |
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
2010 |
esac
|
|
2011 |
as_fn_append ac_configure_args_raw " '$ac_arg'"
|
|
2012 |
done
|
|
2013 |
|
|
2014 |
case $ac_configure_args_raw in
|
|
2015 |
*$as_nl*)
|
|
2016 |
ac_safe_unquote= ;;
|
|
2017 |
*)
|
|
2018 |
ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
|
|
2019 |
ac_unsafe_a="$ac_unsafe_z#~"
|
|
2020 |
ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
|
|
2021 |
ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
|
|
2022 |
esac
|
|
2023 |
|
2203 | 2024 |
cat >config.log <<_ACEOF
|
2204 | 2025 |
This file contains any messages produced by compilers while
|
2205 | 2026 |
running configure, to aid debugging if configure makes a mistake.
|
2206 | 2027 |
|
2207 | |
It was created by protobuf-c $as_me 1.3.3, which was
|
2208 | |
generated by GNU Autoconf 2.69. Invocation command line was
|
2209 | |
|
2210 | |
$ $0 $@
|
|
2028 |
It was created by protobuf-c $as_me 1.4.0, which was
|
|
2029 |
generated by GNU Autoconf 2.71. Invocation command line was
|
|
2030 |
|
|
2031 |
$ $0$ac_configure_args_raw
|
2211 | 2032 |
|
2212 | 2033 |
_ACEOF
|
2213 | 2034 |
exec 5>>config.log
|
|
2240 | 2061 |
for as_dir in $PATH
|
2241 | 2062 |
do
|
2242 | 2063 |
IFS=$as_save_IFS
|
2243 | |
test -z "$as_dir" && as_dir=.
|
2244 | |
$as_echo "PATH: $as_dir"
|
|
2064 |
case $as_dir in #(((
|
|
2065 |
'') as_dir=./ ;;
|
|
2066 |
*/) ;;
|
|
2067 |
*) as_dir=$as_dir/ ;;
|
|
2068 |
esac
|
|
2069 |
printf "%s\n" "PATH: $as_dir"
|
2245 | 2070 |
done
|
2246 | 2071 |
IFS=$as_save_IFS
|
2247 | 2072 |
|
|
2276 | 2101 |
| -silent | --silent | --silen | --sile | --sil)
|
2277 | 2102 |
continue ;;
|
2278 | 2103 |
*\'*)
|
2279 | |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
2104 |
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
2280 | 2105 |
esac
|
2281 | 2106 |
case $ac_pass in
|
2282 | 2107 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
|
2311 | 2136 |
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
2312 | 2137 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
2313 | 2138 |
trap 'exit_status=$?
|
|
2139 |
# Sanitize IFS.
|
|
2140 |
IFS=" "" $as_nl"
|
2314 | 2141 |
# Save into config.log some information that might help in debugging.
|
2315 | 2142 |
{
|
2316 | 2143 |
echo
|
2317 | 2144 |
|
2318 | |
$as_echo "## ---------------- ##
|
|
2145 |
printf "%s\n" "## ---------------- ##
|
2319 | 2146 |
## Cache variables. ##
|
2320 | 2147 |
## ---------------- ##"
|
2321 | 2148 |
echo
|
|
2326 | 2153 |
case $ac_val in #(
|
2327 | 2154 |
*${as_nl}*)
|
2328 | 2155 |
case $ac_var in #(
|
2329 | |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
2330 | |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
|
2156 |
*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|
2157 |
printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
2331 | 2158 |
esac
|
2332 | 2159 |
case $ac_var in #(
|
2333 | 2160 |
_ | IFS | as_nl) ;; #(
|
|
2351 | 2178 |
)
|
2352 | 2179 |
echo
|
2353 | 2180 |
|
2354 | |
$as_echo "## ----------------- ##
|
|
2181 |
printf "%s\n" "## ----------------- ##
|
2355 | 2182 |
## Output variables. ##
|
2356 | 2183 |
## ----------------- ##"
|
2357 | 2184 |
echo
|
|
2359 | 2186 |
do
|
2360 | 2187 |
eval ac_val=\$$ac_var
|
2361 | 2188 |
case $ac_val in
|
2362 | |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
2189 |
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
2363 | 2190 |
esac
|
2364 | |
$as_echo "$ac_var='\''$ac_val'\''"
|
|
2191 |
printf "%s\n" "$ac_var='\''$ac_val'\''"
|
2365 | 2192 |
done | sort
|
2366 | 2193 |
echo
|
2367 | 2194 |
|
2368 | 2195 |
if test -n "$ac_subst_files"; then
|
2369 | |
$as_echo "## ------------------- ##
|
|
2196 |
printf "%s\n" "## ------------------- ##
|
2370 | 2197 |
## File substitutions. ##
|
2371 | 2198 |
## ------------------- ##"
|
2372 | 2199 |
echo
|
|
2374 | 2201 |
do
|
2375 | 2202 |
eval ac_val=\$$ac_var
|
2376 | 2203 |
case $ac_val in
|
2377 | |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
2204 |
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
2378 | 2205 |
esac
|
2379 | |
$as_echo "$ac_var='\''$ac_val'\''"
|
|
2206 |
printf "%s\n" "$ac_var='\''$ac_val'\''"
|
2380 | 2207 |
done | sort
|
2381 | 2208 |
echo
|
2382 | 2209 |
fi
|
2383 | 2210 |
|
2384 | 2211 |
if test -s confdefs.h; then
|
2385 | |
$as_echo "## ----------- ##
|
|
2212 |
printf "%s\n" "## ----------- ##
|
2386 | 2213 |
## confdefs.h. ##
|
2387 | 2214 |
## ----------- ##"
|
2388 | 2215 |
echo
|
|
2390 | 2217 |
echo
|
2391 | 2218 |
fi
|
2392 | 2219 |
test "$ac_signal" != 0 &&
|
2393 | |
$as_echo "$as_me: caught signal $ac_signal"
|
2394 | |
$as_echo "$as_me: exit $exit_status"
|
|
2220 |
printf "%s\n" "$as_me: caught signal $ac_signal"
|
|
2221 |
printf "%s\n" "$as_me: exit $exit_status"
|
2395 | 2222 |
} >&5
|
2396 | 2223 |
rm -f core *.core core.conftest.* &&
|
2397 | 2224 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
|
2405 | 2232 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
2406 | 2233 |
rm -f -r conftest* confdefs.h
|
2407 | 2234 |
|
2408 | |
$as_echo "/* confdefs.h */" > confdefs.h
|
|
2235 |
printf "%s\n" "/* confdefs.h */" > confdefs.h
|
2409 | 2236 |
|
2410 | 2237 |
# Predefined preprocessor variables.
|
2411 | 2238 |
|
2412 | |
cat >>confdefs.h <<_ACEOF
|
2413 | |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
2414 | |
_ACEOF
|
2415 | |
|
2416 | |
cat >>confdefs.h <<_ACEOF
|
2417 | |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
2418 | |
_ACEOF
|
2419 | |
|
2420 | |
cat >>confdefs.h <<_ACEOF
|
2421 | |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
2422 | |
_ACEOF
|
2423 | |
|
2424 | |
cat >>confdefs.h <<_ACEOF
|
2425 | |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
2426 | |
_ACEOF
|
2427 | |
|
2428 | |
cat >>confdefs.h <<_ACEOF
|
2429 | |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
2430 | |
_ACEOF
|
2431 | |
|
2432 | |
cat >>confdefs.h <<_ACEOF
|
2433 | |
#define PACKAGE_URL "$PACKAGE_URL"
|
2434 | |
_ACEOF
|
|
2239 |
printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
|
|
2240 |
|
|
2241 |
printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
|
|
2242 |
|
|
2243 |
printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
|
|
2244 |
|
|
2245 |
printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
|
|
2246 |
|
|
2247 |
printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
|
|
2248 |
|
|
2249 |
printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
|
2435 | 2250 |
|
2436 | 2251 |
|
2437 | 2252 |
# Let the site file select an alternate cache file if it wants to.
|
2438 | 2253 |
# Prefer an explicitly selected file to automatically selected ones.
|
2439 | |
ac_site_file1=NONE
|
2440 | |
ac_site_file2=NONE
|
2441 | 2254 |
if test -n "$CONFIG_SITE"; then
|
2442 | |
# We do not want a PATH search for config.site.
|
2443 | |
case $CONFIG_SITE in #((
|
2444 | |
-*) ac_site_file1=./$CONFIG_SITE;;
|
2445 | |
*/*) ac_site_file1=$CONFIG_SITE;;
|
2446 | |
*) ac_site_file1=./$CONFIG_SITE;;
|
2447 | |
esac
|
|
2255 |
ac_site_files="$CONFIG_SITE"
|
2448 | 2256 |
elif test "x$prefix" != xNONE; then
|
2449 | |
ac_site_file1=$prefix/share/config.site
|
2450 | |
ac_site_file2=$prefix/etc/config.site
|
|
2257 |
ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
|
2451 | 2258 |
else
|
2452 | |
ac_site_file1=$ac_default_prefix/share/config.site
|
2453 | |
ac_site_file2=$ac_default_prefix/etc/config.site
|
2454 | |
fi
|
2455 | |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
|
2259 |
ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
|
2260 |
fi
|
|
2261 |
|
|
2262 |
for ac_site_file in $ac_site_files
|
2456 | 2263 |
do
|
2457 | |
test "x$ac_site_file" = xNONE && continue
|
2458 | |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
2459 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
2460 | |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
|
2264 |
case $ac_site_file in #(
|
|
2265 |
*/*) :
|
|
2266 |
;; #(
|
|
2267 |
*) :
|
|
2268 |
ac_site_file=./$ac_site_file ;;
|
|
2269 |
esac
|
|
2270 |
if test -f "$ac_site_file" && test -r "$ac_site_file"; then
|
|
2271 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
|
2272 |
printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
|
2461 | 2273 |
sed 's/^/| /' "$ac_site_file" >&5
|
2462 | 2274 |
. "$ac_site_file" \
|
2463 | |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2464 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2275 |
|| { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2276 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
2465 | 2277 |
as_fn_error $? "failed to load site script $ac_site_file
|
2466 | 2278 |
See \`config.log' for more details" "$LINENO" 5; }
|
2467 | 2279 |
fi
|
|
2471 | 2283 |
# Some versions of bash will fail to source /dev/null (special files
|
2472 | 2284 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
2473 | 2285 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
2474 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
2475 | |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
|
2286 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
|
2287 |
printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
|
2476 | 2288 |
case $cache_file in
|
2477 | 2289 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
2478 | 2290 |
*) . "./$cache_file";;
|
2479 | 2291 |
esac
|
2480 | 2292 |
fi
|
2481 | 2293 |
else
|
2482 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
2483 | |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
|
2294 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
|
2295 |
printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
|
2484 | 2296 |
>$cache_file
|
|
2297 |
fi
|
|
2298 |
|
|
2299 |
# Test code for whether the C compiler supports C89 (global declarations)
|
|
2300 |
ac_c_conftest_c89_globals='
|
|
2301 |
/* Does the compiler advertise C89 conformance?
|
|
2302 |
Do not test the value of __STDC__, because some compilers set it to 0
|
|
2303 |
while being otherwise adequately conformant. */
|
|
2304 |
#if !defined __STDC__
|
|
2305 |
# error "Compiler does not advertise C89 conformance"
|
|
2306 |
#endif
|
|
2307 |
|
|
2308 |
#include <stddef.h>
|
|
2309 |
#include <stdarg.h>
|
|
2310 |
struct stat;
|
|
2311 |
/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
|
|
2312 |
struct buf { int x; };
|
|
2313 |
struct buf * (*rcsopen) (struct buf *, struct stat *, int);
|
|
2314 |
static char *e (p, i)
|
|
2315 |
char **p;
|
|
2316 |
int i;
|
|
2317 |
{
|
|
2318 |
return p[i];
|
|
2319 |
}
|
|
2320 |
static char *f (char * (*g) (char **, int), char **p, ...)
|
|
2321 |
{
|
|
2322 |
char *s;
|
|
2323 |
va_list v;
|
|
2324 |
va_start (v,p);
|
|
2325 |
s = g (p, va_arg (v,int));
|
|
2326 |
va_end (v);
|
|
2327 |
return s;
|
|
2328 |
}
|
|
2329 |
|
|
2330 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
|
2331 |
function prototypes and stuff, but not \xHH hex character constants.
|
|
2332 |
These do not provoke an error unfortunately, instead are silently treated
|
|
2333 |
as an "x". The following induces an error, until -std is added to get
|
|
2334 |
proper ANSI mode. Curiously \x00 != x always comes out true, for an
|
|
2335 |
array size at least. It is necessary to write \x00 == 0 to get something
|
|
2336 |
that is true only with -std. */
|
|
2337 |
int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
|
|
2338 |
|
|
2339 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
|
2340 |
inside strings and character constants. */
|
|
2341 |
#define FOO(x) '\''x'\''
|
|
2342 |
int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
|
|
2343 |
|
|
2344 |
int test (int i, double x);
|
|
2345 |
struct s1 {int (*f) (int a);};
|
|
2346 |
struct s2 {int (*f) (double a);};
|
|
2347 |
int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
|
|
2348 |
int, int);'
|
|
2349 |
|
|
2350 |
# Test code for whether the C compiler supports C89 (body of main).
|
|
2351 |
ac_c_conftest_c89_main='
|
|
2352 |
ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
|
|
2353 |
'
|
|
2354 |
|
|
2355 |
# Test code for whether the C compiler supports C99 (global declarations)
|
|
2356 |
ac_c_conftest_c99_globals='
|
|
2357 |
// Does the compiler advertise C99 conformance?
|
|
2358 |
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
|
|
2359 |
# error "Compiler does not advertise C99 conformance"
|
|
2360 |
#endif
|
|
2361 |
|
|
2362 |
#include <stdbool.h>
|
|
2363 |
extern int puts (const char *);
|
|
2364 |
extern int printf (const char *, ...);
|
|
2365 |
extern int dprintf (int, const char *, ...);
|
|
2366 |
extern void *malloc (size_t);
|
|
2367 |
|
|
2368 |
// Check varargs macros. These examples are taken from C99 6.10.3.5.
|
|
2369 |
// dprintf is used instead of fprintf to avoid needing to declare
|
|
2370 |
// FILE and stderr.
|
|
2371 |
#define debug(...) dprintf (2, __VA_ARGS__)
|
|
2372 |
#define showlist(...) puts (#__VA_ARGS__)
|
|
2373 |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
|
|
2374 |
static void
|
|
2375 |
test_varargs_macros (void)
|
|
2376 |
{
|
|
2377 |
int x = 1234;
|
|
2378 |
int y = 5678;
|
|
2379 |
debug ("Flag");
|
|
2380 |
debug ("X = %d\n", x);
|
|
2381 |
showlist (The first, second, and third items.);
|
|
2382 |
report (x>y, "x is %d but y is %d", x, y);
|
|
2383 |
}
|
|
2384 |
|
|
2385 |
// Check long long types.
|
|
2386 |
#define BIG64 18446744073709551615ull
|
|
2387 |
#define BIG32 4294967295ul
|
|
2388 |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
|
|
2389 |
#if !BIG_OK
|
|
2390 |
#error "your preprocessor is broken"
|
|
2391 |
#endif
|
|
2392 |
#if BIG_OK
|
|
2393 |
#else
|
|
2394 |
#error "your preprocessor is broken"
|
|
2395 |
#endif
|
|
2396 |
static long long int bignum = -9223372036854775807LL;
|
|
2397 |
static unsigned long long int ubignum = BIG64;
|
|
2398 |
|
|
2399 |
struct incomplete_array
|
|
2400 |
{
|
|
2401 |
int datasize;
|
|
2402 |
double data[];
|
|
2403 |
};
|
|
2404 |
|
|
2405 |
struct named_init {
|
|
2406 |
int number;
|
|
2407 |
const wchar_t *name;
|
|
2408 |
double average;
|
|
2409 |
};
|
|
2410 |
|
|
2411 |
typedef const char *ccp;
|
|
2412 |
|
|
2413 |
static inline int
|
|
2414 |
test_restrict (ccp restrict text)
|
|
2415 |
{
|
|
2416 |
// See if C++-style comments work.
|
|
2417 |
// Iterate through items via the restricted pointer.
|
|
2418 |
// Also check for declarations in for loops.
|
|
2419 |
for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
|
|
2420 |
continue;
|
|
2421 |
return 0;
|
|
2422 |
}
|
|
2423 |
|
|
2424 |
// Check varargs and va_copy.
|
|
2425 |
static bool
|
|
2426 |
test_varargs (const char *format, ...)
|
|
2427 |
{
|
|
2428 |
va_list args;
|
|
2429 |
va_start (args, format);
|
|
2430 |
va_list args_copy;
|
|
2431 |
va_copy (args_copy, args);
|
|
2432 |
|
|
2433 |
const char *str = "";
|
|
2434 |
int number = 0;
|
|
2435 |
float fnumber = 0;
|
|
2436 |
|
|
2437 |
while (*format)
|
|
2438 |
{
|
|
2439 |
switch (*format++)
|
|
2440 |
{
|
|
2441 |
case '\''s'\'': // string
|
|
2442 |
str = va_arg (args_copy, const char *);
|
|
2443 |
break;
|
|
2444 |
case '\''d'\'': // int
|
|
2445 |
number = va_arg (args_copy, int);
|
|
2446 |
break;
|
|
2447 |
case '\''f'\'': // float
|
|
2448 |
fnumber = va_arg (args_copy, double);
|
|
2449 |
break;
|
|
2450 |
default:
|
|
2451 |
break;
|
|
2452 |
}
|
|
2453 |
}
|
|
2454 |
va_end (args_copy);
|
|
2455 |
va_end (args);
|
|
2456 |
|
|
2457 |
return *str && number && fnumber;
|
|
2458 |
}
|
|
2459 |
'
|
|
2460 |
|
|
2461 |
# Test code for whether the C compiler supports C99 (body of main).
|
|
2462 |
ac_c_conftest_c99_main='
|
|
2463 |
// Check bool.
|
|
2464 |
_Bool success = false;
|
|
2465 |
success |= (argc != 0);
|
|
2466 |
|
|
2467 |
// Check restrict.
|
|
2468 |
if (test_restrict ("String literal") == 0)
|
|
2469 |
success = true;
|
|
2470 |
char *restrict newvar = "Another string";
|
|
2471 |
|
|
2472 |
// Check varargs.
|
|
2473 |
success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
|
|
2474 |
test_varargs_macros ();
|
|
2475 |
|
|
2476 |
// Check flexible array members.
|
|
2477 |
struct incomplete_array *ia =
|
|
2478 |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
|
|
2479 |
ia->datasize = 10;
|
|
2480 |
for (int i = 0; i < ia->datasize; ++i)
|
|
2481 |
ia->data[i] = i * 1.234;
|
|
2482 |
|
|
2483 |
// Check named initializers.
|
|
2484 |
struct named_init ni = {
|
|
2485 |
.number = 34,
|
|
2486 |
.name = L"Test wide string",
|
|
2487 |
.average = 543.34343,
|
|
2488 |
};
|
|
2489 |
|
|
2490 |
ni.number = 58;
|
|
2491 |
|
|
2492 |
int dynamic_array[ni.number];
|
|
2493 |
dynamic_array[0] = argv[0][0];
|
|
2494 |
dynamic_array[ni.number - 1] = 543;
|
|
2495 |
|
|
2496 |
// work around unused variable warnings
|
|
2497 |
ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
|
|
2498 |
|| dynamic_array[ni.number - 1] != 543);
|
|
2499 |
'
|
|
2500 |
|
|
2501 |
# Test code for whether the C compiler supports C11 (global declarations)
|
|
2502 |
ac_c_conftest_c11_globals='
|
|
2503 |
// Does the compiler advertise C11 conformance?
|
|
2504 |
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
|
|
2505 |
# error "Compiler does not advertise C11 conformance"
|
|
2506 |
#endif
|
|
2507 |
|
|
2508 |
// Check _Alignas.
|
|
2509 |
char _Alignas (double) aligned_as_double;
|
|
2510 |
char _Alignas (0) no_special_alignment;
|
|
2511 |
extern char aligned_as_int;
|
|
2512 |
char _Alignas (0) _Alignas (int) aligned_as_int;
|
|
2513 |
|
|
2514 |
// Check _Alignof.
|
|
2515 |
enum
|
|
2516 |
{
|
|
2517 |
int_alignment = _Alignof (int),
|
|
2518 |
int_array_alignment = _Alignof (int[100]),
|
|
2519 |
char_alignment = _Alignof (char)
|
|
2520 |
};
|
|
2521 |
_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
|
|
2522 |
|
|
2523 |
// Check _Noreturn.
|
|
2524 |
int _Noreturn does_not_return (void) { for (;;) continue; }
|
|
2525 |
|
|
2526 |
// Check _Static_assert.
|
|
2527 |
struct test_static_assert
|
|
2528 |
{
|
|
2529 |
int x;
|
|
2530 |
_Static_assert (sizeof (int) <= sizeof (long int),
|
|
2531 |
"_Static_assert does not work in struct");
|
|
2532 |
long int y;
|
|
2533 |
};
|
|
2534 |
|
|
2535 |
// Check UTF-8 literals.
|
|
2536 |
#define u8 syntax error!
|
|
2537 |
char const utf8_literal[] = u8"happens to be ASCII" "another string";
|
|
2538 |
|
|
2539 |
// Check duplicate typedefs.
|
|
2540 |
typedef long *long_ptr;
|
|
2541 |
typedef long int *long_ptr;
|
|
2542 |
typedef long_ptr long_ptr;
|
|
2543 |
|
|
2544 |
// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
|
|
2545 |
struct anonymous
|
|
2546 |
{
|
|
2547 |
union {
|
|
2548 |
struct { int i; int j; };
|
|
2549 |
struct { int k; long int l; } w;
|
|
2550 |
};
|
|
2551 |
int m;
|
|
2552 |
} v1;
|
|
2553 |
'
|
|
2554 |
|
|
2555 |
# Test code for whether the C compiler supports C11 (body of main).
|
|
2556 |
ac_c_conftest_c11_main='
|
|
2557 |
_Static_assert ((offsetof (struct anonymous, i)
|
|
2558 |
== offsetof (struct anonymous, w.k)),
|
|
2559 |
"Anonymous union alignment botch");
|
|
2560 |
v1.i = 2;
|
|
2561 |
v1.w.k = 5;
|
|
2562 |
ok |= v1.i != 5;
|
|
2563 |
'
|
|
2564 |
|
|
2565 |
# Test code for whether the C compiler supports C11 (complete).
|
|
2566 |
ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
|
|
2567 |
${ac_c_conftest_c99_globals}
|
|
2568 |
${ac_c_conftest_c11_globals}
|
|
2569 |
|
|
2570 |
int
|
|
2571 |
main (int argc, char **argv)
|
|
2572 |
{
|
|
2573 |
int ok = 0;
|
|
2574 |
${ac_c_conftest_c89_main}
|
|
2575 |
${ac_c_conftest_c99_main}
|
|
2576 |
${ac_c_conftest_c11_main}
|
|
2577 |
return ok;
|
|
2578 |
}
|
|
2579 |
"
|
|
2580 |
|
|
2581 |
# Test code for whether the C compiler supports C99 (complete).
|
|
2582 |
ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
|
|
2583 |
${ac_c_conftest_c99_globals}
|
|
2584 |
|
|
2585 |
int
|
|
2586 |
main (int argc, char **argv)
|
|
2587 |
{
|
|
2588 |
int ok = 0;
|
|
2589 |
${ac_c_conftest_c89_main}
|
|
2590 |
${ac_c_conftest_c99_main}
|
|
2591 |
return ok;
|
|
2592 |
}
|
|
2593 |
"
|
|
2594 |
|
|
2595 |
# Test code for whether the C compiler supports C89 (complete).
|
|
2596 |
ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
|
|
2597 |
|
|
2598 |
int
|
|
2599 |
main (int argc, char **argv)
|
|
2600 |
{
|
|
2601 |
int ok = 0;
|
|
2602 |
${ac_c_conftest_c89_main}
|
|
2603 |
return ok;
|
|
2604 |
}
|
|
2605 |
"
|
|
2606 |
|
|
2607 |
# Test code for whether the C++ compiler supports C++98 (global declarations)
|
|
2608 |
ac_cxx_conftest_cxx98_globals='
|
|
2609 |
// Does the compiler advertise C++98 conformance?
|
|
2610 |
#if !defined __cplusplus || __cplusplus < 199711L
|
|
2611 |
# error "Compiler does not advertise C++98 conformance"
|
|
2612 |
#endif
|
|
2613 |
|
|
2614 |
// These inclusions are to reject old compilers that
|
|
2615 |
// lack the unsuffixed header files.
|
|
2616 |
#include <cstdlib>
|
|
2617 |
#include <exception>
|
|
2618 |
|
|
2619 |
// <cassert> and <cstring> are *not* freestanding headers in C++98.
|
|
2620 |
extern void assert (int);
|
|
2621 |
namespace std {
|
|
2622 |
extern int strcmp (const char *, const char *);
|
|
2623 |
}
|
|
2624 |
|
|
2625 |
// Namespaces, exceptions, and templates were all added after "C++ 2.0".
|
|
2626 |
using std::exception;
|
|
2627 |
using std::strcmp;
|
|
2628 |
|
|
2629 |
namespace {
|
|
2630 |
|
|
2631 |
void test_exception_syntax()
|
|
2632 |
{
|
|
2633 |
try {
|
|
2634 |
throw "test";
|
|
2635 |
} catch (const char *s) {
|
|
2636 |
// Extra parentheses suppress a warning when building autoconf itself,
|
|
2637 |
// due to lint rules shared with more typical C programs.
|
|
2638 |
assert (!(strcmp) (s, "test"));
|
|
2639 |
}
|
|
2640 |
}
|
|
2641 |
|
|
2642 |
template <typename T> struct test_template
|
|
2643 |
{
|
|
2644 |
T const val;
|
|
2645 |
explicit test_template(T t) : val(t) {}
|
|
2646 |
template <typename U> T add(U u) { return static_cast<T>(u) + val; }
|
|
2647 |
};
|
|
2648 |
|
|
2649 |
} // anonymous namespace
|
|
2650 |
'
|
|
2651 |
|
|
2652 |
# Test code for whether the C++ compiler supports C++98 (body of main)
|
|
2653 |
ac_cxx_conftest_cxx98_main='
|
|
2654 |
assert (argc);
|
|
2655 |
assert (! argv[0]);
|
|
2656 |
{
|
|
2657 |
test_exception_syntax ();
|
|
2658 |
test_template<double> tt (2.0);
|
|
2659 |
assert (tt.add (4) == 6.0);
|
|
2660 |
assert (true && !false);
|
|
2661 |
}
|
|
2662 |
'
|
|
2663 |
|
|
2664 |
# Test code for whether the C++ compiler supports C++11 (global declarations)
|
|
2665 |
ac_cxx_conftest_cxx11_globals='
|
|
2666 |
// Does the compiler advertise C++ 2011 conformance?
|
|
2667 |
#if !defined __cplusplus || __cplusplus < 201103L
|
|
2668 |
# error "Compiler does not advertise C++11 conformance"
|
|
2669 |
#endif
|
|
2670 |
|
|
2671 |
namespace cxx11test
|
|
2672 |
{
|
|
2673 |
constexpr int get_val() { return 20; }
|
|
2674 |
|
|
2675 |
struct testinit
|
|
2676 |
{
|
|
2677 |
int i;
|
|
2678 |
double d;
|
|
2679 |
};
|
|
2680 |
|
|
2681 |
class delegate
|
|
2682 |
{
|
|
2683 |
public:
|
|
2684 |
delegate(int n) : n(n) {}
|
|
2685 |
delegate(): delegate(2354) {}
|
|
2686 |
|
|
2687 |
virtual int getval() { return this->n; };
|
|
2688 |
protected:
|
|
2689 |
int n;
|
|
2690 |
};
|
|
2691 |
|
|
2692 |
class overridden : public delegate
|
|
2693 |
{
|
|
2694 |
public:
|
|
2695 |
overridden(int n): delegate(n) {}
|
|
2696 |
virtual int getval() override final { return this->n * 2; }
|
|
2697 |
};
|
|
2698 |
|
|
2699 |
class nocopy
|
|
2700 |
{
|
|
2701 |
public:
|
|
2702 |
nocopy(int i): i(i) {}
|
|
2703 |
nocopy() = default;
|
|
2704 |
nocopy(const nocopy&) = delete;
|
|
2705 |
nocopy & operator=(const nocopy&) = delete;
|
|
2706 |
private:
|
|
2707 |
int i;
|
|
2708 |
};
|
|
2709 |
|
|
2710 |
// for testing lambda expressions
|
|
2711 |
template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
|
|
2712 |
{
|
|
2713 |
return f(v);
|
|
2714 |
}
|
|
2715 |
|
|
2716 |
// for testing variadic templates and trailing return types
|
|
2717 |
template <typename V> auto sum(V first) -> V
|
|
2718 |
{
|
|
2719 |
return first;
|
|
2720 |
}
|
|
2721 |
template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
|
|
2722 |
{
|
|
2723 |
return first + sum(rest...);
|
|
2724 |
}
|
|
2725 |
}
|
|
2726 |
'
|
|
2727 |
|
|
2728 |
# Test code for whether the C++ compiler supports C++11 (body of main)
|
|
2729 |
ac_cxx_conftest_cxx11_main='
|
|
2730 |
{
|
|
2731 |
// Test auto and decltype
|
|
2732 |
auto a1 = 6538;
|
|
2733 |
auto a2 = 48573953.4;
|
|
2734 |
auto a3 = "String literal";
|
|
2735 |
|
|
2736 |
int total = 0;
|
|
2737 |
for (auto i = a3; *i; ++i) { total += *i; }
|
|
2738 |
|
|
2739 |
decltype(a2) a4 = 34895.034;
|
|
2740 |
}
|
|
2741 |
{
|
|
2742 |
// Test constexpr
|
|
2743 |
short sa[cxx11test::get_val()] = { 0 };
|
|
2744 |
}
|
|
2745 |
{
|
|
2746 |
// Test initializer lists
|
|
2747 |
cxx11test::testinit il = { 4323, 435234.23544 };
|
|
2748 |
}
|
|
2749 |
{
|
|
2750 |
// Test range-based for
|
|
2751 |
int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
|
|
2752 |
14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
|
|
2753 |
for (auto &x : array) { x += 23; }
|
|
2754 |
}
|
|
2755 |
{
|
|
2756 |
// Test lambda expressions
|
|
2757 |
using cxx11test::eval;
|
|
2758 |
assert (eval ([](int x) { return x*2; }, 21) == 42);
|
|
2759 |
double d = 2.0;
|
|
2760 |
assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
|
|
2761 |
assert (d == 5.0);
|
|
2762 |
assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
|
|
2763 |
assert (d == 5.0);
|
|
2764 |
}
|
|
2765 |
{
|
|
2766 |
// Test use of variadic templates
|
|
2767 |
using cxx11test::sum;
|
|
2768 |
auto a = sum(1);
|
|
2769 |
auto b = sum(1, 2);
|
|
2770 |
auto c = sum(1.0, 2.0, 3.0);
|
|
2771 |
}
|
|
2772 |
{
|
|
2773 |
// Test constructor delegation
|
|
2774 |
cxx11test::delegate d1;
|
|
2775 |
cxx11test::delegate d2();
|
|
2776 |
cxx11test::delegate d3(45);
|
|
2777 |
}
|
|
2778 |
{
|
|
2779 |
// Test override and final
|
|
2780 |
cxx11test::overridden o1(55464);
|
|
2781 |
}
|
|
2782 |
{
|
|
2783 |
// Test nullptr
|
|
2784 |
char *c = nullptr;
|
|
2785 |
}
|
|
2786 |
{
|
|
2787 |
// Test template brackets
|
|
2788 |
test_template<::test_template<int>> v(test_template<int>(12));
|
|
2789 |
}
|
|
2790 |
{
|
|
2791 |
// Unicode literals
|
|
2792 |
char const *utf8 = u8"UTF-8 string \u2500";
|
|
2793 |
char16_t const *utf16 = u"UTF-8 string \u2500";
|
|
2794 |
char32_t const *utf32 = U"UTF-32 string \u2500";
|
|
2795 |
}
|
|
2796 |
'
|
|
2797 |
|
|
2798 |
# Test code for whether the C compiler supports C++11 (complete).
|
|
2799 |
ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
|
|
2800 |
${ac_cxx_conftest_cxx11_globals}
|
|
2801 |
|
|
2802 |
int
|
|
2803 |
main (int argc, char **argv)
|
|
2804 |
{
|
|
2805 |
int ok = 0;
|
|
2806 |
${ac_cxx_conftest_cxx98_main}
|
|
2807 |
${ac_cxx_conftest_cxx11_main}
|
|
2808 |
return ok;
|
|
2809 |
}
|
|
2810 |
"
|
|
2811 |
|
|
2812 |
# Test code for whether the C compiler supports C++98 (complete).
|
|
2813 |
ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
|
|
2814 |
int
|
|
2815 |
main (int argc, char **argv)
|
|
2816 |
{
|
|
2817 |
int ok = 0;
|
|
2818 |
${ac_cxx_conftest_cxx98_main}
|
|
2819 |
return ok;
|
|
2820 |
}
|
|
2821 |
"
|
|
2822 |
|
|
2823 |
as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
|
|
2824 |
as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
|
|
2825 |
as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
|
|
2826 |
as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
|
|
2827 |
as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
|
|
2828 |
as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
|
|
2829 |
as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
|
|
2830 |
as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
|
|
2831 |
as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
|
|
2832 |
as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
|
|
2833 |
as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
|
|
2834 |
|
|
2835 |
# Auxiliary files required by this configure script.
|
|
2836 |
ac_aux_files="config.guess config.sub ltmain.sh compile missing install-sh"
|
|
2837 |
|
|
2838 |
# Locations in which to look for auxiliary files.
|
|
2839 |
ac_aux_dir_candidates="${srcdir}/build-aux"
|
|
2840 |
|
|
2841 |
# Search for a directory containing all of the required auxiliary files,
|
|
2842 |
# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
|
|
2843 |
# If we don't find one directory that contains all the files we need,
|
|
2844 |
# we report the set of missing files from the *first* directory in
|
|
2845 |
# $ac_aux_dir_candidates and give up.
|
|
2846 |
ac_missing_aux_files=""
|
|
2847 |
ac_first_candidate=:
|
|
2848 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
|
|
2849 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2850 |
as_found=false
|
|
2851 |
for as_dir in $ac_aux_dir_candidates
|
|
2852 |
do
|
|
2853 |
IFS=$as_save_IFS
|
|
2854 |
case $as_dir in #(((
|
|
2855 |
'') as_dir=./ ;;
|
|
2856 |
*/) ;;
|
|
2857 |
*) as_dir=$as_dir/ ;;
|
|
2858 |
esac
|
|
2859 |
as_found=:
|
|
2860 |
|
|
2861 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
|
|
2862 |
ac_aux_dir_found=yes
|
|
2863 |
ac_install_sh=
|
|
2864 |
for ac_aux in $ac_aux_files
|
|
2865 |
do
|
|
2866 |
# As a special case, if "install-sh" is required, that requirement
|
|
2867 |
# can be satisfied by any of "install-sh", "install.sh", or "shtool",
|
|
2868 |
# and $ac_install_sh is set appropriately for whichever one is found.
|
|
2869 |
if test x"$ac_aux" = x"install-sh"
|
|
2870 |
then
|
|
2871 |
if test -f "${as_dir}install-sh"; then
|
|
2872 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
|
|
2873 |
ac_install_sh="${as_dir}install-sh -c"
|
|
2874 |
elif test -f "${as_dir}install.sh"; then
|
|
2875 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
|
|
2876 |
ac_install_sh="${as_dir}install.sh -c"
|
|
2877 |
elif test -f "${as_dir}shtool"; then
|
|
2878 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
|
|
2879 |
ac_install_sh="${as_dir}shtool install -c"
|
|
2880 |
else
|
|
2881 |
ac_aux_dir_found=no
|
|
2882 |
if $ac_first_candidate; then
|
|
2883 |
ac_missing_aux_files="${ac_missing_aux_files} install-sh"
|
|
2884 |
else
|
|
2885 |
break
|
|
2886 |
fi
|
|
2887 |
fi
|
|
2888 |
else
|
|
2889 |
if test -f "${as_dir}${ac_aux}"; then
|
|
2890 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
|
|
2891 |
else
|
|
2892 |
ac_aux_dir_found=no
|
|
2893 |
if $ac_first_candidate; then
|
|
2894 |
ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
|
|
2895 |
else
|
|
2896 |
break
|
|
2897 |
fi
|
|
2898 |
fi
|
|
2899 |
fi
|
|
2900 |
done
|
|
2901 |
if test "$ac_aux_dir_found" = yes; then
|
|
2902 |
ac_aux_dir="$as_dir"
|
|
2903 |
break
|
|
2904 |
fi
|
|
2905 |
ac_first_candidate=false
|
|
2906 |
|
|
2907 |
as_found=false
|
|
2908 |
done
|
|
2909 |
IFS=$as_save_IFS
|
|
2910 |
if $as_found
|
|
2911 |
then :
|
|
2912 |
|
|
2913 |
else $as_nop
|
|
2914 |
as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
|
|
2915 |
fi
|
|
2916 |
|
|
2917 |
|
|
2918 |
# These three variables are undocumented and unsupported,
|
|
2919 |
# and are intended to be withdrawn in a future Autoconf release.
|
|
2920 |
# They can cause serious problems if a builder's source tree is in a directory
|
|
2921 |
# whose full name contains unusual characters.
|
|
2922 |
if test -f "${ac_aux_dir}config.guess"; then
|
|
2923 |
ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
|
|
2924 |
fi
|
|
2925 |
if test -f "${ac_aux_dir}config.sub"; then
|
|
2926 |
ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
|
|
2927 |
fi
|
|
2928 |
if test -f "$ac_aux_dir/configure"; then
|
|
2929 |
ac_configure="$SHELL ${ac_aux_dir}configure"
|
2485 | 2930 |
fi
|
2486 | 2931 |
|
2487 | 2932 |
# Check that the precious variables saved in the cache have kept the same
|
|
2494 | 2939 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
2495 | 2940 |
case $ac_old_set,$ac_new_set in
|
2496 | 2941 |
set,)
|
2497 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
2498 | |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
|
2942 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
2943 |
printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
2499 | 2944 |
ac_cache_corrupted=: ;;
|
2500 | 2945 |
,set)
|
2501 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
2502 | |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
|
2946 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
|
2947 |
printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
2503 | 2948 |
ac_cache_corrupted=: ;;
|
2504 | 2949 |
,);;
|
2505 | 2950 |
*)
|
|
2508 | 2953 |
ac_old_val_w=`echo x $ac_old_val`
|
2509 | 2954 |
ac_new_val_w=`echo x $ac_new_val`
|
2510 | 2955 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
2511 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
2512 | |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
|
2956 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
|
2957 |
printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
2513 | 2958 |
ac_cache_corrupted=:
|
2514 | 2959 |
else
|
2515 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
2516 | |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
|
2960 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
|
2961 |
printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
2517 | 2962 |
eval $ac_var=\$ac_old_val
|
2518 | 2963 |
fi
|
2519 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
2520 | |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
2521 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
2522 | |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
|
2964 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
|
2965 |
printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
|
|
2966 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
|
2967 |
printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
|
2523 | 2968 |
fi;;
|
2524 | 2969 |
esac
|
2525 | 2970 |
# Pass precious variables to config.status.
|
2526 | 2971 |
if test "$ac_new_set" = set; then
|
2527 | 2972 |
case $ac_new_val in
|
2528 | |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
2973 |
*\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
2529 | 2974 |
*) ac_arg=$ac_var=$ac_new_val ;;
|
2530 | 2975 |
esac
|
2531 | 2976 |
case " $ac_configure_args " in
|
|
2535 | 2980 |
fi
|
2536 | 2981 |
done
|
2537 | 2982 |
if $ac_cache_corrupted; then
|
2538 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2539 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2540 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
2541 | |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
2542 | |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
|
2983 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2984 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2985 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
|
2986 |
printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
|
|
2987 |
as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
|
|
2988 |
and start over" "$LINENO" 5
|
2543 | 2989 |
fi
|
2544 | 2990 |
## -------------------- ##
|
2545 | 2991 |
## Main body of script. ##
|
|
2556 | 3002 |
|
2557 | 3003 |
|
2558 | 3004 |
|
2559 | |
ac_aux_dir=
|
2560 | |
for ac_dir in build-aux "$srcdir"/build-aux; do
|
2561 | |
if test -f "$ac_dir/install-sh"; then
|
2562 | |
ac_aux_dir=$ac_dir
|
2563 | |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
2564 | |
break
|
2565 | |
elif test -f "$ac_dir/install.sh"; then
|
2566 | |
ac_aux_dir=$ac_dir
|
2567 | |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
2568 | |
break
|
2569 | |
elif test -f "$ac_dir/shtool"; then
|
2570 | |
ac_aux_dir=$ac_dir
|
2571 | |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
2572 | |
break
|
2573 | |
fi
|
2574 | |
done
|
2575 | |
if test -z "$ac_aux_dir"; then
|
2576 | |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
|
2577 | |
fi
|
2578 | |
|
2579 | |
# These three variables are undocumented and unsupported,
|
2580 | |
# and are intended to be withdrawn in a future Autoconf release.
|
2581 | |
# They can cause serious problems if a builder's source tree is in a directory
|
2582 | |
# whose full name contains unusual characters.
|
2583 | |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
2584 | |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
2585 | |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
2586 | |
|
2587 | 3005 |
|
2588 | 3006 |
am__api_version='1.16'
|
2589 | 3007 |
|
2590 | |
# Find a good install program. We prefer a C program (faster),
|
|
3008 |
|
|
3009 |
|
|
3010 |
# Find a good install program. We prefer a C program (faster),
|
2591 | 3011 |
# so one script is as good as another. But avoid the broken or
|
2592 | 3012 |
# incompatible versions:
|
2593 | 3013 |
# SysV /etc/install, /usr/sbin/install
|
|
2601 | 3021 |
# OS/2's system install, which has a completely different semantic
|
2602 | 3022 |
# ./install, which can be erroneously created by make from ./install.sh.
|
2603 | 3023 |
# Reject install programs that cannot install multiple files.
|
2604 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
2605 | |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
|
3024 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
|
3025 |
printf %s "checking for a BSD-compatible install... " >&6; }
|
2606 | 3026 |
if test -z "$INSTALL"; then
|
2607 | |
if ${ac_cv_path_install+:} false; then :
|
2608 | |
$as_echo_n "(cached) " >&6
|
2609 | |
else
|
|
3027 |
if test ${ac_cv_path_install+y}
|
|
3028 |
then :
|
|
3029 |
printf %s "(cached) " >&6
|
|
3030 |
else $as_nop
|
2610 | 3031 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2611 | 3032 |
for as_dir in $PATH
|
2612 | 3033 |
do
|
2613 | 3034 |
IFS=$as_save_IFS
|
2614 | |
test -z "$as_dir" && as_dir=.
|
2615 | |
# Account for people who put trailing slashes in PATH elements.
|
2616 | |
case $as_dir/ in #((
|
2617 | |
./ | .// | /[cC]/* | \
|
|
3035 |
case $as_dir in #(((
|
|
3036 |
'') as_dir=./ ;;
|
|
3037 |
*/) ;;
|
|
3038 |
*) as_dir=$as_dir/ ;;
|
|
3039 |
esac
|
|
3040 |
# Account for fact that we put trailing slashes in our PATH walk.
|
|
3041 |
case $as_dir in #((
|
|
3042 |
./ | /[cC]/* | \
|
2618 | 3043 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
2619 | 3044 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
2620 | 3045 |
/usr/ucb/* ) ;;
|
|
2624 | 3049 |
# by default.
|
2625 | 3050 |
for ac_prog in ginstall scoinst install; do
|
2626 | 3051 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2627 | |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
|
3052 |
if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
|
2628 | 3053 |
if test $ac_prog = install &&
|
2629 | |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
3054 |
grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2630 | 3055 |
# AIX install. It has an incompatible calling convention.
|
2631 | 3056 |
:
|
2632 | 3057 |
elif test $ac_prog = install &&
|
2633 | |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
3058 |
grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2634 | 3059 |
# program-specific install script used by HP pwplus--don't use.
|
2635 | 3060 |
:
|
2636 | 3061 |
else
|
|
2638 | 3063 |
echo one > conftest.one
|
2639 | 3064 |
echo two > conftest.two
|
2640 | 3065 |
mkdir conftest.dir
|
2641 | |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
|
3066 |
if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
|
2642 | 3067 |
test -s conftest.one && test -s conftest.two &&
|
2643 | 3068 |
test -s conftest.dir/conftest.one &&
|
2644 | 3069 |
test -s conftest.dir/conftest.two
|
2645 | 3070 |
then
|
2646 | |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
3071 |
ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
|
2647 | 3072 |
break 3
|
2648 | 3073 |
fi
|
2649 | 3074 |
fi
|
|
2659 | 3084 |
rm -rf conftest.one conftest.two conftest.dir
|
2660 | 3085 |
|
2661 | 3086 |
fi
|
2662 | |
if test "${ac_cv_path_install+set}" = set; then
|
|
3087 |
if test ${ac_cv_path_install+y}; then
|
2663 | 3088 |
INSTALL=$ac_cv_path_install
|
2664 | 3089 |
else
|
2665 | 3090 |
# As a last resort, use the slow shell script. Don't cache a
|
|
2669 | 3094 |
INSTALL=$ac_install_sh
|
2670 | 3095 |
fi
|
2671 | 3096 |
fi
|
2672 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
2673 | |
$as_echo "$INSTALL" >&6; }
|
|
3097 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
|
3098 |
printf "%s\n" "$INSTALL" >&6; }
|
2674 | 3099 |
|
2675 | 3100 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
2676 | 3101 |
# It thinks the first close brace ends the variable substitution.
|
|
2680 | 3105 |
|
2681 | 3106 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
2682 | 3107 |
|
2683 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
2684 | |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
|
3108 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
|
3109 |
printf %s "checking whether build environment is sane... " >&6; }
|
2685 | 3110 |
# Reject unsafe characters in $srcdir or the absolute working directory
|
2686 | 3111 |
# name. Accept space and tab only in the latter.
|
2687 | 3112 |
am_lf='
|
|
2735 | 3160 |
as_fn_error $? "newly created file is older than distributed files!
|
2736 | 3161 |
Check your system clock" "$LINENO" 5
|
2737 | 3162 |
fi
|
2738 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2739 | |
$as_echo "yes" >&6; }
|
|
3163 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3164 |
printf "%s\n" "yes" >&6; }
|
2740 | 3165 |
# If we didn't sleep, we still need to ensure time stamps of config.status and
|
2741 | 3166 |
# generated files are strictly newer.
|
2742 | 3167 |
am_sleep_pid=
|
|
2755 | 3180 |
# Double any \ or $.
|
2756 | 3181 |
# By default was `s,x,x', remove it if useless.
|
2757 | 3182 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
2758 | |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
|
3183 |
program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
|
|
3184 |
|
2759 | 3185 |
|
2760 | 3186 |
# Expand $ac_aux_dir to an absolute path.
|
2761 | 3187 |
am_aux_dir=`cd "$ac_aux_dir" && pwd`
|
2762 | 3188 |
|
2763 | |
if test x"${MISSING+set}" != xset; then
|
2764 | |
case $am_aux_dir in
|
2765 | |
*\ * | *\ *)
|
2766 | |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
2767 | |
*)
|
2768 | |
MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
2769 | |
esac
|
|
3189 |
|
|
3190 |
if test x"${MISSING+set}" != xset; then
|
|
3191 |
MISSING="\${SHELL} '$am_aux_dir/missing'"
|
2770 | 3192 |
fi
|
2771 | 3193 |
# Use eval to expand $SHELL
|
2772 | 3194 |
if eval "$MISSING --is-lightweight"; then
|
2773 | 3195 |
am_missing_run="$MISSING "
|
2774 | 3196 |
else
|
2775 | 3197 |
am_missing_run=
|
2776 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
|
2777 | |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
|
|
3198 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
|
|
3199 |
printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
|
2778 | 3200 |
fi
|
2779 | 3201 |
|
2780 | 3202 |
if test x"${install_sh+set}" != xset; then
|
|
2794 | 3216 |
if test -n "$ac_tool_prefix"; then
|
2795 | 3217 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
2796 | 3218 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
2797 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2798 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2799 | |
if ${ac_cv_prog_STRIP+:} false; then :
|
2800 | |
$as_echo_n "(cached) " >&6
|
2801 | |
else
|
|
3219 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3220 |
printf %s "checking for $ac_word... " >&6; }
|
|
3221 |
if test ${ac_cv_prog_STRIP+y}
|
|
3222 |
then :
|
|
3223 |
printf %s "(cached) " >&6
|
|
3224 |
else $as_nop
|
2802 | 3225 |
if test -n "$STRIP"; then
|
2803 | 3226 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
2804 | 3227 |
else
|
|
2806 | 3229 |
for as_dir in $PATH
|
2807 | 3230 |
do
|
2808 | 3231 |
IFS=$as_save_IFS
|
2809 | |
test -z "$as_dir" && as_dir=.
|
|
3232 |
case $as_dir in #(((
|
|
3233 |
'') as_dir=./ ;;
|
|
3234 |
*/) ;;
|
|
3235 |
*) as_dir=$as_dir/ ;;
|
|
3236 |
esac
|
2810 | 3237 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2811 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3238 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
2812 | 3239 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
2813 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3240 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
2814 | 3241 |
break 2
|
2815 | 3242 |
fi
|
2816 | 3243 |
done
|
|
2821 | 3248 |
fi
|
2822 | 3249 |
STRIP=$ac_cv_prog_STRIP
|
2823 | 3250 |
if test -n "$STRIP"; then
|
2824 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
2825 | |
$as_echo "$STRIP" >&6; }
|
|
3251 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
|
3252 |
printf "%s\n" "$STRIP" >&6; }
|
2826 | 3253 |
else
|
2827 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2828 | |
$as_echo "no" >&6; }
|
|
3254 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3255 |
printf "%s\n" "no" >&6; }
|
2829 | 3256 |
fi
|
2830 | 3257 |
|
2831 | 3258 |
|
|
2834 | 3261 |
ac_ct_STRIP=$STRIP
|
2835 | 3262 |
# Extract the first word of "strip", so it can be a program name with args.
|
2836 | 3263 |
set dummy strip; ac_word=$2
|
2837 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2838 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2839 | |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
2840 | |
$as_echo_n "(cached) " >&6
|
2841 | |
else
|
|
3264 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3265 |
printf %s "checking for $ac_word... " >&6; }
|
|
3266 |
if test ${ac_cv_prog_ac_ct_STRIP+y}
|
|
3267 |
then :
|
|
3268 |
printf %s "(cached) " >&6
|
|
3269 |
else $as_nop
|
2842 | 3270 |
if test -n "$ac_ct_STRIP"; then
|
2843 | 3271 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
2844 | 3272 |
else
|
|
2846 | 3274 |
for as_dir in $PATH
|
2847 | 3275 |
do
|
2848 | 3276 |
IFS=$as_save_IFS
|
2849 | |
test -z "$as_dir" && as_dir=.
|
|
3277 |
case $as_dir in #(((
|
|
3278 |
'') as_dir=./ ;;
|
|
3279 |
*/) ;;
|
|
3280 |
*) as_dir=$as_dir/ ;;
|
|
3281 |
esac
|
2850 | 3282 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2851 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3283 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
2852 | 3284 |
ac_cv_prog_ac_ct_STRIP="strip"
|
2853 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3285 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
2854 | 3286 |
break 2
|
2855 | 3287 |
fi
|
2856 | 3288 |
done
|
|
2861 | 3293 |
fi
|
2862 | 3294 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
2863 | 3295 |
if test -n "$ac_ct_STRIP"; then
|
2864 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
2865 | |
$as_echo "$ac_ct_STRIP" >&6; }
|
|
3296 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
|
3297 |
printf "%s\n" "$ac_ct_STRIP" >&6; }
|
2866 | 3298 |
else
|
2867 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2868 | |
$as_echo "no" >&6; }
|
|
3299 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3300 |
printf "%s\n" "no" >&6; }
|
2869 | 3301 |
fi
|
2870 | 3302 |
|
2871 | 3303 |
if test "x$ac_ct_STRIP" = x; then
|
|
2873 | 3305 |
else
|
2874 | 3306 |
case $cross_compiling:$ac_tool_warned in
|
2875 | 3307 |
yes:)
|
2876 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2877 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
3308 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3309 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2878 | 3310 |
ac_tool_warned=yes ;;
|
2879 | 3311 |
esac
|
2880 | 3312 |
STRIP=$ac_ct_STRIP
|
|
2886 | 3318 |
fi
|
2887 | 3319 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
2888 | 3320 |
|
2889 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
2890 | |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
|
3321 |
|
|
3322 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
|
|
3323 |
printf %s "checking for a race-free mkdir -p... " >&6; }
|
2891 | 3324 |
if test -z "$MKDIR_P"; then
|
2892 | |
if ${ac_cv_path_mkdir+:} false; then :
|
2893 | |
$as_echo_n "(cached) " >&6
|
2894 | |
else
|
|
3325 |
if test ${ac_cv_path_mkdir+y}
|
|
3326 |
then :
|
|
3327 |
printf %s "(cached) " >&6
|
|
3328 |
else $as_nop
|
2895 | 3329 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2896 | 3330 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
2897 | 3331 |
do
|
2898 | 3332 |
IFS=$as_save_IFS
|
2899 | |
test -z "$as_dir" && as_dir=.
|
|
3333 |
case $as_dir in #(((
|
|
3334 |
'') as_dir=./ ;;
|
|
3335 |
*/) ;;
|
|
3336 |
*) as_dir=$as_dir/ ;;
|
|
3337 |
esac
|
2900 | 3338 |
for ac_prog in mkdir gmkdir; do
|
2901 | 3339 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2902 | |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
|
2903 | |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
2904 | |
'mkdir (GNU coreutils) '* | \
|
2905 | |
'mkdir (coreutils) '* | \
|
|
3340 |
as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
|
|
3341 |
case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
|
3342 |
'mkdir ('*'coreutils) '* | \
|
|
3343 |
'BusyBox '* | \
|
2906 | 3344 |
'mkdir (fileutils) '4.1*)
|
2907 | |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
|
|
3345 |
ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
|
2908 | 3346 |
break 3;;
|
2909 | 3347 |
esac
|
2910 | 3348 |
done
|
|
2915 | 3353 |
fi
|
2916 | 3354 |
|
2917 | 3355 |
test -d ./--version && rmdir ./--version
|
2918 | |
if test "${ac_cv_path_mkdir+set}" = set; then
|
|
3356 |
if test ${ac_cv_path_mkdir+y}; then
|
2919 | 3357 |
MKDIR_P="$ac_cv_path_mkdir -p"
|
2920 | 3358 |
else
|
2921 | 3359 |
# As a last resort, use the slow shell script. Don't cache a
|
|
2925 | 3363 |
MKDIR_P="$ac_install_sh -d"
|
2926 | 3364 |
fi
|
2927 | 3365 |
fi
|
2928 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
2929 | |
$as_echo "$MKDIR_P" >&6; }
|
|
3366 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
|
3367 |
printf "%s\n" "$MKDIR_P" >&6; }
|
2930 | 3368 |
|
2931 | 3369 |
for ac_prog in gawk mawk nawk awk
|
2932 | 3370 |
do
|
2933 | 3371 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2934 | 3372 |
set dummy $ac_prog; ac_word=$2
|
2935 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2936 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2937 | |
if ${ac_cv_prog_AWK+:} false; then :
|
2938 | |
$as_echo_n "(cached) " >&6
|
2939 | |
else
|
|
3373 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3374 |
printf %s "checking for $ac_word... " >&6; }
|
|
3375 |
if test ${ac_cv_prog_AWK+y}
|
|
3376 |
then :
|
|
3377 |
printf %s "(cached) " >&6
|
|
3378 |
else $as_nop
|
2940 | 3379 |
if test -n "$AWK"; then
|
2941 | 3380 |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
2942 | 3381 |
else
|
|
2944 | 3383 |
for as_dir in $PATH
|
2945 | 3384 |
do
|
2946 | 3385 |
IFS=$as_save_IFS
|
2947 | |
test -z "$as_dir" && as_dir=.
|
|
3386 |
case $as_dir in #(((
|
|
3387 |
'') as_dir=./ ;;
|
|
3388 |
*/) ;;
|
|
3389 |
*) as_dir=$as_dir/ ;;
|
|
3390 |
esac
|
2948 | 3391 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2949 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3392 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
2950 | 3393 |
ac_cv_prog_AWK="$ac_prog"
|
2951 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3394 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
2952 | 3395 |
break 2
|
2953 | 3396 |
fi
|
2954 | 3397 |
done
|
|
2959 | 3402 |
fi
|
2960 | 3403 |
AWK=$ac_cv_prog_AWK
|
2961 | 3404 |
if test -n "$AWK"; then
|
2962 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
2963 | |
$as_echo "$AWK" >&6; }
|
|
3405 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
|
3406 |
printf "%s\n" "$AWK" >&6; }
|
2964 | 3407 |
else
|
2965 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2966 | |
$as_echo "no" >&6; }
|
|
3408 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3409 |
printf "%s\n" "no" >&6; }
|
2967 | 3410 |
fi
|
2968 | 3411 |
|
2969 | 3412 |
|
2970 | 3413 |
test -n "$AWK" && break
|
2971 | 3414 |
done
|
2972 | 3415 |
|
2973 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
2974 | |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
|
3416 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
3417 |
printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
2975 | 3418 |
set x ${MAKE-make}
|
2976 | |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
2977 | |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
|
2978 | |
$as_echo_n "(cached) " >&6
|
2979 | |
else
|
|
3419 |
ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
|
3420 |
if eval test \${ac_cv_prog_make_${ac_make}_set+y}
|
|
3421 |
then :
|
|
3422 |
printf %s "(cached) " >&6
|
|
3423 |
else $as_nop
|
2980 | 3424 |
cat >conftest.make <<\_ACEOF
|
2981 | 3425 |
SHELL = /bin/sh
|
2982 | 3426 |
all:
|
|
2992 | 3436 |
rm -f conftest.make
|
2993 | 3437 |
fi
|
2994 | 3438 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
2995 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2996 | |
$as_echo "yes" >&6; }
|
|
3439 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3440 |
printf "%s\n" "yes" >&6; }
|
2997 | 3441 |
SET_MAKE=
|
2998 | 3442 |
else
|
2999 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3000 | |
$as_echo "no" >&6; }
|
|
3443 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3444 |
printf "%s\n" "no" >&6; }
|
3001 | 3445 |
SET_MAKE="MAKE=${MAKE-make}"
|
3002 | 3446 |
fi
|
3003 | 3447 |
|
|
3011 | 3455 |
rmdir .tst 2>/dev/null
|
3012 | 3456 |
|
3013 | 3457 |
# Check whether --enable-silent-rules was given.
|
3014 | |
if test "${enable_silent_rules+set}" = set; then :
|
|
3458 |
if test ${enable_silent_rules+y}
|
|
3459 |
then :
|
3015 | 3460 |
enableval=$enable_silent_rules;
|
3016 | 3461 |
fi
|
3017 | 3462 |
|
|
3021 | 3466 |
*) AM_DEFAULT_VERBOSITY=1;;
|
3022 | 3467 |
esac
|
3023 | 3468 |
am_make=${MAKE-make}
|
3024 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
3025 | |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
|
3026 | |
if ${am_cv_make_support_nested_variables+:} false; then :
|
3027 | |
$as_echo_n "(cached) " >&6
|
3028 | |
else
|
3029 | |
if $as_echo 'TRUE=$(BAR$(V))
|
|
3469 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
|
3470 |
printf %s "checking whether $am_make supports nested variables... " >&6; }
|
|
3471 |
if test ${am_cv_make_support_nested_variables+y}
|
|
3472 |
then :
|
|
3473 |
printf %s "(cached) " >&6
|
|
3474 |
else $as_nop
|
|
3475 |
if printf "%s\n" 'TRUE=$(BAR$(V))
|
3030 | 3476 |
BAR0=false
|
3031 | 3477 |
BAR1=true
|
3032 | 3478 |
V=1
|
|
3038 | 3484 |
am_cv_make_support_nested_variables=no
|
3039 | 3485 |
fi
|
3040 | 3486 |
fi
|
3041 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
3042 | |
$as_echo "$am_cv_make_support_nested_variables" >&6; }
|
|
3487 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
|
3488 |
printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
|
3043 | 3489 |
if test $am_cv_make_support_nested_variables = yes; then
|
3044 | 3490 |
AM_V='$(V)'
|
3045 | 3491 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
|
|
3071 | 3517 |
|
3072 | 3518 |
# Define the identity of the package.
|
3073 | 3519 |
PACKAGE='protobuf-c'
|
3074 | |
VERSION='1.3.3'
|
3075 | |
|
3076 | |
|
3077 | |
cat >>confdefs.h <<_ACEOF
|
3078 | |
#define PACKAGE "$PACKAGE"
|
3079 | |
_ACEOF
|
3080 | |
|
3081 | |
|
3082 | |
cat >>confdefs.h <<_ACEOF
|
3083 | |
#define VERSION "$VERSION"
|
3084 | |
_ACEOF
|
|
3520 |
VERSION='1.4.0'
|
|
3521 |
|
|
3522 |
|
|
3523 |
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
|
|
3524 |
|
|
3525 |
|
|
3526 |
printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
|
3085 | 3527 |
|
3086 | 3528 |
# Some tools Automake needs.
|
3087 | 3529 |
|
|
3119 | 3561 |
|
3120 | 3562 |
|
3121 | 3563 |
|
|
3564 |
|
|
3565 |
|
|
3566 |
# Variables for tags utilities; see am/tags.am
|
|
3567 |
if test -z "$CTAGS"; then
|
|
3568 |
CTAGS=ctags
|
|
3569 |
fi
|
|
3570 |
|
|
3571 |
if test -z "$ETAGS"; then
|
|
3572 |
ETAGS=etags
|
|
3573 |
fi
|
|
3574 |
|
|
3575 |
if test -z "$CSCOPE"; then
|
|
3576 |
CSCOPE=cscope
|
|
3577 |
fi
|
3122 | 3578 |
|
3123 | 3579 |
|
3124 | 3580 |
|
|
3164 | 3620 |
fi
|
3165 | 3621 |
fi
|
3166 | 3622 |
|
|
3623 |
|
|
3624 |
|
|
3625 |
|
|
3626 |
|
|
3627 |
|
|
3628 |
|
|
3629 |
|
|
3630 |
|
|
3631 |
|
3167 | 3632 |
DEPDIR="${am__leading_dot}deps"
|
3168 | 3633 |
|
3169 | 3634 |
ac_config_commands="$ac_config_commands depfiles"
|
3170 | 3635 |
|
3171 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
|
3172 | |
$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
|
|
3636 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
|
|
3637 |
printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
|
3173 | 3638 |
cat > confinc.mk << 'END'
|
3174 | 3639 |
am__doit:
|
3175 | 3640 |
@echo this is the am__doit target >confinc.out
|
|
3205 | 3670 |
fi
|
3206 | 3671 |
done
|
3207 | 3672 |
rm -f confinc.* confmf.*
|
3208 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
|
3209 | |
$as_echo "${_am_result}" >&6; }
|
|
3673 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
|
|
3674 |
printf "%s\n" "${_am_result}" >&6; }
|
3210 | 3675 |
|
3211 | 3676 |
# Check whether --enable-dependency-tracking was given.
|
3212 | |
if test "${enable_dependency_tracking+set}" = set; then :
|
|
3677 |
if test ${enable_dependency_tracking+y}
|
|
3678 |
then :
|
3213 | 3679 |
enableval=$enable_dependency_tracking;
|
3214 | 3680 |
fi
|
3215 | 3681 |
|
|
3235 | 3701 |
if test -n "$ac_tool_prefix"; then
|
3236 | 3702 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
3237 | 3703 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
3238 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3239 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3240 | |
if ${ac_cv_prog_CC+:} false; then :
|
3241 | |
$as_echo_n "(cached) " >&6
|
3242 | |
else
|
|
3704 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3705 |
printf %s "checking for $ac_word... " >&6; }
|
|
3706 |
if test ${ac_cv_prog_CC+y}
|
|
3707 |
then :
|
|
3708 |
printf %s "(cached) " >&6
|
|
3709 |
else $as_nop
|
3243 | 3710 |
if test -n "$CC"; then
|
3244 | 3711 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3245 | 3712 |
else
|
|
3247 | 3714 |
for as_dir in $PATH
|
3248 | 3715 |
do
|
3249 | 3716 |
IFS=$as_save_IFS
|
3250 | |
test -z "$as_dir" && as_dir=.
|
|
3717 |
case $as_dir in #(((
|
|
3718 |
'') as_dir=./ ;;
|
|
3719 |
*/) ;;
|
|
3720 |
*) as_dir=$as_dir/ ;;
|
|
3721 |
esac
|
3251 | 3722 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3252 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3723 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3253 | 3724 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
3254 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3725 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3255 | 3726 |
break 2
|
3256 | 3727 |
fi
|
3257 | 3728 |
done
|
|
3262 | 3733 |
fi
|
3263 | 3734 |
CC=$ac_cv_prog_CC
|
3264 | 3735 |
if test -n "$CC"; then
|
3265 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3266 | |
$as_echo "$CC" >&6; }
|
|
3736 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
3737 |
printf "%s\n" "$CC" >&6; }
|
3267 | 3738 |
else
|
3268 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3269 | |
$as_echo "no" >&6; }
|
|
3739 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3740 |
printf "%s\n" "no" >&6; }
|
3270 | 3741 |
fi
|
3271 | 3742 |
|
3272 | 3743 |
|
|
3275 | 3746 |
ac_ct_CC=$CC
|
3276 | 3747 |
# Extract the first word of "gcc", so it can be a program name with args.
|
3277 | 3748 |
set dummy gcc; ac_word=$2
|
3278 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3279 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3280 | |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
3281 | |
$as_echo_n "(cached) " >&6
|
3282 | |
else
|
|
3749 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3750 |
printf %s "checking for $ac_word... " >&6; }
|
|
3751 |
if test ${ac_cv_prog_ac_ct_CC+y}
|
|
3752 |
then :
|
|
3753 |
printf %s "(cached) " >&6
|
|
3754 |
else $as_nop
|
3283 | 3755 |
if test -n "$ac_ct_CC"; then
|
3284 | 3756 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
3285 | 3757 |
else
|
|
3287 | 3759 |
for as_dir in $PATH
|
3288 | 3760 |
do
|
3289 | 3761 |
IFS=$as_save_IFS
|
3290 | |
test -z "$as_dir" && as_dir=.
|
|
3762 |
case $as_dir in #(((
|
|
3763 |
'') as_dir=./ ;;
|
|
3764 |
*/) ;;
|
|
3765 |
*) as_dir=$as_dir/ ;;
|
|
3766 |
esac
|
3291 | 3767 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3292 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3768 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3293 | 3769 |
ac_cv_prog_ac_ct_CC="gcc"
|
3294 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3770 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3295 | 3771 |
break 2
|
3296 | 3772 |
fi
|
3297 | 3773 |
done
|
|
3302 | 3778 |
fi
|
3303 | 3779 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
3304 | 3780 |
if test -n "$ac_ct_CC"; then
|
3305 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
3306 | |
$as_echo "$ac_ct_CC" >&6; }
|
|
3781 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
3782 |
printf "%s\n" "$ac_ct_CC" >&6; }
|
3307 | 3783 |
else
|
3308 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3309 | |
$as_echo "no" >&6; }
|
|
3784 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3785 |
printf "%s\n" "no" >&6; }
|
3310 | 3786 |
fi
|
3311 | 3787 |
|
3312 | 3788 |
if test "x$ac_ct_CC" = x; then
|
|
3314 | 3790 |
else
|
3315 | 3791 |
case $cross_compiling:$ac_tool_warned in
|
3316 | 3792 |
yes:)
|
3317 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
3318 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
3793 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3794 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
3319 | 3795 |
ac_tool_warned=yes ;;
|
3320 | 3796 |
esac
|
3321 | 3797 |
CC=$ac_ct_CC
|
|
3328 | 3804 |
if test -n "$ac_tool_prefix"; then
|
3329 | 3805 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
3330 | 3806 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
3331 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3332 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3333 | |
if ${ac_cv_prog_CC+:} false; then :
|
3334 | |
$as_echo_n "(cached) " >&6
|
3335 | |
else
|
|
3807 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3808 |
printf %s "checking for $ac_word... " >&6; }
|
|
3809 |
if test ${ac_cv_prog_CC+y}
|
|
3810 |
then :
|
|
3811 |
printf %s "(cached) " >&6
|
|
3812 |
else $as_nop
|
3336 | 3813 |
if test -n "$CC"; then
|
3337 | 3814 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3338 | 3815 |
else
|
|
3340 | 3817 |
for as_dir in $PATH
|
3341 | 3818 |
do
|
3342 | 3819 |
IFS=$as_save_IFS
|
3343 | |
test -z "$as_dir" && as_dir=.
|
|
3820 |
case $as_dir in #(((
|
|
3821 |
'') as_dir=./ ;;
|
|
3822 |
*/) ;;
|
|
3823 |
*) as_dir=$as_dir/ ;;
|
|
3824 |
esac
|
3344 | 3825 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3345 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3826 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3346 | 3827 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
3347 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3828 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3348 | 3829 |
break 2
|
3349 | 3830 |
fi
|
3350 | 3831 |
done
|
|
3355 | 3836 |
fi
|
3356 | 3837 |
CC=$ac_cv_prog_CC
|
3357 | 3838 |
if test -n "$CC"; then
|
3358 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3359 | |
$as_echo "$CC" >&6; }
|
|
3839 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
3840 |
printf "%s\n" "$CC" >&6; }
|
3360 | 3841 |
else
|
3361 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3362 | |
$as_echo "no" >&6; }
|
|
3842 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3843 |
printf "%s\n" "no" >&6; }
|
3363 | 3844 |
fi
|
3364 | 3845 |
|
3365 | 3846 |
|
|
3368 | 3849 |
if test -z "$CC"; then
|
3369 | 3850 |
# Extract the first word of "cc", so it can be a program name with args.
|
3370 | 3851 |
set dummy cc; ac_word=$2
|
3371 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3372 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3373 | |
if ${ac_cv_prog_CC+:} false; then :
|
3374 | |
$as_echo_n "(cached) " >&6
|
3375 | |
else
|
|
3852 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3853 |
printf %s "checking for $ac_word... " >&6; }
|
|
3854 |
if test ${ac_cv_prog_CC+y}
|
|
3855 |
then :
|
|
3856 |
printf %s "(cached) " >&6
|
|
3857 |
else $as_nop
|
3376 | 3858 |
if test -n "$CC"; then
|
3377 | 3859 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3378 | 3860 |
else
|
|
3381 | 3863 |
for as_dir in $PATH
|
3382 | 3864 |
do
|
3383 | 3865 |
IFS=$as_save_IFS
|
3384 | |
test -z "$as_dir" && as_dir=.
|
|
3866 |
case $as_dir in #(((
|
|
3867 |
'') as_dir=./ ;;
|
|
3868 |
*/) ;;
|
|
3869 |
*) as_dir=$as_dir/ ;;
|
|
3870 |
esac
|
3385 | 3871 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3386 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
3387 | |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
|
3872 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
3873 |
if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
3388 | 3874 |
ac_prog_rejected=yes
|
3389 | 3875 |
continue
|
3390 | 3876 |
fi
|
3391 | 3877 |
ac_cv_prog_CC="cc"
|
3392 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3878 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3393 | 3879 |
break 2
|
3394 | 3880 |
fi
|
3395 | 3881 |
done
|
|
3405 | 3891 |
# However, it has the same basename, so the bogon will be chosen
|
3406 | 3892 |
# first if we set CC to just the basename; use the full file name.
|
3407 | 3893 |
shift
|
3408 | |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
|
3894 |
ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
|
3409 | 3895 |
fi
|
3410 | 3896 |
fi
|
3411 | 3897 |
fi
|
3412 | 3898 |
fi
|
3413 | 3899 |
CC=$ac_cv_prog_CC
|
3414 | 3900 |
if test -n "$CC"; then
|
3415 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3416 | |
$as_echo "$CC" >&6; }
|
|
3901 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
3902 |
printf "%s\n" "$CC" >&6; }
|
3417 | 3903 |
else
|
3418 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3419 | |
$as_echo "no" >&6; }
|
|
3904 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3905 |
printf "%s\n" "no" >&6; }
|
3420 | 3906 |
fi
|
3421 | 3907 |
|
3422 | 3908 |
|
|
3427 | 3913 |
do
|
3428 | 3914 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
3429 | 3915 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
3430 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3431 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3432 | |
if ${ac_cv_prog_CC+:} false; then :
|
3433 | |
$as_echo_n "(cached) " >&6
|
3434 | |
else
|
|
3916 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3917 |
printf %s "checking for $ac_word... " >&6; }
|
|
3918 |
if test ${ac_cv_prog_CC+y}
|
|
3919 |
then :
|
|
3920 |
printf %s "(cached) " >&6
|
|
3921 |
else $as_nop
|
3435 | 3922 |
if test -n "$CC"; then
|
3436 | 3923 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3437 | 3924 |
else
|
|
3439 | 3926 |
for as_dir in $PATH
|
3440 | 3927 |
do
|
3441 | 3928 |
IFS=$as_save_IFS
|
3442 | |
test -z "$as_dir" && as_dir=.
|
|
3929 |
case $as_dir in #(((
|
|
3930 |
'') as_dir=./ ;;
|
|
3931 |
*/) ;;
|
|
3932 |
*) as_dir=$as_dir/ ;;
|
|
3933 |
esac
|
3443 | 3934 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3444 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3935 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3445 | 3936 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
3446 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3937 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3447 | 3938 |
break 2
|
3448 | 3939 |
fi
|
3449 | 3940 |
done
|
|
3454 | 3945 |
fi
|
3455 | 3946 |
CC=$ac_cv_prog_CC
|
3456 | 3947 |
if test -n "$CC"; then
|
3457 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3458 | |
$as_echo "$CC" >&6; }
|
|
3948 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
3949 |
printf "%s\n" "$CC" >&6; }
|
3459 | 3950 |
else
|
3460 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3461 | |
$as_echo "no" >&6; }
|
|
3951 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3952 |
printf "%s\n" "no" >&6; }
|
3462 | 3953 |
fi
|
3463 | 3954 |
|
3464 | 3955 |
|
|
3471 | 3962 |
do
|
3472 | 3963 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
3473 | 3964 |
set dummy $ac_prog; ac_word=$2
|
3474 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3475 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3476 | |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
3477 | |
$as_echo_n "(cached) " >&6
|
3478 | |
else
|
|
3965 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3966 |
printf %s "checking for $ac_word... " >&6; }
|
|
3967 |
if test ${ac_cv_prog_ac_ct_CC+y}
|
|
3968 |
then :
|
|
3969 |
printf %s "(cached) " >&6
|
|
3970 |
else $as_nop
|
3479 | 3971 |
if test -n "$ac_ct_CC"; then
|
3480 | 3972 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
3481 | 3973 |
else
|
|
3483 | 3975 |
for as_dir in $PATH
|
3484 | 3976 |
do
|
3485 | 3977 |
IFS=$as_save_IFS
|
3486 | |
test -z "$as_dir" && as_dir=.
|
|
3978 |
case $as_dir in #(((
|
|
3979 |
'') as_dir=./ ;;
|
|
3980 |
*/) ;;
|
|
3981 |
*) as_dir=$as_dir/ ;;
|
|
3982 |
esac
|
3487 | 3983 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3488 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3984 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
3489 | 3985 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
3490 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3986 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
3491 | 3987 |
break 2
|
3492 | 3988 |
fi
|
3493 | 3989 |
done
|
|
3498 | 3994 |
fi
|
3499 | 3995 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
3500 | 3996 |
if test -n "$ac_ct_CC"; then
|
3501 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
3502 | |
$as_echo "$ac_ct_CC" >&6; }
|
|
3997 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
3998 |
printf "%s\n" "$ac_ct_CC" >&6; }
|
3503 | 3999 |
else
|
3504 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3505 | |
$as_echo "no" >&6; }
|
|
4000 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4001 |
printf "%s\n" "no" >&6; }
|
3506 | 4002 |
fi
|
3507 | 4003 |
|
3508 | 4004 |
|
|
3514 | 4010 |
else
|
3515 | 4011 |
case $cross_compiling:$ac_tool_warned in
|
3516 | 4012 |
yes:)
|
3517 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
3518 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
4013 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
4014 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
3519 | 4015 |
ac_tool_warned=yes ;;
|
3520 | 4016 |
esac
|
3521 | 4017 |
CC=$ac_ct_CC
|
|
3523 | 4019 |
fi
|
3524 | 4020 |
|
3525 | 4021 |
fi
|
3526 | |
|
3527 | |
|
3528 | |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3529 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4022 |
if test -z "$CC"; then
|
|
4023 |
if test -n "$ac_tool_prefix"; then
|
|
4024 |
# Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
|
|
4025 |
set dummy ${ac_tool_prefix}clang; ac_word=$2
|
|
4026 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4027 |
printf %s "checking for $ac_word... " >&6; }
|
|
4028 |
if test ${ac_cv_prog_CC+y}
|
|
4029 |
then :
|
|
4030 |
printf %s "(cached) " >&6
|
|
4031 |
else $as_nop
|
|
4032 |
if test -n "$CC"; then
|
|
4033 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
4034 |
else
|
|
4035 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
4036 |
for as_dir in $PATH
|
|
4037 |
do
|
|
4038 |
IFS=$as_save_IFS
|
|
4039 |
case $as_dir in #(((
|
|
4040 |
'') as_dir=./ ;;
|
|
4041 |
*/) ;;
|
|
4042 |
*) as_dir=$as_dir/ ;;
|
|
4043 |
esac
|
|
4044 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4045 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
4046 |
ac_cv_prog_CC="${ac_tool_prefix}clang"
|
|
4047 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
|
4048 |
break 2
|
|
4049 |
fi
|
|
4050 |
done
|
|
4051 |
done
|
|
4052 |
IFS=$as_save_IFS
|
|
4053 |
|
|
4054 |
fi
|
|
4055 |
fi
|
|
4056 |
CC=$ac_cv_prog_CC
|
|
4057 |
if test -n "$CC"; then
|
|
4058 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
4059 |
printf "%s\n" "$CC" >&6; }
|
|
4060 |
else
|
|
4061 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4062 |
printf "%s\n" "no" >&6; }
|
|
4063 |
fi
|
|
4064 |
|
|
4065 |
|
|
4066 |
fi
|
|
4067 |
if test -z "$ac_cv_prog_CC"; then
|
|
4068 |
ac_ct_CC=$CC
|
|
4069 |
# Extract the first word of "clang", so it can be a program name with args.
|
|
4070 |
set dummy clang; ac_word=$2
|
|
4071 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4072 |
printf %s "checking for $ac_word... " >&6; }
|
|
4073 |
if test ${ac_cv_prog_ac_ct_CC+y}
|
|
4074 |
then :
|
|
4075 |
printf %s "(cached) " >&6
|
|
4076 |
else $as_nop
|
|
4077 |
if test -n "$ac_ct_CC"; then
|
|
4078 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
4079 |
else
|
|
4080 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
4081 |
for as_dir in $PATH
|
|
4082 |
do
|
|
4083 |
IFS=$as_save_IFS
|
|
4084 |
case $as_dir in #(((
|
|
4085 |
'') as_dir=./ ;;
|
|
4086 |
*/) ;;
|
|
4087 |
*) as_dir=$as_dir/ ;;
|
|
4088 |
esac
|
|
4089 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4090 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
4091 |
ac_cv_prog_ac_ct_CC="clang"
|
|
4092 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
|
4093 |
break 2
|
|
4094 |
fi
|
|
4095 |
done
|
|
4096 |
done
|
|
4097 |
IFS=$as_save_IFS
|
|
4098 |
|
|
4099 |
fi
|
|
4100 |
fi
|
|
4101 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
|
4102 |
if test -n "$ac_ct_CC"; then
|
|
4103 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
4104 |
printf "%s\n" "$ac_ct_CC" >&6; }
|
|
4105 |
else
|
|
4106 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4107 |
printf "%s\n" "no" >&6; }
|
|
4108 |
fi
|
|
4109 |
|
|
4110 |
if test "x$ac_ct_CC" = x; then
|
|
4111 |
CC=""
|
|
4112 |
else
|
|
4113 |
case $cross_compiling:$ac_tool_warned in
|
|
4114 |
yes:)
|
|
4115 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
4116 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
4117 |
ac_tool_warned=yes ;;
|
|
4118 |
esac
|
|
4119 |
CC=$ac_ct_CC
|
|
4120 |
fi
|
|
4121 |
else
|
|
4122 |
CC="$ac_cv_prog_CC"
|
|
4123 |
fi
|
|
4124 |
|
|
4125 |
fi
|
|
4126 |
|
|
4127 |
|
|
4128 |
test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4129 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
3530 | 4130 |
as_fn_error $? "no acceptable C compiler found in \$PATH
|
3531 | 4131 |
See \`config.log' for more details" "$LINENO" 5; }
|
3532 | 4132 |
|
3533 | 4133 |
# Provide some information about the compiler.
|
3534 | |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
|
4134 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
3535 | 4135 |
set X $ac_compile
|
3536 | 4136 |
ac_compiler=$2
|
3537 | |
for ac_option in --version -v -V -qversion; do
|
|
4137 |
for ac_option in --version -v -V -qversion -version; do
|
3538 | 4138 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
3539 | 4139 |
case "(($ac_try" in
|
3540 | 4140 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3541 | 4141 |
*) ac_try_echo=$ac_try;;
|
3542 | 4142 |
esac
|
3543 | 4143 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3544 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4144 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3545 | 4145 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
3546 | 4146 |
ac_status=$?
|
3547 | 4147 |
if test -s conftest.err; then
|
|
3551 | 4151 |
cat conftest.er1 >&5
|
3552 | 4152 |
fi
|
3553 | 4153 |
rm -f conftest.er1 conftest.err
|
3554 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4154 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3555 | 4155 |
test $ac_status = 0; }
|
3556 | 4156 |
done
|
3557 | 4157 |
|
|
3559 | 4159 |
/* end confdefs.h. */
|
3560 | 4160 |
|
3561 | 4161 |
int
|
3562 | |
main ()
|
|
4162 |
main (void)
|
3563 | 4163 |
{
|
3564 | 4164 |
|
3565 | 4165 |
;
|
|
3571 | 4171 |
# Try to create an executable without -o first, disregard a.out.
|
3572 | 4172 |
# It will help us diagnose broken compilers, and finding out an intuition
|
3573 | 4173 |
# of exeext.
|
3574 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
3575 | |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
3576 | |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
|
4174 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
|
4175 |
printf %s "checking whether the C compiler works... " >&6; }
|
|
4176 |
ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
3577 | 4177 |
|
3578 | 4178 |
# The possible output files:
|
3579 | 4179 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
|
3594 | 4194 |
*) ac_try_echo=$ac_try;;
|
3595 | 4195 |
esac
|
3596 | 4196 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3597 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4197 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3598 | 4198 |
(eval "$ac_link_default") 2>&5
|
3599 | 4199 |
ac_status=$?
|
3600 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3601 | |
test $ac_status = 0; }; then :
|
|
4200 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4201 |
test $ac_status = 0; }
|
|
4202 |
then :
|
3602 | 4203 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
3603 | 4204 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
3604 | 4205 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
3615 | 4216 |
# certainly right.
|
3616 | 4217 |
break;;
|
3617 | 4218 |
*.* )
|
3618 | |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
4219 |
if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
|
3619 | 4220 |
then :; else
|
3620 | 4221 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
3621 | 4222 |
fi
|
|
3631 | 4232 |
done
|
3632 | 4233 |
test "$ac_cv_exeext" = no && ac_cv_exeext=
|
3633 | 4234 |
|
3634 | |
else
|
|
4235 |
else $as_nop
|
3635 | 4236 |
ac_file=''
|
3636 | 4237 |
fi
|
3637 | |
if test -z "$ac_file"; then :
|
3638 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3639 | |
$as_echo "no" >&6; }
|
3640 | |
$as_echo "$as_me: failed program was:" >&5
|
|
4238 |
if test -z "$ac_file"
|
|
4239 |
then :
|
|
4240 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4241 |
printf "%s\n" "no" >&6; }
|
|
4242 |
printf "%s\n" "$as_me: failed program was:" >&5
|
3641 | 4243 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3642 | 4244 |
|
3643 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3644 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4245 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4246 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
3645 | 4247 |
as_fn_error 77 "C compiler cannot create executables
|
3646 | 4248 |
See \`config.log' for more details" "$LINENO" 5; }
|
3647 | |
else
|
3648 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
3649 | |
$as_echo "yes" >&6; }
|
3650 | |
fi
|
3651 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
3652 | |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
3653 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
3654 | |
$as_echo "$ac_file" >&6; }
|
|
4249 |
else $as_nop
|
|
4250 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
4251 |
printf "%s\n" "yes" >&6; }
|
|
4252 |
fi
|
|
4253 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
|
4254 |
printf %s "checking for C compiler default output file name... " >&6; }
|
|
4255 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
|
4256 |
printf "%s\n" "$ac_file" >&6; }
|
3655 | 4257 |
ac_exeext=$ac_cv_exeext
|
3656 | 4258 |
|
3657 | 4259 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
3658 | 4260 |
ac_clean_files=$ac_clean_files_save
|
3659 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
3660 | |
$as_echo_n "checking for suffix of executables... " >&6; }
|
|
4261 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
|
4262 |
printf %s "checking for suffix of executables... " >&6; }
|
3661 | 4263 |
if { { ac_try="$ac_link"
|
3662 | 4264 |
case "(($ac_try" in
|
3663 | 4265 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3664 | 4266 |
*) ac_try_echo=$ac_try;;
|
3665 | 4267 |
esac
|
3666 | 4268 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3667 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4269 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3668 | 4270 |
(eval "$ac_link") 2>&5
|
3669 | 4271 |
ac_status=$?
|
3670 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3671 | |
test $ac_status = 0; }; then :
|
|
4272 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4273 |
test $ac_status = 0; }
|
|
4274 |
then :
|
3672 | 4275 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
3673 | 4276 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
3674 | 4277 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
3682 | 4285 |
* ) break;;
|
3683 | 4286 |
esac
|
3684 | 4287 |
done
|
3685 | |
else
|
3686 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3687 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4288 |
else $as_nop
|
|
4289 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4290 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
3688 | 4291 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
3689 | 4292 |
See \`config.log' for more details" "$LINENO" 5; }
|
3690 | 4293 |
fi
|
3691 | 4294 |
rm -f conftest conftest$ac_cv_exeext
|
3692 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
3693 | |
$as_echo "$ac_cv_exeext" >&6; }
|
|
4295 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
|
4296 |
printf "%s\n" "$ac_cv_exeext" >&6; }
|
3694 | 4297 |
|
3695 | 4298 |
rm -f conftest.$ac_ext
|
3696 | 4299 |
EXEEXT=$ac_cv_exeext
|
|
3699 | 4302 |
/* end confdefs.h. */
|
3700 | 4303 |
#include <stdio.h>
|
3701 | 4304 |
int
|
3702 | |
main ()
|
|
4305 |
main (void)
|
3703 | 4306 |
{
|
3704 | 4307 |
FILE *f = fopen ("conftest.out", "w");
|
3705 | 4308 |
return ferror (f) || fclose (f) != 0;
|
|
3711 | 4314 |
ac_clean_files="$ac_clean_files conftest.out"
|
3712 | 4315 |
# Check that the compiler produces executables we can run. If not, either
|
3713 | 4316 |
# the compiler is broken, or we cross compile.
|
3714 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
3715 | |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
|
4317 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
|
4318 |
printf %s "checking whether we are cross compiling... " >&6; }
|
3716 | 4319 |
if test "$cross_compiling" != yes; then
|
3717 | 4320 |
{ { ac_try="$ac_link"
|
3718 | 4321 |
case "(($ac_try" in
|
|
3720 | 4323 |
*) ac_try_echo=$ac_try;;
|
3721 | 4324 |
esac
|
3722 | 4325 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3723 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4326 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3724 | 4327 |
(eval "$ac_link") 2>&5
|
3725 | 4328 |
ac_status=$?
|
3726 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4329 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3727 | 4330 |
test $ac_status = 0; }
|
3728 | 4331 |
if { ac_try='./conftest$ac_cv_exeext'
|
3729 | 4332 |
{ { case "(($ac_try" in
|
|
3731 | 4334 |
*) ac_try_echo=$ac_try;;
|
3732 | 4335 |
esac
|
3733 | 4336 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3734 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4337 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3735 | 4338 |
(eval "$ac_try") 2>&5
|
3736 | 4339 |
ac_status=$?
|
3737 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4340 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3738 | 4341 |
test $ac_status = 0; }; }; then
|
3739 | 4342 |
cross_compiling=no
|
3740 | 4343 |
else
|
3741 | 4344 |
if test "$cross_compiling" = maybe; then
|
3742 | 4345 |
cross_compiling=yes
|
3743 | 4346 |
else
|
3744 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3745 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3746 | |
as_fn_error $? "cannot run C compiled programs.
|
|
4347 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4348 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4349 |
as_fn_error 77 "cannot run C compiled programs.
|
3747 | 4350 |
If you meant to cross compile, use \`--host'.
|
3748 | 4351 |
See \`config.log' for more details" "$LINENO" 5; }
|
3749 | 4352 |
fi
|
3750 | 4353 |
fi
|
3751 | 4354 |
fi
|
3752 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
3753 | |
$as_echo "$cross_compiling" >&6; }
|
|
4355 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
|
4356 |
printf "%s\n" "$cross_compiling" >&6; }
|
3754 | 4357 |
|
3755 | 4358 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
3756 | 4359 |
ac_clean_files=$ac_clean_files_save
|
3757 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
3758 | |
$as_echo_n "checking for suffix of object files... " >&6; }
|
3759 | |
if ${ac_cv_objext+:} false; then :
|
3760 | |
$as_echo_n "(cached) " >&6
|
3761 | |
else
|
|
4360 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
|
4361 |
printf %s "checking for suffix of object files... " >&6; }
|
|
4362 |
if test ${ac_cv_objext+y}
|
|
4363 |
then :
|
|
4364 |
printf %s "(cached) " >&6
|
|
4365 |
else $as_nop
|
3762 | 4366 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3763 | 4367 |
/* end confdefs.h. */
|
3764 | 4368 |
|
3765 | 4369 |
int
|
3766 | |
main ()
|
|
4370 |
main (void)
|
3767 | 4371 |
{
|
3768 | 4372 |
|
3769 | 4373 |
;
|
|
3777 | 4381 |
*) ac_try_echo=$ac_try;;
|
3778 | 4382 |
esac
|
3779 | 4383 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3780 | |
$as_echo "$ac_try_echo"; } >&5
|
|
4384 |
printf "%s\n" "$ac_try_echo"; } >&5
|
3781 | 4385 |
(eval "$ac_compile") 2>&5
|
3782 | 4386 |
ac_status=$?
|
3783 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3784 | |
test $ac_status = 0; }; then :
|
|
4387 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4388 |
test $ac_status = 0; }
|
|
4389 |
then :
|
3785 | 4390 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
3786 | 4391 |
test -f "$ac_file" || continue;
|
3787 | 4392 |
case $ac_file in
|
|
3790 | 4395 |
break;;
|
3791 | 4396 |
esac
|
3792 | 4397 |
done
|
3793 | |
else
|
3794 | |
$as_echo "$as_me: failed program was:" >&5
|
|
4398 |
else $as_nop
|
|
4399 |
printf "%s\n" "$as_me: failed program was:" >&5
|
3795 | 4400 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3796 | 4401 |
|
3797 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3798 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4402 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4403 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
3799 | 4404 |
as_fn_error $? "cannot compute suffix of object files: cannot compile
|
3800 | 4405 |
See \`config.log' for more details" "$LINENO" 5; }
|
3801 | 4406 |
fi
|
3802 | 4407 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
3803 | 4408 |
fi
|
3804 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
3805 | |
$as_echo "$ac_cv_objext" >&6; }
|
|
4409 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
|
4410 |
printf "%s\n" "$ac_cv_objext" >&6; }
|
3806 | 4411 |
OBJEXT=$ac_cv_objext
|
3807 | 4412 |
ac_objext=$OBJEXT
|
3808 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
3809 | |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
3810 | |
if ${ac_cv_c_compiler_gnu+:} false; then :
|
3811 | |
$as_echo_n "(cached) " >&6
|
3812 | |
else
|
|
4413 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
|
|
4414 |
printf %s "checking whether the compiler supports GNU C... " >&6; }
|
|
4415 |
if test ${ac_cv_c_compiler_gnu+y}
|
|
4416 |
then :
|
|
4417 |
printf %s "(cached) " >&6
|
|
4418 |
else $as_nop
|
3813 | 4419 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3814 | 4420 |
/* end confdefs.h. */
|
3815 | 4421 |
|
3816 | 4422 |
int
|
3817 | |
main ()
|
|
4423 |
main (void)
|
3818 | 4424 |
{
|
3819 | 4425 |
#ifndef __GNUC__
|
3820 | 4426 |
choke me
|
|
3824 | 4430 |
return 0;
|
3825 | 4431 |
}
|
3826 | 4432 |
_ACEOF
|
3827 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
4433 |
if ac_fn_c_try_compile "$LINENO"
|
|
4434 |
then :
|
3828 | 4435 |
ac_compiler_gnu=yes
|
3829 | |
else
|
|
4436 |
else $as_nop
|
3830 | 4437 |
ac_compiler_gnu=no
|
3831 | 4438 |
fi
|
3832 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4439 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
3833 | 4440 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
3834 | 4441 |
|
3835 | 4442 |
fi
|
3836 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
3837 | |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
|
4443 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
|
4444 |
printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
|
|
4445 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
4446 |
|
3838 | 4447 |
if test $ac_compiler_gnu = yes; then
|
3839 | 4448 |
GCC=yes
|
3840 | 4449 |
else
|
3841 | 4450 |
GCC=
|
3842 | 4451 |
fi
|
3843 | |
ac_test_CFLAGS=${CFLAGS+set}
|
|
4452 |
ac_test_CFLAGS=${CFLAGS+y}
|
3844 | 4453 |
ac_save_CFLAGS=$CFLAGS
|
3845 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
3846 | |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
3847 | |
if ${ac_cv_prog_cc_g+:} false; then :
|
3848 | |
$as_echo_n "(cached) " >&6
|
3849 | |
else
|
|
4454 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
|
4455 |
printf %s "checking whether $CC accepts -g... " >&6; }
|
|
4456 |
if test ${ac_cv_prog_cc_g+y}
|
|
4457 |
then :
|
|
4458 |
printf %s "(cached) " >&6
|
|
4459 |
else $as_nop
|
3850 | 4460 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
3851 | 4461 |
ac_c_werror_flag=yes
|
3852 | 4462 |
ac_cv_prog_cc_g=no
|
|
3855 | 4465 |
/* end confdefs.h. */
|
3856 | 4466 |
|
3857 | 4467 |
int
|
3858 | |
main ()
|
|
4468 |
main (void)
|
3859 | 4469 |
{
|
3860 | 4470 |
|
3861 | 4471 |
;
|
3862 | 4472 |
return 0;
|
3863 | 4473 |
}
|
3864 | 4474 |
_ACEOF
|
3865 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
4475 |
if ac_fn_c_try_compile "$LINENO"
|
|
4476 |
then :
|
3866 | 4477 |
ac_cv_prog_cc_g=yes
|
3867 | |
else
|
|
4478 |
else $as_nop
|
3868 | 4479 |
CFLAGS=""
|
3869 | 4480 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3870 | 4481 |
/* end confdefs.h. */
|
3871 | 4482 |
|
3872 | 4483 |
int
|
3873 | |
main ()
|
|
4484 |
main (void)
|
3874 | 4485 |
{
|
3875 | 4486 |
|
3876 | 4487 |
;
|
3877 | 4488 |
return 0;
|
3878 | 4489 |
}
|
3879 | 4490 |
_ACEOF
|
3880 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
3881 | |
|
3882 | |
else
|
|
4491 |
if ac_fn_c_try_compile "$LINENO"
|
|
4492 |
then :
|
|
4493 |
|
|
4494 |
else $as_nop
|
3883 | 4495 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3884 | 4496 |
CFLAGS="-g"
|
3885 | 4497 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3886 | 4498 |
/* end confdefs.h. */
|
3887 | 4499 |
|
3888 | 4500 |
int
|
3889 | |
main ()
|
|
4501 |
main (void)
|
3890 | 4502 |
{
|
3891 | 4503 |
|
3892 | 4504 |
;
|
3893 | 4505 |
return 0;
|
3894 | 4506 |
}
|
3895 | 4507 |
_ACEOF
|
3896 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
4508 |
if ac_fn_c_try_compile "$LINENO"
|
|
4509 |
then :
|
3897 | 4510 |
ac_cv_prog_cc_g=yes
|
3898 | 4511 |
fi
|
3899 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3900 | |
fi
|
3901 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3902 | |
fi
|
3903 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4512 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
4513 |
fi
|
|
4514 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
4515 |
fi
|
|
4516 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
3904 | 4517 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3905 | 4518 |
fi
|
3906 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
3907 | |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
3908 | |
if test "$ac_test_CFLAGS" = set; then
|
|
4519 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
|
4520 |
printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
|
|
4521 |
if test $ac_test_CFLAGS; then
|
3909 | 4522 |
CFLAGS=$ac_save_CFLAGS
|
3910 | 4523 |
elif test $ac_cv_prog_cc_g = yes; then
|
3911 | 4524 |
if test "$GCC" = yes; then
|
|
3920 | 4533 |
CFLAGS=
|
3921 | 4534 |
fi
|
3922 | 4535 |
fi
|
3923 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
3924 | |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
3925 | |
if ${ac_cv_prog_cc_c89+:} false; then :
|
3926 | |
$as_echo_n "(cached) " >&6
|
3927 | |
else
|
|
4536 |
ac_prog_cc_stdc=no
|
|
4537 |
if test x$ac_prog_cc_stdc = xno
|
|
4538 |
then :
|
|
4539 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
|
|
4540 |
printf %s "checking for $CC option to enable C11 features... " >&6; }
|
|
4541 |
if test ${ac_cv_prog_cc_c11+y}
|
|
4542 |
then :
|
|
4543 |
printf %s "(cached) " >&6
|
|
4544 |
else $as_nop
|
|
4545 |
ac_cv_prog_cc_c11=no
|
|
4546 |
ac_save_CC=$CC
|
|
4547 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4548 |
/* end confdefs.h. */
|
|
4549 |
$ac_c_conftest_c11_program
|
|
4550 |
_ACEOF
|
|
4551 |
for ac_arg in '' -std=gnu11
|
|
4552 |
do
|
|
4553 |
CC="$ac_save_CC $ac_arg"
|
|
4554 |
if ac_fn_c_try_compile "$LINENO"
|
|
4555 |
then :
|
|
4556 |
ac_cv_prog_cc_c11=$ac_arg
|
|
4557 |
fi
|
|
4558 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
|
4559 |
test "x$ac_cv_prog_cc_c11" != "xno" && break
|
|
4560 |
done
|
|
4561 |
rm -f conftest.$ac_ext
|
|
4562 |
CC=$ac_save_CC
|
|
4563 |
fi
|
|
4564 |
|
|
4565 |
if test "x$ac_cv_prog_cc_c11" = xno
|
|
4566 |
then :
|
|
4567 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
4568 |
printf "%s\n" "unsupported" >&6; }
|
|
4569 |
else $as_nop
|
|
4570 |
if test "x$ac_cv_prog_cc_c11" = x
|
|
4571 |
then :
|
|
4572 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
4573 |
printf "%s\n" "none needed" >&6; }
|
|
4574 |
else $as_nop
|
|
4575 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
|
|
4576 |
printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
|
|
4577 |
CC="$CC $ac_cv_prog_cc_c11"
|
|
4578 |
fi
|
|
4579 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
|
|
4580 |
ac_prog_cc_stdc=c11
|
|
4581 |
fi
|
|
4582 |
fi
|
|
4583 |
if test x$ac_prog_cc_stdc = xno
|
|
4584 |
then :
|
|
4585 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
|
|
4586 |
printf %s "checking for $CC option to enable C99 features... " >&6; }
|
|
4587 |
if test ${ac_cv_prog_cc_c99+y}
|
|
4588 |
then :
|
|
4589 |
printf %s "(cached) " >&6
|
|
4590 |
else $as_nop
|
|
4591 |
ac_cv_prog_cc_c99=no
|
|
4592 |
ac_save_CC=$CC
|
|
4593 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4594 |
/* end confdefs.h. */
|
|
4595 |
$ac_c_conftest_c99_program
|
|
4596 |
_ACEOF
|
|
4597 |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
|
|
4598 |
do
|
|
4599 |
CC="$ac_save_CC $ac_arg"
|
|
4600 |
if ac_fn_c_try_compile "$LINENO"
|
|
4601 |
then :
|
|
4602 |
ac_cv_prog_cc_c99=$ac_arg
|
|
4603 |
fi
|
|
4604 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
|
4605 |
test "x$ac_cv_prog_cc_c99" != "xno" && break
|
|
4606 |
done
|
|
4607 |
rm -f conftest.$ac_ext
|
|
4608 |
CC=$ac_save_CC
|
|
4609 |
fi
|
|
4610 |
|
|
4611 |
if test "x$ac_cv_prog_cc_c99" = xno
|
|
4612 |
then :
|
|
4613 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
4614 |
printf "%s\n" "unsupported" >&6; }
|
|
4615 |
else $as_nop
|
|
4616 |
if test "x$ac_cv_prog_cc_c99" = x
|
|
4617 |
then :
|
|
4618 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
4619 |
printf "%s\n" "none needed" >&6; }
|
|
4620 |
else $as_nop
|
|
4621 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
|
|
4622 |
printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
|
|
4623 |
CC="$CC $ac_cv_prog_cc_c99"
|
|
4624 |
fi
|
|
4625 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
|
|
4626 |
ac_prog_cc_stdc=c99
|
|
4627 |
fi
|
|
4628 |
fi
|
|
4629 |
if test x$ac_prog_cc_stdc = xno
|
|
4630 |
then :
|
|
4631 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
|
|
4632 |
printf %s "checking for $CC option to enable C89 features... " >&6; }
|
|
4633 |
if test ${ac_cv_prog_cc_c89+y}
|
|
4634 |
then :
|
|
4635 |
printf %s "(cached) " >&6
|
|
4636 |
else $as_nop
|
3928 | 4637 |
ac_cv_prog_cc_c89=no
|
3929 | 4638 |
ac_save_CC=$CC
|
3930 | 4639 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3931 | 4640 |
/* end confdefs.h. */
|
3932 | |
#include <stdarg.h>
|
3933 | |
#include <stdio.h>
|
3934 | |
struct stat;
|
3935 | |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
3936 | |
struct buf { int x; };
|
3937 | |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
3938 | |
static char *e (p, i)
|
3939 | |
char **p;
|
3940 | |
int i;
|
3941 | |
{
|
3942 | |
return p[i];
|
3943 | |
}
|
3944 | |
static char *f (char * (*g) (char **, int), char **p, ...)
|
3945 | |
{
|
3946 | |
char *s;
|
3947 | |
va_list v;
|
3948 | |
va_start (v,p);
|
3949 | |
s = g (p, va_arg (v,int));
|
3950 | |
va_end (v);
|
3951 | |
return s;
|
3952 | |
}
|
3953 | |
|
3954 | |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
3955 | |
function prototypes and stuff, but not '\xHH' hex character constants.
|
3956 | |
These don't provoke an error unfortunately, instead are silently treated
|
3957 | |
as 'x'. The following induces an error, until -std is added to get
|
3958 | |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
3959 | |
array size at least. It's necessary to write '\x00'==0 to get something
|
3960 | |
that's true only with -std. */
|
3961 | |
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
3962 | |
|
3963 | |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
3964 | |
inside strings and character constants. */
|
3965 | |
#define FOO(x) 'x'
|
3966 | |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
3967 | |
|
3968 | |
int test (int i, double x);
|
3969 | |
struct s1 {int (*f) (int a);};
|
3970 | |
struct s2 {int (*f) (double a);};
|
3971 | |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
3972 | |
int argc;
|
3973 | |
char **argv;
|
3974 | |
int
|
3975 | |
main ()
|
3976 | |
{
|
3977 | |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
3978 | |
;
|
3979 | |
return 0;
|
3980 | |
}
|
|
4641 |
$ac_c_conftest_c89_program
|
3981 | 4642 |
_ACEOF
|
3982 | |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
3983 | |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|
4643 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
3984 | 4644 |
do
|
3985 | 4645 |
CC="$ac_save_CC $ac_arg"
|
3986 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
4646 |
if ac_fn_c_try_compile "$LINENO"
|
|
4647 |
then :
|
3987 | 4648 |
ac_cv_prog_cc_c89=$ac_arg
|
3988 | 4649 |
fi
|
3989 | |
rm -f core conftest.err conftest.$ac_objext
|
|
4650 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
3990 | 4651 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
3991 | 4652 |
done
|
3992 | 4653 |
rm -f conftest.$ac_ext
|
3993 | 4654 |
CC=$ac_save_CC
|
3994 | |
|
3995 | |
fi
|
3996 | |
# AC_CACHE_VAL
|
3997 | |
case "x$ac_cv_prog_cc_c89" in
|
3998 | |
x)
|
3999 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
4000 | |
$as_echo "none needed" >&6; } ;;
|
4001 | |
xno)
|
4002 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
4003 | |
$as_echo "unsupported" >&6; } ;;
|
4004 | |
*)
|
4005 | |
CC="$CC $ac_cv_prog_cc_c89"
|
4006 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
4007 | |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
4008 | |
esac
|
4009 | |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
4010 | |
|
|
4655 |
fi
|
|
4656 |
|
|
4657 |
if test "x$ac_cv_prog_cc_c89" = xno
|
|
4658 |
then :
|
|
4659 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
4660 |
printf "%s\n" "unsupported" >&6; }
|
|
4661 |
else $as_nop
|
|
4662 |
if test "x$ac_cv_prog_cc_c89" = x
|
|
4663 |
then :
|
|
4664 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
4665 |
printf "%s\n" "none needed" >&6; }
|
|
4666 |
else $as_nop
|
|
4667 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
|
4668 |
printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
|
|
4669 |
CC="$CC $ac_cv_prog_cc_c89"
|
|
4670 |
fi
|
|
4671 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
|
|
4672 |
ac_prog_cc_stdc=c89
|
|
4673 |
fi
|
4011 | 4674 |
fi
|
4012 | 4675 |
|
4013 | 4676 |
ac_ext=c
|
|
4016 | 4679 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4017 | 4680 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4018 | 4681 |
|
4019 | |
ac_ext=c
|
|
4682 |
|
|
4683 |
ac_ext=c
|
4020 | 4684 |
ac_cpp='$CPP $CPPFLAGS'
|
4021 | 4685 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4022 | 4686 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4023 | 4687 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4024 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
|
4025 | |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
|
4026 | |
if ${am_cv_prog_cc_c_o+:} false; then :
|
4027 | |
$as_echo_n "(cached) " >&6
|
4028 | |
else
|
|
4688 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
|
|
4689 |
printf %s "checking whether $CC understands -c and -o together... " >&6; }
|
|
4690 |
if test ${am_cv_prog_cc_c_o+y}
|
|
4691 |
then :
|
|
4692 |
printf %s "(cached) " >&6
|
|
4693 |
else $as_nop
|
4029 | 4694 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4030 | 4695 |
/* end confdefs.h. */
|
4031 | 4696 |
|
4032 | 4697 |
int
|
4033 | |
main ()
|
|
4698 |
main (void)
|
4034 | 4699 |
{
|
4035 | 4700 |
|
4036 | 4701 |
;
|
|
4058 | 4723 |
rm -f core conftest*
|
4059 | 4724 |
unset am_i
|
4060 | 4725 |
fi
|
4061 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
|
4062 | |
$as_echo "$am_cv_prog_cc_c_o" >&6; }
|
|
4726 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
|
|
4727 |
printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
|
4063 | 4728 |
if test "$am_cv_prog_cc_c_o" != yes; then
|
4064 | 4729 |
# Losing compiler, so override with the script.
|
4065 | 4730 |
# FIXME: It is wrong to rewrite CC.
|
|
4077 | 4742 |
|
4078 | 4743 |
depcc="$CC" am_compiler_list=
|
4079 | 4744 |
|
4080 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
4081 | |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
4082 | |
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
|
4083 | |
$as_echo_n "(cached) " >&6
|
4084 | |
else
|
|
4745 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
|
4746 |
printf %s "checking dependency style of $depcc... " >&6; }
|
|
4747 |
if test ${am_cv_CC_dependencies_compiler_type+y}
|
|
4748 |
then :
|
|
4749 |
printf %s "(cached) " >&6
|
|
4750 |
else $as_nop
|
4085 | 4751 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
4086 | 4752 |
# We make a subdir and do the tests there. Otherwise we can end up
|
4087 | 4753 |
# making bogus files that we don't know about and never remove. For
|
|
4188 | 4854 |
fi
|
4189 | 4855 |
|
4190 | 4856 |
fi
|
4191 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
4192 | |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
|
4857 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
4858 |
printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
|
4193 | 4859 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
4194 | 4860 |
|
4195 | 4861 |
if
|
|
4203 | 4869 |
fi
|
4204 | 4870 |
|
4205 | 4871 |
|
4206 | |
case $ac_cv_prog_cc_stdc in #(
|
4207 | |
no) :
|
4208 | |
ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
|
4209 | |
*) :
|
4210 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
|
4211 | |
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
|
4212 | |
if ${ac_cv_prog_cc_c99+:} false; then :
|
4213 | |
$as_echo_n "(cached) " >&6
|
4214 | |
else
|
4215 | |
ac_cv_prog_cc_c99=no
|
4216 | |
ac_save_CC=$CC
|
4217 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4218 | |
/* end confdefs.h. */
|
4219 | |
#include <stdarg.h>
|
4220 | |
#include <stdbool.h>
|
4221 | |
#include <stdlib.h>
|
4222 | |
#include <wchar.h>
|
4223 | |
#include <stdio.h>
|
4224 | |
|
4225 | |
// Check varargs macros. These examples are taken from C99 6.10.3.5.
|
4226 | |
#define debug(...) fprintf (stderr, __VA_ARGS__)
|
4227 | |
#define showlist(...) puts (#__VA_ARGS__)
|
4228 | |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
|
4229 | |
static void
|
4230 | |
test_varargs_macros (void)
|
4231 | |
{
|
4232 | |
int x = 1234;
|
4233 | |
int y = 5678;
|
4234 | |
debug ("Flag");
|
4235 | |
debug ("X = %d\n", x);
|
4236 | |
showlist (The first, second, and third items.);
|
4237 | |
report (x>y, "x is %d but y is %d", x, y);
|
4238 | |
}
|
4239 | |
|
4240 | |
// Check long long types.
|
4241 | |
#define BIG64 18446744073709551615ull
|
4242 | |
#define BIG32 4294967295ul
|
4243 | |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
|
4244 | |
#if !BIG_OK
|
4245 | |
your preprocessor is broken;
|
4246 | |
#endif
|
4247 | |
#if BIG_OK
|
4248 | |
#else
|
4249 | |
your preprocessor is broken;
|
4250 | |
#endif
|
4251 | |
static long long int bignum = -9223372036854775807LL;
|
4252 | |
static unsigned long long int ubignum = BIG64;
|
4253 | |
|
4254 | |
struct incomplete_array
|
4255 | |
{
|
4256 | |
int datasize;
|
4257 | |
double data[];
|
4258 | |
};
|
4259 | |
|
4260 | |
struct named_init {
|
4261 | |
int number;
|
4262 | |
const wchar_t *name;
|
4263 | |
double average;
|
4264 | |
};
|
4265 | |
|
4266 | |
typedef const char *ccp;
|
4267 | |
|
4268 | |
static inline int
|
4269 | |
test_restrict (ccp restrict text)
|
4270 | |
{
|
4271 | |
// See if C++-style comments work.
|
4272 | |
// Iterate through items via the restricted pointer.
|
4273 | |
// Also check for declarations in for loops.
|
4274 | |
for (unsigned int i = 0; *(text+i) != '\0'; ++i)
|
4275 | |
continue;
|
4276 | |
return 0;
|
4277 | |
}
|
4278 | |
|
4279 | |
// Check varargs and va_copy.
|
4280 | |
static void
|
4281 | |
test_varargs (const char *format, ...)
|
4282 | |
{
|
4283 | |
va_list args;
|
4284 | |
va_start (args, format);
|
4285 | |
va_list args_copy;
|
4286 | |
va_copy (args_copy, args);
|
4287 | |
|
4288 | |
const char *str;
|
4289 | |
int number;
|
4290 | |
float fnumber;
|
4291 | |
|
4292 | |
while (*format)
|
4293 | |
{
|
4294 | |
switch (*format++)
|
4295 | |
{
|
4296 | |
case 's': // string
|
4297 | |
str = va_arg (args_copy, const char *);
|
4298 | |
break;
|
4299 | |
case 'd': // int
|
4300 | |
number = va_arg (args_copy, int);
|
4301 | |
break;
|
4302 | |
case 'f': // float
|
4303 | |
fnumber = va_arg (args_copy, double);
|
4304 | |
break;
|
4305 | |
default:
|
4306 | |
break;
|
4307 | |
}
|
4308 | |
}
|
4309 | |
va_end (args_copy);
|
4310 | |
va_end (args);
|
4311 | |
}
|
4312 | |
|
4313 | |
int
|
4314 | |
main ()
|
4315 | |
{
|
4316 | |
|
4317 | |
// Check bool.
|
4318 | |
_Bool success = false;
|
4319 | |
|
4320 | |
// Check restrict.
|
4321 | |
if (test_restrict ("String literal") == 0)
|
4322 | |
success = true;
|
4323 | |
char *restrict newvar = "Another string";
|
4324 | |
|
4325 | |
// Check varargs.
|
4326 | |
test_varargs ("s, d' f .", "string", 65, 34.234);
|
4327 | |
test_varargs_macros ();
|
4328 | |
|
4329 | |
// Check flexible array members.
|
4330 | |
struct incomplete_array *ia =
|
4331 | |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
|
4332 | |
ia->datasize = 10;
|
4333 | |
for (int i = 0; i < ia->datasize; ++i)
|
4334 | |
ia->data[i] = i * 1.234;
|
4335 | |
|
4336 | |
// Check named initializers.
|
4337 | |
struct named_init ni = {
|
4338 | |
.number = 34,
|
4339 | |
.name = L"Test wide string",
|
4340 | |
.average = 543.34343,
|
4341 | |
};
|
4342 | |
|
4343 | |
ni.number = 58;
|
4344 | |
|
4345 | |
int dynamic_array[ni.number];
|
4346 | |
dynamic_array[ni.number - 1] = 543;
|
4347 | |
|
4348 | |
// work around unused variable warnings
|
4349 | |
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
|
4350 | |
|| dynamic_array[ni.number - 1] != 543);
|
4351 | |
|
4352 | |
;
|
4353 | |
return 0;
|
4354 | |
}
|
4355 | |
_ACEOF
|
4356 | |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
|
4357 | |
do
|
4358 | |
CC="$ac_save_CC $ac_arg"
|
4359 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
4360 | |
ac_cv_prog_cc_c99=$ac_arg
|
4361 | |
fi
|
4362 | |
rm -f core conftest.err conftest.$ac_objext
|
4363 | |
test "x$ac_cv_prog_cc_c99" != "xno" && break
|
4364 | |
done
|
4365 | |
rm -f conftest.$ac_ext
|
4366 | |
CC=$ac_save_CC
|
4367 | |
|
4368 | |
fi
|
4369 | |
# AC_CACHE_VAL
|
4370 | |
case "x$ac_cv_prog_cc_c99" in
|
4371 | |
x)
|
4372 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
4373 | |
$as_echo "none needed" >&6; } ;;
|
4374 | |
xno)
|
4375 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
4376 | |
$as_echo "unsupported" >&6; } ;;
|
4377 | |
*)
|
4378 | |
CC="$CC $ac_cv_prog_cc_c99"
|
4379 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
|
4380 | |
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
|
4381 | |
esac
|
4382 | |
if test "x$ac_cv_prog_cc_c99" != xno; then :
|
4383 | |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
|
4384 | |
else
|
4385 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
4386 | |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
4387 | |
if ${ac_cv_prog_cc_c89+:} false; then :
|
4388 | |
$as_echo_n "(cached) " >&6
|
4389 | |
else
|
4390 | |
ac_cv_prog_cc_c89=no
|
4391 | |
ac_save_CC=$CC
|
4392 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4393 | |
/* end confdefs.h. */
|
4394 | |
#include <stdarg.h>
|
4395 | |
#include <stdio.h>
|
4396 | |
struct stat;
|
4397 | |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
4398 | |
struct buf { int x; };
|
4399 | |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
4400 | |
static char *e (p, i)
|
4401 | |
char **p;
|
4402 | |
int i;
|
4403 | |
{
|
4404 | |
return p[i];
|
4405 | |
}
|
4406 | |
static char *f (char * (*g) (char **, int), char **p, ...)
|
4407 | |
{
|
4408 | |
char *s;
|
4409 | |
va_list v;
|
4410 | |
va_start (v,p);
|
4411 | |
s = g (p, va_arg (v,int));
|
4412 | |
va_end (v);
|
4413 | |
return s;
|
4414 | |
}
|
4415 | |
|
4416 | |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
4417 | |
function prototypes and stuff, but not '\xHH' hex character constants.
|
4418 | |
These don't provoke an error unfortunately, instead are silently treated
|
4419 | |
as 'x'. The following induces an error, until -std is added to get
|
4420 | |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
4421 | |
array size at least. It's necessary to write '\x00'==0 to get something
|
4422 | |
that's true only with -std. */
|
4423 | |
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
4424 | |
|
4425 | |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
4426 | |
inside strings and character constants. */
|
4427 | |
#define FOO(x) 'x'
|
4428 | |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
4429 | |
|
4430 | |
int test (int i, double x);
|
4431 | |
struct s1 {int (*f) (int a);};
|
4432 | |
struct s2 {int (*f) (double a);};
|
4433 | |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
4434 | |
int argc;
|
4435 | |
char **argv;
|
4436 | |
int
|
4437 | |
main ()
|
4438 | |
{
|
4439 | |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
4440 | |
;
|
4441 | |
return 0;
|
4442 | |
}
|
4443 | |
_ACEOF
|
4444 | |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
4445 | |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
4446 | |
do
|
4447 | |
CC="$ac_save_CC $ac_arg"
|
4448 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
4449 | |
ac_cv_prog_cc_c89=$ac_arg
|
4450 | |
fi
|
4451 | |
rm -f core conftest.err conftest.$ac_objext
|
4452 | |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
4453 | |
done
|
4454 | |
rm -f conftest.$ac_ext
|
4455 | |
CC=$ac_save_CC
|
4456 | |
|
4457 | |
fi
|
4458 | |
# AC_CACHE_VAL
|
4459 | |
case "x$ac_cv_prog_cc_c89" in
|
4460 | |
x)
|
4461 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
4462 | |
$as_echo "none needed" >&6; } ;;
|
4463 | |
xno)
|
4464 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
4465 | |
$as_echo "unsupported" >&6; } ;;
|
4466 | |
*)
|
4467 | |
CC="$CC $ac_cv_prog_cc_c89"
|
4468 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
4469 | |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
4470 | |
esac
|
4471 | |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
4472 | |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
|
4473 | |
else
|
4474 | |
ac_cv_prog_cc_stdc=no
|
4475 | |
fi
|
4476 | |
|
4477 | |
fi
|
4478 | |
;;
|
4479 | |
esac
|
4480 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
|
4481 | |
$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
|
4482 | |
if ${ac_cv_prog_cc_stdc+:} false; then :
|
4483 | |
$as_echo_n "(cached) " >&6
|
4484 | |
fi
|
4485 | |
|
4486 | |
case $ac_cv_prog_cc_stdc in #(
|
4487 | |
no) :
|
4488 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
4489 | |
$as_echo "unsupported" >&6; } ;; #(
|
4490 | |
'') :
|
4491 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
4492 | |
$as_echo "none needed" >&6; } ;; #(
|
4493 | |
*) :
|
4494 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
|
4495 | |
$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
|
4496 | |
esac
|
|
4872 |
|
|
4873 |
|
|
4874 |
|
|
4875 |
|
|
4876 |
|
|
4877 |
|
4497 | 4878 |
|
4498 | 4879 |
ac_ext=cpp
|
4499 | 4880 |
ac_cpp='$CXXCPP $CPPFLAGS'
|
|
4505 | 4886 |
CXX=$CCC
|
4506 | 4887 |
else
|
4507 | 4888 |
if test -n "$ac_tool_prefix"; then
|
4508 | |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
|
4889 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
|
4509 | 4890 |
do
|
4510 | 4891 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
4511 | 4892 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
4512 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4513 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
4514 | |
if ${ac_cv_prog_CXX+:} false; then :
|
4515 | |
$as_echo_n "(cached) " >&6
|
4516 | |
else
|
|
4893 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4894 |
printf %s "checking for $ac_word... " >&6; }
|
|
4895 |
if test ${ac_cv_prog_CXX+y}
|
|
4896 |
then :
|
|
4897 |
printf %s "(cached) " >&6
|
|
4898 |
else $as_nop
|
4517 | 4899 |
if test -n "$CXX"; then
|
4518 | 4900 |
ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
4519 | 4901 |
else
|
|
4521 | 4903 |
for as_dir in $PATH
|
4522 | 4904 |
do
|
4523 | 4905 |
IFS=$as_save_IFS
|
4524 | |
test -z "$as_dir" && as_dir=.
|
|
4906 |
case $as_dir in #(((
|
|
4907 |
'') as_dir=./ ;;
|
|
4908 |
*/) ;;
|
|
4909 |
*) as_dir=$as_dir/ ;;
|
|
4910 |
esac
|
4525 | 4911 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4526 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
4912 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
4527 | 4913 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
4528 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4914 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
4529 | 4915 |
break 2
|
4530 | 4916 |
fi
|
4531 | 4917 |
done
|
|
4536 | 4922 |
fi
|
4537 | 4923 |
CXX=$ac_cv_prog_CXX
|
4538 | 4924 |
if test -n "$CXX"; then
|
4539 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
4540 | |
$as_echo "$CXX" >&6; }
|
|
4925 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
|
4926 |
printf "%s\n" "$CXX" >&6; }
|
4541 | 4927 |
else
|
4542 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4543 | |
$as_echo "no" >&6; }
|
|
4928 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4929 |
printf "%s\n" "no" >&6; }
|
4544 | 4930 |
fi
|
4545 | 4931 |
|
4546 | 4932 |
|
|
4549 | 4935 |
fi
|
4550 | 4936 |
if test -z "$CXX"; then
|
4551 | 4937 |
ac_ct_CXX=$CXX
|
4552 | |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
|
4938 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
|
4553 | 4939 |
do
|
4554 | 4940 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
4555 | 4941 |
set dummy $ac_prog; ac_word=$2
|
4556 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4557 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
4558 | |
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
|
4559 | |
$as_echo_n "(cached) " >&6
|
4560 | |
else
|
|
4942 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4943 |
printf %s "checking for $ac_word... " >&6; }
|
|
4944 |
if test ${ac_cv_prog_ac_ct_CXX+y}
|
|
4945 |
then :
|
|
4946 |
printf %s "(cached) " >&6
|
|
4947 |
else $as_nop
|
4561 | 4948 |
if test -n "$ac_ct_CXX"; then
|
4562 | 4949 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
4563 | 4950 |
else
|
|
4565 | 4952 |
for as_dir in $PATH
|
4566 | 4953 |
do
|
4567 | 4954 |
IFS=$as_save_IFS
|
4568 | |
test -z "$as_dir" && as_dir=.
|
|
4955 |
case $as_dir in #(((
|
|
4956 |
'') as_dir=./ ;;
|
|
4957 |
*/) ;;
|
|
4958 |
*) as_dir=$as_dir/ ;;
|
|
4959 |
esac
|
4569 | 4960 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4570 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
4961 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
4571 | 4962 |
ac_cv_prog_ac_ct_CXX="$ac_prog"
|
4572 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4963 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
4573 | 4964 |
break 2
|
4574 | 4965 |
fi
|
4575 | 4966 |
done
|
|
4580 | 4971 |
fi
|
4581 | 4972 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
4582 | 4973 |
if test -n "$ac_ct_CXX"; then
|
4583 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
4584 | |
$as_echo "$ac_ct_CXX" >&6; }
|
|
4974 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
|
4975 |
printf "%s\n" "$ac_ct_CXX" >&6; }
|
4585 | 4976 |
else
|
4586 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4587 | |
$as_echo "no" >&6; }
|
|
4977 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4978 |
printf "%s\n" "no" >&6; }
|
4588 | 4979 |
fi
|
4589 | 4980 |
|
4590 | 4981 |
|
|
4596 | 4987 |
else
|
4597 | 4988 |
case $cross_compiling:$ac_tool_warned in
|
4598 | 4989 |
yes:)
|
4599 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
4600 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
4990 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
4991 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
4601 | 4992 |
ac_tool_warned=yes ;;
|
4602 | 4993 |
esac
|
4603 | 4994 |
CXX=$ac_ct_CXX
|
|
4607 | 4998 |
fi
|
4608 | 4999 |
fi
|
4609 | 5000 |
# Provide some information about the compiler.
|
4610 | |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
|
5001 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
4611 | 5002 |
set X $ac_compile
|
4612 | 5003 |
ac_compiler=$2
|
4613 | 5004 |
for ac_option in --version -v -V -qversion; do
|
|
4617 | 5008 |
*) ac_try_echo=$ac_try;;
|
4618 | 5009 |
esac
|
4619 | 5010 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
4620 | |
$as_echo "$ac_try_echo"; } >&5
|
|
5011 |
printf "%s\n" "$ac_try_echo"; } >&5
|
4621 | 5012 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
4622 | 5013 |
ac_status=$?
|
4623 | 5014 |
if test -s conftest.err; then
|
|
4627 | 5018 |
cat conftest.er1 >&5
|
4628 | 5019 |
fi
|
4629 | 5020 |
rm -f conftest.er1 conftest.err
|
4630 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
5021 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
4631 | 5022 |
test $ac_status = 0; }
|
4632 | 5023 |
done
|
4633 | 5024 |
|
4634 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
4635 | |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
4636 | |
if ${ac_cv_cxx_compiler_gnu+:} false; then :
|
4637 | |
$as_echo_n "(cached) " >&6
|
4638 | |
else
|
|
5025 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
|
|
5026 |
printf %s "checking whether the compiler supports GNU C++... " >&6; }
|
|
5027 |
if test ${ac_cv_cxx_compiler_gnu+y}
|
|
5028 |
then :
|
|
5029 |
printf %s "(cached) " >&6
|
|
5030 |
else $as_nop
|
4639 | 5031 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4640 | 5032 |
/* end confdefs.h. */
|
4641 | 5033 |
|
4642 | 5034 |
int
|
4643 | |
main ()
|
|
5035 |
main (void)
|
4644 | 5036 |
{
|
4645 | 5037 |
#ifndef __GNUC__
|
4646 | 5038 |
choke me
|
|
4650 | 5042 |
return 0;
|
4651 | 5043 |
}
|
4652 | 5044 |
_ACEOF
|
4653 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
5045 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
5046 |
then :
|
4654 | 5047 |
ac_compiler_gnu=yes
|
4655 | |
else
|
|
5048 |
else $as_nop
|
4656 | 5049 |
ac_compiler_gnu=no
|
4657 | 5050 |
fi
|
4658 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5051 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
4659 | 5052 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
4660 | 5053 |
|
4661 | 5054 |
fi
|
4662 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
4663 | |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
|
5055 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
|
5056 |
printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
|
|
5057 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
5058 |
|
4664 | 5059 |
if test $ac_compiler_gnu = yes; then
|
4665 | 5060 |
GXX=yes
|
4666 | 5061 |
else
|
4667 | 5062 |
GXX=
|
4668 | 5063 |
fi
|
4669 | |
ac_test_CXXFLAGS=${CXXFLAGS+set}
|
|
5064 |
ac_test_CXXFLAGS=${CXXFLAGS+y}
|
4670 | 5065 |
ac_save_CXXFLAGS=$CXXFLAGS
|
4671 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
4672 | |
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
4673 | |
if ${ac_cv_prog_cxx_g+:} false; then :
|
4674 | |
$as_echo_n "(cached) " >&6
|
4675 | |
else
|
|
5066 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
|
5067 |
printf %s "checking whether $CXX accepts -g... " >&6; }
|
|
5068 |
if test ${ac_cv_prog_cxx_g+y}
|
|
5069 |
then :
|
|
5070 |
printf %s "(cached) " >&6
|
|
5071 |
else $as_nop
|
4676 | 5072 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
4677 | 5073 |
ac_cxx_werror_flag=yes
|
4678 | 5074 |
ac_cv_prog_cxx_g=no
|
|
4681 | 5077 |
/* end confdefs.h. */
|
4682 | 5078 |
|
4683 | 5079 |
int
|
4684 | |
main ()
|
|
5080 |
main (void)
|
4685 | 5081 |
{
|
4686 | 5082 |
|
4687 | 5083 |
;
|
4688 | 5084 |
return 0;
|
4689 | 5085 |
}
|
4690 | 5086 |
_ACEOF
|
4691 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
5087 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
5088 |
then :
|
4692 | 5089 |
ac_cv_prog_cxx_g=yes
|
4693 | |
else
|
|
5090 |
else $as_nop
|
4694 | 5091 |
CXXFLAGS=""
|
4695 | 5092 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4696 | 5093 |
/* end confdefs.h. */
|
4697 | 5094 |
|
4698 | 5095 |
int
|
4699 | |
main ()
|
|
5096 |
main (void)
|
4700 | 5097 |
{
|
4701 | 5098 |
|
4702 | 5099 |
;
|
4703 | 5100 |
return 0;
|
4704 | 5101 |
}
|
4705 | 5102 |
_ACEOF
|
4706 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
4707 | |
|
4708 | |
else
|
|
5103 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
5104 |
then :
|
|
5105 |
|
|
5106 |
else $as_nop
|
4709 | 5107 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
4710 | 5108 |
CXXFLAGS="-g"
|
4711 | 5109 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4712 | 5110 |
/* end confdefs.h. */
|
4713 | 5111 |
|
4714 | 5112 |
int
|
4715 | |
main ()
|
|
5113 |
main (void)
|
4716 | 5114 |
{
|
4717 | 5115 |
|
4718 | 5116 |
;
|
4719 | 5117 |
return 0;
|
4720 | 5118 |
}
|
4721 | 5119 |
_ACEOF
|
4722 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
5120 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
5121 |
then :
|
4723 | 5122 |
ac_cv_prog_cxx_g=yes
|
4724 | 5123 |
fi
|
4725 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4726 | |
fi
|
4727 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4728 | |
fi
|
4729 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5124 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
5125 |
fi
|
|
5126 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
5127 |
fi
|
|
5128 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
4730 | 5129 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
4731 | 5130 |
fi
|
4732 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
4733 | |
$as_echo "$ac_cv_prog_cxx_g" >&6; }
|
4734 | |
if test "$ac_test_CXXFLAGS" = set; then
|
|
5131 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
|
5132 |
printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
|
|
5133 |
if test $ac_test_CXXFLAGS; then
|
4735 | 5134 |
CXXFLAGS=$ac_save_CXXFLAGS
|
4736 | 5135 |
elif test $ac_cv_prog_cxx_g = yes; then
|
4737 | 5136 |
if test "$GXX" = yes; then
|
|
4746 | 5145 |
CXXFLAGS=
|
4747 | 5146 |
fi
|
4748 | 5147 |
fi
|
|
5148 |
ac_prog_cxx_stdcxx=no
|
|
5149 |
if test x$ac_prog_cxx_stdcxx = xno
|
|
5150 |
then :
|
|
5151 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
|
|
5152 |
printf %s "checking for $CXX option to enable C++11 features... " >&6; }
|
|
5153 |
if test ${ac_cv_prog_cxx_11+y}
|
|
5154 |
then :
|
|
5155 |
printf %s "(cached) " >&6
|
|
5156 |
else $as_nop
|
|
5157 |
ac_cv_prog_cxx_11=no
|
|
5158 |
ac_save_CXX=$CXX
|
|
5159 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5160 |
/* end confdefs.h. */
|
|
5161 |
$ac_cxx_conftest_cxx11_program
|
|
5162 |
_ACEOF
|
|
5163 |
for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
|
|
5164 |
do
|
|
5165 |
CXX="$ac_save_CXX $ac_arg"
|
|
5166 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
5167 |
then :
|
|
5168 |
ac_cv_prog_cxx_cxx11=$ac_arg
|
|
5169 |
fi
|
|
5170 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
|
5171 |
test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
|
|
5172 |
done
|
|
5173 |
rm -f conftest.$ac_ext
|
|
5174 |
CXX=$ac_save_CXX
|
|
5175 |
fi
|
|
5176 |
|
|
5177 |
if test "x$ac_cv_prog_cxx_cxx11" = xno
|
|
5178 |
then :
|
|
5179 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
5180 |
printf "%s\n" "unsupported" >&6; }
|
|
5181 |
else $as_nop
|
|
5182 |
if test "x$ac_cv_prog_cxx_cxx11" = x
|
|
5183 |
then :
|
|
5184 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
5185 |
printf "%s\n" "none needed" >&6; }
|
|
5186 |
else $as_nop
|
|
5187 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
|
|
5188 |
printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
|
|
5189 |
CXX="$CXX $ac_cv_prog_cxx_cxx11"
|
|
5190 |
fi
|
|
5191 |
ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
|
|
5192 |
ac_prog_cxx_stdcxx=cxx11
|
|
5193 |
fi
|
|
5194 |
fi
|
|
5195 |
if test x$ac_prog_cxx_stdcxx = xno
|
|
5196 |
then :
|
|
5197 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
|
|
5198 |
printf %s "checking for $CXX option to enable C++98 features... " >&6; }
|
|
5199 |
if test ${ac_cv_prog_cxx_98+y}
|
|
5200 |
then :
|
|
5201 |
printf %s "(cached) " >&6
|
|
5202 |
else $as_nop
|
|
5203 |
ac_cv_prog_cxx_98=no
|
|
5204 |
ac_save_CXX=$CXX
|
|
5205 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5206 |
/* end confdefs.h. */
|
|
5207 |
$ac_cxx_conftest_cxx98_program
|
|
5208 |
_ACEOF
|
|
5209 |
for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
|
|
5210 |
do
|
|
5211 |
CXX="$ac_save_CXX $ac_arg"
|
|
5212 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
5213 |
then :
|
|
5214 |
ac_cv_prog_cxx_cxx98=$ac_arg
|
|
5215 |
fi
|
|
5216 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
|
5217 |
test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
|
|
5218 |
done
|
|
5219 |
rm -f conftest.$ac_ext
|
|
5220 |
CXX=$ac_save_CXX
|
|
5221 |
fi
|
|
5222 |
|
|
5223 |
if test "x$ac_cv_prog_cxx_cxx98" = xno
|
|
5224 |
then :
|
|
5225 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
5226 |
printf "%s\n" "unsupported" >&6; }
|
|
5227 |
else $as_nop
|
|
5228 |
if test "x$ac_cv_prog_cxx_cxx98" = x
|
|
5229 |
then :
|
|
5230 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
5231 |
printf "%s\n" "none needed" >&6; }
|
|
5232 |
else $as_nop
|
|
5233 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
|
|
5234 |
printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
|
|
5235 |
CXX="$CXX $ac_cv_prog_cxx_cxx98"
|
|
5236 |
fi
|
|
5237 |
ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
|
|
5238 |
ac_prog_cxx_stdcxx=cxx98
|
|
5239 |
fi
|
|
5240 |
fi
|
|
5241 |
|
4749 | 5242 |
ac_ext=c
|
4750 | 5243 |
ac_cpp='$CPP $CPPFLAGS'
|
4751 | 5244 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
4754 | 5247 |
|
4755 | 5248 |
depcc="$CXX" am_compiler_list=
|
4756 | 5249 |
|
4757 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
4758 | |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
4759 | |
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
|
4760 | |
$as_echo_n "(cached) " >&6
|
4761 | |
else
|
|
5250 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
|
5251 |
printf %s "checking dependency style of $depcc... " >&6; }
|
|
5252 |
if test ${am_cv_CXX_dependencies_compiler_type+y}
|
|
5253 |
then :
|
|
5254 |
printf %s "(cached) " >&6
|
|
5255 |
else $as_nop
|
4762 | 5256 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
4763 | 5257 |
# We make a subdir and do the tests there. Otherwise we can end up
|
4764 | 5258 |
# making bogus files that we don't know about and never remove. For
|
|
4865 | 5359 |
fi
|
4866 | 5360 |
|
4867 | 5361 |
fi
|
4868 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
4869 | |
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
|
|
5362 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
|
5363 |
printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
|
4870 | 5364 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
4871 | 5365 |
|
4872 | 5366 |
if
|
|
4880 | 5374 |
fi
|
4881 | 5375 |
|
4882 | 5376 |
|
4883 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
4884 | |
$as_echo_n "checking whether ln -s works... " >&6; }
|
|
5377 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
|
5378 |
printf %s "checking whether ln -s works... " >&6; }
|
4885 | 5379 |
LN_S=$as_ln_s
|
4886 | 5380 |
if test "$LN_S" = "ln -s"; then
|
4887 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
4888 | |
$as_echo "yes" >&6; }
|
|
5381 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
5382 |
printf "%s\n" "yes" >&6; }
|
4889 | 5383 |
else
|
4890 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
4891 | |
$as_echo "no, using $LN_S" >&6; }
|
4892 | |
fi
|
4893 | |
|
4894 | |
|
4895 | |
|
4896 | |
ac_ext=c
|
4897 | |
ac_cpp='$CPP $CPPFLAGS'
|
4898 | |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4899 | |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4900 | |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4901 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
4902 | |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
4903 | |
# On Suns, sometimes $CPP names a directory.
|
4904 | |
if test -n "$CPP" && test -d "$CPP"; then
|
4905 | |
CPP=
|
4906 | |
fi
|
4907 | |
if test -z "$CPP"; then
|
4908 | |
if ${ac_cv_prog_CPP+:} false; then :
|
4909 | |
$as_echo_n "(cached) " >&6
|
4910 | |
else
|
4911 | |
# Double quotes because CPP needs to be expanded
|
4912 | |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
4913 | |
do
|
4914 | |
ac_preproc_ok=false
|
4915 | |
for ac_c_preproc_warn_flag in '' yes
|
|
5384 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
|
5385 |
printf "%s\n" "no, using $LN_S" >&6; }
|
|
5386 |
fi
|
|
5387 |
|
|
5388 |
|
|
5389 |
|
|
5390 |
ac_header= ac_cache=
|
|
5391 |
for ac_item in $ac_header_c_list
|
4916 | 5392 |
do
|
4917 | |
# Use a header file that comes with gcc, so configuring glibc
|
4918 | |
# with a fresh cross-compiler works.
|
4919 | |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
4920 | |
# <limits.h> exists even on freestanding compilers.
|
4921 | |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
4922 | |
# not just through cpp. "Syntax error" is here to catch this case.
|
|
5393 |
if test $ac_cache; then
|
|
5394 |
ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
|
|
5395 |
if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
|
|
5396 |
printf "%s\n" "#define $ac_item 1" >> confdefs.h
|
|
5397 |
fi
|
|
5398 |
ac_header= ac_cache=
|
|
5399 |
elif test $ac_header; then
|
|
5400 |
ac_cache=$ac_item
|
|
5401 |
else
|
|
5402 |
ac_header=$ac_item
|
|
5403 |
fi
|
|
5404 |
done
|
|
5405 |
|
|
5406 |
|
|
5407 |
|
|
5408 |
|
|
5409 |
|
|
5410 |
|
|
5411 |
|
|
5412 |
|
|
5413 |
if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
|
|
5414 |
then :
|
|
5415 |
|
|
5416 |
printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
|
|
5417 |
|
|
5418 |
fi
|
|
5419 |
|
|
5420 |
|
|
5421 |
|
|
5422 |
|
|
5423 |
|
|
5424 |
|
|
5425 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
|
|
5426 |
printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
|
|
5427 |
if test ${ac_cv_safe_to_define___extensions__+y}
|
|
5428 |
then :
|
|
5429 |
printf %s "(cached) " >&6
|
|
5430 |
else $as_nop
|
4923 | 5431 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4924 | 5432 |
/* end confdefs.h. */
|
4925 | |
#ifdef __STDC__
|
4926 | |
# include <limits.h>
|
4927 | |
#else
|
4928 | |
# include <assert.h>
|
4929 | |
#endif
|
4930 | |
Syntax error
|
4931 | |
_ACEOF
|
4932 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
4933 | |
|
4934 | |
else
|
4935 | |
# Broken: fails on valid input.
|
4936 | |
continue
|
4937 | |
fi
|
4938 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
4939 | |
|
4940 | |
# OK, works on sane cases. Now check whether nonexistent headers
|
4941 | |
# can be detected and how.
|
4942 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4943 | |
/* end confdefs.h. */
|
4944 | |
#include <ac_nonexistent.h>
|
4945 | |
_ACEOF
|
4946 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
4947 | |
# Broken: success on invalid input.
|
4948 | |
continue
|
4949 | |
else
|
4950 | |
# Passes both tests.
|
4951 | |
ac_preproc_ok=:
|
4952 | |
break
|
4953 | |
fi
|
4954 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
4955 | |
|
4956 | |
done
|
4957 | |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4958 | |
rm -f conftest.i conftest.err conftest.$ac_ext
|
4959 | |
if $ac_preproc_ok; then :
|
4960 | |
break
|
4961 | |
fi
|
4962 | |
|
4963 | |
done
|
4964 | |
ac_cv_prog_CPP=$CPP
|
4965 | |
|
4966 | |
fi
|
4967 | |
CPP=$ac_cv_prog_CPP
|
4968 | |
else
|
4969 | |
ac_cv_prog_CPP=$CPP
|
4970 | |
fi
|
4971 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
4972 | |
$as_echo "$CPP" >&6; }
|
4973 | |
ac_preproc_ok=false
|
4974 | |
for ac_c_preproc_warn_flag in '' yes
|
4975 | |
do
|
4976 | |
# Use a header file that comes with gcc, so configuring glibc
|
4977 | |
# with a fresh cross-compiler works.
|
4978 | |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
4979 | |
# <limits.h> exists even on freestanding compilers.
|
4980 | |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
4981 | |
# not just through cpp. "Syntax error" is here to catch this case.
|
4982 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4983 | |
/* end confdefs.h. */
|
4984 | |
#ifdef __STDC__
|
4985 | |
# include <limits.h>
|
4986 | |
#else
|
4987 | |
# include <assert.h>
|
4988 | |
#endif
|
4989 | |
Syntax error
|
4990 | |
_ACEOF
|
4991 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
4992 | |
|
4993 | |
else
|
4994 | |
# Broken: fails on valid input.
|
4995 | |
continue
|
4996 | |
fi
|
4997 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
4998 | |
|
4999 | |
# OK, works on sane cases. Now check whether nonexistent headers
|
5000 | |
# can be detected and how.
|
5001 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5002 | |
/* end confdefs.h. */
|
5003 | |
#include <ac_nonexistent.h>
|
5004 | |
_ACEOF
|
5005 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
5006 | |
# Broken: success on invalid input.
|
5007 | |
continue
|
5008 | |
else
|
5009 | |
# Passes both tests.
|
5010 | |
ac_preproc_ok=:
|
5011 | |
break
|
5012 | |
fi
|
5013 | |
rm -f conftest.err conftest.i conftest.$ac_ext
|
5014 | |
|
5015 | |
done
|
5016 | |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
5017 | |
rm -f conftest.i conftest.err conftest.$ac_ext
|
5018 | |
if $ac_preproc_ok; then :
|
5019 | |
|
5020 | |
else
|
5021 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
5022 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
5023 | |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
5024 | |
See \`config.log' for more details" "$LINENO" 5; }
|
5025 | |
fi
|
5026 | |
|
5027 | |
ac_ext=c
|
5028 | |
ac_cpp='$CPP $CPPFLAGS'
|
5029 | |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
5030 | |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
5031 | |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
5032 | |
|
5033 | |
|
5034 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
5035 | |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
5036 | |
if ${ac_cv_path_GREP+:} false; then :
|
5037 | |
$as_echo_n "(cached) " >&6
|
5038 | |
else
|
5039 | |
if test -z "$GREP"; then
|
5040 | |
ac_path_GREP_found=false
|
5041 | |
# Loop through the user's path and test for each of PROGNAME-LIST
|
5042 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5043 | |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
5044 | |
do
|
5045 | |
IFS=$as_save_IFS
|
5046 | |
test -z "$as_dir" && as_dir=.
|
5047 | |
for ac_prog in grep ggrep; do
|
5048 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5049 | |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
5050 | |
as_fn_executable_p "$ac_path_GREP" || continue
|
5051 | |
# Check for GNU ac_path_GREP and select it if it is found.
|
5052 | |
# Check for GNU $ac_path_GREP
|
5053 | |
case `"$ac_path_GREP" --version 2>&1` in
|
5054 | |
*GNU*)
|
5055 | |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
5056 | |
*)
|
5057 | |
ac_count=0
|
5058 | |
$as_echo_n 0123456789 >"conftest.in"
|
5059 | |
while :
|
5060 | |
do
|
5061 | |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
5062 | |
mv "conftest.tmp" "conftest.in"
|
5063 | |
cp "conftest.in" "conftest.nl"
|
5064 | |
$as_echo 'GREP' >> "conftest.nl"
|
5065 | |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
5066 | |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
5067 | |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
5068 | |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
5069 | |
# Best one so far, save it but keep looking for a better one
|
5070 | |
ac_cv_path_GREP="$ac_path_GREP"
|
5071 | |
ac_path_GREP_max=$ac_count
|
5072 | |
fi
|
5073 | |
# 10*(2^10) chars as input seems more than enough
|
5074 | |
test $ac_count -gt 10 && break
|
5075 | |
done
|
5076 | |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
5077 | |
esac
|
5078 | |
|
5079 | |
$ac_path_GREP_found && break 3
|
5080 | |
done
|
5081 | |
done
|
5082 | |
done
|
5083 | |
IFS=$as_save_IFS
|
5084 | |
if test -z "$ac_cv_path_GREP"; then
|
5085 | |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
5086 | |
fi
|
5087 | |
else
|
5088 | |
ac_cv_path_GREP=$GREP
|
5089 | |
fi
|
5090 | |
|
5091 | |
fi
|
5092 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
5093 | |
$as_echo "$ac_cv_path_GREP" >&6; }
|
5094 | |
GREP="$ac_cv_path_GREP"
|
5095 | |
|
5096 | |
|
5097 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
5098 | |
$as_echo_n "checking for egrep... " >&6; }
|
5099 | |
if ${ac_cv_path_EGREP+:} false; then :
|
5100 | |
$as_echo_n "(cached) " >&6
|
5101 | |
else
|
5102 | |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
5103 | |
then ac_cv_path_EGREP="$GREP -E"
|
5104 | |
else
|
5105 | |
if test -z "$EGREP"; then
|
5106 | |
ac_path_EGREP_found=false
|
5107 | |
# Loop through the user's path and test for each of PROGNAME-LIST
|
5108 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5109 | |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
5110 | |
do
|
5111 | |
IFS=$as_save_IFS
|
5112 | |
test -z "$as_dir" && as_dir=.
|
5113 | |
for ac_prog in egrep; do
|
5114 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5115 | |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
5116 | |
as_fn_executable_p "$ac_path_EGREP" || continue
|
5117 | |
# Check for GNU ac_path_EGREP and select it if it is found.
|
5118 | |
# Check for GNU $ac_path_EGREP
|
5119 | |
case `"$ac_path_EGREP" --version 2>&1` in
|
5120 | |
*GNU*)
|
5121 | |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
5122 | |
*)
|
5123 | |
ac_count=0
|
5124 | |
$as_echo_n 0123456789 >"conftest.in"
|
5125 | |
while :
|
5126 | |
do
|
5127 | |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
5128 | |
mv "conftest.tmp" "conftest.in"
|
5129 | |
cp "conftest.in" "conftest.nl"
|
5130 | |
$as_echo 'EGREP' >> "conftest.nl"
|
5131 | |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
5132 | |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
5133 | |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
5134 | |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
5135 | |
# Best one so far, save it but keep looking for a better one
|
5136 | |
ac_cv_path_EGREP="$ac_path_EGREP"
|
5137 | |
ac_path_EGREP_max=$ac_count
|
5138 | |
fi
|
5139 | |
# 10*(2^10) chars as input seems more than enough
|
5140 | |
test $ac_count -gt 10 && break
|
5141 | |
done
|
5142 | |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
5143 | |
esac
|
5144 | |
|
5145 | |
$ac_path_EGREP_found && break 3
|
5146 | |
done
|
5147 | |
done
|
5148 | |
done
|
5149 | |
IFS=$as_save_IFS
|
5150 | |
if test -z "$ac_cv_path_EGREP"; then
|
5151 | |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
5152 | |
fi
|
5153 | |
else
|
5154 | |
ac_cv_path_EGREP=$EGREP
|
5155 | |
fi
|
5156 | |
|
5157 | |
fi
|
5158 | |
fi
|
5159 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
5160 | |
$as_echo "$ac_cv_path_EGREP" >&6; }
|
5161 | |
EGREP="$ac_cv_path_EGREP"
|
5162 | |
|
5163 | |
|
5164 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
5165 | |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
5166 | |
if ${ac_cv_header_stdc+:} false; then :
|
5167 | |
$as_echo_n "(cached) " >&6
|
5168 | |
else
|
5169 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5170 | |
/* end confdefs.h. */
|
5171 | |
#include <stdlib.h>
|
5172 | |
#include <stdarg.h>
|
5173 | |
#include <string.h>
|
5174 | |
#include <float.h>
|
5175 | |
|
|
5433 |
|
|
5434 |
# define __EXTENSIONS__ 1
|
|
5435 |
$ac_includes_default
|
5176 | 5436 |
int
|
5177 | |
main ()
|
|
5437 |
main (void)
|
5178 | 5438 |
{
|
5179 | 5439 |
|
5180 | 5440 |
;
|
5181 | 5441 |
return 0;
|
5182 | 5442 |
}
|
5183 | 5443 |
_ACEOF
|
5184 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
5185 | |
ac_cv_header_stdc=yes
|
5186 | |
else
|
5187 | |
ac_cv_header_stdc=no
|
5188 | |
fi
|
5189 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5190 | |
|
5191 | |
if test $ac_cv_header_stdc = yes; then
|
5192 | |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
5444 |
if ac_fn_c_try_compile "$LINENO"
|
|
5445 |
then :
|
|
5446 |
ac_cv_safe_to_define___extensions__=yes
|
|
5447 |
else $as_nop
|
|
5448 |
ac_cv_safe_to_define___extensions__=no
|
|
5449 |
fi
|
|
5450 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
5451 |
fi
|
|
5452 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
|
|
5453 |
printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
|
|
5454 |
|
|
5455 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
|
|
5456 |
printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
|
|
5457 |
if test ${ac_cv_should_define__xopen_source+y}
|
|
5458 |
then :
|
|
5459 |
printf %s "(cached) " >&6
|
|
5460 |
else $as_nop
|
|
5461 |
ac_cv_should_define__xopen_source=no
|
|
5462 |
if test $ac_cv_header_wchar_h = yes
|
|
5463 |
then :
|
5193 | 5464 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5194 | 5465 |
/* end confdefs.h. */
|
5195 | |
#include <string.h>
|
5196 | |
|
5197 | |
_ACEOF
|
5198 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
5199 | |
$EGREP "memchr" >/dev/null 2>&1; then :
|
5200 | |
|
5201 | |
else
|
5202 | |
ac_cv_header_stdc=no
|
5203 | |
fi
|
5204 | |
rm -f conftest*
|
5205 | |
|
5206 | |
fi
|
5207 | |
|
5208 | |
if test $ac_cv_header_stdc = yes; then
|
5209 | |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
5210 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5211 | |
/* end confdefs.h. */
|
5212 | |
#include <stdlib.h>
|
5213 | |
|
5214 | |
_ACEOF
|
5215 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
5216 | |
$EGREP "free" >/dev/null 2>&1; then :
|
5217 | |
|
5218 | |
else
|
5219 | |
ac_cv_header_stdc=no
|
5220 | |
fi
|
5221 | |
rm -f conftest*
|
5222 | |
|
5223 | |
fi
|
5224 | |
|
5225 | |
if test $ac_cv_header_stdc = yes; then
|
5226 | |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
5227 | |
if test "$cross_compiling" = yes; then :
|
5228 | |
:
|
5229 | |
else
|
5230 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5231 | |
/* end confdefs.h. */
|
5232 | |
#include <ctype.h>
|
5233 | |
#include <stdlib.h>
|
5234 | |
#if ((' ' & 0x0FF) == 0x020)
|
5235 | |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
5236 | |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
5237 | |
#else
|
5238 | |
# define ISLOWER(c) \
|
5239 | |
(('a' <= (c) && (c) <= 'i') \
|
5240 | |
|| ('j' <= (c) && (c) <= 'r') \
|
5241 | |
|| ('s' <= (c) && (c) <= 'z'))
|
5242 | |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
5243 | |
#endif
|
5244 | |
|
5245 | |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
|
5466 |
|
|
5467 |
#include <wchar.h>
|
|
5468 |
mbstate_t x;
|
5246 | 5469 |
int
|
5247 | |
main ()
|
5248 | |
{
|
5249 | |
int i;
|
5250 | |
for (i = 0; i < 256; i++)
|
5251 | |
if (XOR (islower (i), ISLOWER (i))
|
5252 | |
|| toupper (i) != TOUPPER (i))
|
5253 | |
return 2;
|
5254 | |
return 0;
|
5255 | |
}
|
5256 | |
_ACEOF
|
5257 | |
if ac_fn_c_try_run "$LINENO"; then :
|
5258 | |
|
5259 | |
else
|
5260 | |
ac_cv_header_stdc=no
|
5261 | |
fi
|
5262 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
5263 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
5264 | |
fi
|
5265 | |
|
5266 | |
fi
|
5267 | |
fi
|
5268 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
5269 | |
$as_echo "$ac_cv_header_stdc" >&6; }
|
5270 | |
if test $ac_cv_header_stdc = yes; then
|
5271 | |
|
5272 | |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
5273 | |
|
5274 | |
fi
|
5275 | |
|
5276 | |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
5277 | |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
5278 | |
inttypes.h stdint.h unistd.h
|
5279 | |
do :
|
5280 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
5281 | |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
5282 | |
"
|
5283 | |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
5284 | |
cat >>confdefs.h <<_ACEOF
|
5285 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
5286 | |
_ACEOF
|
5287 | |
|
5288 | |
fi
|
5289 | |
|
5290 | |
done
|
5291 | |
|
5292 | |
|
5293 | |
|
5294 | |
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
|
5295 | |
if test "x$ac_cv_header_minix_config_h" = xyes; then :
|
5296 | |
MINIX=yes
|
5297 | |
else
|
5298 | |
MINIX=
|
5299 | |
fi
|
5300 | |
|
5301 | |
|
5302 | |
if test "$MINIX" = yes; then
|
5303 | |
|
5304 | |
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
|
5305 | |
|
5306 | |
|
5307 | |
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
|
5308 | |
|
5309 | |
|
5310 | |
$as_echo "#define _MINIX 1" >>confdefs.h
|
5311 | |
|
5312 | |
fi
|
5313 | |
|
5314 | |
|
5315 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
|
5316 | |
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
|
5317 | |
if ${ac_cv_safe_to_define___extensions__+:} false; then :
|
5318 | |
$as_echo_n "(cached) " >&6
|
5319 | |
else
|
5320 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5321 | |
/* end confdefs.h. */
|
5322 | |
|
5323 | |
# define __EXTENSIONS__ 1
|
5324 | |
$ac_includes_default
|
5325 | |
int
|
5326 | |
main ()
|
|
5470 |
main (void)
|
5327 | 5471 |
{
|
5328 | 5472 |
|
5329 | 5473 |
;
|
5330 | 5474 |
return 0;
|
5331 | 5475 |
}
|
5332 | 5476 |
_ACEOF
|
5333 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
5334 | |
ac_cv_safe_to_define___extensions__=yes
|
5335 | |
else
|
5336 | |
ac_cv_safe_to_define___extensions__=no
|
5337 | |
fi
|
5338 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5339 | |
fi
|
5340 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
|
5341 | |
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
5342 | |
test $ac_cv_safe_to_define___extensions__ = yes &&
|
5343 | |
$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
|
5344 | |
|
5345 | |
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h
|
5346 | |
|
5347 | |
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
|
5348 | |
|
5349 | |
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|
5350 | |
|
5351 | |
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
|
5352 | |
|
|
5477 |
if ac_fn_c_try_compile "$LINENO"
|
|
5478 |
then :
|
|
5479 |
|
|
5480 |
else $as_nop
|
|
5481 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5482 |
/* end confdefs.h. */
|
|
5483 |
|
|
5484 |
#define _XOPEN_SOURCE 500
|
|
5485 |
#include <wchar.h>
|
|
5486 |
mbstate_t x;
|
|
5487 |
int
|
|
5488 |
main (void)
|
|
5489 |
{
|
|
5490 |
|
|
5491 |
;
|
|
5492 |
return 0;
|
|
5493 |
}
|
|
5494 |
_ACEOF
|
|
5495 |
if ac_fn_c_try_compile "$LINENO"
|
|
5496 |
then :
|
|
5497 |
ac_cv_should_define__xopen_source=yes
|
|
5498 |
fi
|
|
5499 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
5500 |
fi
|
|
5501 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
5502 |
fi
|
|
5503 |
fi
|
|
5504 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
|
|
5505 |
printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
|
|
5506 |
|
|
5507 |
printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
|
|
5508 |
|
|
5509 |
printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
|
|
5510 |
|
|
5511 |
printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
|
|
5512 |
|
|
5513 |
printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
|
|
5514 |
|
|
5515 |
printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
|
|
5516 |
|
|
5517 |
printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
|
|
5518 |
|
|
5519 |
printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|
|
5520 |
|
|
5521 |
printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
|
|
5522 |
|
|
5523 |
printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
|
|
5524 |
|
|
5525 |
printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
|
|
5526 |
|
|
5527 |
printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
|
|
5528 |
|
|
5529 |
printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
|
|
5530 |
|
|
5531 |
printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
|
|
5532 |
|
|
5533 |
printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
|
|
5534 |
|
|
5535 |
printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
|
|
5536 |
|
|
5537 |
if test $ac_cv_header_minix_config_h = yes
|
|
5538 |
then :
|
|
5539 |
MINIX=yes
|
|
5540 |
printf "%s\n" "#define _MINIX 1" >>confdefs.h
|
|
5541 |
|
|
5542 |
printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
|
|
5543 |
|
|
5544 |
printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
|
|
5545 |
|
|
5546 |
else $as_nop
|
|
5547 |
MINIX=
|
|
5548 |
fi
|
|
5549 |
if test $ac_cv_safe_to_define___extensions__ = yes
|
|
5550 |
then :
|
|
5551 |
printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
|
|
5552 |
|
|
5553 |
fi
|
|
5554 |
if test $ac_cv_should_define__xopen_source = yes
|
|
5555 |
then :
|
|
5556 |
printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
|
|
5557 |
|
|
5558 |
fi
|
5353 | 5559 |
|
5354 | 5560 |
# Check whether --enable-largefile was given.
|
5355 | |
if test "${enable_largefile+set}" = set; then :
|
|
5561 |
if test ${enable_largefile+y}
|
|
5562 |
then :
|
5356 | 5563 |
enableval=$enable_largefile;
|
5357 | 5564 |
fi
|
5358 | 5565 |
|
5359 | 5566 |
if test "$enable_largefile" != no; then
|
5360 | 5567 |
|
5361 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
|
5362 | |
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
|
5363 | |
if ${ac_cv_sys_largefile_CC+:} false; then :
|
5364 | |
$as_echo_n "(cached) " >&6
|
5365 | |
else
|
|
5568 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
|
|
5569 |
printf %s "checking for special C compiler options needed for large files... " >&6; }
|
|
5570 |
if test ${ac_cv_sys_largefile_CC+y}
|
|
5571 |
then :
|
|
5572 |
printf %s "(cached) " >&6
|
|
5573 |
else $as_nop
|
5366 | 5574 |
ac_cv_sys_largefile_CC=no
|
5367 | 5575 |
if test "$GCC" != yes; then
|
5368 | 5576 |
ac_save_CC=$CC
|
|
5376 | 5584 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
5377 | 5585 |
since some C++ compilers masquerading as C compilers
|
5378 | 5586 |
incorrectly reject 9223372036854775807. */
|
5379 | |
#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
|
|
5587 |
#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
|
5380 | 5588 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
5381 | 5589 |
&& LARGE_OFF_T % 2147483647 == 1)
|
5382 | 5590 |
? 1 : -1];
|
5383 | 5591 |
int
|
5384 | |
main ()
|
|
5592 |
main (void)
|
5385 | 5593 |
{
|
5386 | 5594 |
|
5387 | 5595 |
;
|
5388 | 5596 |
return 0;
|
5389 | 5597 |
}
|
5390 | 5598 |
_ACEOF
|
5391 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
5599 |
if ac_fn_c_try_compile "$LINENO"
|
|
5600 |
then :
|
5392 | 5601 |
break
|
5393 | 5602 |
fi
|
5394 | |
rm -f core conftest.err conftest.$ac_objext
|
|
5603 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
5395 | 5604 |
CC="$CC -n32"
|
5396 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
5605 |
if ac_fn_c_try_compile "$LINENO"
|
|
5606 |
then :
|
5397 | 5607 |
ac_cv_sys_largefile_CC=' -n32'; break
|
5398 | 5608 |
fi
|
5399 | |
rm -f core conftest.err conftest.$ac_objext
|
|
5609 |
rm -f core conftest.err conftest.$ac_objext conftest.beam
|
5400 | 5610 |
break
|
5401 | 5611 |
done
|
5402 | 5612 |
CC=$ac_save_CC
|
5403 | 5613 |
rm -f conftest.$ac_ext
|
5404 | 5614 |
fi
|
5405 | 5615 |
fi
|
5406 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
|
5407 | |
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
|
|
5616 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
|
|
5617 |
printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
|
5408 | 5618 |
if test "$ac_cv_sys_largefile_CC" != no; then
|
5409 | 5619 |
CC=$CC$ac_cv_sys_largefile_CC
|
5410 | 5620 |
fi
|
5411 | 5621 |
|
5412 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
5413 | |
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
|
5414 | |
if ${ac_cv_sys_file_offset_bits+:} false; then :
|
5415 | |
$as_echo_n "(cached) " >&6
|
5416 | |
else
|
|
5622 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
|
5623 |
printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
|
|
5624 |
if test ${ac_cv_sys_file_offset_bits+y}
|
|
5625 |
then :
|
|
5626 |
printf %s "(cached) " >&6
|
|
5627 |
else $as_nop
|
5417 | 5628 |
while :; do
|
5418 | 5629 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5419 | 5630 |
/* end confdefs.h. */
|
|
5422 | 5633 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
5423 | 5634 |
since some C++ compilers masquerading as C compilers
|
5424 | 5635 |
incorrectly reject 9223372036854775807. */
|
5425 | |
#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
|
|
5636 |
#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
|
5426 | 5637 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
5427 | 5638 |
&& LARGE_OFF_T % 2147483647 == 1)
|
5428 | 5639 |
? 1 : -1];
|
5429 | 5640 |
int
|
5430 | |
main ()
|
|
5641 |
main (void)
|
5431 | 5642 |
{
|
5432 | 5643 |
|
5433 | 5644 |
;
|
5434 | 5645 |
return 0;
|
5435 | 5646 |
}
|
5436 | 5647 |
_ACEOF
|
5437 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
5648 |
if ac_fn_c_try_compile "$LINENO"
|
|
5649 |
then :
|
5438 | 5650 |
ac_cv_sys_file_offset_bits=no; break
|
5439 | 5651 |
fi
|
5440 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5652 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
5441 | 5653 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5442 | 5654 |
/* end confdefs.h. */
|
5443 | 5655 |
#define _FILE_OFFSET_BITS 64
|
|
5446 | 5658 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
5447 | 5659 |
since some C++ compilers masquerading as C compilers
|
5448 | 5660 |
incorrectly reject 9223372036854775807. */
|
5449 | |
#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
|
|
5661 |
#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
|
5450 | 5662 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
5451 | 5663 |
&& LARGE_OFF_T % 2147483647 == 1)
|
5452 | 5664 |
? 1 : -1];
|
5453 | 5665 |
int
|
5454 | |
main ()
|
|
5666 |
main (void)
|
5455 | 5667 |
{
|
5456 | 5668 |
|
5457 | 5669 |
;
|
5458 | 5670 |
return 0;
|
5459 | 5671 |
}
|
5460 | 5672 |
_ACEOF
|
5461 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
5673 |
if ac_fn_c_try_compile "$LINENO"
|
|
5674 |
then :
|
5462 | 5675 |
ac_cv_sys_file_offset_bits=64; break
|
5463 | 5676 |
fi
|
5464 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5677 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
5465 | 5678 |
ac_cv_sys_file_offset_bits=unknown
|
5466 | 5679 |
break
|
5467 | 5680 |
done
|
5468 | 5681 |
fi
|
5469 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
|
5470 | |
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
|
|
5682 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
|
|
5683 |
printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
|
5471 | 5684 |
case $ac_cv_sys_file_offset_bits in #(
|
5472 | 5685 |
no | unknown) ;;
|
5473 | 5686 |
*)
|
5474 | |
cat >>confdefs.h <<_ACEOF
|
5475 | |
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
|
5476 | |
_ACEOF
|
|
5687 |
printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
|
5477 | 5688 |
;;
|
5478 | 5689 |
esac
|
5479 | 5690 |
rm -rf conftest*
|
5480 | 5691 |
if test $ac_cv_sys_file_offset_bits = unknown; then
|
5481 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
|
5482 | |
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
|
5483 | |
if ${ac_cv_sys_large_files+:} false; then :
|
5484 | |
$as_echo_n "(cached) " >&6
|
5485 | |
else
|
|
5692 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
|
|
5693 |
printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
|
|
5694 |
if test ${ac_cv_sys_large_files+y}
|
|
5695 |
then :
|
|
5696 |
printf %s "(cached) " >&6
|
|
5697 |
else $as_nop
|
5486 | 5698 |
while :; do
|
5487 | 5699 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5488 | 5700 |
/* end confdefs.h. */
|
|
5491 | 5703 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
5492 | 5704 |
since some C++ compilers masquerading as C compilers
|
5493 | 5705 |
incorrectly reject 9223372036854775807. */
|
5494 | |
#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
|
|
5706 |
#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
|
5495 | 5707 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
5496 | 5708 |
&& LARGE_OFF_T % 2147483647 == 1)
|
5497 | 5709 |
? 1 : -1];
|
5498 | 5710 |
int
|
5499 | |
main ()
|
|
5711 |
main (void)
|
5500 | 5712 |
{
|
5501 | 5713 |
|
5502 | 5714 |
;
|
5503 | 5715 |
return 0;
|
5504 | 5716 |
}
|
5505 | 5717 |
_ACEOF
|
5506 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
5718 |
if ac_fn_c_try_compile "$LINENO"
|
|
5719 |
then :
|
5507 | 5720 |
ac_cv_sys_large_files=no; break
|
5508 | 5721 |
fi
|
5509 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5722 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
5510 | 5723 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5511 | 5724 |
/* end confdefs.h. */
|
5512 | 5725 |
#define _LARGE_FILES 1
|
|
5515 | 5728 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
5516 | 5729 |
since some C++ compilers masquerading as C compilers
|
5517 | 5730 |
incorrectly reject 9223372036854775807. */
|
5518 | |
#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
|
|
5731 |
#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
|
5519 | 5732 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
5520 | 5733 |
&& LARGE_OFF_T % 2147483647 == 1)
|
5521 | 5734 |
? 1 : -1];
|
5522 | 5735 |
int
|
5523 | |
main ()
|
|
5736 |
main (void)
|
5524 | 5737 |
{
|
5525 | 5738 |
|
5526 | 5739 |
;
|
5527 | 5740 |
return 0;
|
5528 | 5741 |
}
|
5529 | 5742 |
_ACEOF
|
5530 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
5743 |
if ac_fn_c_try_compile "$LINENO"
|
|
5744 |
then :
|
5531 | 5745 |
ac_cv_sys_large_files=1; break
|
5532 | 5746 |
fi
|
5533 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5747 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
5534 | 5748 |
ac_cv_sys_large_files=unknown
|
5535 | 5749 |
break
|
5536 | 5750 |
done
|
5537 | 5751 |
fi
|
5538 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
|
5539 | |
$as_echo "$ac_cv_sys_large_files" >&6; }
|
|
5752 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
|
|
5753 |
printf "%s\n" "$ac_cv_sys_large_files" >&6; }
|
5540 | 5754 |
case $ac_cv_sys_large_files in #(
|
5541 | 5755 |
no | unknown) ;;
|
5542 | 5756 |
*)
|
5543 | |
cat >>confdefs.h <<_ACEOF
|
5544 | |
#define _LARGE_FILES $ac_cv_sys_large_files
|
5545 | |
_ACEOF
|
|
5757 |
printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
|
5546 | 5758 |
;;
|
5547 | 5759 |
esac
|
5548 | 5760 |
rm -rf conftest*
|
5549 | 5761 |
fi
|
5550 | |
|
5551 | |
|
5552 | 5762 |
fi
|
5553 | 5763 |
|
5554 | 5764 |
|
5555 | 5765 |
# Check whether --enable-silent-rules was given.
|
5556 | |
if test "${enable_silent_rules+set}" = set; then :
|
|
5766 |
if test ${enable_silent_rules+y}
|
|
5767 |
then :
|
5557 | 5768 |
enableval=$enable_silent_rules;
|
5558 | 5769 |
fi
|
5559 | 5770 |
|
|
5563 | 5774 |
*) AM_DEFAULT_VERBOSITY=0;;
|
5564 | 5775 |
esac
|
5565 | 5776 |
am_make=${MAKE-make}
|
5566 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
5567 | |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
|
5568 | |
if ${am_cv_make_support_nested_variables+:} false; then :
|
5569 | |
$as_echo_n "(cached) " >&6
|
5570 | |
else
|
5571 | |
if $as_echo 'TRUE=$(BAR$(V))
|
|
5777 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
|
5778 |
printf %s "checking whether $am_make supports nested variables... " >&6; }
|
|
5779 |
if test ${am_cv_make_support_nested_variables+y}
|
|
5780 |
then :
|
|
5781 |
printf %s "(cached) " >&6
|
|
5782 |
else $as_nop
|
|
5783 |
if printf "%s\n" 'TRUE=$(BAR$(V))
|
5572 | 5784 |
BAR0=false
|
5573 | 5785 |
BAR1=true
|
5574 | 5786 |
V=1
|
|
5580 | 5792 |
am_cv_make_support_nested_variables=no
|
5581 | 5793 |
fi
|
5582 | 5794 |
fi
|
5583 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
5584 | |
$as_echo "$am_cv_make_support_nested_variables" >&6; }
|
|
5795 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
|
5796 |
printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
|
5585 | 5797 |
if test $am_cv_make_support_nested_variables = yes; then
|
5586 | 5798 |
AM_V='$(V)'
|
5587 | 5799 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
|
|
5593 | 5805 |
|
5594 | 5806 |
case `pwd` in
|
5595 | 5807 |
*\ * | *\ *)
|
5596 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
5597 | |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
|
|
5808 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
|
5809 |
printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
|
5598 | 5810 |
esac
|
5599 | 5811 |
|
5600 | 5812 |
|
|
5614 | 5826 |
|
5615 | 5827 |
|
5616 | 5828 |
|
|
5829 |
|
5617 | 5830 |
ltmain=$ac_aux_dir/ltmain.sh
|
5618 | 5831 |
|
5619 | |
# Make sure we can run config.sub.
|
5620 | |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
5621 | |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
5622 | |
|
5623 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
5624 | |
$as_echo_n "checking build system type... " >&6; }
|
5625 | |
if ${ac_cv_build+:} false; then :
|
5626 | |
$as_echo_n "(cached) " >&6
|
5627 | |
else
|
|
5832 |
|
|
5833 |
|
|
5834 |
# Make sure we can run config.sub.
|
|
5835 |
$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
|
|
5836 |
as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
|
|
5837 |
|
|
5838 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
|
5839 |
printf %s "checking build system type... " >&6; }
|
|
5840 |
if test ${ac_cv_build+y}
|
|
5841 |
then :
|
|
5842 |
printf %s "(cached) " >&6
|
|
5843 |
else $as_nop
|
5628 | 5844 |
ac_build_alias=$build_alias
|
5629 | 5845 |
test "x$ac_build_alias" = x &&
|
5630 | |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
|
5846 |
ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
|
5631 | 5847 |
test "x$ac_build_alias" = x &&
|
5632 | 5848 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
5633 | |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
5634 | |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
5635 | |
|
5636 | |
fi
|
5637 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
5638 | |
$as_echo "$ac_cv_build" >&6; }
|
|
5849 |
ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
|
|
5850 |
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
|
|
5851 |
|
|
5852 |
fi
|
|
5853 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
|
5854 |
printf "%s\n" "$ac_cv_build" >&6; }
|
5639 | 5855 |
case $ac_cv_build in
|
5640 | 5856 |
*-*-*) ;;
|
5641 | 5857 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
|
|
5654 | 5870 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
5655 | 5871 |
|
5656 | 5872 |
|
5657 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
5658 | |
$as_echo_n "checking host system type... " >&6; }
|
5659 | |
if ${ac_cv_host+:} false; then :
|
5660 | |
$as_echo_n "(cached) " >&6
|
5661 | |
else
|
|
5873 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
|
5874 |
printf %s "checking host system type... " >&6; }
|
|
5875 |
if test ${ac_cv_host+y}
|
|
5876 |
then :
|
|
5877 |
printf %s "(cached) " >&6
|
|
5878 |
else $as_nop
|
5662 | 5879 |
if test "x$host_alias" = x; then
|
5663 | 5880 |
ac_cv_host=$ac_cv_build
|
5664 | 5881 |
else
|
5665 | |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
5666 | |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
5667 | |
fi
|
5668 | |
|
5669 | |
fi
|
5670 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
5671 | |
$as_echo "$ac_cv_host" >&6; }
|
|
5882 |
ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
|
|
5883 |
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
|
|
5884 |
fi
|
|
5885 |
|
|
5886 |
fi
|
|
5887 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
|
5888 |
printf "%s\n" "$ac_cv_host" >&6; }
|
5672 | 5889 |
case $ac_cv_host in
|
5673 | 5890 |
*-*-*) ;;
|
5674 | 5891 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
|
|
5708 | 5925 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
|
5709 | 5926 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
|
5710 | 5927 |
|
5711 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
|
5712 | |
$as_echo_n "checking how to print strings... " >&6; }
|
|
5928 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
|
|
5929 |
printf %s "checking how to print strings... " >&6; }
|
5713 | 5930 |
# Test print first, because it will be a builtin if present.
|
5714 | 5931 |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
|
5715 | 5932 |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
|
|
5735 | 5952 |
}
|
5736 | 5953 |
|
5737 | 5954 |
case $ECHO in
|
5738 | |
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
|
5739 | |
$as_echo "printf" >&6; } ;;
|
5740 | |
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
|
5741 | |
$as_echo "print -r" >&6; } ;;
|
5742 | |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
|
5743 | |
$as_echo "cat" >&6; } ;;
|
|
5955 |
printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
|
|
5956 |
printf "%s\n" "printf" >&6; } ;;
|
|
5957 |
print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
|
|
5958 |
printf "%s\n" "print -r" >&6; } ;;
|
|
5959 |
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
|
|
5960 |
printf "%s\n" "cat" >&6; } ;;
|
5744 | 5961 |
esac
|
5745 | 5962 |
|
5746 | 5963 |
|
|
5756 | 5973 |
|
5757 | 5974 |
|
5758 | 5975 |
|
5759 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
|
5760 | |
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
|
5761 | |
if ${ac_cv_path_SED+:} false; then :
|
5762 | |
$as_echo_n "(cached) " >&6
|
5763 | |
else
|
|
5976 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
|
|
5977 |
printf %s "checking for a sed that does not truncate output... " >&6; }
|
|
5978 |
if test ${ac_cv_path_SED+y}
|
|
5979 |
then :
|
|
5980 |
printf %s "(cached) " >&6
|
|
5981 |
else $as_nop
|
5764 | 5982 |
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
|
5765 | 5983 |
for ac_i in 1 2 3 4 5 6 7; do
|
5766 | 5984 |
ac_script="$ac_script$as_nl$ac_script"
|
|
5774 | 5992 |
for as_dir in $PATH
|
5775 | 5993 |
do
|
5776 | 5994 |
IFS=$as_save_IFS
|
5777 | |
test -z "$as_dir" && as_dir=.
|
5778 | |
for ac_prog in sed gsed; do
|
|
5995 |
case $as_dir in #(((
|
|
5996 |
'') as_dir=./ ;;
|
|
5997 |
*/) ;;
|
|
5998 |
*) as_dir=$as_dir/ ;;
|
|
5999 |
esac
|
|
6000 |
for ac_prog in sed gsed
|
|
6001 |
do
|
5779 | 6002 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5780 | |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
|
|
6003 |
ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
|
5781 | 6004 |
as_fn_executable_p "$ac_path_SED" || continue
|
5782 | 6005 |
# Check for GNU ac_path_SED and select it if it is found.
|
5783 | 6006 |
# Check for GNU $ac_path_SED
|
|
5786 | 6009 |
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
|
5787 | 6010 |
*)
|
5788 | 6011 |
ac_count=0
|
5789 | |
$as_echo_n 0123456789 >"conftest.in"
|
|
6012 |
printf %s 0123456789 >"conftest.in"
|
5790 | 6013 |
while :
|
5791 | 6014 |
do
|
5792 | 6015 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
5793 | 6016 |
mv "conftest.tmp" "conftest.in"
|
5794 | 6017 |
cp "conftest.in" "conftest.nl"
|
5795 | |
$as_echo '' >> "conftest.nl"
|
|
6018 |
printf "%s\n" '' >> "conftest.nl"
|
5796 | 6019 |
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
5797 | 6020 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
5798 | 6021 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
|
5820 | 6043 |
fi
|
5821 | 6044 |
|
5822 | 6045 |
fi
|
5823 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
|
5824 | |
$as_echo "$ac_cv_path_SED" >&6; }
|
|
6046 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
|
|
6047 |
printf "%s\n" "$ac_cv_path_SED" >&6; }
|
5825 | 6048 |
SED="$ac_cv_path_SED"
|
5826 | 6049 |
rm -f conftest.sed
|
5827 | 6050 |
|
|
5838 | 6061 |
|
5839 | 6062 |
|
5840 | 6063 |
|
5841 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
|
5842 | |
$as_echo_n "checking for fgrep... " >&6; }
|
5843 | |
if ${ac_cv_path_FGREP+:} false; then :
|
5844 | |
$as_echo_n "(cached) " >&6
|
|
6064 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
|
6065 |
printf %s "checking for grep that handles long lines and -e... " >&6; }
|
|
6066 |
if test ${ac_cv_path_GREP+y}
|
|
6067 |
then :
|
|
6068 |
printf %s "(cached) " >&6
|
|
6069 |
else $as_nop
|
|
6070 |
if test -z "$GREP"; then
|
|
6071 |
ac_path_GREP_found=false
|
|
6072 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
6073 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
6074 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
6075 |
do
|
|
6076 |
IFS=$as_save_IFS
|
|
6077 |
case $as_dir in #(((
|
|
6078 |
'') as_dir=./ ;;
|
|
6079 |
*/) ;;
|
|
6080 |
*) as_dir=$as_dir/ ;;
|
|
6081 |
esac
|
|
6082 |
for ac_prog in grep ggrep
|
|
6083 |
do
|
|
6084 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
6085 |
ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
|
|
6086 |
as_fn_executable_p "$ac_path_GREP" || continue
|
|
6087 |
# Check for GNU ac_path_GREP and select it if it is found.
|
|
6088 |
# Check for GNU $ac_path_GREP
|
|
6089 |
case `"$ac_path_GREP" --version 2>&1` in
|
|
6090 |
*GNU*)
|
|
6091 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
|
6092 |
*)
|
|
6093 |
ac_count=0
|
|
6094 |
printf %s 0123456789 >"conftest.in"
|
|
6095 |
while :
|
|
6096 |
do
|
|
6097 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
6098 |
mv "conftest.tmp" "conftest.in"
|
|
6099 |
cp "conftest.in" "conftest.nl"
|
|
6100 |
printf "%s\n" 'GREP' >> "conftest.nl"
|
|
6101 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
6102 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
6103 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
|
6104 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
|
6105 |
# Best one so far, save it but keep looking for a better one
|
|
6106 |
ac_cv_path_GREP="$ac_path_GREP"
|
|
6107 |
ac_path_GREP_max=$ac_count
|
|
6108 |
fi
|
|
6109 |
# 10*(2^10) chars as input seems more than enough
|
|
6110 |
test $ac_count -gt 10 && break
|
|
6111 |
done
|
|
6112 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
6113 |
esac
|
|
6114 |
|
|
6115 |
$ac_path_GREP_found && break 3
|
|
6116 |
done
|
|
6117 |
done
|
|
6118 |
done
|
|
6119 |
IFS=$as_save_IFS
|
|
6120 |
if test -z "$ac_cv_path_GREP"; then
|
|
6121 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
|
6122 |
fi
|
5845 | 6123 |
else
|
|
6124 |
ac_cv_path_GREP=$GREP
|
|
6125 |
fi
|
|
6126 |
|
|
6127 |
fi
|
|
6128 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
|
6129 |
printf "%s\n" "$ac_cv_path_GREP" >&6; }
|
|
6130 |
GREP="$ac_cv_path_GREP"
|
|
6131 |
|
|
6132 |
|
|
6133 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
|
6134 |
printf %s "checking for egrep... " >&6; }
|
|
6135 |
if test ${ac_cv_path_EGREP+y}
|
|
6136 |
then :
|
|
6137 |
printf %s "(cached) " >&6
|
|
6138 |
else $as_nop
|
|
6139 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
|
6140 |
then ac_cv_path_EGREP="$GREP -E"
|
|
6141 |
else
|
|
6142 |
if test -z "$EGREP"; then
|
|
6143 |
ac_path_EGREP_found=false
|
|
6144 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
6145 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
6146 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
6147 |
do
|
|
6148 |
IFS=$as_save_IFS
|
|
6149 |
case $as_dir in #(((
|
|
6150 |
'') as_dir=./ ;;
|
|
6151 |
*/) ;;
|
|
6152 |
*) as_dir=$as_dir/ ;;
|
|
6153 |
esac
|
|
6154 |
for ac_prog in egrep
|
|
6155 |
do
|
|
6156 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
6157 |
ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
|
|
6158 |
as_fn_executable_p "$ac_path_EGREP" || continue
|
|
6159 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
|
6160 |
# Check for GNU $ac_path_EGREP
|
|
6161 |
case `"$ac_path_EGREP" --version 2>&1` in
|
|
6162 |
*GNU*)
|
|
6163 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
|
6164 |
*)
|
|
6165 |
ac_count=0
|
|
6166 |
printf %s 0123456789 >"conftest.in"
|
|
6167 |
while :
|
|
6168 |
do
|
|
6169 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
6170 |
mv "conftest.tmp" "conftest.in"
|
|
6171 |
cp "conftest.in" "conftest.nl"
|
|
6172 |
printf "%s\n" 'EGREP' >> "conftest.nl"
|
|
6173 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
6174 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
6175 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
|
6176 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
|
6177 |
# Best one so far, save it but keep looking for a better one
|
|
6178 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
|
6179 |
ac_path_EGREP_max=$ac_count
|
|
6180 |
fi
|
|
6181 |
# 10*(2^10) chars as input seems more than enough
|
|
6182 |
test $ac_count -gt 10 && break
|
|
6183 |
done
|
|
6184 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
6185 |
esac
|
|
6186 |
|
|
6187 |
$ac_path_EGREP_found && break 3
|
|
6188 |
done
|
|
6189 |
done
|
|
6190 |
done
|
|
6191 |
IFS=$as_save_IFS
|
|
6192 |
if test -z "$ac_cv_path_EGREP"; then
|
|
6193 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
|
6194 |
fi
|
|
6195 |
else
|
|
6196 |
ac_cv_path_EGREP=$EGREP
|
|
6197 |
fi
|
|
6198 |
|
|
6199 |
fi
|
|
6200 |
fi
|
|
6201 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
|
6202 |
printf "%s\n" "$ac_cv_path_EGREP" >&6; }
|
|
6203 |
EGREP="$ac_cv_path_EGREP"
|
|
6204 |
|
|
6205 |
|
|
6206 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
|
|
6207 |
printf %s "checking for fgrep... " >&6; }
|
|
6208 |
if test ${ac_cv_path_FGREP+y}
|
|
6209 |
then :
|
|
6210 |
printf %s "(cached) " >&6
|
|
6211 |
else $as_nop
|
5846 | 6212 |
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
|
5847 | 6213 |
then ac_cv_path_FGREP="$GREP -F"
|
5848 | 6214 |
else
|
|
5853 | 6219 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
5854 | 6220 |
do
|
5855 | 6221 |
IFS=$as_save_IFS
|
5856 | |
test -z "$as_dir" && as_dir=.
|
5857 | |
for ac_prog in fgrep; do
|
|
6222 |
case $as_dir in #(((
|
|
6223 |
'') as_dir=./ ;;
|
|
6224 |
*/) ;;
|
|
6225 |
*) as_dir=$as_dir/ ;;
|
|
6226 |
esac
|
|
6227 |
for ac_prog in fgrep
|
|
6228 |
do
|
5858 | 6229 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5859 | |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
6230 |
ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
|
5860 | 6231 |
as_fn_executable_p "$ac_path_FGREP" || continue
|
5861 | 6232 |
# Check for GNU ac_path_FGREP and select it if it is found.
|
5862 | 6233 |
# Check for GNU $ac_path_FGREP
|
|
5865 | 6236 |
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
|
5866 | 6237 |
*)
|
5867 | 6238 |
ac_count=0
|
5868 | |
$as_echo_n 0123456789 >"conftest.in"
|
|
6239 |
printf %s 0123456789 >"conftest.in"
|
5869 | 6240 |
while :
|
5870 | 6241 |
do
|
5871 | 6242 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
5872 | 6243 |
mv "conftest.tmp" "conftest.in"
|
5873 | 6244 |
cp "conftest.in" "conftest.nl"
|
5874 | |
$as_echo 'FGREP' >> "conftest.nl"
|
|
6245 |
printf "%s\n" 'FGREP' >> "conftest.nl"
|
5875 | 6246 |
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
5876 | 6247 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
5877 | 6248 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
|
5900 | 6271 |
|
5901 | 6272 |
fi
|
5902 | 6273 |
fi
|
5903 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
|
5904 | |
$as_echo "$ac_cv_path_FGREP" >&6; }
|
|
6274 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
|
|
6275 |
printf "%s\n" "$ac_cv_path_FGREP" >&6; }
|
5905 | 6276 |
FGREP="$ac_cv_path_FGREP"
|
5906 | 6277 |
|
5907 | 6278 |
|
|
5926 | 6297 |
|
5927 | 6298 |
|
5928 | 6299 |
# Check whether --with-gnu-ld was given.
|
5929 | |
if test "${with_gnu_ld+set}" = set; then :
|
|
6300 |
if test ${with_gnu_ld+y}
|
|
6301 |
then :
|
5930 | 6302 |
withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
|
5931 | |
else
|
|
6303 |
else $as_nop
|
5932 | 6304 |
with_gnu_ld=no
|
5933 | 6305 |
fi
|
5934 | 6306 |
|
5935 | 6307 |
ac_prog=ld
|
5936 | 6308 |
if test yes = "$GCC"; then
|
5937 | 6309 |
# Check if gcc -print-prog-name=ld gives a path.
|
5938 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
5939 | |
$as_echo_n "checking for ld used by $CC... " >&6; }
|
|
6310 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
|
6311 |
printf %s "checking for ld used by $CC... " >&6; }
|
5940 | 6312 |
case $host in
|
5941 | 6313 |
*-*-mingw*)
|
5942 | 6314 |
# gcc leaves a trailing carriage return, which upsets mingw
|
|
5965 | 6337 |
;;
|
5966 | 6338 |
esac
|
5967 | 6339 |
elif test yes = "$with_gnu_ld"; then
|
5968 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
5969 | |
$as_echo_n "checking for GNU ld... " >&6; }
|
|
6340 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
|
6341 |
printf %s "checking for GNU ld... " >&6; }
|
5970 | 6342 |
else
|
5971 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
5972 | |
$as_echo_n "checking for non-GNU ld... " >&6; }
|
5973 | |
fi
|
5974 | |
if ${lt_cv_path_LD+:} false; then :
|
5975 | |
$as_echo_n "(cached) " >&6
|
5976 | |
else
|
|
6343 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
|
6344 |
printf %s "checking for non-GNU ld... " >&6; }
|
|
6345 |
fi
|
|
6346 |
if test ${lt_cv_path_LD+y}
|
|
6347 |
then :
|
|
6348 |
printf %s "(cached) " >&6
|
|
6349 |
else $as_nop
|
5977 | 6350 |
if test -z "$LD"; then
|
5978 | 6351 |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
|
5979 | 6352 |
for ac_dir in $PATH; do
|
|
6002 | 6375 |
|
6003 | 6376 |
LD=$lt_cv_path_LD
|
6004 | 6377 |
if test -n "$LD"; then
|
6005 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
6006 | |
$as_echo "$LD" >&6; }
|
|
6378 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
|
6379 |
printf "%s\n" "$LD" >&6; }
|
6007 | 6380 |
else
|
6008 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6009 | |
$as_echo "no" >&6; }
|
|
6381 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6382 |
printf "%s\n" "no" >&6; }
|
6010 | 6383 |
fi
|
6011 | 6384 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
|
6012 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
6013 | |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
|
6014 | |
if ${lt_cv_prog_gnu_ld+:} false; then :
|
6015 | |
$as_echo_n "(cached) " >&6
|
6016 | |
else
|
|
6385 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
|
6386 |
printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
|
|
6387 |
if test ${lt_cv_prog_gnu_ld+y}
|
|
6388 |
then :
|
|
6389 |
printf %s "(cached) " >&6
|
|
6390 |
else $as_nop
|
6017 | 6391 |
# I'd rather use --version here, but apparently some GNU lds only accept -v.
|
6018 | 6392 |
case `$LD -v 2>&1 </dev/null` in
|
6019 | 6393 |
*GNU* | *'with BFD'*)
|
|
6024 | 6398 |
;;
|
6025 | 6399 |
esac
|
6026 | 6400 |
fi
|
6027 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
6028 | |
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
|
|
6401 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
|
6402 |
printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
|
6029 | 6403 |
with_gnu_ld=$lt_cv_prog_gnu_ld
|
6030 | 6404 |
|
6031 | 6405 |
|
|
6036 | 6410 |
|
6037 | 6411 |
|
6038 | 6412 |
|
6039 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
|
6040 | |
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
|
6041 | |
if ${lt_cv_path_NM+:} false; then :
|
6042 | |
$as_echo_n "(cached) " >&6
|
6043 | |
else
|
|
6413 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
|
|
6414 |
printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
|
|
6415 |
if test ${lt_cv_path_NM+y}
|
|
6416 |
then :
|
|
6417 |
printf %s "(cached) " >&6
|
|
6418 |
else $as_nop
|
6044 | 6419 |
if test -n "$NM"; then
|
6045 | 6420 |
# Let the user override the test.
|
6046 | 6421 |
lt_cv_path_NM=$NM
|
|
6090 | 6465 |
: ${lt_cv_path_NM=no}
|
6091 | 6466 |
fi
|
6092 | 6467 |
fi
|
6093 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
|
6094 | |
$as_echo "$lt_cv_path_NM" >&6; }
|
|
6468 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
|
|
6469 |
printf "%s\n" "$lt_cv_path_NM" >&6; }
|
6095 | 6470 |
if test no != "$lt_cv_path_NM"; then
|
6096 | 6471 |
NM=$lt_cv_path_NM
|
6097 | 6472 |
else
|
|
6104 | 6479 |
do
|
6105 | 6480 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
6106 | 6481 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
6107 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6108 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6109 | |
if ${ac_cv_prog_DUMPBIN+:} false; then :
|
6110 | |
$as_echo_n "(cached) " >&6
|
6111 | |
else
|
|
6482 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6483 |
printf %s "checking for $ac_word... " >&6; }
|
|
6484 |
if test ${ac_cv_prog_DUMPBIN+y}
|
|
6485 |
then :
|
|
6486 |
printf %s "(cached) " >&6
|
|
6487 |
else $as_nop
|
6112 | 6488 |
if test -n "$DUMPBIN"; then
|
6113 | 6489 |
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
|
6114 | 6490 |
else
|
|
6116 | 6492 |
for as_dir in $PATH
|
6117 | 6493 |
do
|
6118 | 6494 |
IFS=$as_save_IFS
|
6119 | |
test -z "$as_dir" && as_dir=.
|
|
6495 |
case $as_dir in #(((
|
|
6496 |
'') as_dir=./ ;;
|
|
6497 |
*/) ;;
|
|
6498 |
*) as_dir=$as_dir/ ;;
|
|
6499 |
esac
|
6120 | 6500 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6121 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
6501 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6122 | 6502 |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
|
6123 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6503 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6124 | 6504 |
break 2
|
6125 | 6505 |
fi
|
6126 | 6506 |
done
|
|
6131 | 6511 |
fi
|
6132 | 6512 |
DUMPBIN=$ac_cv_prog_DUMPBIN
|
6133 | 6513 |
if test -n "$DUMPBIN"; then
|
6134 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
|
6135 | |
$as_echo "$DUMPBIN" >&6; }
|
|
6514 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
|
|
6515 |
printf "%s\n" "$DUMPBIN" >&6; }
|
6136 | 6516 |
else
|
6137 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6138 | |
$as_echo "no" >&6; }
|
|
6517 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6518 |
printf "%s\n" "no" >&6; }
|
6139 | 6519 |
fi
|
6140 | 6520 |
|
6141 | 6521 |
|
|
6148 | 6528 |
do
|
6149 | 6529 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
6150 | 6530 |
set dummy $ac_prog; ac_word=$2
|
6151 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6152 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6153 | |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
|
6154 | |
$as_echo_n "(cached) " >&6
|
6155 | |
else
|
|
6531 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6532 |
printf %s "checking for $ac_word... " >&6; }
|
|
6533 |
if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
|
|
6534 |
then :
|
|
6535 |
printf %s "(cached) " >&6
|
|
6536 |
else $as_nop
|
6156 | 6537 |
if test -n "$ac_ct_DUMPBIN"; then
|
6157 | 6538 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
|
6158 | 6539 |
else
|
|
6160 | 6541 |
for as_dir in $PATH
|
6161 | 6542 |
do
|
6162 | 6543 |
IFS=$as_save_IFS
|
6163 | |
test -z "$as_dir" && as_dir=.
|
|
6544 |
case $as_dir in #(((
|
|
6545 |
'') as_dir=./ ;;
|
|
6546 |
*/) ;;
|
|
6547 |
*) as_dir=$as_dir/ ;;
|
|
6548 |
esac
|
6164 | 6549 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6165 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
6550 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6166 | 6551 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
|
6167 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6552 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6168 | 6553 |
break 2
|
6169 | 6554 |
fi
|
6170 | 6555 |
done
|
|
6175 | 6560 |
fi
|
6176 | 6561 |
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
|
6177 | 6562 |
if test -n "$ac_ct_DUMPBIN"; then
|
6178 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
|
6179 | |
$as_echo "$ac_ct_DUMPBIN" >&6; }
|
|
6563 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
|
|
6564 |
printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
|
6180 | 6565 |
else
|
6181 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6182 | |
$as_echo "no" >&6; }
|
|
6566 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6567 |
printf "%s\n" "no" >&6; }
|
6183 | 6568 |
fi
|
6184 | 6569 |
|
6185 | 6570 |
|
|
6191 | 6576 |
else
|
6192 | 6577 |
case $cross_compiling:$ac_tool_warned in
|
6193 | 6578 |
yes:)
|
6194 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
6195 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
6579 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
6580 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6196 | 6581 |
ac_tool_warned=yes ;;
|
6197 | 6582 |
esac
|
6198 | 6583 |
DUMPBIN=$ac_ct_DUMPBIN
|
|
6220 | 6605 |
|
6221 | 6606 |
|
6222 | 6607 |
|
6223 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
|
6224 | |
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
|
6225 | |
if ${lt_cv_nm_interface+:} false; then :
|
6226 | |
$as_echo_n "(cached) " >&6
|
6227 | |
else
|
|
6608 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
|
|
6609 |
printf %s "checking the name lister ($NM) interface... " >&6; }
|
|
6610 |
if test ${lt_cv_nm_interface+y}
|
|
6611 |
then :
|
|
6612 |
printf %s "(cached) " >&6
|
|
6613 |
else $as_nop
|
6228 | 6614 |
lt_cv_nm_interface="BSD nm"
|
6229 | 6615 |
echo "int some_variable = 0;" > conftest.$ac_ext
|
6230 | 6616 |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
|
|
6240 | 6626 |
fi
|
6241 | 6627 |
rm -f conftest*
|
6242 | 6628 |
fi
|
6243 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
|
6244 | |
$as_echo "$lt_cv_nm_interface" >&6; }
|
|
6629 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
|
|
6630 |
printf "%s\n" "$lt_cv_nm_interface" >&6; }
|
6245 | 6631 |
|
6246 | 6632 |
# find the maximum length of command line arguments
|
6247 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
|
6248 | |
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
|
6249 | |
if ${lt_cv_sys_max_cmd_len+:} false; then :
|
6250 | |
$as_echo_n "(cached) " >&6
|
6251 | |
else
|
|
6633 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
|
|
6634 |
printf %s "checking the maximum length of command line arguments... " >&6; }
|
|
6635 |
if test ${lt_cv_sys_max_cmd_len+y}
|
|
6636 |
then :
|
|
6637 |
printf %s "(cached) " >&6
|
|
6638 |
else $as_nop
|
6252 | 6639 |
i=0
|
6253 | 6640 |
teststring=ABCD
|
6254 | 6641 |
|
|
6375 | 6762 |
fi
|
6376 | 6763 |
|
6377 | 6764 |
if test -n "$lt_cv_sys_max_cmd_len"; then
|
6378 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
|
6379 | |
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
|
|
6765 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
|
|
6766 |
printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
|
6380 | 6767 |
else
|
6381 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
|
6382 | |
$as_echo "none" >&6; }
|
|
6768 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
|
|
6769 |
printf "%s\n" "none" >&6; }
|
6383 | 6770 |
fi
|
6384 | 6771 |
max_cmd_len=$lt_cv_sys_max_cmd_len
|
6385 | 6772 |
|
|
6423 | 6810 |
|
6424 | 6811 |
|
6425 | 6812 |
|
6426 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
|
6427 | |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
|
6428 | |
if ${lt_cv_to_host_file_cmd+:} false; then :
|
6429 | |
$as_echo_n "(cached) " >&6
|
6430 | |
else
|
|
6813 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
|
|
6814 |
printf %s "checking how to convert $build file names to $host format... " >&6; }
|
|
6815 |
if test ${lt_cv_to_host_file_cmd+y}
|
|
6816 |
then :
|
|
6817 |
printf %s "(cached) " >&6
|
|
6818 |
else $as_nop
|
6431 | 6819 |
case $host in
|
6432 | 6820 |
*-*-mingw* )
|
6433 | 6821 |
case $build in
|
|
6463 | 6851 |
fi
|
6464 | 6852 |
|
6465 | 6853 |
to_host_file_cmd=$lt_cv_to_host_file_cmd
|
6466 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
|
6467 | |
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
|
6468 | |
|
6469 | |
|
6470 | |
|
6471 | |
|
6472 | |
|
6473 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
|
6474 | |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
|
6475 | |
if ${lt_cv_to_tool_file_cmd+:} false; then :
|
6476 | |
$as_echo_n "(cached) " >&6
|
6477 | |
else
|
|
6854 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
|
|
6855 |
printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
|
|
6856 |
|
|
6857 |
|
|
6858 |
|
|
6859 |
|
|
6860 |
|
|
6861 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
|
|
6862 |
printf %s "checking how to convert $build file names to toolchain format... " >&6; }
|
|
6863 |
if test ${lt_cv_to_tool_file_cmd+y}
|
|
6864 |
then :
|
|
6865 |
printf %s "(cached) " >&6
|
|
6866 |
else $as_nop
|
6478 | 6867 |
#assume ordinary cross tools, or native build.
|
6479 | 6868 |
lt_cv_to_tool_file_cmd=func_convert_file_noop
|
6480 | 6869 |
case $host in
|
|
6490 | 6879 |
fi
|
6491 | 6880 |
|
6492 | 6881 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
|
6493 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
|
6494 | |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
|
6495 | |
|
6496 | |
|
6497 | |
|
6498 | |
|
6499 | |
|
6500 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
|
6501 | |
$as_echo_n "checking for $LD option to reload object files... " >&6; }
|
6502 | |
if ${lt_cv_ld_reload_flag+:} false; then :
|
6503 | |
$as_echo_n "(cached) " >&6
|
6504 | |
else
|
|
6882 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
|
|
6883 |
printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
|
|
6884 |
|
|
6885 |
|
|
6886 |
|
|
6887 |
|
|
6888 |
|
|
6889 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
|
|
6890 |
printf %s "checking for $LD option to reload object files... " >&6; }
|
|
6891 |
if test ${lt_cv_ld_reload_flag+y}
|
|
6892 |
then :
|
|
6893 |
printf %s "(cached) " >&6
|
|
6894 |
else $as_nop
|
6505 | 6895 |
lt_cv_ld_reload_flag='-r'
|
6506 | 6896 |
fi
|
6507 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
|
6508 | |
$as_echo "$lt_cv_ld_reload_flag" >&6; }
|
|
6897 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
|
|
6898 |
printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
|
6509 | 6899 |
reload_flag=$lt_cv_ld_reload_flag
|
6510 | 6900 |
case $reload_flag in
|
6511 | 6901 |
"" | " "*) ;;
|
|
6538 | 6928 |
if test -n "$ac_tool_prefix"; then
|
6539 | 6929 |
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
6540 | 6930 |
set dummy ${ac_tool_prefix}objdump; ac_word=$2
|
6541 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6542 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6543 | |
if ${ac_cv_prog_OBJDUMP+:} false; then :
|
6544 | |
$as_echo_n "(cached) " >&6
|
6545 | |
else
|
|
6931 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6932 |
printf %s "checking for $ac_word... " >&6; }
|
|
6933 |
if test ${ac_cv_prog_OBJDUMP+y}
|
|
6934 |
then :
|
|
6935 |
printf %s "(cached) " >&6
|
|
6936 |
else $as_nop
|
6546 | 6937 |
if test -n "$OBJDUMP"; then
|
6547 | 6938 |
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
|
6548 | 6939 |
else
|
|
6550 | 6941 |
for as_dir in $PATH
|
6551 | 6942 |
do
|
6552 | 6943 |
IFS=$as_save_IFS
|
6553 | |
test -z "$as_dir" && as_dir=.
|
|
6944 |
case $as_dir in #(((
|
|
6945 |
'') as_dir=./ ;;
|
|
6946 |
*/) ;;
|
|
6947 |
*) as_dir=$as_dir/ ;;
|
|
6948 |
esac
|
6554 | 6949 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6555 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
6950 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6556 | 6951 |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
|
6557 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6952 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6558 | 6953 |
break 2
|
6559 | 6954 |
fi
|
6560 | 6955 |
done
|
|
6565 | 6960 |
fi
|
6566 | 6961 |
OBJDUMP=$ac_cv_prog_OBJDUMP
|
6567 | 6962 |
if test -n "$OBJDUMP"; then
|
6568 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
|
6569 | |
$as_echo "$OBJDUMP" >&6; }
|
|
6963 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
|
|
6964 |
printf "%s\n" "$OBJDUMP" >&6; }
|
6570 | 6965 |
else
|
6571 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6572 | |
$as_echo "no" >&6; }
|
|
6966 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6967 |
printf "%s\n" "no" >&6; }
|
6573 | 6968 |
fi
|
6574 | 6969 |
|
6575 | 6970 |
|
|
6578 | 6973 |
ac_ct_OBJDUMP=$OBJDUMP
|
6579 | 6974 |
# Extract the first word of "objdump", so it can be a program name with args.
|
6580 | 6975 |
set dummy objdump; ac_word=$2
|
6581 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6582 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6583 | |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
|
6584 | |
$as_echo_n "(cached) " >&6
|
6585 | |
else
|
|
6976 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6977 |
printf %s "checking for $ac_word... " >&6; }
|
|
6978 |
if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
|
|
6979 |
then :
|
|
6980 |
printf %s "(cached) " >&6
|
|
6981 |
else $as_nop
|
6586 | 6982 |
if test -n "$ac_ct_OBJDUMP"; then
|
6587 | 6983 |
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
|
6588 | 6984 |
else
|
|
6590 | 6986 |
for as_dir in $PATH
|
6591 | 6987 |
do
|
6592 | 6988 |
IFS=$as_save_IFS
|
6593 | |
test -z "$as_dir" && as_dir=.
|
|
6989 |
case $as_dir in #(((
|
|
6990 |
'') as_dir=./ ;;
|
|
6991 |
*/) ;;
|
|
6992 |
*) as_dir=$as_dir/ ;;
|
|
6993 |
esac
|
6594 | 6994 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6595 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
6995 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6596 | 6996 |
ac_cv_prog_ac_ct_OBJDUMP="objdump"
|
6597 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6997 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6598 | 6998 |
break 2
|
6599 | 6999 |
fi
|
6600 | 7000 |
done
|
|
6605 | 7005 |
fi
|
6606 | 7006 |
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
|
6607 | 7007 |
if test -n "$ac_ct_OBJDUMP"; then
|
6608 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
|
6609 | |
$as_echo "$ac_ct_OBJDUMP" >&6; }
|
|
7008 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
|
|
7009 |
printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
|
6610 | 7010 |
else
|
6611 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6612 | |
$as_echo "no" >&6; }
|
|
7011 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7012 |
printf "%s\n" "no" >&6; }
|
6613 | 7013 |
fi
|
6614 | 7014 |
|
6615 | 7015 |
if test "x$ac_ct_OBJDUMP" = x; then
|
|
6617 | 7017 |
else
|
6618 | 7018 |
case $cross_compiling:$ac_tool_warned in
|
6619 | 7019 |
yes:)
|
6620 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
6621 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
7020 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7021 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6622 | 7022 |
ac_tool_warned=yes ;;
|
6623 | 7023 |
esac
|
6624 | 7024 |
OBJDUMP=$ac_ct_OBJDUMP
|
|
6637 | 7037 |
|
6638 | 7038 |
|
6639 | 7039 |
|
6640 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
|
6641 | |
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
|
6642 | |
if ${lt_cv_deplibs_check_method+:} false; then :
|
6643 | |
$as_echo_n "(cached) " >&6
|
6644 | |
else
|
|
7040 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
|
|
7041 |
printf %s "checking how to recognize dependent libraries... " >&6; }
|
|
7042 |
if test ${lt_cv_deplibs_check_method+y}
|
|
7043 |
then :
|
|
7044 |
printf %s "(cached) " >&6
|
|
7045 |
else $as_nop
|
6645 | 7046 |
lt_cv_file_magic_cmd='$MAGIC_CMD'
|
6646 | 7047 |
lt_cv_file_magic_test_file=
|
6647 | 7048 |
lt_cv_deplibs_check_method='unknown'
|
|
6837 | 7238 |
esac
|
6838 | 7239 |
|
6839 | 7240 |
fi
|
6840 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
|
6841 | |
$as_echo "$lt_cv_deplibs_check_method" >&6; }
|
|
7241 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
|
|
7242 |
printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
|
6842 | 7243 |
|
6843 | 7244 |
file_magic_glob=
|
6844 | 7245 |
want_nocaseglob=no
|
|
6882 | 7283 |
if test -n "$ac_tool_prefix"; then
|
6883 | 7284 |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
|
6884 | 7285 |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
|
6885 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6886 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6887 | |
if ${ac_cv_prog_DLLTOOL+:} false; then :
|
6888 | |
$as_echo_n "(cached) " >&6
|
6889 | |
else
|
|
7286 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7287 |
printf %s "checking for $ac_word... " >&6; }
|
|
7288 |
if test ${ac_cv_prog_DLLTOOL+y}
|
|
7289 |
then :
|
|
7290 |
printf %s "(cached) " >&6
|
|
7291 |
else $as_nop
|
6890 | 7292 |
if test -n "$DLLTOOL"; then
|
6891 | 7293 |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
|
6892 | 7294 |
else
|
|
6894 | 7296 |
for as_dir in $PATH
|
6895 | 7297 |
do
|
6896 | 7298 |
IFS=$as_save_IFS
|
6897 | |
test -z "$as_dir" && as_dir=.
|
|
7299 |
case $as_dir in #(((
|
|
7300 |
'') as_dir=./ ;;
|
|
7301 |
*/) ;;
|
|
7302 |
*) as_dir=$as_dir/ ;;
|
|
7303 |
esac
|
6898 | 7304 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6899 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
7305 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6900 | 7306 |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
|
6901 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7307 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6902 | 7308 |
break 2
|
6903 | 7309 |
fi
|
6904 | 7310 |
done
|
|
6909 | 7315 |
fi
|
6910 | 7316 |
DLLTOOL=$ac_cv_prog_DLLTOOL
|
6911 | 7317 |
if test -n "$DLLTOOL"; then
|
6912 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
|
6913 | |
$as_echo "$DLLTOOL" >&6; }
|
|
7318 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
|
|
7319 |
printf "%s\n" "$DLLTOOL" >&6; }
|
6914 | 7320 |
else
|
6915 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6916 | |
$as_echo "no" >&6; }
|
|
7321 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7322 |
printf "%s\n" "no" >&6; }
|
6917 | 7323 |
fi
|
6918 | 7324 |
|
6919 | 7325 |
|
|
6922 | 7328 |
ac_ct_DLLTOOL=$DLLTOOL
|
6923 | 7329 |
# Extract the first word of "dlltool", so it can be a program name with args.
|
6924 | 7330 |
set dummy dlltool; ac_word=$2
|
6925 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6926 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
6927 | |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
|
6928 | |
$as_echo_n "(cached) " >&6
|
6929 | |
else
|
|
7331 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7332 |
printf %s "checking for $ac_word... " >&6; }
|
|
7333 |
if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
|
|
7334 |
then :
|
|
7335 |
printf %s "(cached) " >&6
|
|
7336 |
else $as_nop
|
6930 | 7337 |
if test -n "$ac_ct_DLLTOOL"; then
|
6931 | 7338 |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
|
6932 | 7339 |
else
|
|
6934 | 7341 |
for as_dir in $PATH
|
6935 | 7342 |
do
|
6936 | 7343 |
IFS=$as_save_IFS
|
6937 | |
test -z "$as_dir" && as_dir=.
|
|
7344 |
case $as_dir in #(((
|
|
7345 |
'') as_dir=./ ;;
|
|
7346 |
*/) ;;
|
|
7347 |
*) as_dir=$as_dir/ ;;
|
|
7348 |
esac
|
6938 | 7349 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6939 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
7350 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
6940 | 7351 |
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
|
6941 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7352 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
6942 | 7353 |
break 2
|
6943 | 7354 |
fi
|
6944 | 7355 |
done
|
|
6949 | 7360 |
fi
|
6950 | 7361 |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
|
6951 | 7362 |
if test -n "$ac_ct_DLLTOOL"; then
|
6952 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
|
6953 | |
$as_echo "$ac_ct_DLLTOOL" >&6; }
|
|
7363 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
|
|
7364 |
printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
|
6954 | 7365 |
else
|
6955 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6956 | |
$as_echo "no" >&6; }
|
|
7366 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7367 |
printf "%s\n" "no" >&6; }
|
6957 | 7368 |
fi
|
6958 | 7369 |
|
6959 | 7370 |
if test "x$ac_ct_DLLTOOL" = x; then
|
|
6961 | 7372 |
else
|
6962 | 7373 |
case $cross_compiling:$ac_tool_warned in
|
6963 | 7374 |
yes:)
|
6964 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
6965 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
7375 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7376 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6966 | 7377 |
ac_tool_warned=yes ;;
|
6967 | 7378 |
esac
|
6968 | 7379 |
DLLTOOL=$ac_ct_DLLTOOL
|
|
6982 | 7393 |
|
6983 | 7394 |
|
6984 | 7395 |
|
6985 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
|
6986 | |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
|
6987 | |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
|
6988 | |
$as_echo_n "(cached) " >&6
|
6989 | |
else
|
|
7396 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
|
|
7397 |
printf %s "checking how to associate runtime and link libraries... " >&6; }
|
|
7398 |
if test ${lt_cv_sharedlib_from_linklib_cmd+y}
|
|
7399 |
then :
|
|
7400 |
printf %s "(cached) " >&6
|
|
7401 |
else $as_nop
|
6990 | 7402 |
lt_cv_sharedlib_from_linklib_cmd='unknown'
|
6991 | 7403 |
|
6992 | 7404 |
case $host_os in
|
|
7009 | 7421 |
esac
|
7010 | 7422 |
|
7011 | 7423 |
fi
|
7012 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
|
7013 | |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
|
|
7424 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
|
|
7425 |
printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
|
7014 | 7426 |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
|
7015 | 7427 |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
|
7016 | 7428 |
|
|
7025 | 7437 |
do
|
7026 | 7438 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
7027 | 7439 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
7028 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7029 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7030 | |
if ${ac_cv_prog_AR+:} false; then :
|
7031 | |
$as_echo_n "(cached) " >&6
|
7032 | |
else
|
|
7440 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7441 |
printf %s "checking for $ac_word... " >&6; }
|
|
7442 |
if test ${ac_cv_prog_AR+y}
|
|
7443 |
then :
|
|
7444 |
printf %s "(cached) " >&6
|
|
7445 |
else $as_nop
|
7033 | 7446 |
if test -n "$AR"; then
|
7034 | 7447 |
ac_cv_prog_AR="$AR" # Let the user override the test.
|
7035 | 7448 |
else
|
|
7037 | 7450 |
for as_dir in $PATH
|
7038 | 7451 |
do
|
7039 | 7452 |
IFS=$as_save_IFS
|
7040 | |
test -z "$as_dir" && as_dir=.
|
|
7453 |
case $as_dir in #(((
|
|
7454 |
'') as_dir=./ ;;
|
|
7455 |
*/) ;;
|
|
7456 |
*) as_dir=$as_dir/ ;;
|
|
7457 |
esac
|
7041 | 7458 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7042 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
7459 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7043 | 7460 |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
|
7044 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7461 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7045 | 7462 |
break 2
|
7046 | 7463 |
fi
|
7047 | 7464 |
done
|
|
7052 | 7469 |
fi
|
7053 | 7470 |
AR=$ac_cv_prog_AR
|
7054 | 7471 |
if test -n "$AR"; then
|
7055 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
|
7056 | |
$as_echo "$AR" >&6; }
|
|
7472 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
|
|
7473 |
printf "%s\n" "$AR" >&6; }
|
7057 | 7474 |
else
|
7058 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7059 | |
$as_echo "no" >&6; }
|
|
7475 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7476 |
printf "%s\n" "no" >&6; }
|
7060 | 7477 |
fi
|
7061 | 7478 |
|
7062 | 7479 |
|
|
7069 | 7486 |
do
|
7070 | 7487 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
7071 | 7488 |
set dummy $ac_prog; ac_word=$2
|
7072 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7073 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7074 | |
if ${ac_cv_prog_ac_ct_AR+:} false; then :
|
7075 | |
$as_echo_n "(cached) " >&6
|
7076 | |
else
|
|
7489 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7490 |
printf %s "checking for $ac_word... " >&6; }
|
|
7491 |
if test ${ac_cv_prog_ac_ct_AR+y}
|
|
7492 |
then :
|
|
7493 |
printf %s "(cached) " >&6
|
|
7494 |
else $as_nop
|
7077 | 7495 |
if test -n "$ac_ct_AR"; then
|
7078 | 7496 |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
|
7079 | 7497 |
else
|
|
7081 | 7499 |
for as_dir in $PATH
|
7082 | 7500 |
do
|
7083 | 7501 |
IFS=$as_save_IFS
|
7084 | |
test -z "$as_dir" && as_dir=.
|
|
7502 |
case $as_dir in #(((
|
|
7503 |
'') as_dir=./ ;;
|
|
7504 |
*/) ;;
|
|
7505 |
*) as_dir=$as_dir/ ;;
|
|
7506 |
esac
|
7085 | 7507 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7086 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
7508 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7087 | 7509 |
ac_cv_prog_ac_ct_AR="$ac_prog"
|
7088 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7510 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7089 | 7511 |
break 2
|
7090 | 7512 |
fi
|
7091 | 7513 |
done
|
|
7096 | 7518 |
fi
|
7097 | 7519 |
ac_ct_AR=$ac_cv_prog_ac_ct_AR
|
7098 | 7520 |
if test -n "$ac_ct_AR"; then
|
7099 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
|
7100 | |
$as_echo "$ac_ct_AR" >&6; }
|
|
7521 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
|
|
7522 |
printf "%s\n" "$ac_ct_AR" >&6; }
|
7101 | 7523 |
else
|
7102 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7103 | |
$as_echo "no" >&6; }
|
|
7524 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7525 |
printf "%s\n" "no" >&6; }
|
7104 | 7526 |
fi
|
7105 | 7527 |
|
7106 | 7528 |
|
|
7112 | 7534 |
else
|
7113 | 7535 |
case $cross_compiling:$ac_tool_warned in
|
7114 | 7536 |
yes:)
|
7115 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7116 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
7537 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7538 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7117 | 7539 |
ac_tool_warned=yes ;;
|
7118 | 7540 |
esac
|
7119 | 7541 |
AR=$ac_ct_AR
|
|
7133 | 7555 |
|
7134 | 7556 |
|
7135 | 7557 |
|
7136 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
|
7137 | |
$as_echo_n "checking for archiver @FILE support... " >&6; }
|
7138 | |
if ${lt_cv_ar_at_file+:} false; then :
|
7139 | |
$as_echo_n "(cached) " >&6
|
7140 | |
else
|
|
7558 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
|
|
7559 |
printf %s "checking for archiver @FILE support... " >&6; }
|
|
7560 |
if test ${lt_cv_ar_at_file+y}
|
|
7561 |
then :
|
|
7562 |
printf %s "(cached) " >&6
|
|
7563 |
else $as_nop
|
7141 | 7564 |
lt_cv_ar_at_file=no
|
7142 | 7565 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7143 | 7566 |
/* end confdefs.h. */
|
7144 | 7567 |
|
7145 | 7568 |
int
|
7146 | |
main ()
|
|
7569 |
main (void)
|
7147 | 7570 |
{
|
7148 | 7571 |
|
7149 | 7572 |
;
|
7150 | 7573 |
return 0;
|
7151 | 7574 |
}
|
7152 | 7575 |
_ACEOF
|
7153 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
7576 |
if ac_fn_c_try_compile "$LINENO"
|
|
7577 |
then :
|
7154 | 7578 |
echo conftest.$ac_objext > conftest.lst
|
7155 | 7579 |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
|
7156 | 7580 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
|
7157 | 7581 |
(eval $lt_ar_try) 2>&5
|
7158 | 7582 |
ac_status=$?
|
7159 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
7583 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7160 | 7584 |
test $ac_status = 0; }
|
7161 | 7585 |
if test 0 -eq "$ac_status"; then
|
7162 | 7586 |
# Ensure the archiver fails upon bogus file names.
|
|
7164 | 7588 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
|
7165 | 7589 |
(eval $lt_ar_try) 2>&5
|
7166 | 7590 |
ac_status=$?
|
7167 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
7591 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7168 | 7592 |
test $ac_status = 0; }
|
7169 | 7593 |
if test 0 -ne "$ac_status"; then
|
7170 | 7594 |
lt_cv_ar_at_file=@
|
|
7173 | 7597 |
rm -f conftest.* libconftest.a
|
7174 | 7598 |
|
7175 | 7599 |
fi
|
7176 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7177 | |
|
7178 | |
fi
|
7179 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
|
7180 | |
$as_echo "$lt_cv_ar_at_file" >&6; }
|
|
7600 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
7601 |
|
|
7602 |
fi
|
|
7603 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
|
|
7604 |
printf "%s\n" "$lt_cv_ar_at_file" >&6; }
|
7181 | 7605 |
|
7182 | 7606 |
if test no = "$lt_cv_ar_at_file"; then
|
7183 | 7607 |
archiver_list_spec=
|
|
7194 | 7618 |
if test -n "$ac_tool_prefix"; then
|
7195 | 7619 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
7196 | 7620 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
7197 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7198 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7199 | |
if ${ac_cv_prog_STRIP+:} false; then :
|
7200 | |
$as_echo_n "(cached) " >&6
|
7201 | |
else
|
|
7621 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7622 |
printf %s "checking for $ac_word... " >&6; }
|
|
7623 |
if test ${ac_cv_prog_STRIP+y}
|
|
7624 |
then :
|
|
7625 |
printf %s "(cached) " >&6
|
|
7626 |
else $as_nop
|
7202 | 7627 |
if test -n "$STRIP"; then
|
7203 | 7628 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
7204 | 7629 |
else
|
|
7206 | 7631 |
for as_dir in $PATH
|
7207 | 7632 |
do
|
7208 | 7633 |
IFS=$as_save_IFS
|
7209 | |
test -z "$as_dir" && as_dir=.
|
|
7634 |
case $as_dir in #(((
|
|
7635 |
'') as_dir=./ ;;
|
|
7636 |
*/) ;;
|
|
7637 |
*) as_dir=$as_dir/ ;;
|
|
7638 |
esac
|
7210 | 7639 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7211 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
7640 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7212 | 7641 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
7213 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7642 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7214 | 7643 |
break 2
|
7215 | 7644 |
fi
|
7216 | 7645 |
done
|
|
7221 | 7650 |
fi
|
7222 | 7651 |
STRIP=$ac_cv_prog_STRIP
|
7223 | 7652 |
if test -n "$STRIP"; then
|
7224 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
7225 | |
$as_echo "$STRIP" >&6; }
|
|
7653 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
|
7654 |
printf "%s\n" "$STRIP" >&6; }
|
7226 | 7655 |
else
|
7227 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7228 | |
$as_echo "no" >&6; }
|
|
7656 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7657 |
printf "%s\n" "no" >&6; }
|
7229 | 7658 |
fi
|
7230 | 7659 |
|
7231 | 7660 |
|
|
7234 | 7663 |
ac_ct_STRIP=$STRIP
|
7235 | 7664 |
# Extract the first word of "strip", so it can be a program name with args.
|
7236 | 7665 |
set dummy strip; ac_word=$2
|
7237 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7238 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7239 | |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
7240 | |
$as_echo_n "(cached) " >&6
|
7241 | |
else
|
|
7666 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7667 |
printf %s "checking for $ac_word... " >&6; }
|
|
7668 |
if test ${ac_cv_prog_ac_ct_STRIP+y}
|
|
7669 |
then :
|
|
7670 |
printf %s "(cached) " >&6
|
|
7671 |
else $as_nop
|
7242 | 7672 |
if test -n "$ac_ct_STRIP"; then
|
7243 | 7673 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
7244 | 7674 |
else
|
|
7246 | 7676 |
for as_dir in $PATH
|
7247 | 7677 |
do
|
7248 | 7678 |
IFS=$as_save_IFS
|
7249 | |
test -z "$as_dir" && as_dir=.
|
|
7679 |
case $as_dir in #(((
|
|
7680 |
'') as_dir=./ ;;
|
|
7681 |
*/) ;;
|
|
7682 |
*) as_dir=$as_dir/ ;;
|
|
7683 |
esac
|
7250 | 7684 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7251 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
7685 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7252 | 7686 |
ac_cv_prog_ac_ct_STRIP="strip"
|
7253 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7687 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7254 | 7688 |
break 2
|
7255 | 7689 |
fi
|
7256 | 7690 |
done
|
|
7261 | 7695 |
fi
|
7262 | 7696 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
7263 | 7697 |
if test -n "$ac_ct_STRIP"; then
|
7264 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
7265 | |
$as_echo "$ac_ct_STRIP" >&6; }
|
|
7698 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
|
7699 |
printf "%s\n" "$ac_ct_STRIP" >&6; }
|
7266 | 7700 |
else
|
7267 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7268 | |
$as_echo "no" >&6; }
|
|
7701 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7702 |
printf "%s\n" "no" >&6; }
|
7269 | 7703 |
fi
|
7270 | 7704 |
|
7271 | 7705 |
if test "x$ac_ct_STRIP" = x; then
|
|
7273 | 7707 |
else
|
7274 | 7708 |
case $cross_compiling:$ac_tool_warned in
|
7275 | 7709 |
yes:)
|
7276 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7277 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
7710 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7711 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7278 | 7712 |
ac_tool_warned=yes ;;
|
7279 | 7713 |
esac
|
7280 | 7714 |
STRIP=$ac_ct_STRIP
|
|
7293 | 7727 |
if test -n "$ac_tool_prefix"; then
|
7294 | 7728 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
7295 | 7729 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
7296 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7297 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7298 | |
if ${ac_cv_prog_RANLIB+:} false; then :
|
7299 | |
$as_echo_n "(cached) " >&6
|
7300 | |
else
|
|
7730 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7731 |
printf %s "checking for $ac_word... " >&6; }
|
|
7732 |
if test ${ac_cv_prog_RANLIB+y}
|
|
7733 |
then :
|
|
7734 |
printf %s "(cached) " >&6
|
|
7735 |
else $as_nop
|
7301 | 7736 |
if test -n "$RANLIB"; then
|
7302 | 7737 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
7303 | 7738 |
else
|
|
7305 | 7740 |
for as_dir in $PATH
|
7306 | 7741 |
do
|
7307 | 7742 |
IFS=$as_save_IFS
|
7308 | |
test -z "$as_dir" && as_dir=.
|
|
7743 |
case $as_dir in #(((
|
|
7744 |
'') as_dir=./ ;;
|
|
7745 |
*/) ;;
|
|
7746 |
*) as_dir=$as_dir/ ;;
|
|
7747 |
esac
|
7309 | 7748 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7310 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
7749 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7311 | 7750 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
7312 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7751 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7313 | 7752 |
break 2
|
7314 | 7753 |
fi
|
7315 | 7754 |
done
|
|
7320 | 7759 |
fi
|
7321 | 7760 |
RANLIB=$ac_cv_prog_RANLIB
|
7322 | 7761 |
if test -n "$RANLIB"; then
|
7323 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
7324 | |
$as_echo "$RANLIB" >&6; }
|
|
7762 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
|
7763 |
printf "%s\n" "$RANLIB" >&6; }
|
7325 | 7764 |
else
|
7326 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7327 | |
$as_echo "no" >&6; }
|
|
7765 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7766 |
printf "%s\n" "no" >&6; }
|
7328 | 7767 |
fi
|
7329 | 7768 |
|
7330 | 7769 |
|
|
7333 | 7772 |
ac_ct_RANLIB=$RANLIB
|
7334 | 7773 |
# Extract the first word of "ranlib", so it can be a program name with args.
|
7335 | 7774 |
set dummy ranlib; ac_word=$2
|
7336 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7337 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
7338 | |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
|
7339 | |
$as_echo_n "(cached) " >&6
|
7340 | |
else
|
|
7775 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7776 |
printf %s "checking for $ac_word... " >&6; }
|
|
7777 |
if test ${ac_cv_prog_ac_ct_RANLIB+y}
|
|
7778 |
then :
|
|
7779 |
printf %s "(cached) " >&6
|
|
7780 |
else $as_nop
|
7341 | 7781 |
if test -n "$ac_ct_RANLIB"; then
|
7342 | 7782 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
7343 | 7783 |
else
|
|
7345 | 7785 |
for as_dir in $PATH
|
7346 | 7786 |
do
|
7347 | 7787 |
IFS=$as_save_IFS
|
7348 | |
test -z "$as_dir" && as_dir=.
|
|
7788 |
case $as_dir in #(((
|
|
7789 |
'') as_dir=./ ;;
|
|
7790 |
*/) ;;
|
|
7791 |
*) as_dir=$as_dir/ ;;
|
|
7792 |
esac
|
7349 | 7793 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7350 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
7794 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
7351 | 7795 |
ac_cv_prog_ac_ct_RANLIB="ranlib"
|
7352 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7796 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
7353 | 7797 |
break 2
|
7354 | 7798 |
fi
|
7355 | 7799 |
done
|
|
7360 | 7804 |
fi
|
7361 | 7805 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
7362 | 7806 |
if test -n "$ac_ct_RANLIB"; then
|
7363 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
7364 | |
$as_echo "$ac_ct_RANLIB" >&6; }
|
|
7807 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
|
7808 |
printf "%s\n" "$ac_ct_RANLIB" >&6; }
|
7365 | 7809 |
else
|
7366 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7367 | |
$as_echo "no" >&6; }
|
|
7810 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7811 |
printf "%s\n" "no" >&6; }
|
7368 | 7812 |
fi
|
7369 | 7813 |
|
7370 | 7814 |
if test "x$ac_ct_RANLIB" = x; then
|
|
7372 | 7816 |
else
|
7373 | 7817 |
case $cross_compiling:$ac_tool_warned in
|
7374 | 7818 |
yes:)
|
7375 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7376 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
7819 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7820 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7377 | 7821 |
ac_tool_warned=yes ;;
|
7378 | 7822 |
esac
|
7379 | 7823 |
RANLIB=$ac_ct_RANLIB
|
|
7462 | 7906 |
|
7463 | 7907 |
|
7464 | 7908 |
# Check for command to grab the raw symbol name followed by C symbol from nm.
|
7465 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
|
7466 | |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
|
7467 | |
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
|
7468 | |
$as_echo_n "(cached) " >&6
|
7469 | |
else
|
|
7909 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
|
|
7910 |
printf %s "checking command to parse $NM output from $compiler object... " >&6; }
|
|
7911 |
if test ${lt_cv_sys_global_symbol_pipe+y}
|
|
7912 |
then :
|
|
7913 |
printf %s "(cached) " >&6
|
|
7914 |
else $as_nop
|
7470 | 7915 |
|
7471 | 7916 |
# These are sane defaults that work on at least a few old systems.
|
7472 | 7917 |
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
|
|
7618 | 8063 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7619 | 8064 |
(eval $ac_compile) 2>&5
|
7620 | 8065 |
ac_status=$?
|
7621 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
8066 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7622 | 8067 |
test $ac_status = 0; }; then
|
7623 | 8068 |
# Now try to grab the symbols.
|
7624 | 8069 |
nlist=conftest.nm
|
|
7691 | 8136 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
7692 | 8137 |
(eval $ac_link) 2>&5
|
7693 | 8138 |
ac_status=$?
|
7694 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
8139 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7695 | 8140 |
test $ac_status = 0; } && test -s conftest$ac_exeext; then
|
7696 | 8141 |
pipe_works=yes
|
7697 | 8142 |
fi
|
|
7726 | 8171 |
lt_cv_sys_global_symbol_to_cdecl=
|
7727 | 8172 |
fi
|
7728 | 8173 |
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
|
7729 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
|
7730 | |
$as_echo "failed" >&6; }
|
|
8174 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
|
|
8175 |
printf "%s\n" "failed" >&6; }
|
7731 | 8176 |
else
|
7732 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
|
7733 | |
$as_echo "ok" >&6; }
|
|
8177 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
|
|
8178 |
printf "%s\n" "ok" >&6; }
|
7734 | 8179 |
fi
|
7735 | 8180 |
|
7736 | 8181 |
# Response file support.
|
|
7776 | 8221 |
|
7777 | 8222 |
|
7778 | 8223 |
|
7779 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
|
7780 | |
$as_echo_n "checking for sysroot... " >&6; }
|
|
8224 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
|
|
8225 |
printf %s "checking for sysroot... " >&6; }
|
7781 | 8226 |
|
7782 | 8227 |
# Check whether --with-sysroot was given.
|
7783 | |
if test "${with_sysroot+set}" = set; then :
|
|
8228 |
if test ${with_sysroot+y}
|
|
8229 |
then :
|
7784 | 8230 |
withval=$with_sysroot;
|
7785 | |
else
|
|
8231 |
else $as_nop
|
7786 | 8232 |
with_sysroot=no
|
7787 | 8233 |
fi
|
7788 | 8234 |
|
|
7800 | 8246 |
no|'')
|
7801 | 8247 |
;; #(
|
7802 | 8248 |
*)
|
7803 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
|
7804 | |
$as_echo "$with_sysroot" >&6; }
|
|
8249 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
|
|
8250 |
printf "%s\n" "$with_sysroot" >&6; }
|
7805 | 8251 |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
|
7806 | 8252 |
;;
|
7807 | 8253 |
esac
|
7808 | 8254 |
|
7809 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
|
7810 | |
$as_echo "${lt_sysroot:-no}" >&6; }
|
7811 | |
|
7812 | |
|
7813 | |
|
7814 | |
|
7815 | |
|
7816 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
|
7817 | |
$as_echo_n "checking for a working dd... " >&6; }
|
7818 | |
if ${ac_cv_path_lt_DD+:} false; then :
|
7819 | |
$as_echo_n "(cached) " >&6
|
7820 | |
else
|
|
8255 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
|
|
8256 |
printf "%s\n" "${lt_sysroot:-no}" >&6; }
|
|
8257 |
|
|
8258 |
|
|
8259 |
|
|
8260 |
|
|
8261 |
|
|
8262 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
|
|
8263 |
printf %s "checking for a working dd... " >&6; }
|
|
8264 |
if test ${ac_cv_path_lt_DD+y}
|
|
8265 |
then :
|
|
8266 |
printf %s "(cached) " >&6
|
|
8267 |
else $as_nop
|
7821 | 8268 |
printf 0123456789abcdef0123456789abcdef >conftest.i
|
7822 | 8269 |
cat conftest.i conftest.i >conftest2.i
|
7823 | 8270 |
: ${lt_DD:=$DD}
|
|
7828 | 8275 |
for as_dir in $PATH
|
7829 | 8276 |
do
|
7830 | 8277 |
IFS=$as_save_IFS
|
7831 | |
test -z "$as_dir" && as_dir=.
|
7832 | |
for ac_prog in dd; do
|
|
8278 |
case $as_dir in #(((
|
|
8279 |
'') as_dir=./ ;;
|
|
8280 |
*/) ;;
|
|
8281 |
*) as_dir=$as_dir/ ;;
|
|
8282 |
esac
|
|
8283 |
for ac_prog in dd
|
|
8284 |
do
|
7833 | 8285 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7834 | |
ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
|
|
8286 |
ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
|
7835 | 8287 |
as_fn_executable_p "$ac_path_lt_DD" || continue
|
7836 | 8288 |
if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
|
7837 | 8289 |
cmp -s conftest.i conftest.out \
|
|
7851 | 8303 |
|
7852 | 8304 |
rm -f conftest.i conftest2.i conftest.out
|
7853 | 8305 |
fi
|
7854 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
|
7855 | |
$as_echo "$ac_cv_path_lt_DD" >&6; }
|
7856 | |
|
7857 | |
|
7858 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
|
7859 | |
$as_echo_n "checking how to truncate binary pipes... " >&6; }
|
7860 | |
if ${lt_cv_truncate_bin+:} false; then :
|
7861 | |
$as_echo_n "(cached) " >&6
|
7862 | |
else
|
|
8306 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
|
|
8307 |
printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
|
|
8308 |
|
|
8309 |
|
|
8310 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
|
|
8311 |
printf %s "checking how to truncate binary pipes... " >&6; }
|
|
8312 |
if test ${lt_cv_truncate_bin+y}
|
|
8313 |
then :
|
|
8314 |
printf %s "(cached) " >&6
|
|
8315 |
else $as_nop
|
7863 | 8316 |
printf 0123456789abcdef0123456789abcdef >conftest.i
|
7864 | 8317 |
cat conftest.i conftest.i >conftest2.i
|
7865 | 8318 |
lt_cv_truncate_bin=
|
|
7870 | 8323 |
rm -f conftest.i conftest2.i conftest.out
|
7871 | 8324 |
test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
|
7872 | 8325 |
fi
|
7873 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
|
7874 | |
$as_echo "$lt_cv_truncate_bin" >&6; }
|
|
8326 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
|
|
8327 |
printf "%s\n" "$lt_cv_truncate_bin" >&6; }
|
7875 | 8328 |
|
7876 | 8329 |
|
7877 | 8330 |
|
|
7894 | 8347 |
}
|
7895 | 8348 |
|
7896 | 8349 |
# Check whether --enable-libtool-lock was given.
|
7897 | |
if test "${enable_libtool_lock+set}" = set; then :
|
|
8350 |
if test ${enable_libtool_lock+y}
|
|
8351 |
then :
|
7898 | 8352 |
enableval=$enable_libtool_lock;
|
7899 | 8353 |
fi
|
7900 | 8354 |
|
|
7910 | 8364 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7911 | 8365 |
(eval $ac_compile) 2>&5
|
7912 | 8366 |
ac_status=$?
|
7913 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
8367 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7914 | 8368 |
test $ac_status = 0; }; then
|
7915 | 8369 |
case `/usr/bin/file conftest.$ac_objext` in
|
7916 | 8370 |
*ELF-32*)
|
|
7930 | 8384 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7931 | 8385 |
(eval $ac_compile) 2>&5
|
7932 | 8386 |
ac_status=$?
|
7933 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
8387 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7934 | 8388 |
test $ac_status = 0; }; then
|
7935 | 8389 |
if test yes = "$lt_cv_prog_gnu_ld"; then
|
7936 | 8390 |
case `/usr/bin/file conftest.$ac_objext` in
|
|
7968 | 8422 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7969 | 8423 |
(eval $ac_compile) 2>&5
|
7970 | 8424 |
ac_status=$?
|
7971 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
8425 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7972 | 8426 |
test $ac_status = 0; }; then
|
7973 | 8427 |
emul=elf
|
7974 | 8428 |
case `/usr/bin/file conftest.$ac_objext` in
|
|
8009 | 8463 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
8010 | 8464 |
(eval $ac_compile) 2>&5
|
8011 | 8465 |
ac_status=$?
|
8012 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
8466 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
8013 | 8467 |
test $ac_status = 0; }; then
|
8014 | 8468 |
case `/usr/bin/file conftest.o` in
|
8015 | 8469 |
*32-bit*)
|
|
8072 | 8526 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
8073 | 8527 |
SAVE_CFLAGS=$CFLAGS
|
8074 | 8528 |
CFLAGS="$CFLAGS -belf"
|
8075 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
|
8076 | |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
|
8077 | |
if ${lt_cv_cc_needs_belf+:} false; then :
|
8078 | |
$as_echo_n "(cached) " >&6
|
8079 | |
else
|
|
8529 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
|
|
8530 |
printf %s "checking whether the C compiler needs -belf... " >&6; }
|
|
8531 |
if test ${lt_cv_cc_needs_belf+y}
|
|
8532 |
then :
|
|
8533 |
printf %s "(cached) " >&6
|
|
8534 |
else $as_nop
|
8080 | 8535 |
ac_ext=c
|
8081 | 8536 |
ac_cpp='$CPP $CPPFLAGS'
|
8082 | 8537 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
8087 | 8542 |
/* end confdefs.h. */
|
8088 | 8543 |
|
8089 | 8544 |
int
|
8090 | |
main ()
|
|
8545 |
main (void)
|
8091 | 8546 |
{
|
8092 | 8547 |
|
8093 | 8548 |
;
|
8094 | 8549 |
return 0;
|
8095 | 8550 |
}
|
8096 | 8551 |
_ACEOF
|
8097 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
8552 |
if ac_fn_c_try_link "$LINENO"
|
|
8553 |
then :
|
8098 | 8554 |
lt_cv_cc_needs_belf=yes
|
8099 | |
else
|
|
8555 |
else $as_nop
|
8100 | 8556 |
lt_cv_cc_needs_belf=no
|
8101 | 8557 |
fi
|
8102 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
8558 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
8103 | 8559 |
conftest$ac_exeext conftest.$ac_ext
|
8104 | 8560 |
ac_ext=c
|
8105 | 8561 |
ac_cpp='$CPP $CPPFLAGS'
|
|
8108 | 8564 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
8109 | 8565 |
|
8110 | 8566 |
fi
|
8111 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
|
8112 | |
$as_echo "$lt_cv_cc_needs_belf" >&6; }
|
|
8567 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
|
|
8568 |
printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
|
8113 | 8569 |
if test yes != "$lt_cv_cc_needs_belf"; then
|
8114 | 8570 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
|
8115 | 8571 |
CFLAGS=$SAVE_CFLAGS
|
|
8122 | 8578 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
8123 | 8579 |
(eval $ac_compile) 2>&5
|
8124 | 8580 |
ac_status=$?
|
8125 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
8581 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
8126 | 8582 |
test $ac_status = 0; }; then
|
8127 | 8583 |
case `/usr/bin/file conftest.o` in
|
8128 | 8584 |
*64-bit*)
|
|
8159 | 8615 |
if test -n "$ac_tool_prefix"; then
|
8160 | 8616 |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
|
8161 | 8617 |
set dummy ${ac_tool_prefix}mt; ac_word=$2
|
8162 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
8163 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
8164 | |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
|
8165 | |
$as_echo_n "(cached) " >&6
|
8166 | |
else
|
|
8618 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8619 |
printf %s "checking for $ac_word... " >&6; }
|
|
8620 |
if test ${ac_cv_prog_MANIFEST_TOOL+y}
|
|
8621 |
then :
|
|
8622 |
printf %s "(cached) " >&6
|
|
8623 |
else $as_nop
|
8167 | 8624 |
if test -n "$MANIFEST_TOOL"; then
|
8168 | 8625 |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
|
8169 | 8626 |
else
|
|
8171 | 8628 |
for as_dir in $PATH
|
8172 | 8629 |
do
|
8173 | 8630 |
IFS=$as_save_IFS
|
8174 | |
test -z "$as_dir" && as_dir=.
|
|
8631 |
case $as_dir in #(((
|
|
8632 |
'') as_dir=./ ;;
|
|
8633 |
*/) ;;
|
|
8634 |
*) as_dir=$as_dir/ ;;
|
|
8635 |
esac
|
8175 | 8636 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
8176 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8637 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
8177 | 8638 |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
|
8178 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8639 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
8179 | 8640 |
break 2
|
8180 | 8641 |
fi
|
8181 | 8642 |
done
|
|
8186 | 8647 |
fi
|
8187 | 8648 |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
|
8188 | 8649 |
if test -n "$MANIFEST_TOOL"; then
|
8189 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
|
8190 | |
$as_echo "$MANIFEST_TOOL" >&6; }
|
|
8650 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
|
|
8651 |
printf "%s\n" "$MANIFEST_TOOL" >&6; }
|
8191 | 8652 |
else
|
8192 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8193 | |
$as_echo "no" >&6; }
|
|
8653 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8654 |
printf "%s\n" "no" >&6; }
|
8194 | 8655 |
fi
|
8195 | 8656 |
|
8196 | 8657 |
|
|
8199 | 8660 |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
|
8200 | 8661 |
# Extract the first word of "mt", so it can be a program name with args.
|
8201 | 8662 |
set dummy mt; ac_word=$2
|
8202 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
8203 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
8204 | |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
|
8205 | |
$as_echo_n "(cached) " >&6
|
8206 | |
else
|
|
8663 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8664 |
printf %s "checking for $ac_word... " >&6; }
|
|
8665 |
if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
|
|
8666 |
then :
|
|
8667 |
printf %s "(cached) " >&6
|
|
8668 |
else $as_nop
|
8207 | 8669 |
if test -n "$ac_ct_MANIFEST_TOOL"; then
|
8208 | 8670 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
|
8209 | 8671 |
else
|
|
8211 | 8673 |
for as_dir in $PATH
|
8212 | 8674 |
do
|
8213 | 8675 |
IFS=$as_save_IFS
|
8214 | |
test -z "$as_dir" && as_dir=.
|
|
8676 |
case $as_dir in #(((
|
|
8677 |
'') as_dir=./ ;;
|
|
8678 |
*/) ;;
|
|
8679 |
*) as_dir=$as_dir/ ;;
|
|
8680 |
esac
|
8215 | 8681 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
8216 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8682 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
8217 | 8683 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
|
8218 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8684 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
8219 | 8685 |
break 2
|
8220 | 8686 |
fi
|
8221 | 8687 |
done
|
|
8226 | 8692 |
fi
|
8227 | 8693 |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
|
8228 | 8694 |
if test -n "$ac_ct_MANIFEST_TOOL"; then
|
8229 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
|
8230 | |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
|
|
8695 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
|
|
8696 |
printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
|
8231 | 8697 |
else
|
8232 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8233 | |
$as_echo "no" >&6; }
|
|
8698 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8699 |
printf "%s\n" "no" >&6; }
|
8234 | 8700 |
fi
|
8235 | 8701 |
|
8236 | 8702 |
if test "x$ac_ct_MANIFEST_TOOL" = x; then
|
|
8238 | 8704 |
else
|
8239 | 8705 |
case $cross_compiling:$ac_tool_warned in
|
8240 | 8706 |
yes:)
|
8241 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
8242 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
8707 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
8708 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
8243 | 8709 |
ac_tool_warned=yes ;;
|
8244 | 8710 |
esac
|
8245 | 8711 |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
|
|
8249 | 8715 |
fi
|
8250 | 8716 |
|
8251 | 8717 |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
|
8252 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
|
8253 | |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
|
8254 | |
if ${lt_cv_path_mainfest_tool+:} false; then :
|
8255 | |
$as_echo_n "(cached) " >&6
|
8256 | |
else
|
|
8718 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
|
|
8719 |
printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
|
|
8720 |
if test ${lt_cv_path_mainfest_tool+y}
|
|
8721 |
then :
|
|
8722 |
printf %s "(cached) " >&6
|
|
8723 |
else $as_nop
|
8257 | 8724 |
lt_cv_path_mainfest_tool=no
|
8258 | 8725 |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
|
8259 | 8726 |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
|
|
8263 | 8730 |
fi
|
8264 | 8731 |
rm -f conftest*
|
8265 | 8732 |
fi
|
8266 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
|
8267 | |
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
|
|
8733 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
|
|
8734 |
printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
|
8268 | 8735 |
if test yes != "$lt_cv_path_mainfest_tool"; then
|
8269 | 8736 |
MANIFEST_TOOL=:
|
8270 | 8737 |
fi
|
|
8279 | 8746 |
if test -n "$ac_tool_prefix"; then
|
8280 | 8747 |
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
|
8281 | 8748 |
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
|
8282 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
8283 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
8284 | |
if ${ac_cv_prog_DSYMUTIL+:} false; then :
|
8285 | |
$as_echo_n "(cached) " >&6
|
8286 | |
else
|
|
8749 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8750 |
printf %s "checking for $ac_word... " >&6; }
|
|
8751 |
if test ${ac_cv_prog_DSYMUTIL+y}
|
|
8752 |
then :
|
|
8753 |
printf %s "(cached) " >&6
|
|
8754 |
else $as_nop
|
8287 | 8755 |
if test -n "$DSYMUTIL"; then
|
8288 | 8756 |
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
|
8289 | 8757 |
else
|
|
8291 | 8759 |
for as_dir in $PATH
|
8292 | 8760 |
do
|
8293 | 8761 |
IFS=$as_save_IFS
|
8294 | |
test -z "$as_dir" && as_dir=.
|
|
8762 |
case $as_dir in #(((
|
|
8763 |
'') as_dir=./ ;;
|
|
8764 |
*/) ;;
|
|
8765 |
*) as_dir=$as_dir/ ;;
|
|
8766 |
esac
|
8295 | 8767 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
8296 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8768 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
8297 | 8769 |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
|
8298 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8770 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
8299 | 8771 |
break 2
|
8300 | 8772 |
fi
|
8301 | 8773 |
done
|
|
8306 | 8778 |
fi
|
8307 | 8779 |
DSYMUTIL=$ac_cv_prog_DSYMUTIL
|
8308 | 8780 |
if test -n "$DSYMUTIL"; then
|
8309 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
|
8310 | |
$as_echo "$DSYMUTIL" >&6; }
|
|
8781 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
|
|
8782 |
printf "%s\n" "$DSYMUTIL" >&6; }
|
8311 | 8783 |
else
|
8312 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8313 | |
$as_echo "no" >&6; }
|
|
8784 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8785 |
printf "%s\n" "no" >&6; }
|
8314 | 8786 |
fi
|
8315 | 8787 |
|
8316 | 8788 |
|
|
8319 | 8791 |
ac_ct_DSYMUTIL=$DSYMUTIL
|
8320 | 8792 |
# Extract the first word of "dsymutil", so it can be a program name with args.
|
8321 | 8793 |
set dummy dsymutil; ac_word=$2
|
8322 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
8323 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
8324 | |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
|
8325 | |
$as_echo_n "(cached) " >&6
|
8326 | |
else
|
|
8794 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8795 |
printf %s "checking for $ac_word... " >&6; }
|
|
8796 |
if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
|
|
8797 |
then :
|
|
8798 |
printf %s "(cached) " >&6
|
|
8799 |
else $as_nop
|
8327 | 8800 |
if test -n "$ac_ct_DSYMUTIL"; then
|
8328 | 8801 |
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
|
8329 | 8802 |
else
|
|
8331 | 8804 |
for as_dir in $PATH
|
8332 | 8805 |
do
|
8333 | 8806 |
IFS=$as_save_IFS
|
8334 | |
test -z "$as_dir" && as_dir=.
|
|
8807 |
case $as_dir in #(((
|
|
8808 |
'') as_dir=./ ;;
|
|
8809 |
*/) ;;
|
|
8810 |
*) as_dir=$as_dir/ ;;
|
|
8811 |
esac
|
8335 | 8812 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
8336 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8813 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
8337 | 8814 |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
|
8338 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8815 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
8339 | 8816 |
break 2
|
8340 | 8817 |
fi
|
8341 | 8818 |
done
|
|
8346 | 8823 |
fi
|
8347 | 8824 |
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
|
8348 | 8825 |
if test -n "$ac_ct_DSYMUTIL"; then
|
8349 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
|
8350 | |
$as_echo "$ac_ct_DSYMUTIL" >&6; }
|
|
8826 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
|
|
8827 |
printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
|
8351 | 8828 |
else
|
8352 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8353 | |
$as_echo "no" >&6; }
|
|
8829 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8830 |
printf "%s\n" "no" >&6; }
|
8354 | 8831 |
fi
|
8355 | 8832 |
|
8356 | 8833 |
if test "x$ac_ct_DSYMUTIL" = x; then
|
|
8358 | 8835 |
else
|
8359 | 8836 |
case $cross_compiling:$ac_tool_warned in
|
8360 | 8837 |
yes:)
|
8361 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
8362 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
8838 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
8839 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
8363 | 8840 |
ac_tool_warned=yes ;;
|
8364 | 8841 |
esac
|
8365 | 8842 |
DSYMUTIL=$ac_ct_DSYMUTIL
|
|
8371 | 8848 |
if test -n "$ac_tool_prefix"; then
|
8372 | 8849 |
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
|
8373 | 8850 |
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
|
8374 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
8375 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
8376 | |
if ${ac_cv_prog_NMEDIT+:} false; then :
|
8377 | |
$as_echo_n "(cached) " >&6
|
8378 | |
else
|
|
8851 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8852 |
printf %s "checking for $ac_word... " >&6; }
|
|
8853 |
if test ${ac_cv_prog_NMEDIT+y}
|
|
8854 |
then :
|
|
8855 |
printf %s "(cached) " >&6
|
|
8856 |
else $as_nop
|
8379 | 8857 |
if test -n "$NMEDIT"; then
|
8380 | 8858 |
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
|
8381 | 8859 |
else
|
|
8383 | 8861 |
for as_dir in $PATH
|
8384 | 8862 |
do
|
8385 | 8863 |
IFS=$as_save_IFS
|
8386 | |
test -z "$as_dir" && as_dir=.
|
|
8864 |
case $as_dir in #(((
|
|
8865 |
'') as_dir=./ ;;
|
|
8866 |
*/) ;;
|
|
8867 |
*) as_dir=$as_dir/ ;;
|
|
8868 |
esac
|
8387 | 8869 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
8388 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8870 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
8389 | 8871 |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
|
8390 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8872 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
8391 | 8873 |
break 2
|
8392 | 8874 |
fi
|
8393 | 8875 |
done
|
|
8398 | 8880 |
fi
|
8399 | 8881 |
NMEDIT=$ac_cv_prog_NMEDIT
|
8400 | 8882 |
if test -n "$NMEDIT"; then
|
8401 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
|
8402 | |
$as_echo "$NMEDIT" >&6; }
|
|
8883 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
|
|
8884 |
printf "%s\n" "$NMEDIT" >&6; }
|
8403 | 8885 |
else
|
8404 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8405 | |
$as_echo "no" >&6; }
|
|
8886 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8887 |
printf "%s\n" "no" >&6; }
|
8406 | 8888 |
fi
|
8407 | 8889 |
|
8408 | 8890 |
|
|
8411 | 8893 |
ac_ct_NMEDIT=$NMEDIT
|
8412 | 8894 |
# Extract the first word of "nmedit", so it can be a program name with args.
|
8413 | 8895 |
set dummy nmedit; ac_word=$2
|
8414 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
8415 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
8416 | |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
|
8417 | |
$as_echo_n "(cached) " >&6
|
8418 | |
else
|
|
8896 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8897 |
printf %s "checking for $ac_word... " >&6; }
|
|
8898 |
if test ${ac_cv_prog_ac_ct_NMEDIT+y}
|
|
8899 |
then :
|
|
8900 |
printf %s "(cached) " >&6
|
|
8901 |
else $as_nop
|
8419 | 8902 |
if test -n "$ac_ct_NMEDIT"; then
|
8420 | 8903 |
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
|
8421 | 8904 |
else
|
|
8423 | 8906 |
for as_dir in $PATH
|
8424 | 8907 |
do
|
8425 | 8908 |
IFS=$as_save_IFS
|
8426 | |
test -z "$as_dir" && as_dir=.
|
|
8909 |
case $as_dir in #(((
|
|
8910 |
'') as_dir=./ ;;
|
|
8911 |
*/) ;;
|
|
8912 |
*) as_dir=$as_dir/ ;;
|
|
8913 |
esac
|
8427 | 8914 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
8428 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8915 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
8429 | 8916 |
ac_cv_prog_ac_ct_NMEDIT="nmedit"
|
8430 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8917 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
8431 | 8918 |
break 2
|
8432 | 8919 |
fi
|
8433 | 8920 |
done
|
|
8438 | 8925 |
fi
|
8439 | 8926 |
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
|
8440 | 8927 |
if test -n "$ac_ct_NMEDIT"; then
|
8441 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
|
8442 | |
$as_echo "$ac_ct_NMEDIT" >&6; }
|
|
8928 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
|
|
8929 |
printf "%s\n" "$ac_ct_NMEDIT" >&6; }
|
8443 | 8930 |
else
|
8444 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8445 | |
$as_echo "no" >&6; }
|
|
8931 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8932 |
printf "%s\n" "no" >&6; }
|
8446 | 8933 |
fi
|
8447 | 8934 |
|
8448 | 8935 |
if test "x$ac_ct_NMEDIT" = x; then
|
|
8450 | 8937 |
else
|
8451 | 8938 |
case $cross_compiling:$ac_tool_warned in
|
8452 | 8939 |
yes:)
|
8453 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
8454 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
8940 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
8941 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
8455 | 8942 |
ac_tool_warned=yes ;;
|
8456 | 8943 |
esac
|
8457 | 8944 |
NMEDIT=$ac_ct_NMEDIT
|
|
8463 | 8950 |
if test -n "$ac_tool_prefix"; then
|
8464 | 8951 |
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
|
8465 | 8952 |
set dummy ${ac_tool_prefix}lipo; ac_word=$2
|
8466 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
8467 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
8468 | |
if ${ac_cv_prog_LIPO+:} false; then :
|
8469 | |
$as_echo_n "(cached) " >&6
|
8470 | |
else
|
|
8953 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8954 |
printf %s "checking for $ac_word... " >&6; }
|
|
8955 |
if test ${ac_cv_prog_LIPO+y}
|
|
8956 |
then :
|
|
8957 |
printf %s "(cached) " >&6
|
|
8958 |
else $as_nop
|
8471 | 8959 |
if test -n "$LIPO"; then
|
8472 | 8960 |
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
|
8473 | 8961 |
else
|
|
8475 | 8963 |
for as_dir in $PATH
|
8476 | 8964 |
do
|
8477 | 8965 |
IFS=$as_save_IFS
|
8478 | |
test -z "$as_dir" && as_dir=.
|
|
8966 |
case $as_dir in #(((
|
|
8967 |
'') as_dir=./ ;;
|
|
8968 |
*/) ;;
|
|
8969 |
*) as_dir=$as_dir/ ;;
|
|
8970 |
esac
|
8479 | 8971 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
8480 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
8972 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
8481 | 8973 |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
|
8482 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8974 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
8483 | 8975 |
break 2
|
8484 | 8976 |
fi
|
8485 | 8977 |
done
|
|
8490 | 8982 |
fi
|
8491 | 8983 |
LIPO=$ac_cv_prog_LIPO
|
8492 | 8984 |
if test -n "$LIPO"; then
|
8493 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
|
8494 | |
$as_echo "$LIPO" >&6; }
|
|
8985 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
|
|
8986 |
printf "%s\n" "$LIPO" >&6; }
|
8495 | 8987 |
else
|
8496 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8497 | |
$as_echo "no" >&6; }
|
|
8988 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8989 |
printf "%s\n" "no" >&6; }
|
8498 | 8990 |
fi
|
8499 | 8991 |
|
8500 | 8992 |
|
|
8503 | 8995 |
ac_ct_LIPO=$LIPO
|
8504 | 8996 |
# Extract the first word of "lipo", so it can be a program name with args.
|
8505 | 8997 |
set dummy lipo; ac_word=$2
|
8506 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
8507 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
8508 | |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
|
8509 | |
$as_echo_n "(cached) " >&6
|
8510 | |
else
|
|
8998 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8999 |
printf %s "checking for $ac_word... " >&6; }
|
|
9000 |
if test ${ac_cv_prog_ac_ct_LIPO+y}
|
|
9001 |
then :
|
|
9002 |
printf %s "(cached) " >&6
|
|
9003 |
else $as_nop
|
8511 | 9004 |
if test -n "$ac_ct_LIPO"; then
|
8512 | 9005 |
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
|
8513 | 9006 |
else
|
|
8515 | 9008 |
for as_dir in $PATH
|
8516 | 9009 |
do
|
8517 | 9010 |
IFS=$as_save_IFS
|
8518 | |
test -z "$as_dir" && as_dir=.
|
|
9011 |
case $as_dir in #(((
|
|
9012 |
'') as_dir=./ ;;
|
|
9013 |
*/) ;;
|
|
9014 |
*) as_dir=$as_dir/ ;;
|
|
9015 |
esac
|
8519 | 9016 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
8520 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
9017 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
8521 | 9018 |
ac_cv_prog_ac_ct_LIPO="lipo"
|
8522 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
9019 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
8523 | 9020 |
break 2
|
8524 | 9021 |
fi
|
8525 | 9022 |
done
|
|
8530 | 9027 |
fi
|
8531 | 9028 |
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
|
8532 | 9029 |
if test -n "$ac_ct_LIPO"; then
|
8533 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
|
8534 | |
$as_echo "$ac_ct_LIPO" >&6; }
|
|
9030 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
|
|
9031 |
printf "%s\n" "$ac_ct_LIPO" >&6; }
|
8535 | 9032 |
else
|
8536 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8537 | |
$as_echo "no" >&6; }
|
|
9033 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
9034 |
printf "%s\n" "no" >&6; }
|
8538 | 9035 |
fi
|
8539 | 9036 |
|
8540 | 9037 |
if test "x$ac_ct_LIPO" = x; then
|
|
8542 | 9039 |
else
|
8543 | 9040 |
case $cross_compiling:$ac_tool_warned in
|
8544 | 9041 |
yes:)
|
8545 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
8546 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
9042 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
9043 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
8547 | 9044 |
ac_tool_warned=yes ;;
|
8548 | 9045 |
esac
|
8549 | 9046 |
LIPO=$ac_ct_LIPO
|
|
8555 | 9052 |
if test -n "$ac_tool_prefix"; then
|
8556 | 9053 |
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
|
8557 | 9054 |
set dummy ${ac_tool_prefix}otool; ac_word=$2
|
8558 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
8559 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
8560 | |
if ${ac_cv_prog_OTOOL+:} false; then :
|
8561 | |
$as_echo_n "(cached) " >&6
|
8562 | |
else
|
|
9055 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
9056 |
printf %s "checking for $ac_word... " >&6; }
|
|
9057 |
if test ${ac_cv_prog_OTOOL+y}
|
|
9058 |
then :
|
|
9059 |
printf %s "(cached) " >&6
|
|
9060 |
else $as_nop
|
8563 | 9061 |
if test -n "$OTOOL"; then
|
8564 | 9062 |
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
|
8565 | 9063 |
else
|
|
8567 | 9065 |
for as_dir in $PATH
|
8568 | 9066 |
do
|
8569 | 9067 |
IFS=$as_save_IFS
|
8570 | |
test -z "$as_dir" && as_dir=.
|
|
9068 |
case $as_dir in #(((
|
|
9069 |
'') as_dir=./ ;;
|
|
9070 |
*/) ;;
|
|
9071 |
*) as_dir=$as_dir/ ;;
|
|
9072 |
esac
|
8571 | 9073 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
8572 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
9074 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
8573 | 9075 |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
|
8574 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
9076 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
8575 | 9077 |
break 2
|
8576 | 9078 |
fi
|
8577 | 9079 |
done
|
|
8582 | 9084 |
fi
|
8583 | 9085 |
OTOOL=$ac_cv_prog_OTOOL
|
8584 | 9086 |
if test -n "$OTOOL"; then
|
8585 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
|
8586 | |
$as_echo "$OTOOL" >&6; }
|
|
9087 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
|
|
9088 |
printf "%s\n" "$OTOOL" >&6; }
|
8587 | 9089 |
else
|
8588 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8589 | |
$as_echo "no" >&6; }
|
|
9090 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
9091 |
printf "%s\n" "no" >&6; }
|
8590 | 9092 |
fi
|
8591 | 9093 |
|
8592 | 9094 |
|
|
8595 | 9097 |
ac_ct_OTOOL=$OTOOL
|
8596 | 9098 |
# Extract the first word of "otool", so it can be a program name with args.
|
8597 | 9099 |
set dummy otool; ac_word=$2
|
8598 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
8599 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
8600 | |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
|
8601 | |
$as_echo_n "(cached) " >&6
|
8602 | |
else
|
|
9100 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
9101 |
printf %s "checking for $ac_word... " >&6; }
|
|
9102 |
if test ${ac_cv_prog_ac_ct_OTOOL+y}
|
|
9103 |
then :
|
|
9104 |
printf %s "(cached) " >&6
|
|
9105 |
else $as_nop
|
8603 | 9106 |
if test -n "$ac_ct_OTOOL"; then
|
8604 | 9107 |
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
|
8605 | 9108 |
else
|
|
8607 | 9110 |
for as_dir in $PATH
|
8608 | 9111 |
do
|
8609 | 9112 |
IFS=$as_save_IFS
|
8610 | |
test -z "$as_dir" && as_dir=.
|
|
9113 |
case $as_dir in #(((
|
|
9114 |
'') as_dir=./ ;;
|
|
9115 |
*/) ;;
|
|
9116 |
*) as_dir=$as_dir/ ;;
|
|
9117 |
esac
|
8611 | 9118 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
8612 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
9119 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
8613 | 9120 |
ac_cv_prog_ac_ct_OTOOL="otool"
|
8614 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
9121 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
8615 | 9122 |
break 2
|
8616 | 9123 |
fi
|
8617 | 9124 |
done
|
|
8622 | 9129 |
fi
|
8623 | 9130 |
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
|
8624 | 9131 |
if test -n "$ac_ct_OTOOL"; then
|
8625 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
|
8626 | |
$as_echo "$ac_ct_OTOOL" >&6; }
|
|
9132 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
|
|
9133 |
printf "%s\n" "$ac_ct_OTOOL" >&6; }
|
8627 | 9134 |
else
|
8628 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8629 | |
$as_echo "no" >&6; }
|
|
9135 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
9136 |
printf "%s\n" "no" >&6; }
|
8630 | 9137 |
fi
|
8631 | 9138 |
|
8632 | 9139 |
if test "x$ac_ct_OTOOL" = x; then
|
|
8634 | 9141 |
else
|
8635 | 9142 |
case $cross_compiling:$ac_tool_warned in
|
8636 | 9143 |
yes:)
|
8637 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
8638 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
9144 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
9145 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
8639 | 9146 |
ac_tool_warned=yes ;;
|
8640 | 9147 |
esac
|
8641 | 9148 |
OTOOL=$ac_ct_OTOOL
|
|
8647 | 9154 |
if test -n "$ac_tool_prefix"; then
|
8648 | 9155 |
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
|
8649 | 9156 |
set dummy ${ac_tool_prefix}otool64; ac_word=$2
|
8650 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
8651 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
8652 | |
if ${ac_cv_prog_OTOOL64+:} false; then :
|
8653 | |
$as_echo_n "(cached) " >&6
|
8654 | |
else
|
|
9157 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
9158 |
printf %s "checking for $ac_word... " >&6; }
|
|
9159 |
if test ${ac_cv_prog_OTOOL64+y}
|
|
9160 |
then :
|
|
9161 |
printf %s "(cached) " >&6
|
|
9162 |
else $as_nop
|
8655 | 9163 |
if test -n "$OTOOL64"; then
|
8656 | 9164 |
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
|
8657 | 9165 |
else
|
|
8659 | 9167 |
for as_dir in $PATH
|
8660 | 9168 |
do
|
8661 | 9169 |
IFS=$as_save_IFS
|
8662 | |
test -z "$as_dir" && as_dir=.
|
|
9170 |
case $as_dir in #(((
|
|
9171 |
'') as_dir=./ ;;
|
|
9172 |
*/) ;;
|
|
9173 |
*) as_dir=$as_dir/ ;;
|
|
9174 |
esac
|
8663 | 9175 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
8664 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
9176 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
8665 | 9177 |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
|
8666 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
9178 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
8667 | 9179 |
break 2
|
8668 | 9180 |
fi
|
8669 | 9181 |
done
|
|
8674 | 9186 |
fi
|
8675 | 9187 |
OTOOL64=$ac_cv_prog_OTOOL64
|
8676 | 9188 |
if test -n "$OTOOL64"; then
|
8677 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
|
8678 | |
$as_echo "$OTOOL64" >&6; }
|
|
9189 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
|
|
9190 |
printf "%s\n" "$OTOOL64" >&6; }
|
8679 | 9191 |
else
|
8680 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8681 | |
$as_echo "no" >&6; }
|
|
9192 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
9193 |
printf "%s\n" "no" >&6; }
|
8682 | 9194 |
fi
|
8683 | 9195 |
|
8684 | 9196 |
|
|
8687 | 9199 |
ac_ct_OTOOL64=$OTOOL64
|
8688 | 9200 |
# Extract the first word of "otool64", so it can be a program name with args.
|
8689 | 9201 |
set dummy otool64; ac_word=$2
|
8690 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
8691 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
8692 | |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
|
8693 | |
$as_echo_n "(cached) " >&6
|
8694 | |
else
|
|
9202 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
9203 |
printf %s "checking for $ac_word... " >&6; }
|
|
9204 |
if test ${ac_cv_prog_ac_ct_OTOOL64+y}
|
|
9205 |
then :
|
|
9206 |
printf %s "(cached) " >&6
|
|
9207 |
else $as_nop
|
8695 | 9208 |
if test -n "$ac_ct_OTOOL64"; then
|
8696 | 9209 |
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
|
8697 | 9210 |
else
|
|
8699 | 9212 |
for as_dir in $PATH
|
8700 | 9213 |
do
|
8701 | 9214 |
IFS=$as_save_IFS
|
8702 | |
test -z "$as_dir" && as_dir=.
|
|
9215 |
case $as_dir in #(((
|
|
9216 |
'') as_dir=./ ;;
|
|
9217 |
*/) ;;
|
|
9218 |
*) as_dir=$as_dir/ ;;
|
|
9219 |
esac
|
8703 | 9220 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
8704 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
9221 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
8705 | 9222 |
ac_cv_prog_ac_ct_OTOOL64="otool64"
|
8706 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
9223 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
8707 | 9224 |
break 2
|
8708 | 9225 |
fi
|
8709 | 9226 |
done
|
|
8714 | 9231 |
fi
|
8715 | 9232 |
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
|
8716 | 9233 |
if test -n "$ac_ct_OTOOL64"; then
|
8717 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
|
8718 | |
$as_echo "$ac_ct_OTOOL64" >&6; }
|
|
9234 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
|
|
9235 |
printf "%s\n" "$ac_ct_OTOOL64" >&6; }
|
8719 | 9236 |
else
|
8720 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8721 | |
$as_echo "no" >&6; }
|
|
9237 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
9238 |
printf "%s\n" "no" >&6; }
|
8722 | 9239 |
fi
|
8723 | 9240 |
|
8724 | 9241 |
if test "x$ac_ct_OTOOL64" = x; then
|
|
8726 | 9243 |
else
|
8727 | 9244 |
case $cross_compiling:$ac_tool_warned in
|
8728 | 9245 |
yes:)
|
8729 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
8730 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
9246 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
9247 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
8731 | 9248 |
ac_tool_warned=yes ;;
|
8732 | 9249 |
esac
|
8733 | 9250 |
OTOOL64=$ac_ct_OTOOL64
|
|
8762 | 9279 |
|
8763 | 9280 |
|
8764 | 9281 |
|
8765 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
|
8766 | |
$as_echo_n "checking for -single_module linker flag... " >&6; }
|
8767 | |
if ${lt_cv_apple_cc_single_mod+:} false; then :
|
8768 | |
$as_echo_n "(cached) " >&6
|
8769 | |
else
|
|
9282 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
|
|
9283 |
printf %s "checking for -single_module linker flag... " >&6; }
|
|
9284 |
if test ${lt_cv_apple_cc_single_mod+y}
|
|
9285 |
then :
|
|
9286 |
printf %s "(cached) " >&6
|
|
9287 |
else $as_nop
|
8770 | 9288 |
lt_cv_apple_cc_single_mod=no
|
8771 | 9289 |
if test -z "$LT_MULTI_MODULE"; then
|
8772 | 9290 |
# By default we will add the -single_module flag. You can override
|
|
8795 | 9313 |
rm -f conftest.*
|
8796 | 9314 |
fi
|
8797 | 9315 |
fi
|
8798 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
|
8799 | |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
|
8800 | |
|
8801 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
|
8802 | |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
|
8803 | |
if ${lt_cv_ld_exported_symbols_list+:} false; then :
|
8804 | |
$as_echo_n "(cached) " >&6
|
8805 | |
else
|
|
9316 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
|
|
9317 |
printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
|
|
9318 |
|
|
9319 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
|
|
9320 |
printf %s "checking for -exported_symbols_list linker flag... " >&6; }
|
|
9321 |
if test ${lt_cv_ld_exported_symbols_list+y}
|
|
9322 |
then :
|
|
9323 |
printf %s "(cached) " >&6
|
|
9324 |
else $as_nop
|
8806 | 9325 |
lt_cv_ld_exported_symbols_list=no
|
8807 | 9326 |
save_LDFLAGS=$LDFLAGS
|
8808 | 9327 |
echo "_main" > conftest.sym
|
|
8811 | 9330 |
/* end confdefs.h. */
|
8812 | 9331 |
|
8813 | 9332 |
int
|
8814 | |
main ()
|
|
9333 |
main (void)
|
8815 | 9334 |
{
|
8816 | 9335 |
|
8817 | 9336 |
;
|
8818 | 9337 |
return 0;
|
8819 | 9338 |
}
|
8820 | 9339 |
_ACEOF
|
8821 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
9340 |
if ac_fn_c_try_link "$LINENO"
|
|
9341 |
then :
|
8822 | 9342 |
lt_cv_ld_exported_symbols_list=yes
|
8823 | |
else
|
|
9343 |
else $as_nop
|
8824 | 9344 |
lt_cv_ld_exported_symbols_list=no
|
8825 | 9345 |
fi
|
8826 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
9346 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
8827 | 9347 |
conftest$ac_exeext conftest.$ac_ext
|
8828 | 9348 |
LDFLAGS=$save_LDFLAGS
|
8829 | 9349 |
|
8830 | 9350 |
fi
|
8831 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
|
8832 | |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
|
8833 | |
|
8834 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
|
8835 | |
$as_echo_n "checking for -force_load linker flag... " >&6; }
|
8836 | |
if ${lt_cv_ld_force_load+:} false; then :
|
8837 | |
$as_echo_n "(cached) " >&6
|
8838 | |
else
|
|
9351 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
|
|
9352 |
printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
|
|
9353 |
|
|
9354 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
|
|
9355 |
printf %s "checking for -force_load linker flag... " >&6; }
|
|
9356 |
if test ${lt_cv_ld_force_load+y}
|
|
9357 |
then :
|
|
9358 |
printf %s "(cached) " >&6
|
|
9359 |
else $as_nop
|
8839 | 9360 |
lt_cv_ld_force_load=no
|
8840 | 9361 |
cat > conftest.c << _LT_EOF
|
8841 | 9362 |
int forced_loaded() { return 2;}
|
|
8863 | 9384 |
rm -rf conftest.dSYM
|
8864 | 9385 |
|
8865 | 9386 |
fi
|
8866 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
8867 | |
$as_echo "$lt_cv_ld_force_load" >&6; }
|
|
9387 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
|
9388 |
printf "%s\n" "$lt_cv_ld_force_load" >&6; }
|
8868 | 9389 |
case $host_os in
|
8869 | 9390 |
rhapsody* | darwin1.[012])
|
8870 | 9391 |
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
|
|
8875 | 9396 |
# to the OS version, if on x86, and 10.4, the deployment
|
8876 | 9397 |
# target defaults to 10.4. Don't you love it?
|
8877 | 9398 |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
8878 | |
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
|
9399 |
10.0,*86*-darwin8*|10.0,*-darwin[912]*)
|
8879 | 9400 |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
|
8880 | 9401 |
10.[012][,.]*)
|
8881 | 9402 |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
8882 | |
10.*)
|
|
9403 |
10.*|11.*)
|
8883 | 9404 |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
|
8884 | 9405 |
esac
|
8885 | 9406 |
;;
|
|
8935 | 9456 |
esac
|
8936 | 9457 |
}
|
8937 | 9458 |
|
8938 | |
for ac_header in dlfcn.h
|
8939 | |
do :
|
8940 | |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
|
|
9459 |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
|
8941 | 9460 |
"
|
8942 | |
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
|
8943 | |
cat >>confdefs.h <<_ACEOF
|
8944 | |
#define HAVE_DLFCN_H 1
|
8945 | |
_ACEOF
|
8946 | |
|
8947 | |
fi
|
8948 | |
|
8949 | |
done
|
|
9461 |
if test "x$ac_cv_header_dlfcn_h" = xyes
|
|
9462 |
then :
|
|
9463 |
printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
|
|
9464 |
|
|
9465 |
fi
|
8950 | 9466 |
|
8951 | 9467 |
|
8952 | 9468 |
|
|
8974 | 9490 |
|
8975 | 9491 |
|
8976 | 9492 |
# Check whether --enable-shared was given.
|
8977 | |
if test "${enable_shared+set}" = set; then :
|
|
9493 |
if test ${enable_shared+y}
|
|
9494 |
then :
|
8978 | 9495 |
enableval=$enable_shared; p=${PACKAGE-default}
|
8979 | 9496 |
case $enableval in
|
8980 | 9497 |
yes) enable_shared=yes ;;
|
|
8992 | 9509 |
IFS=$lt_save_ifs
|
8993 | 9510 |
;;
|
8994 | 9511 |
esac
|
8995 | |
else
|
|
9512 |
else $as_nop
|
8996 | 9513 |
enable_shared=yes
|
8997 | 9514 |
fi
|
8998 | 9515 |
|
|
9005 | 9522 |
|
9006 | 9523 |
|
9007 | 9524 |
# Check whether --enable-static was given.
|
9008 | |
if test "${enable_static+set}" = set; then :
|
|
9525 |
if test ${enable_static+y}
|
|
9526 |
then :
|
9009 | 9527 |
enableval=$enable_static; p=${PACKAGE-default}
|
9010 | 9528 |
case $enableval in
|
9011 | 9529 |
yes) enable_static=yes ;;
|
|
9023 | 9541 |
IFS=$lt_save_ifs
|
9024 | 9542 |
;;
|
9025 | 9543 |
esac
|
9026 | |
else
|
|
9544 |
else $as_nop
|
9027 | 9545 |
enable_static=yes
|
9028 | 9546 |
fi
|
9029 | 9547 |
|
|
9037 | 9555 |
|
9038 | 9556 |
|
9039 | 9557 |
# Check whether --with-pic was given.
|
9040 | |
if test "${with_pic+set}" = set; then :
|
|
9558 |
if test ${with_pic+y}
|
|
9559 |
then :
|
9041 | 9560 |
withval=$with_pic; lt_p=${PACKAGE-default}
|
9042 | 9561 |
case $withval in
|
9043 | 9562 |
yes|no) pic_mode=$withval ;;
|
|
9054 | 9573 |
IFS=$lt_save_ifs
|
9055 | 9574 |
;;
|
9056 | 9575 |
esac
|
9057 | |
else
|
|
9576 |
else $as_nop
|
9058 | 9577 |
pic_mode=default
|
9059 | 9578 |
fi
|
9060 | 9579 |
|
|
9066 | 9585 |
|
9067 | 9586 |
|
9068 | 9587 |
# Check whether --enable-fast-install was given.
|
9069 | |
if test "${enable_fast_install+set}" = set; then :
|
|
9588 |
if test ${enable_fast_install+y}
|
|
9589 |
then :
|
9070 | 9590 |
enableval=$enable_fast_install; p=${PACKAGE-default}
|
9071 | 9591 |
case $enableval in
|
9072 | 9592 |
yes) enable_fast_install=yes ;;
|
|
9084 | 9604 |
IFS=$lt_save_ifs
|
9085 | 9605 |
;;
|
9086 | 9606 |
esac
|
9087 | |
else
|
|
9607 |
else $as_nop
|
9088 | 9608 |
enable_fast_install=yes
|
9089 | 9609 |
fi
|
9090 | 9610 |
|
|
9098 | 9618 |
shared_archive_member_spec=
|
9099 | 9619 |
case $host,$enable_shared in
|
9100 | 9620 |
power*-*-aix[5-9]*,yes)
|
9101 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
|
9102 | |
$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
|
|
9621 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
|
|
9622 |
printf %s "checking which variant of shared library versioning to provide... " >&6; }
|
9103 | 9623 |
|
9104 | 9624 |
# Check whether --with-aix-soname was given.
|
9105 | |
if test "${with_aix_soname+set}" = set; then :
|
|
9625 |
if test ${with_aix_soname+y}
|
|
9626 |
then :
|
9106 | 9627 |
withval=$with_aix_soname; case $withval in
|
9107 | 9628 |
aix|svr4|both)
|
9108 | 9629 |
;;
|
|
9111 | 9632 |
;;
|
9112 | 9633 |
esac
|
9113 | 9634 |
lt_cv_with_aix_soname=$with_aix_soname
|
9114 | |
else
|
9115 | |
if ${lt_cv_with_aix_soname+:} false; then :
|
9116 | |
$as_echo_n "(cached) " >&6
|
9117 | |
else
|
|
9635 |
else $as_nop
|
|
9636 |
if test ${lt_cv_with_aix_soname+y}
|
|
9637 |
then :
|
|
9638 |
printf %s "(cached) " >&6
|
|
9639 |
else $as_nop
|
9118 | 9640 |
lt_cv_with_aix_soname=aix
|
9119 | 9641 |
fi
|
9120 | 9642 |
|
9121 | 9643 |
with_aix_soname=$lt_cv_with_aix_soname
|
9122 | 9644 |
fi
|
9123 | 9645 |
|
9124 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
|
9125 | |
$as_echo "$with_aix_soname" >&6; }
|
|
9646 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
|
|
9647 |
printf "%s\n" "$with_aix_soname" >&6; }
|
9126 | 9648 |
if test aix != "$with_aix_soname"; then
|
9127 | 9649 |
# For the AIX way of multilib, we name the shared archive member
|
9128 | 9650 |
# based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
|
|
9204 | 9726 |
setopt NO_GLOB_SUBST
|
9205 | 9727 |
fi
|
9206 | 9728 |
|
9207 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
|
9208 | |
$as_echo_n "checking for objdir... " >&6; }
|
9209 | |
if ${lt_cv_objdir+:} false; then :
|
9210 | |
$as_echo_n "(cached) " >&6
|
9211 | |
else
|
|
9729 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
|
|
9730 |
printf %s "checking for objdir... " >&6; }
|
|
9731 |
if test ${lt_cv_objdir+y}
|
|
9732 |
then :
|
|
9733 |
printf %s "(cached) " >&6
|
|
9734 |
else $as_nop
|
9212 | 9735 |
rm -f .libs 2>/dev/null
|
9213 | 9736 |
mkdir .libs 2>/dev/null
|
9214 | 9737 |
if test -d .libs; then
|
|
9219 | 9742 |
fi
|
9220 | 9743 |
rmdir .libs 2>/dev/null
|
9221 | 9744 |
fi
|
9222 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
|
9223 | |
$as_echo "$lt_cv_objdir" >&6; }
|
|
9745 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
|
|
9746 |
printf "%s\n" "$lt_cv_objdir" >&6; }
|
9224 | 9747 |
objdir=$lt_cv_objdir
|
9225 | 9748 |
|
9226 | 9749 |
|
9227 | 9750 |
|
9228 | 9751 |
|
9229 | 9752 |
|
9230 | |
cat >>confdefs.h <<_ACEOF
|
9231 | |
#define LT_OBJDIR "$lt_cv_objdir/"
|
9232 | |
_ACEOF
|
|
9753 |
printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
|
9233 | 9754 |
|
9234 | 9755 |
|
9235 | 9756 |
|
|
9275 | 9796 |
case $deplibs_check_method in
|
9276 | 9797 |
file_magic*)
|
9277 | 9798 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
|
9278 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
|
9279 | |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
|
9280 | |
if ${lt_cv_path_MAGIC_CMD+:} false; then :
|
9281 | |
$as_echo_n "(cached) " >&6
|
9282 | |
else
|
|
9799 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
|
|
9800 |
printf %s "checking for ${ac_tool_prefix}file... " >&6; }
|
|
9801 |
if test ${lt_cv_path_MAGIC_CMD+y}
|
|
9802 |
then :
|
|
9803 |
printf %s "(cached) " >&6
|
|
9804 |
else $as_nop
|
9283 | 9805 |
case $MAGIC_CMD in
|
9284 | 9806 |
[\\/*] | ?:[\\/]*)
|
9285 | 9807 |
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
|
|
9328 | 9850 |
|
9329 | 9851 |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD
|
9330 | 9852 |
if test -n "$MAGIC_CMD"; then
|
9331 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
9332 | |
$as_echo "$MAGIC_CMD" >&6; }
|
|
9853 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
|
9854 |
printf "%s\n" "$MAGIC_CMD" >&6; }
|
9333 | 9855 |
else
|
9334 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
9335 | |
$as_echo "no" >&6; }
|
|
9856 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
9857 |
printf "%s\n" "no" >&6; }
|
9336 | 9858 |
fi
|
9337 | 9859 |
|
9338 | 9860 |
|
|
9341 | 9863 |
|
9342 | 9864 |
if test -z "$lt_cv_path_MAGIC_CMD"; then
|
9343 | 9865 |
if test -n "$ac_tool_prefix"; then
|
9344 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
|
9345 | |
$as_echo_n "checking for file... " >&6; }
|
9346 | |
if ${lt_cv_path_MAGIC_CMD+:} false; then :
|
9347 | |
$as_echo_n "(cached) " >&6
|
9348 | |
else
|
|
9866 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
|
|
9867 |
printf %s "checking for file... " >&6; }
|
|
9868 |
if test ${lt_cv_path_MAGIC_CMD+y}
|
|
9869 |
then :
|
|
9870 |
printf %s "(cached) " >&6
|
|
9871 |
else $as_nop
|
9349 | 9872 |
case $MAGIC_CMD in
|
9350 | 9873 |
[\\/*] | ?:[\\/]*)
|
9351 | 9874 |
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
|
|
9394 | 9917 |
|
9395 | 9918 |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD
|
9396 | 9919 |
if test -n "$MAGIC_CMD"; then
|
9397 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
9398 | |
$as_echo "$MAGIC_CMD" >&6; }
|
|
9920 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
|
9921 |
printf "%s\n" "$MAGIC_CMD" >&6; }
|
9399 | 9922 |
else
|
9400 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
9401 | |
$as_echo "no" >&6; }
|
|
9923 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
9924 |
printf "%s\n" "no" >&6; }
|
9402 | 9925 |
fi
|
9403 | 9926 |
|
9404 | 9927 |
|
|
9483 | 10006 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
|
9484 | 10007 |
esac
|
9485 | 10008 |
|
9486 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
9487 | |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
|
9488 | |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
|
9489 | |
$as_echo_n "(cached) " >&6
|
9490 | |
else
|
|
10009 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
|
10010 |
printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
|
|
10011 |
if test ${lt_cv_prog_compiler_rtti_exceptions+y}
|
|
10012 |
then :
|
|
10013 |
printf %s "(cached) " >&6
|
|
10014 |
else $as_nop
|
9491 | 10015 |
lt_cv_prog_compiler_rtti_exceptions=no
|
9492 | 10016 |
ac_outfile=conftest.$ac_objext
|
9493 | 10017 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
9518 | 10042 |
$RM conftest*
|
9519 | 10043 |
|
9520 | 10044 |
fi
|
9521 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
|
9522 | |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
|
|
10045 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
|
|
10046 |
printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
|
9523 | 10047 |
|
9524 | 10048 |
if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
|
9525 | 10049 |
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
|
|
9882 | 10406 |
;;
|
9883 | 10407 |
esac
|
9884 | 10408 |
|
9885 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
9886 | |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
9887 | |
if ${lt_cv_prog_compiler_pic+:} false; then :
|
9888 | |
$as_echo_n "(cached) " >&6
|
9889 | |
else
|
|
10409 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
|
10410 |
printf %s "checking for $compiler option to produce PIC... " >&6; }
|
|
10411 |
if test ${lt_cv_prog_compiler_pic+y}
|
|
10412 |
then :
|
|
10413 |
printf %s "(cached) " >&6
|
|
10414 |
else $as_nop
|
9890 | 10415 |
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
|
9891 | 10416 |
fi
|
9892 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
|
9893 | |
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
|
|
10417 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
|
|
10418 |
printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
|
9894 | 10419 |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
|
9895 | 10420 |
|
9896 | 10421 |
#
|
9897 | 10422 |
# Check to make sure the PIC flag actually works.
|
9898 | 10423 |
#
|
9899 | 10424 |
if test -n "$lt_prog_compiler_pic"; then
|
9900 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
|
9901 | |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
|
9902 | |
if ${lt_cv_prog_compiler_pic_works+:} false; then :
|
9903 | |
$as_echo_n "(cached) " >&6
|
9904 | |
else
|
|
10425 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
|
|
10426 |
printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
|
|
10427 |
if test ${lt_cv_prog_compiler_pic_works+y}
|
|
10428 |
then :
|
|
10429 |
printf %s "(cached) " >&6
|
|
10430 |
else $as_nop
|
9905 | 10431 |
lt_cv_prog_compiler_pic_works=no
|
9906 | 10432 |
ac_outfile=conftest.$ac_objext
|
9907 | 10433 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
9932 | 10458 |
$RM conftest*
|
9933 | 10459 |
|
9934 | 10460 |
fi
|
9935 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
|
9936 | |
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
|
|
10461 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
|
|
10462 |
printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
|
9937 | 10463 |
|
9938 | 10464 |
if test yes = "$lt_cv_prog_compiler_pic_works"; then
|
9939 | 10465 |
case $lt_prog_compiler_pic in
|
|
9961 | 10487 |
# Check to make sure the static flag actually works.
|
9962 | 10488 |
#
|
9963 | 10489 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
|
9964 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
9965 | |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
9966 | |
if ${lt_cv_prog_compiler_static_works+:} false; then :
|
9967 | |
$as_echo_n "(cached) " >&6
|
9968 | |
else
|
|
10490 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
|
10491 |
printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
|
10492 |
if test ${lt_cv_prog_compiler_static_works+y}
|
|
10493 |
then :
|
|
10494 |
printf %s "(cached) " >&6
|
|
10495 |
else $as_nop
|
9969 | 10496 |
lt_cv_prog_compiler_static_works=no
|
9970 | 10497 |
save_LDFLAGS=$LDFLAGS
|
9971 | 10498 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
|
|
9989 | 10516 |
LDFLAGS=$save_LDFLAGS
|
9990 | 10517 |
|
9991 | 10518 |
fi
|
9992 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
|
9993 | |
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
|
|
10519 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
|
|
10520 |
printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
|
9994 | 10521 |
|
9995 | 10522 |
if test yes = "$lt_cv_prog_compiler_static_works"; then
|
9996 | 10523 |
:
|
|
10004 | 10531 |
|
10005 | 10532 |
|
10006 | 10533 |
|
10007 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
10008 | |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
10009 | |
if ${lt_cv_prog_compiler_c_o+:} false; then :
|
10010 | |
$as_echo_n "(cached) " >&6
|
10011 | |
else
|
|
10534 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
10535 |
printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
|
10536 |
if test ${lt_cv_prog_compiler_c_o+y}
|
|
10537 |
then :
|
|
10538 |
printf %s "(cached) " >&6
|
|
10539 |
else $as_nop
|
10012 | 10540 |
lt_cv_prog_compiler_c_o=no
|
10013 | 10541 |
$RM -r conftest 2>/dev/null
|
10014 | 10542 |
mkdir conftest
|
|
10051 | 10579 |
$RM conftest*
|
10052 | 10580 |
|
10053 | 10581 |
fi
|
10054 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
10055 | |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
10056 | |
|
10057 | |
|
10058 | |
|
10059 | |
|
10060 | |
|
10061 | |
|
10062 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
10063 | |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
10064 | |
if ${lt_cv_prog_compiler_c_o+:} false; then :
|
10065 | |
$as_echo_n "(cached) " >&6
|
10066 | |
else
|
|
10582 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
|
10583 |
printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
|
|
10584 |
|
|
10585 |
|
|
10586 |
|
|
10587 |
|
|
10588 |
|
|
10589 |
|
|
10590 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
10591 |
printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
|
10592 |
if test ${lt_cv_prog_compiler_c_o+y}
|
|
10593 |
then :
|
|
10594 |
printf %s "(cached) " >&6
|
|
10595 |
else $as_nop
|
10067 | 10596 |
lt_cv_prog_compiler_c_o=no
|
10068 | 10597 |
$RM -r conftest 2>/dev/null
|
10069 | 10598 |
mkdir conftest
|
|
10106 | 10635 |
$RM conftest*
|
10107 | 10636 |
|
10108 | 10637 |
fi
|
10109 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
10110 | |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
|
10638 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
|
10639 |
printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
|
10111 | 10640 |
|
10112 | 10641 |
|
10113 | 10642 |
|
|
10115 | 10644 |
hard_links=nottested
|
10116 | 10645 |
if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
|
10117 | 10646 |
# do not overwrite the value of need_locks provided by the user
|
10118 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
10119 | |
$as_echo_n "checking if we can lock with hard links... " >&6; }
|
|
10647 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
|
10648 |
printf %s "checking if we can lock with hard links... " >&6; }
|
10120 | 10649 |
hard_links=yes
|
10121 | 10650 |
$RM conftest*
|
10122 | 10651 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
10123 | 10652 |
touch conftest.a
|
10124 | 10653 |
ln conftest.a conftest.b 2>&5 || hard_links=no
|
10125 | 10654 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
10126 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
10127 | |
$as_echo "$hard_links" >&6; }
|
|
10655 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
|
10656 |
printf "%s\n" "$hard_links" >&6; }
|
10128 | 10657 |
if test no = "$hard_links"; then
|
10129 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
|
10130 | |
$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
|
|
10658 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
|
|
10659 |
printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
|
10131 | 10660 |
need_locks=warn
|
10132 | 10661 |
fi
|
10133 | 10662 |
else
|
|
10139 | 10668 |
|
10140 | 10669 |
|
10141 | 10670 |
|
10142 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
10143 | |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
|
10671 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
|
10672 |
printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
10144 | 10673 |
|
10145 | 10674 |
runpath_var=
|
10146 | 10675 |
allow_undefined_flag=
|
|
10698 | 11227 |
if test set = "${lt_cv_aix_libpath+set}"; then
|
10699 | 11228 |
aix_libpath=$lt_cv_aix_libpath
|
10700 | 11229 |
else
|
10701 | |
if ${lt_cv_aix_libpath_+:} false; then :
|
10702 | |
$as_echo_n "(cached) " >&6
|
10703 | |
else
|
|
11230 |
if test ${lt_cv_aix_libpath_+y}
|
|
11231 |
then :
|
|
11232 |
printf %s "(cached) " >&6
|
|
11233 |
else $as_nop
|
10704 | 11234 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10705 | 11235 |
/* end confdefs.h. */
|
10706 | 11236 |
|
10707 | 11237 |
int
|
10708 | |
main ()
|
|
11238 |
main (void)
|
10709 | 11239 |
{
|
10710 | 11240 |
|
10711 | 11241 |
;
|
10712 | 11242 |
return 0;
|
10713 | 11243 |
}
|
10714 | 11244 |
_ACEOF
|
10715 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
11245 |
if ac_fn_c_try_link "$LINENO"
|
|
11246 |
then :
|
10716 | 11247 |
|
10717 | 11248 |
lt_aix_libpath_sed='
|
10718 | 11249 |
/Import File Strings/,/^$/ {
|
|
10727 | 11258 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
10728 | 11259 |
fi
|
10729 | 11260 |
fi
|
10730 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
11261 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
10731 | 11262 |
conftest$ac_exeext conftest.$ac_ext
|
10732 | 11263 |
if test -z "$lt_cv_aix_libpath_"; then
|
10733 | 11264 |
lt_cv_aix_libpath_=/usr/lib:/lib
|
|
10751 | 11282 |
if test set = "${lt_cv_aix_libpath+set}"; then
|
10752 | 11283 |
aix_libpath=$lt_cv_aix_libpath
|
10753 | 11284 |
else
|
10754 | |
if ${lt_cv_aix_libpath_+:} false; then :
|
10755 | |
$as_echo_n "(cached) " >&6
|
10756 | |
else
|
|
11285 |
if test ${lt_cv_aix_libpath_+y}
|
|
11286 |
then :
|
|
11287 |
printf %s "(cached) " >&6
|
|
11288 |
else $as_nop
|
10757 | 11289 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10758 | 11290 |
/* end confdefs.h. */
|
10759 | 11291 |
|
10760 | 11292 |
int
|
10761 | |
main ()
|
|
11293 |
main (void)
|
10762 | 11294 |
{
|
10763 | 11295 |
|
10764 | 11296 |
;
|
10765 | 11297 |
return 0;
|
10766 | 11298 |
}
|
10767 | 11299 |
_ACEOF
|
10768 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
11300 |
if ac_fn_c_try_link "$LINENO"
|
|
11301 |
then :
|
10769 | 11302 |
|
10770 | 11303 |
lt_aix_libpath_sed='
|
10771 | 11304 |
/Import File Strings/,/^$/ {
|
|
10780 | 11313 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
10781 | 11314 |
fi
|
10782 | 11315 |
fi
|
10783 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
11316 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
10784 | 11317 |
conftest$ac_exeext conftest.$ac_ext
|
10785 | 11318 |
if test -z "$lt_cv_aix_libpath_"; then
|
10786 | 11319 |
lt_cv_aix_libpath_=/usr/lib:/lib
|
|
11031 | 11564 |
|
11032 | 11565 |
# Older versions of the 11.00 compiler do not understand -b yet
|
11033 | 11566 |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
|
11034 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
|
11035 | |
$as_echo_n "checking if $CC understands -b... " >&6; }
|
11036 | |
if ${lt_cv_prog_compiler__b+:} false; then :
|
11037 | |
$as_echo_n "(cached) " >&6
|
11038 | |
else
|
|
11567 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
|
|
11568 |
printf %s "checking if $CC understands -b... " >&6; }
|
|
11569 |
if test ${lt_cv_prog_compiler__b+y}
|
|
11570 |
then :
|
|
11571 |
printf %s "(cached) " >&6
|
|
11572 |
else $as_nop
|
11039 | 11573 |
lt_cv_prog_compiler__b=no
|
11040 | 11574 |
save_LDFLAGS=$LDFLAGS
|
11041 | 11575 |
LDFLAGS="$LDFLAGS -b"
|
|
11059 | 11593 |
LDFLAGS=$save_LDFLAGS
|
11060 | 11594 |
|
11061 | 11595 |
fi
|
11062 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
|
11063 | |
$as_echo "$lt_cv_prog_compiler__b" >&6; }
|
|
11596 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
|
|
11597 |
printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
|
11064 | 11598 |
|
11065 | 11599 |
if test yes = "$lt_cv_prog_compiler__b"; then
|
11066 | 11600 |
archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
|
|
11100 | 11634 |
# work, assume that -exports_file does not work either and
|
11101 | 11635 |
# implicitly export all symbols.
|
11102 | 11636 |
# This should be the same for all languages, so no per-tag cache variable.
|
11103 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
|
11104 | |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
|
11105 | |
if ${lt_cv_irix_exported_symbol+:} false; then :
|
11106 | |
$as_echo_n "(cached) " >&6
|
11107 | |
else
|
|
11637 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
|
|
11638 |
printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
|
|
11639 |
if test ${lt_cv_irix_exported_symbol+y}
|
|
11640 |
then :
|
|
11641 |
printf %s "(cached) " >&6
|
|
11642 |
else $as_nop
|
11108 | 11643 |
save_LDFLAGS=$LDFLAGS
|
11109 | 11644 |
LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
|
11110 | 11645 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
11111 | 11646 |
/* end confdefs.h. */
|
11112 | 11647 |
int foo (void) { return 0; }
|
11113 | 11648 |
_ACEOF
|
11114 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
11649 |
if ac_fn_c_try_link "$LINENO"
|
|
11650 |
then :
|
11115 | 11651 |
lt_cv_irix_exported_symbol=yes
|
11116 | |
else
|
|
11652 |
else $as_nop
|
11117 | 11653 |
lt_cv_irix_exported_symbol=no
|
11118 | 11654 |
fi
|
11119 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
11655 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
11120 | 11656 |
conftest$ac_exeext conftest.$ac_ext
|
11121 | 11657 |
LDFLAGS=$save_LDFLAGS
|
11122 | 11658 |
fi
|
11123 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
|
11124 | |
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
|
11659 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
|
|
11660 |
printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
|
11125 | 11661 |
if test yes = "$lt_cv_irix_exported_symbol"; then
|
11126 | 11662 |
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'
|
11127 | 11663 |
fi
|
|
11402 | 11938 |
fi
|
11403 | 11939 |
fi
|
11404 | 11940 |
|
11405 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
|
11406 | |
$as_echo "$ld_shlibs" >&6; }
|
|
11941 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
|
|
11942 |
printf "%s\n" "$ld_shlibs" >&6; }
|
11407 | 11943 |
test no = "$ld_shlibs" && can_build_shared=no
|
11408 | 11944 |
|
11409 | 11945 |
with_gnu_ld=$with_gnu_ld
|
|
11439 | 11975 |
# Test whether the compiler implicitly links with -lc since on some
|
11440 | 11976 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc
|
11441 | 11977 |
# to ld, don't add -lc before -lgcc.
|
11442 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
11443 | |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
11444 | |
if ${lt_cv_archive_cmds_need_lc+:} false; then :
|
11445 | |
$as_echo_n "(cached) " >&6
|
11446 | |
else
|
|
11978 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
|
11979 |
printf %s "checking whether -lc should be explicitly linked in... " >&6; }
|
|
11980 |
if test ${lt_cv_archive_cmds_need_lc+y}
|
|
11981 |
then :
|
|
11982 |
printf %s "(cached) " >&6
|
|
11983 |
else $as_nop
|
11447 | 11984 |
$RM conftest*
|
11448 | 11985 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
11449 | 11986 |
|
11450 | 11987 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
11451 | 11988 |
(eval $ac_compile) 2>&5
|
11452 | 11989 |
ac_status=$?
|
11453 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
11990 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
11454 | 11991 |
test $ac_status = 0; } 2>conftest.err; then
|
11455 | 11992 |
soname=conftest
|
11456 | 11993 |
lib=conftest
|
|
11468 | 12005 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
|
11469 | 12006 |
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
11470 | 12007 |
ac_status=$?
|
11471 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
12008 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
11472 | 12009 |
test $ac_status = 0; }
|
11473 | 12010 |
then
|
11474 | 12011 |
lt_cv_archive_cmds_need_lc=no
|
|
11482 | 12019 |
$RM conftest*
|
11483 | 12020 |
|
11484 | 12021 |
fi
|
11485 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
|
11486 | |
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
|
|
12022 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
|
|
12023 |
printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
|
11487 | 12024 |
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
|
11488 | 12025 |
;;
|
11489 | 12026 |
esac
|
|
11642 | 12179 |
|
11643 | 12180 |
|
11644 | 12181 |
|
11645 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
11646 | |
$as_echo_n "checking dynamic linker characteristics... " >&6; }
|
|
12182 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
|
12183 |
printf %s "checking dynamic linker characteristics... " >&6; }
|
11647 | 12184 |
|
11648 | 12185 |
if test yes = "$GCC"; then
|
11649 | 12186 |
case $host_os in
|
|
12204 | 12741 |
shlibpath_overrides_runpath=no
|
12205 | 12742 |
|
12206 | 12743 |
# Some binutils ld are patched to set DT_RUNPATH
|
12207 | |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
|
12208 | |
$as_echo_n "(cached) " >&6
|
12209 | |
else
|
|
12744 |
if test ${lt_cv_shlibpath_overrides_runpath+y}
|
|
12745 |
then :
|
|
12746 |
printf %s "(cached) " >&6
|
|
12747 |
else $as_nop
|
12210 | 12748 |
lt_cv_shlibpath_overrides_runpath=no
|
12211 | 12749 |
save_LDFLAGS=$LDFLAGS
|
12212 | 12750 |
save_libdir=$libdir
|
|
12216 | 12754 |
/* end confdefs.h. */
|
12217 | 12755 |
|
12218 | 12756 |
int
|
12219 | |
main ()
|
|
12757 |
main (void)
|
12220 | 12758 |
{
|
12221 | 12759 |
|
12222 | 12760 |
;
|
12223 | 12761 |
return 0;
|
12224 | 12762 |
}
|
12225 | 12763 |
_ACEOF
|
12226 | |
if ac_fn_c_try_link "$LINENO"; then :
|
12227 | |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
|
|
12764 |
if ac_fn_c_try_link "$LINENO"
|
|
12765 |
then :
|
|
12766 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
|
|
12767 |
then :
|
12228 | 12768 |
lt_cv_shlibpath_overrides_runpath=yes
|
12229 | 12769 |
fi
|
12230 | 12770 |
fi
|
12231 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
12771 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
12232 | 12772 |
conftest$ac_exeext conftest.$ac_ext
|
12233 | 12773 |
LDFLAGS=$save_LDFLAGS
|
12234 | 12774 |
libdir=$save_libdir
|
|
12472 | 13012 |
dynamic_linker=no
|
12473 | 13013 |
;;
|
12474 | 13014 |
esac
|
12475 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
12476 | |
$as_echo "$dynamic_linker" >&6; }
|
|
13015 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
|
13016 |
printf "%s\n" "$dynamic_linker" >&6; }
|
12477 | 13017 |
test no = "$dynamic_linker" && can_build_shared=no
|
12478 | 13018 |
|
12479 | 13019 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
|
|
12594 | 13134 |
|
12595 | 13135 |
|
12596 | 13136 |
|
12597 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
12598 | |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
|
|
13137 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
|
13138 |
printf %s "checking how to hardcode library paths into programs... " >&6; }
|
12599 | 13139 |
hardcode_action=
|
12600 | 13140 |
if test -n "$hardcode_libdir_flag_spec" ||
|
12601 | 13141 |
test -n "$runpath_var" ||
|
|
12619 | 13159 |
# directories.
|
12620 | 13160 |
hardcode_action=unsupported
|
12621 | 13161 |
fi
|
12622 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
|
12623 | |
$as_echo "$hardcode_action" >&6; }
|
|
13162 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
|
|
13163 |
printf "%s\n" "$hardcode_action" >&6; }
|
12624 | 13164 |
|
12625 | 13165 |
if test relink = "$hardcode_action" ||
|
12626 | 13166 |
test yes = "$inherit_rpath"; then
|
|
12664 | 13204 |
|
12665 | 13205 |
darwin*)
|
12666 | 13206 |
# if libdl is installed we need to link against it
|
12667 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
12668 | |
$as_echo_n "checking for dlopen in -ldl... " >&6; }
|
12669 | |
if ${ac_cv_lib_dl_dlopen+:} false; then :
|
12670 | |
$as_echo_n "(cached) " >&6
|
12671 | |
else
|
|
13207 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
|
13208 |
printf %s "checking for dlopen in -ldl... " >&6; }
|
|
13209 |
if test ${ac_cv_lib_dl_dlopen+y}
|
|
13210 |
then :
|
|
13211 |
printf %s "(cached) " >&6
|
|
13212 |
else $as_nop
|
12672 | 13213 |
ac_check_lib_save_LIBS=$LIBS
|
12673 | 13214 |
LIBS="-ldl $LIBS"
|
12674 | 13215 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
12677 | 13218 |
/* Override any GCC internal prototype to avoid an error.
|
12678 | 13219 |
Use char because int might match the return type of a GCC
|
12679 | 13220 |
builtin and then its argument prototype would still apply. */
|
12680 | |
#ifdef __cplusplus
|
12681 | |
extern "C"
|
12682 | |
#endif
|
12683 | 13221 |
char dlopen ();
|
12684 | 13222 |
int
|
12685 | |
main ()
|
|
13223 |
main (void)
|
12686 | 13224 |
{
|
12687 | 13225 |
return dlopen ();
|
12688 | 13226 |
;
|
12689 | 13227 |
return 0;
|
12690 | 13228 |
}
|
12691 | 13229 |
_ACEOF
|
12692 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
13230 |
if ac_fn_c_try_link "$LINENO"
|
|
13231 |
then :
|
12693 | 13232 |
ac_cv_lib_dl_dlopen=yes
|
12694 | |
else
|
|
13233 |
else $as_nop
|
12695 | 13234 |
ac_cv_lib_dl_dlopen=no
|
12696 | 13235 |
fi
|
12697 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
13236 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
12698 | 13237 |
conftest$ac_exeext conftest.$ac_ext
|
12699 | 13238 |
LIBS=$ac_check_lib_save_LIBS
|
12700 | 13239 |
fi
|
12701 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
12702 | |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
12703 | |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
|
|
13240 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
|
13241 |
printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
|
|
13242 |
if test "x$ac_cv_lib_dl_dlopen" = xyes
|
|
13243 |
then :
|
12704 | 13244 |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
|
12705 | |
else
|
|
13245 |
else $as_nop
|
12706 | 13246 |
|
12707 | 13247 |
lt_cv_dlopen=dyld
|
12708 | 13248 |
lt_cv_dlopen_libs=
|
|
12722 | 13262 |
|
12723 | 13263 |
*)
|
12724 | 13264 |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
|
12725 | |
if test "x$ac_cv_func_shl_load" = xyes; then :
|
|
13265 |
if test "x$ac_cv_func_shl_load" = xyes
|
|
13266 |
then :
|
12726 | 13267 |
lt_cv_dlopen=shl_load
|
12727 | |
else
|
12728 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
|
12729 | |
$as_echo_n "checking for shl_load in -ldld... " >&6; }
|
12730 | |
if ${ac_cv_lib_dld_shl_load+:} false; then :
|
12731 | |
$as_echo_n "(cached) " >&6
|
12732 | |
else
|
|
13268 |
else $as_nop
|
|
13269 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
|
|
13270 |
printf %s "checking for shl_load in -ldld... " >&6; }
|
|
13271 |
if test ${ac_cv_lib_dld_shl_load+y}
|
|
13272 |
then :
|
|
13273 |
printf %s "(cached) " >&6
|
|
13274 |
else $as_nop
|
12733 | 13275 |
ac_check_lib_save_LIBS=$LIBS
|
12734 | 13276 |
LIBS="-ldld $LIBS"
|
12735 | 13277 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
12738 | 13280 |
/* Override any GCC internal prototype to avoid an error.
|
12739 | 13281 |
Use char because int might match the return type of a GCC
|
12740 | 13282 |
builtin and then its argument prototype would still apply. */
|
12741 | |
#ifdef __cplusplus
|
12742 | |
extern "C"
|
12743 | |
#endif
|
12744 | 13283 |
char shl_load ();
|
12745 | 13284 |
int
|
12746 | |
main ()
|
|
13285 |
main (void)
|
12747 | 13286 |
{
|
12748 | 13287 |
return shl_load ();
|
12749 | 13288 |
;
|
12750 | 13289 |
return 0;
|
12751 | 13290 |
}
|
12752 | 13291 |
_ACEOF
|
12753 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
13292 |
if ac_fn_c_try_link "$LINENO"
|
|
13293 |
then :
|
12754 | 13294 |
ac_cv_lib_dld_shl_load=yes
|
12755 | |
else
|
|
13295 |
else $as_nop
|
12756 | 13296 |
ac_cv_lib_dld_shl_load=no
|
12757 | 13297 |
fi
|
12758 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
13298 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
12759 | 13299 |
conftest$ac_exeext conftest.$ac_ext
|
12760 | 13300 |
LIBS=$ac_check_lib_save_LIBS
|
12761 | 13301 |
fi
|
12762 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
|
12763 | |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
|
12764 | |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
|
|
13302 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
|
|
13303 |
printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
|
|
13304 |
if test "x$ac_cv_lib_dld_shl_load" = xyes
|
|
13305 |
then :
|
12765 | 13306 |
lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
|
12766 | |
else
|
|
13307 |
else $as_nop
|
12767 | 13308 |
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
|
12768 | |
if test "x$ac_cv_func_dlopen" = xyes; then :
|
|
13309 |
if test "x$ac_cv_func_dlopen" = xyes
|
|
13310 |
then :
|
12769 | 13311 |
lt_cv_dlopen=dlopen
|
12770 | |
else
|
12771 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
12772 | |
$as_echo_n "checking for dlopen in -ldl... " >&6; }
|
12773 | |
if ${ac_cv_lib_dl_dlopen+:} false; then :
|
12774 | |
$as_echo_n "(cached) " >&6
|
12775 | |
else
|
|
13312 |
else $as_nop
|
|
13313 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
|
13314 |
printf %s "checking for dlopen in -ldl... " >&6; }
|
|
13315 |
if test ${ac_cv_lib_dl_dlopen+y}
|
|
13316 |
then :
|
|
13317 |
printf %s "(cached) " >&6
|
|
13318 |
else $as_nop
|
12776 | 13319 |
ac_check_lib_save_LIBS=$LIBS
|
12777 | 13320 |
LIBS="-ldl $LIBS"
|
12778 | 13321 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
12781 | 13324 |
/* Override any GCC internal prototype to avoid an error.
|
12782 | 13325 |
Use char because int might match the return type of a GCC
|
12783 | 13326 |
builtin and then its argument prototype would still apply. */
|
12784 | |
#ifdef __cplusplus
|
12785 | |
extern "C"
|
12786 | |
#endif
|
12787 | 13327 |
char dlopen ();
|
12788 | 13328 |
int
|
12789 | |
main ()
|
|
13329 |
main (void)
|
12790 | 13330 |
{
|
12791 | 13331 |
return dlopen ();
|
12792 | 13332 |
;
|
12793 | 13333 |
return 0;
|
12794 | 13334 |
}
|
12795 | 13335 |
_ACEOF
|
12796 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
13336 |
if ac_fn_c_try_link "$LINENO"
|
|
13337 |
then :
|
12797 | 13338 |
ac_cv_lib_dl_dlopen=yes
|
12798 | |
else
|
|
13339 |
else $as_nop
|
12799 | 13340 |
ac_cv_lib_dl_dlopen=no
|
12800 | 13341 |
fi
|
12801 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
13342 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
12802 | 13343 |
conftest$ac_exeext conftest.$ac_ext
|
12803 | 13344 |
LIBS=$ac_check_lib_save_LIBS
|
12804 | 13345 |
fi
|
12805 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
12806 | |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
12807 | |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
|
|
13346 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
|
13347 |
printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
|
|
13348 |
if test "x$ac_cv_lib_dl_dlopen" = xyes
|
|
13349 |
then :
|
12808 | 13350 |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
|
12809 | |
else
|
12810 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
|
12811 | |
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
|
12812 | |
if ${ac_cv_lib_svld_dlopen+:} false; then :
|
12813 | |
$as_echo_n "(cached) " >&6
|
12814 | |
else
|
|
13351 |
else $as_nop
|
|
13352 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
|
|
13353 |
printf %s "checking for dlopen in -lsvld... " >&6; }
|
|
13354 |
if test ${ac_cv_lib_svld_dlopen+y}
|
|
13355 |
then :
|
|
13356 |
printf %s "(cached) " >&6
|
|
13357 |
else $as_nop
|
12815 | 13358 |
ac_check_lib_save_LIBS=$LIBS
|
12816 | 13359 |
LIBS="-lsvld $LIBS"
|
12817 | 13360 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
12820 | 13363 |
/* Override any GCC internal prototype to avoid an error.
|
12821 | 13364 |
Use char because int might match the return type of a GCC
|
12822 | 13365 |
builtin and then its argument prototype would still apply. */
|
12823 | |
#ifdef __cplusplus
|
12824 | |
extern "C"
|
12825 | |
#endif
|
12826 | 13366 |
char dlopen ();
|
12827 | 13367 |
int
|
12828 | |
main ()
|
|
13368 |
main (void)
|
12829 | 13369 |
{
|
12830 | 13370 |
return dlopen ();
|
12831 | 13371 |
;
|
12832 | 13372 |
return 0;
|
12833 | 13373 |
}
|
12834 | 13374 |
_ACEOF
|
12835 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
13375 |
if ac_fn_c_try_link "$LINENO"
|
|
13376 |
then :
|
12836 | 13377 |
ac_cv_lib_svld_dlopen=yes
|
12837 | |
else
|
|
13378 |
else $as_nop
|
12838 | 13379 |
ac_cv_lib_svld_dlopen=no
|
12839 | 13380 |
fi
|
12840 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
13381 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
12841 | 13382 |
conftest$ac_exeext conftest.$ac_ext
|
12842 | 13383 |
LIBS=$ac_check_lib_save_LIBS
|
12843 | 13384 |
fi
|
12844 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
|
12845 | |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
|
12846 | |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
|
|
13385 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
|
|
13386 |
printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
|
|
13387 |
if test "x$ac_cv_lib_svld_dlopen" = xyes
|
|
13388 |
then :
|
12847 | 13389 |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
|
12848 | |
else
|
12849 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
|
12850 | |
$as_echo_n "checking for dld_link in -ldld... " >&6; }
|
12851 | |
if ${ac_cv_lib_dld_dld_link+:} false; then :
|
12852 | |
$as_echo_n "(cached) " >&6
|
12853 | |
else
|
|
13390 |
else $as_nop
|
|
13391 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
|
|
13392 |
printf %s "checking for dld_link in -ldld... " >&6; }
|
|
13393 |
if test ${ac_cv_lib_dld_dld_link+y}
|
|
13394 |
then :
|
|
13395 |
printf %s "(cached) " >&6
|
|
13396 |
else $as_nop
|
12854 | 13397 |
ac_check_lib_save_LIBS=$LIBS
|
12855 | 13398 |
LIBS="-ldld $LIBS"
|
12856 | 13399 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
12859 | 13402 |
/* Override any GCC internal prototype to avoid an error.
|
12860 | 13403 |
Use char because int might match the return type of a GCC
|
12861 | 13404 |
builtin and then its argument prototype would still apply. */
|
12862 | |
#ifdef __cplusplus
|
12863 | |
extern "C"
|
12864 | |
#endif
|
12865 | 13405 |
char dld_link ();
|
12866 | 13406 |
int
|
12867 | |
main ()
|
|
13407 |
main (void)
|
12868 | 13408 |
{
|
12869 | 13409 |
return dld_link ();
|
12870 | 13410 |
;
|
12871 | 13411 |
return 0;
|
12872 | 13412 |
}
|
12873 | 13413 |
_ACEOF
|
12874 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
13414 |
if ac_fn_c_try_link "$LINENO"
|
|
13415 |
then :
|
12875 | 13416 |
ac_cv_lib_dld_dld_link=yes
|
12876 | |
else
|
|
13417 |
else $as_nop
|
12877 | 13418 |
ac_cv_lib_dld_dld_link=no
|
12878 | 13419 |
fi
|
12879 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
13420 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
12880 | 13421 |
conftest$ac_exeext conftest.$ac_ext
|
12881 | 13422 |
LIBS=$ac_check_lib_save_LIBS
|
12882 | 13423 |
fi
|
12883 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
|
12884 | |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
|
12885 | |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
|
|
13424 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
|
|
13425 |
printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
|
|
13426 |
if test "x$ac_cv_lib_dld_dld_link" = xyes
|
|
13427 |
then :
|
12886 | 13428 |
lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
|
12887 | 13429 |
fi
|
12888 | 13430 |
|
|
12921 | 13463 |
save_LIBS=$LIBS
|
12922 | 13464 |
LIBS="$lt_cv_dlopen_libs $LIBS"
|
12923 | 13465 |
|
12924 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
|
12925 | |
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
|
12926 | |
if ${lt_cv_dlopen_self+:} false; then :
|
12927 | |
$as_echo_n "(cached) " >&6
|
12928 | |
else
|
|
13466 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
|
|
13467 |
printf %s "checking whether a program can dlopen itself... " >&6; }
|
|
13468 |
if test ${lt_cv_dlopen_self+y}
|
|
13469 |
then :
|
|
13470 |
printf %s "(cached) " >&6
|
|
13471 |
else $as_nop
|
12929 | 13472 |
if test yes = "$cross_compiling"; then :
|
12930 | 13473 |
lt_cv_dlopen_self=cross
|
12931 | 13474 |
else
|
|
13004 | 13547 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
13005 | 13548 |
(eval $ac_link) 2>&5
|
13006 | 13549 |
ac_status=$?
|
13007 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13550 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13008 | 13551 |
test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
|
13009 | 13552 |
(./conftest; exit; ) >&5 2>/dev/null
|
13010 | 13553 |
lt_status=$?
|
|
13022 | 13565 |
|
13023 | 13566 |
|
13024 | 13567 |
fi
|
13025 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
|
13026 | |
$as_echo "$lt_cv_dlopen_self" >&6; }
|
|
13568 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
|
|
13569 |
printf "%s\n" "$lt_cv_dlopen_self" >&6; }
|
13027 | 13570 |
|
13028 | 13571 |
if test yes = "$lt_cv_dlopen_self"; then
|
13029 | 13572 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
|
13030 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
|
13031 | |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
|
13032 | |
if ${lt_cv_dlopen_self_static+:} false; then :
|
13033 | |
$as_echo_n "(cached) " >&6
|
13034 | |
else
|
|
13573 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
|
|
13574 |
printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
|
|
13575 |
if test ${lt_cv_dlopen_self_static+y}
|
|
13576 |
then :
|
|
13577 |
printf %s "(cached) " >&6
|
|
13578 |
else $as_nop
|
13035 | 13579 |
if test yes = "$cross_compiling"; then :
|
13036 | 13580 |
lt_cv_dlopen_self_static=cross
|
13037 | 13581 |
else
|
|
13110 | 13654 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
13111 | 13655 |
(eval $ac_link) 2>&5
|
13112 | 13656 |
ac_status=$?
|
13113 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13657 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
13114 | 13658 |
test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
|
13115 | 13659 |
(./conftest; exit; ) >&5 2>/dev/null
|
13116 | 13660 |
lt_status=$?
|
|
13128 | 13672 |
|
13129 | 13673 |
|
13130 | 13674 |
fi
|
13131 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
|
13132 | |
$as_echo "$lt_cv_dlopen_self_static" >&6; }
|
|
13675 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
|
|
13676 |
printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
|
13133 | 13677 |
fi
|
13134 | 13678 |
|
13135 | 13679 |
CPPFLAGS=$save_CPPFLAGS
|
|
13167 | 13711 |
|
13168 | 13712 |
striplib=
|
13169 | 13713 |
old_striplib=
|
13170 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
|
13171 | |
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
|
|
13714 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
|
|
13715 |
printf %s "checking whether stripping libraries is possible... " >&6; }
|
13172 | 13716 |
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
|
13173 | 13717 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
|
13174 | 13718 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
|
13175 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
13176 | |
$as_echo "yes" >&6; }
|
|
13719 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
13720 |
printf "%s\n" "yes" >&6; }
|
13177 | 13721 |
else
|
13178 | 13722 |
# FIXME - insert some real tests, host_os isn't really good enough
|
13179 | 13723 |
case $host_os in
|
|
13181 | 13725 |
if test -n "$STRIP"; then
|
13182 | 13726 |
striplib="$STRIP -x"
|
13183 | 13727 |
old_striplib="$STRIP -S"
|
13184 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
13185 | |
$as_echo "yes" >&6; }
|
|
13728 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
13729 |
printf "%s\n" "yes" >&6; }
|
13186 | 13730 |
else
|
13187 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
13188 | |
$as_echo "no" >&6; }
|
|
13731 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
13732 |
printf "%s\n" "no" >&6; }
|
13189 | 13733 |
fi
|
13190 | 13734 |
;;
|
13191 | 13735 |
*)
|
13192 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
13193 | |
$as_echo "no" >&6; }
|
|
13736 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
13737 |
printf "%s\n" "no" >&6; }
|
13194 | 13738 |
;;
|
13195 | 13739 |
esac
|
13196 | 13740 |
fi
|
|
13207 | 13751 |
|
13208 | 13752 |
|
13209 | 13753 |
# Report what library types will actually be built
|
13210 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
|
13211 | |
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
|
13212 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
|
13213 | |
$as_echo "$can_build_shared" >&6; }
|
13214 | |
|
13215 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
|
13216 | |
$as_echo_n "checking whether to build shared libraries... " >&6; }
|
|
13754 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
|
|
13755 |
printf %s "checking if libtool supports shared libraries... " >&6; }
|
|
13756 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
|
|
13757 |
printf "%s\n" "$can_build_shared" >&6; }
|
|
13758 |
|
|
13759 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
|
|
13760 |
printf %s "checking whether to build shared libraries... " >&6; }
|
13217 | 13761 |
test no = "$can_build_shared" && enable_shared=no
|
13218 | 13762 |
|
13219 | 13763 |
# On AIX, shared libraries and static libraries use the same namespace, and
|
|
13237 | 13781 |
fi
|
13238 | 13782 |
;;
|
13239 | 13783 |
esac
|
13240 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
|
13241 | |
$as_echo "$enable_shared" >&6; }
|
13242 | |
|
13243 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
|
13244 | |
$as_echo_n "checking whether to build static libraries... " >&6; }
|
|
13784 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
|
|
13785 |
printf "%s\n" "$enable_shared" >&6; }
|
|
13786 |
|
|
13787 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
|
|
13788 |
printf %s "checking whether to build static libraries... " >&6; }
|
13245 | 13789 |
# Make sure either enable_shared or enable_static is yes.
|
13246 | 13790 |
test yes = "$enable_shared" || enable_static=yes
|
13247 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
|
13248 | |
$as_echo "$enable_static" >&6; }
|
|
13791 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
|
|
13792 |
printf "%s\n" "$enable_static" >&6; }
|
13249 | 13793 |
|
13250 | 13794 |
|
13251 | 13795 |
|
|
13267 | 13811 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
13268 | 13812 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
13269 | 13813 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
13270 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
|
13271 | |
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
|
|
13814 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
|
|
13815 |
printf %s "checking how to run the C++ preprocessor... " >&6; }
|
13272 | 13816 |
if test -z "$CXXCPP"; then
|
13273 | |
if ${ac_cv_prog_CXXCPP+:} false; then :
|
13274 | |
$as_echo_n "(cached) " >&6
|
13275 | |
else
|
13276 | |
# Double quotes because CXXCPP needs to be expanded
|
13277 | |
for CXXCPP in "$CXX -E" "/lib/cpp"
|
|
13817 |
if test ${ac_cv_prog_CXXCPP+y}
|
|
13818 |
then :
|
|
13819 |
printf %s "(cached) " >&6
|
|
13820 |
else $as_nop
|
|
13821 |
# Double quotes because $CXX needs to be expanded
|
|
13822 |
for CXXCPP in "$CXX -E" cpp /lib/cpp
|
13278 | 13823 |
do
|
13279 | 13824 |
ac_preproc_ok=false
|
13280 | 13825 |
for ac_cxx_preproc_warn_flag in '' yes
|
13281 | 13826 |
do
|
13282 | 13827 |
# Use a header file that comes with gcc, so configuring glibc
|
13283 | 13828 |
# with a fresh cross-compiler works.
|
13284 | |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
13285 | |
# <limits.h> exists even on freestanding compilers.
|
13286 | 13829 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
13287 | 13830 |
# not just through cpp. "Syntax error" is here to catch this case.
|
13288 | 13831 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
13289 | 13832 |
/* end confdefs.h. */
|
13290 | |
#ifdef __STDC__
|
13291 | |
# include <limits.h>
|
13292 | |
#else
|
13293 | |
# include <assert.h>
|
13294 | |
#endif
|
|
13833 |
#include <limits.h>
|
13295 | 13834 |
Syntax error
|
13296 | 13835 |
_ACEOF
|
13297 | |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
13298 | |
|
13299 | |
else
|
|
13836 |
if ac_fn_cxx_try_cpp "$LINENO"
|
|
13837 |
then :
|
|
13838 |
|
|
13839 |
else $as_nop
|
13300 | 13840 |
# Broken: fails on valid input.
|
13301 | 13841 |
continue
|
13302 | 13842 |
fi
|
|
13308 | 13848 |
/* end confdefs.h. */
|
13309 | 13849 |
#include <ac_nonexistent.h>
|
13310 | 13850 |
_ACEOF
|
13311 | |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
|
13851 |
if ac_fn_cxx_try_cpp "$LINENO"
|
|
13852 |
then :
|
13312 | 13853 |
# Broken: success on invalid input.
|
13313 | 13854 |
continue
|
13314 | |
else
|
|
13855 |
else $as_nop
|
13315 | 13856 |
# Passes both tests.
|
13316 | 13857 |
ac_preproc_ok=:
|
13317 | 13858 |
break
|
|
13321 | 13862 |
done
|
13322 | 13863 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
13323 | 13864 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
13324 | |
if $ac_preproc_ok; then :
|
|
13865 |
if $ac_preproc_ok
|
|
13866 |
then :
|
13325 | 13867 |
break
|
13326 | 13868 |
fi
|
13327 | 13869 |
|
|
13333 | 13875 |
else
|
13334 | 13876 |
ac_cv_prog_CXXCPP=$CXXCPP
|
13335 | 13877 |
fi
|
13336 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
|
13337 | |
$as_echo "$CXXCPP" >&6; }
|
|
13878 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
|
|
13879 |
printf "%s\n" "$CXXCPP" >&6; }
|
13338 | 13880 |
ac_preproc_ok=false
|
13339 | 13881 |
for ac_cxx_preproc_warn_flag in '' yes
|
13340 | 13882 |
do
|
13341 | 13883 |
# Use a header file that comes with gcc, so configuring glibc
|
13342 | 13884 |
# with a fresh cross-compiler works.
|
13343 | |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
13344 | |
# <limits.h> exists even on freestanding compilers.
|
13345 | 13885 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
13346 | 13886 |
# not just through cpp. "Syntax error" is here to catch this case.
|
13347 | 13887 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
13348 | 13888 |
/* end confdefs.h. */
|
13349 | |
#ifdef __STDC__
|
13350 | |
# include <limits.h>
|
13351 | |
#else
|
13352 | |
# include <assert.h>
|
13353 | |
#endif
|
|
13889 |
#include <limits.h>
|
13354 | 13890 |
Syntax error
|
13355 | 13891 |
_ACEOF
|
13356 | |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
13357 | |
|
13358 | |
else
|
|
13892 |
if ac_fn_cxx_try_cpp "$LINENO"
|
|
13893 |
then :
|
|
13894 |
|
|
13895 |
else $as_nop
|
13359 | 13896 |
# Broken: fails on valid input.
|
13360 | 13897 |
continue
|
13361 | 13898 |
fi
|
|
13367 | 13904 |
/* end confdefs.h. */
|
13368 | 13905 |
#include <ac_nonexistent.h>
|
13369 | 13906 |
_ACEOF
|
13370 | |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
|
13907 |
if ac_fn_cxx_try_cpp "$LINENO"
|
|
13908 |
then :
|
13371 | 13909 |
# Broken: success on invalid input.
|
13372 | 13910 |
continue
|
13373 | |
else
|
|
13911 |
else $as_nop
|
13374 | 13912 |
# Passes both tests.
|
13375 | 13913 |
ac_preproc_ok=:
|
13376 | 13914 |
break
|
|
13380 | 13918 |
done
|
13381 | 13919 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
13382 | 13920 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
13383 | |
if $ac_preproc_ok; then :
|
13384 | |
|
13385 | |
else
|
13386 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
13387 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
13921 |
if $ac_preproc_ok
|
|
13922 |
then :
|
|
13923 |
|
|
13924 |
else $as_nop
|
|
13925 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
13926 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
13388 | 13927 |
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
|
13389 | 13928 |
See \`config.log' for more details" "$LINENO" 5; }
|
13390 | 13929 |
fi
|
|
13520 | 14059 |
|
13521 | 14060 |
|
13522 | 14061 |
# Check whether --with-gnu-ld was given.
|
13523 | |
if test "${with_gnu_ld+set}" = set; then :
|
|
14062 |
if test ${with_gnu_ld+y}
|
|
14063 |
then :
|
13524 | 14064 |
withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
|
13525 | |
else
|
|
14065 |
else $as_nop
|
13526 | 14066 |
with_gnu_ld=no
|
13527 | 14067 |
fi
|
13528 | 14068 |
|
13529 | 14069 |
ac_prog=ld
|
13530 | 14070 |
if test yes = "$GCC"; then
|
13531 | 14071 |
# Check if gcc -print-prog-name=ld gives a path.
|
13532 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
13533 | |
$as_echo_n "checking for ld used by $CC... " >&6; }
|
|
14072 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
|
14073 |
printf %s "checking for ld used by $CC... " >&6; }
|
13534 | 14074 |
case $host in
|
13535 | 14075 |
*-*-mingw*)
|
13536 | 14076 |
# gcc leaves a trailing carriage return, which upsets mingw
|
|
13559 | 14099 |
;;
|
13560 | 14100 |
esac
|
13561 | 14101 |
elif test yes = "$with_gnu_ld"; then
|
13562 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
13563 | |
$as_echo_n "checking for GNU ld... " >&6; }
|
|
14102 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
|
14103 |
printf %s "checking for GNU ld... " >&6; }
|
13564 | 14104 |
else
|
13565 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
13566 | |
$as_echo_n "checking for non-GNU ld... " >&6; }
|
13567 | |
fi
|
13568 | |
if ${lt_cv_path_LD+:} false; then :
|
13569 | |
$as_echo_n "(cached) " >&6
|
13570 | |
else
|
|
14105 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
|
14106 |
printf %s "checking for non-GNU ld... " >&6; }
|
|
14107 |
fi
|
|
14108 |
if test ${lt_cv_path_LD+y}
|
|
14109 |
then :
|
|
14110 |
printf %s "(cached) " >&6
|
|
14111 |
else $as_nop
|
13571 | 14112 |
if test -z "$LD"; then
|
13572 | 14113 |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
|
13573 | 14114 |
for ac_dir in $PATH; do
|
|
13596 | 14137 |
|
13597 | 14138 |
LD=$lt_cv_path_LD
|
13598 | 14139 |
if test -n "$LD"; then
|
13599 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
13600 | |
$as_echo "$LD" >&6; }
|
|
14140 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
|
14141 |
printf "%s\n" "$LD" >&6; }
|
13601 | 14142 |
else
|
13602 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
13603 | |
$as_echo "no" >&6; }
|
|
14143 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
14144 |
printf "%s\n" "no" >&6; }
|
13604 | 14145 |
fi
|
13605 | 14146 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
|
13606 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
13607 | |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
|
13608 | |
if ${lt_cv_prog_gnu_ld+:} false; then :
|
13609 | |
$as_echo_n "(cached) " >&6
|
13610 | |
else
|
|
14147 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
|
14148 |
printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
|
|
14149 |
if test ${lt_cv_prog_gnu_ld+y}
|
|
14150 |
then :
|
|
14151 |
printf %s "(cached) " >&6
|
|
14152 |
else $as_nop
|
13611 | 14153 |
# I'd rather use --version here, but apparently some GNU lds only accept -v.
|
13612 | 14154 |
case `$LD -v 2>&1 </dev/null` in
|
13613 | 14155 |
*GNU* | *'with BFD'*)
|
|
13618 | 14160 |
;;
|
13619 | 14161 |
esac
|
13620 | 14162 |
fi
|
13621 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
13622 | |
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
|
|
14163 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
|
14164 |
printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
|
13623 | 14165 |
with_gnu_ld=$lt_cv_prog_gnu_ld
|
13624 | 14166 |
|
13625 | 14167 |
|
|
13673 | 14215 |
fi
|
13674 | 14216 |
|
13675 | 14217 |
# PORTME: fill in a description of your system's C++ link characteristics
|
13676 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
13677 | |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
|
14218 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
|
14219 |
printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
13678 | 14220 |
ld_shlibs_CXX=yes
|
13679 | 14221 |
case $host_os in
|
13680 | 14222 |
aix3*)
|
|
13812 | 14354 |
if test set = "${lt_cv_aix_libpath+set}"; then
|
13813 | 14355 |
aix_libpath=$lt_cv_aix_libpath
|
13814 | 14356 |
else
|
13815 | |
if ${lt_cv_aix_libpath__CXX+:} false; then :
|
13816 | |
$as_echo_n "(cached) " >&6
|
13817 | |
else
|
|
14357 |
if test ${lt_cv_aix_libpath__CXX+y}
|
|
14358 |
then :
|
|
14359 |
printf %s "(cached) " >&6
|
|
14360 |
else $as_nop
|
13818 | 14361 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
13819 | 14362 |
/* end confdefs.h. */
|
13820 | 14363 |
|
13821 | 14364 |
int
|
13822 | |
main ()
|
|
14365 |
main (void)
|
13823 | 14366 |
{
|
13824 | 14367 |
|
13825 | 14368 |
;
|
13826 | 14369 |
return 0;
|
13827 | 14370 |
}
|
13828 | 14371 |
_ACEOF
|
13829 | |
if ac_fn_cxx_try_link "$LINENO"; then :
|
|
14372 |
if ac_fn_cxx_try_link "$LINENO"
|
|
14373 |
then :
|
13830 | 14374 |
|
13831 | 14375 |
lt_aix_libpath_sed='
|
13832 | 14376 |
/Import File Strings/,/^$/ {
|
|
13841 | 14385 |
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
13842 | 14386 |
fi
|
13843 | 14387 |
fi
|
13844 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
14388 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
13845 | 14389 |
conftest$ac_exeext conftest.$ac_ext
|
13846 | 14390 |
if test -z "$lt_cv_aix_libpath__CXX"; then
|
13847 | 14391 |
lt_cv_aix_libpath__CXX=/usr/lib:/lib
|
|
13866 | 14410 |
if test set = "${lt_cv_aix_libpath+set}"; then
|
13867 | 14411 |
aix_libpath=$lt_cv_aix_libpath
|
13868 | 14412 |
else
|
13869 | |
if ${lt_cv_aix_libpath__CXX+:} false; then :
|
13870 | |
$as_echo_n "(cached) " >&6
|
13871 | |
else
|
|
14413 |
if test ${lt_cv_aix_libpath__CXX+y}
|
|
14414 |
then :
|
|
14415 |
printf %s "(cached) " >&6
|
|
14416 |
else $as_nop
|
13872 | 14417 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
13873 | 14418 |
/* end confdefs.h. */
|
13874 | 14419 |
|
13875 | 14420 |
int
|
13876 | |
main ()
|
|
14421 |
main (void)
|
13877 | 14422 |
{
|
13878 | 14423 |
|
13879 | 14424 |
;
|
13880 | 14425 |
return 0;
|
13881 | 14426 |
}
|
13882 | 14427 |
_ACEOF
|
13883 | |
if ac_fn_cxx_try_link "$LINENO"; then :
|
|
14428 |
if ac_fn_cxx_try_link "$LINENO"
|
|
14429 |
then :
|
13884 | 14430 |
|
13885 | 14431 |
lt_aix_libpath_sed='
|
13886 | 14432 |
/Import File Strings/,/^$/ {
|
|
13895 | 14441 |
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
13896 | 14442 |
fi
|
13897 | 14443 |
fi
|
13898 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
14444 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
13899 | 14445 |
conftest$ac_exeext conftest.$ac_ext
|
13900 | 14446 |
if test -z "$lt_cv_aix_libpath__CXX"; then
|
13901 | 14447 |
lt_cv_aix_libpath__CXX=/usr/lib:/lib
|
|
14746 | 15292 |
;;
|
14747 | 15293 |
esac
|
14748 | 15294 |
|
14749 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
|
14750 | |
$as_echo "$ld_shlibs_CXX" >&6; }
|
|
15295 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
|
|
15296 |
printf "%s\n" "$ld_shlibs_CXX" >&6; }
|
14751 | 15297 |
test no = "$ld_shlibs_CXX" && can_build_shared=no
|
14752 | 15298 |
|
14753 | 15299 |
GCC_CXX=$GXX
|
|
14785 | 15331 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
14786 | 15332 |
(eval $ac_compile) 2>&5
|
14787 | 15333 |
ac_status=$?
|
14788 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
15334 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
14789 | 15335 |
test $ac_status = 0; }; then
|
14790 | 15336 |
# Parse the compiler output and extract the necessary
|
14791 | 15337 |
# objects, libraries and library flags.
|
|
15266 | 15812 |
;;
|
15267 | 15813 |
esac
|
15268 | 15814 |
|
15269 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
15270 | |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
15271 | |
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
|
15272 | |
$as_echo_n "(cached) " >&6
|
15273 | |
else
|
|
15815 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
|
15816 |
printf %s "checking for $compiler option to produce PIC... " >&6; }
|
|
15817 |
if test ${lt_cv_prog_compiler_pic_CXX+y}
|
|
15818 |
then :
|
|
15819 |
printf %s "(cached) " >&6
|
|
15820 |
else $as_nop
|
15274 | 15821 |
lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
|
15275 | 15822 |
fi
|
15276 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
|
15277 | |
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
|
|
15823 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
|
|
15824 |
printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
|
15278 | 15825 |
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
|
15279 | 15826 |
|
15280 | 15827 |
#
|
15281 | 15828 |
# Check to make sure the PIC flag actually works.
|
15282 | 15829 |
#
|
15283 | 15830 |
if test -n "$lt_prog_compiler_pic_CXX"; then
|
15284 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
|
15285 | |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
|
15286 | |
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
|
15287 | |
$as_echo_n "(cached) " >&6
|
15288 | |
else
|
|
15831 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
|
|
15832 |
printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
|
|
15833 |
if test ${lt_cv_prog_compiler_pic_works_CXX+y}
|
|
15834 |
then :
|
|
15835 |
printf %s "(cached) " >&6
|
|
15836 |
else $as_nop
|
15289 | 15837 |
lt_cv_prog_compiler_pic_works_CXX=no
|
15290 | 15838 |
ac_outfile=conftest.$ac_objext
|
15291 | 15839 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
15316 | 15864 |
$RM conftest*
|
15317 | 15865 |
|
15318 | 15866 |
fi
|
15319 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
|
15320 | |
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
|
|
15867 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
|
|
15868 |
printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
|
15321 | 15869 |
|
15322 | 15870 |
if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
|
15323 | 15871 |
case $lt_prog_compiler_pic_CXX in
|
|
15339 | 15887 |
# Check to make sure the static flag actually works.
|
15340 | 15888 |
#
|
15341 | 15889 |
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
|
15342 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
15343 | |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
15344 | |
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
|
15345 | |
$as_echo_n "(cached) " >&6
|
15346 | |
else
|
|
15890 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
|
15891 |
printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
|
15892 |
if test ${lt_cv_prog_compiler_static_works_CXX+y}
|
|
15893 |
then :
|
|
15894 |
printf %s "(cached) " >&6
|
|
15895 |
else $as_nop
|
15347 | 15896 |
lt_cv_prog_compiler_static_works_CXX=no
|
15348 | 15897 |
save_LDFLAGS=$LDFLAGS
|
15349 | 15898 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
|
|
15367 | 15916 |
LDFLAGS=$save_LDFLAGS
|
15368 | 15917 |
|
15369 | 15918 |
fi
|
15370 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
|
15371 | |
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
|
|
15919 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
|
|
15920 |
printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
|
15372 | 15921 |
|
15373 | 15922 |
if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
|
15374 | 15923 |
:
|
|
15379 | 15928 |
|
15380 | 15929 |
|
15381 | 15930 |
|
15382 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
15383 | |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
15384 | |
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
|
15385 | |
$as_echo_n "(cached) " >&6
|
15386 | |
else
|
|
15931 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
15932 |
printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
|
15933 |
if test ${lt_cv_prog_compiler_c_o_CXX+y}
|
|
15934 |
then :
|
|
15935 |
printf %s "(cached) " >&6
|
|
15936 |
else $as_nop
|
15387 | 15937 |
lt_cv_prog_compiler_c_o_CXX=no
|
15388 | 15938 |
$RM -r conftest 2>/dev/null
|
15389 | 15939 |
mkdir conftest
|
|
15426 | 15976 |
$RM conftest*
|
15427 | 15977 |
|
15428 | 15978 |
fi
|
15429 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
|
15430 | |
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
|
15431 | |
|
15432 | |
|
15433 | |
|
15434 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
15435 | |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
15436 | |
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
|
15437 | |
$as_echo_n "(cached) " >&6
|
15438 | |
else
|
|
15979 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
|
|
15980 |
printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
|
|
15981 |
|
|
15982 |
|
|
15983 |
|
|
15984 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
15985 |
printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
|
15986 |
if test ${lt_cv_prog_compiler_c_o_CXX+y}
|
|
15987 |
then :
|
|
15988 |
printf %s "(cached) " >&6
|
|
15989 |
else $as_nop
|
15439 | 15990 |
lt_cv_prog_compiler_c_o_CXX=no
|
15440 | 15991 |
$RM -r conftest 2>/dev/null
|
15441 | 15992 |
mkdir conftest
|
|
15478 | 16029 |
$RM conftest*
|
15479 | 16030 |
|
15480 | 16031 |
fi
|
15481 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
|
15482 | |
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
|
|
16032 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
|
|
16033 |
printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
|
15483 | 16034 |
|
15484 | 16035 |
|
15485 | 16036 |
|
|
15487 | 16038 |
hard_links=nottested
|
15488 | 16039 |
if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
|
15489 | 16040 |
# do not overwrite the value of need_locks provided by the user
|
15490 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
15491 | |
$as_echo_n "checking if we can lock with hard links... " >&6; }
|
|
16041 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
|
16042 |
printf %s "checking if we can lock with hard links... " >&6; }
|
15492 | 16043 |
hard_links=yes
|
15493 | 16044 |
$RM conftest*
|
15494 | 16045 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
15495 | 16046 |
touch conftest.a
|
15496 | 16047 |
ln conftest.a conftest.b 2>&5 || hard_links=no
|
15497 | 16048 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
15498 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
15499 | |
$as_echo "$hard_links" >&6; }
|
|
16049 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
|
16050 |
printf "%s\n" "$hard_links" >&6; }
|
15500 | 16051 |
if test no = "$hard_links"; then
|
15501 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
|
15502 | |
$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
|
|
16052 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
|
|
16053 |
printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
|
15503 | 16054 |
need_locks=warn
|
15504 | 16055 |
fi
|
15505 | 16056 |
else
|
|
15508 | 16059 |
|
15509 | 16060 |
|
15510 | 16061 |
|
15511 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
15512 | |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
|
16062 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
|
16063 |
printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
15513 | 16064 |
|
15514 | 16065 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
15515 | 16066 |
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
|
|
15551 | 16102 |
;;
|
15552 | 16103 |
esac
|
15553 | 16104 |
|
15554 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
|
15555 | |
$as_echo "$ld_shlibs_CXX" >&6; }
|
|
16105 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
|
|
16106 |
printf "%s\n" "$ld_shlibs_CXX" >&6; }
|
15556 | 16107 |
test no = "$ld_shlibs_CXX" && can_build_shared=no
|
15557 | 16108 |
|
15558 | 16109 |
with_gnu_ld_CXX=$with_gnu_ld
|
|
15579 | 16130 |
# Test whether the compiler implicitly links with -lc since on some
|
15580 | 16131 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc
|
15581 | 16132 |
# to ld, don't add -lc before -lgcc.
|
15582 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
15583 | |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
15584 | |
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
|
15585 | |
$as_echo_n "(cached) " >&6
|
15586 | |
else
|
|
16133 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
|
16134 |
printf %s "checking whether -lc should be explicitly linked in... " >&6; }
|
|
16135 |
if test ${lt_cv_archive_cmds_need_lc_CXX+y}
|
|
16136 |
then :
|
|
16137 |
printf %s "(cached) " >&6
|
|
16138 |
else $as_nop
|
15587 | 16139 |
$RM conftest*
|
15588 | 16140 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
15589 | 16141 |
|
15590 | 16142 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
15591 | 16143 |
(eval $ac_compile) 2>&5
|
15592 | 16144 |
ac_status=$?
|
15593 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
16145 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
15594 | 16146 |
test $ac_status = 0; } 2>conftest.err; then
|
15595 | 16147 |
soname=conftest
|
15596 | 16148 |
lib=conftest
|
|
15608 | 16160 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
|
15609 | 16161 |
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
15610 | 16162 |
ac_status=$?
|
15611 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
16163 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
15612 | 16164 |
test $ac_status = 0; }
|
15613 | 16165 |
then
|
15614 | 16166 |
lt_cv_archive_cmds_need_lc_CXX=no
|
|
15622 | 16174 |
$RM conftest*
|
15623 | 16175 |
|
15624 | 16176 |
fi
|
15625 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
|
15626 | |
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
|
|
16177 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
|
|
16178 |
printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
|
15627 | 16179 |
archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
|
15628 | 16180 |
;;
|
15629 | 16181 |
esac
|
|
15692 | 16244 |
|
15693 | 16245 |
|
15694 | 16246 |
|
15695 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
15696 | |
$as_echo_n "checking dynamic linker characteristics... " >&6; }
|
|
16247 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
|
16248 |
printf %s "checking dynamic linker characteristics... " >&6; }
|
15697 | 16249 |
|
15698 | 16250 |
library_names_spec=
|
15699 | 16251 |
libname_spec='lib$name'
|
|
16181 | 16733 |
shlibpath_overrides_runpath=no
|
16182 | 16734 |
|
16183 | 16735 |
# Some binutils ld are patched to set DT_RUNPATH
|
16184 | |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
|
16185 | |
$as_echo_n "(cached) " >&6
|
16186 | |
else
|
|
16736 |
if test ${lt_cv_shlibpath_overrides_runpath+y}
|
|
16737 |
then :
|
|
16738 |
printf %s "(cached) " >&6
|
|
16739 |
else $as_nop
|
16187 | 16740 |
lt_cv_shlibpath_overrides_runpath=no
|
16188 | 16741 |
save_LDFLAGS=$LDFLAGS
|
16189 | 16742 |
save_libdir=$libdir
|
|
16193 | 16746 |
/* end confdefs.h. */
|
16194 | 16747 |
|
16195 | 16748 |
int
|
16196 | |
main ()
|
|
16749 |
main (void)
|
16197 | 16750 |
{
|
16198 | 16751 |
|
16199 | 16752 |
;
|
16200 | 16753 |
return 0;
|
16201 | 16754 |
}
|
16202 | 16755 |
_ACEOF
|
16203 | |
if ac_fn_cxx_try_link "$LINENO"; then :
|
16204 | |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
|
|
16756 |
if ac_fn_cxx_try_link "$LINENO"
|
|
16757 |
then :
|
|
16758 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
|
|
16759 |
then :
|
16205 | 16760 |
lt_cv_shlibpath_overrides_runpath=yes
|
16206 | 16761 |
fi
|
16207 | 16762 |
fi
|
16208 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
16763 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
16209 | 16764 |
conftest$ac_exeext conftest.$ac_ext
|
16210 | 16765 |
LDFLAGS=$save_LDFLAGS
|
16211 | 16766 |
libdir=$save_libdir
|
|
16449 | 17004 |
dynamic_linker=no
|
16450 | 17005 |
;;
|
16451 | 17006 |
esac
|
16452 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
16453 | |
$as_echo "$dynamic_linker" >&6; }
|
|
17007 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
|
17008 |
printf "%s\n" "$dynamic_linker" >&6; }
|
16454 | 17009 |
test no = "$dynamic_linker" && can_build_shared=no
|
16455 | 17010 |
|
16456 | 17011 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
|
|
16514 | 17069 |
|
16515 | 17070 |
|
16516 | 17071 |
|
16517 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
16518 | |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
|
|
17072 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
|
17073 |
printf %s "checking how to hardcode library paths into programs... " >&6; }
|
16519 | 17074 |
hardcode_action_CXX=
|
16520 | 17075 |
if test -n "$hardcode_libdir_flag_spec_CXX" ||
|
16521 | 17076 |
test -n "$runpath_var_CXX" ||
|
|
16539 | 17094 |
# directories.
|
16540 | 17095 |
hardcode_action_CXX=unsupported
|
16541 | 17096 |
fi
|
16542 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
|
16543 | |
$as_echo "$hardcode_action_CXX" >&6; }
|
|
17097 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
|
|
17098 |
printf "%s\n" "$hardcode_action_CXX" >&6; }
|
16544 | 17099 |
|
16545 | 17100 |
if test relink = "$hardcode_action_CXX" ||
|
16546 | 17101 |
test yes = "$inherit_rpath_CXX"; then
|
|
16622 | 17177 |
"
|
16623 | 17178 |
#AX_CHECK_COMPILE_FLAG(["-Wc90-c99-compat"],
|
16624 | 17179 |
# [my_CFLAGS="$my_CFLAGS -Wc90-c99-compat"])
|
16625 | |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__"-Wc99-c11-compat"" | $as_tr_sh`
|
16626 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts \"-Wc99-c11-compat\"" >&5
|
16627 | |
$as_echo_n "checking whether C compiler accepts \"-Wc99-c11-compat\"... " >&6; }
|
16628 | |
if eval \${$as_CACHEVAR+:} false; then :
|
16629 | |
$as_echo_n "(cached) " >&6
|
16630 | |
else
|
|
17180 |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__"-Wc99-c11-compat"" | $as_tr_sh`
|
|
17181 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts \"-Wc99-c11-compat\"" >&5
|
|
17182 |
printf %s "checking whether C compiler accepts \"-Wc99-c11-compat\"... " >&6; }
|
|
17183 |
if eval test \${$as_CACHEVAR+y}
|
|
17184 |
then :
|
|
17185 |
printf %s "(cached) " >&6
|
|
17186 |
else $as_nop
|
16631 | 17187 |
|
16632 | 17188 |
ax_check_save_flags=$CFLAGS
|
16633 | 17189 |
CFLAGS="$CFLAGS "-Wc99-c11-compat""
|
|
16635 | 17191 |
/* end confdefs.h. */
|
16636 | 17192 |
|
16637 | 17193 |
int
|
16638 | |
main ()
|
|
17194 |
main (void)
|
16639 | 17195 |
{
|
16640 | 17196 |
|
16641 | 17197 |
;
|
16642 | 17198 |
return 0;
|
16643 | 17199 |
}
|
16644 | 17200 |
_ACEOF
|
16645 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
17201 |
if ac_fn_c_try_compile "$LINENO"
|
|
17202 |
then :
|
16646 | 17203 |
eval "$as_CACHEVAR=yes"
|
16647 | |
else
|
|
17204 |
else $as_nop
|
16648 | 17205 |
eval "$as_CACHEVAR=no"
|
16649 | 17206 |
fi
|
16650 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
17207 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
16651 | 17208 |
CFLAGS=$ax_check_save_flags
|
16652 | 17209 |
fi
|
16653 | 17210 |
eval ac_res=\$$as_CACHEVAR
|
16654 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
16655 | |
$as_echo "$ac_res" >&6; }
|
16656 | |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
|
17211 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
17212 |
printf "%s\n" "$ac_res" >&6; }
|
|
17213 |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
|
|
17214 |
then :
|
16657 | 17215 |
my_CFLAGS="$my_CFLAGS -Wc99-c11-compat"
|
16658 | |
else
|
|
17216 |
else $as_nop
|
16659 | 17217 |
:
|
16660 | 17218 |
fi
|
16661 | 17219 |
|
16662 | |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__"-Werror=incompatible-pointer-types"" | $as_tr_sh`
|
16663 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts \"-Werror=incompatible-pointer-types\"" >&5
|
16664 | |
$as_echo_n "checking whether C compiler accepts \"-Werror=incompatible-pointer-types\"... " >&6; }
|
16665 | |
if eval \${$as_CACHEVAR+:} false; then :
|
16666 | |
$as_echo_n "(cached) " >&6
|
16667 | |
else
|
|
17220 |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__"-Werror=incompatible-pointer-types"" | $as_tr_sh`
|
|
17221 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts \"-Werror=incompatible-pointer-types\"" >&5
|
|
17222 |
printf %s "checking whether C compiler accepts \"-Werror=incompatible-pointer-types\"... " >&6; }
|
|
17223 |
if eval test \${$as_CACHEVAR+y}
|
|
17224 |
then :
|
|
17225 |
printf %s "(cached) " >&6
|
|
17226 |
else $as_nop
|
16668 | 17227 |
|
16669 | 17228 |
ax_check_save_flags=$CFLAGS
|
16670 | 17229 |
CFLAGS="$CFLAGS "-Werror=incompatible-pointer-types""
|
|
16672 | 17231 |
/* end confdefs.h. */
|
16673 | 17232 |
|
16674 | 17233 |
int
|
16675 | |
main ()
|
|
17234 |
main (void)
|
16676 | 17235 |
{
|
16677 | 17236 |
|
16678 | 17237 |
;
|
16679 | 17238 |
return 0;
|
16680 | 17239 |
}
|
16681 | 17240 |
_ACEOF
|
16682 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
17241 |
if ac_fn_c_try_compile "$LINENO"
|
|
17242 |
then :
|
16683 | 17243 |
eval "$as_CACHEVAR=yes"
|
16684 | |
else
|
|
17244 |
else $as_nop
|
16685 | 17245 |
eval "$as_CACHEVAR=no"
|
16686 | 17246 |
fi
|
16687 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
17247 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
16688 | 17248 |
CFLAGS=$ax_check_save_flags
|
16689 | 17249 |
fi
|
16690 | 17250 |
eval ac_res=\$$as_CACHEVAR
|
16691 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
16692 | |
$as_echo "$ac_res" >&6; }
|
16693 | |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
|
17251 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
17252 |
printf "%s\n" "$ac_res" >&6; }
|
|
17253 |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
|
|
17254 |
then :
|
16694 | 17255 |
my_CFLAGS="$my_CFLAGS -Werror=incompatible-pointer-types"
|
16695 | |
else
|
|
17256 |
else $as_nop
|
16696 | 17257 |
:
|
16697 | 17258 |
fi
|
16698 | 17259 |
|
16699 | |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__"-Werror=int-conversion"" | $as_tr_sh`
|
16700 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts \"-Werror=int-conversion\"" >&5
|
16701 | |
$as_echo_n "checking whether C compiler accepts \"-Werror=int-conversion\"... " >&6; }
|
16702 | |
if eval \${$as_CACHEVAR+:} false; then :
|
16703 | |
$as_echo_n "(cached) " >&6
|
16704 | |
else
|
|
17260 |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__"-Werror=int-conversion"" | $as_tr_sh`
|
|
17261 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts \"-Werror=int-conversion\"" >&5
|
|
17262 |
printf %s "checking whether C compiler accepts \"-Werror=int-conversion\"... " >&6; }
|
|
17263 |
if eval test \${$as_CACHEVAR+y}
|
|
17264 |
then :
|
|
17265 |
printf %s "(cached) " >&6
|
|
17266 |
else $as_nop
|
16705 | 17267 |
|
16706 | 17268 |
ax_check_save_flags=$CFLAGS
|
16707 | 17269 |
CFLAGS="$CFLAGS "-Werror=int-conversion""
|
|
16709 | 17271 |
/* end confdefs.h. */
|
16710 | 17272 |
|
16711 | 17273 |
int
|
16712 | |
main ()
|
|
17274 |
main (void)
|
16713 | 17275 |
{
|
16714 | 17276 |
|
16715 | 17277 |
;
|
16716 | 17278 |
return 0;
|
16717 | 17279 |
}
|
16718 | 17280 |
_ACEOF
|
16719 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
17281 |
if ac_fn_c_try_compile "$LINENO"
|
|
17282 |
then :
|
16720 | 17283 |
eval "$as_CACHEVAR=yes"
|
16721 | |
else
|
|
17284 |
else $as_nop
|
16722 | 17285 |
eval "$as_CACHEVAR=no"
|
16723 | 17286 |
fi
|
16724 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
17287 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
16725 | 17288 |
CFLAGS=$ax_check_save_flags
|
16726 | 17289 |
fi
|
16727 | 17290 |
eval ac_res=\$$as_CACHEVAR
|
16728 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
16729 | |
$as_echo "$ac_res" >&6; }
|
16730 | |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
|
17291 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
17292 |
printf "%s\n" "$ac_res" >&6; }
|
|
17293 |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
|
|
17294 |
then :
|
16731 | 17295 |
my_CFLAGS="$my_CFLAGS -Werror=int-conversion"
|
16732 | |
else
|
|
17296 |
else $as_nop
|
16733 | 17297 |
:
|
16734 | 17298 |
fi
|
16735 | 17299 |
|
16736 | |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__"-Wnull-dereference"" | $as_tr_sh`
|
16737 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts \"-Wnull-dereference\"" >&5
|
16738 | |
$as_echo_n "checking whether C compiler accepts \"-Wnull-dereference\"... " >&6; }
|
16739 | |
if eval \${$as_CACHEVAR+:} false; then :
|
16740 | |
$as_echo_n "(cached) " >&6
|
16741 | |
else
|
|
17300 |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__"-Wnull-dereference"" | $as_tr_sh`
|
|
17301 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts \"-Wnull-dereference\"" >&5
|
|
17302 |
printf %s "checking whether C compiler accepts \"-Wnull-dereference\"... " >&6; }
|
|
17303 |
if eval test \${$as_CACHEVAR+y}
|
|
17304 |
then :
|
|
17305 |
printf %s "(cached) " >&6
|
|
17306 |
else $as_nop
|
16742 | 17307 |
|
16743 | 17308 |
ax_check_save_flags=$CFLAGS
|
16744 | 17309 |
CFLAGS="$CFLAGS "-Wnull-dereference""
|
|
16746 | 17311 |
/* end confdefs.h. */
|
16747 | 17312 |
|
16748 | 17313 |
int
|
16749 | |
main ()
|
|
17314 |
main (void)
|
16750 | 17315 |
{
|
16751 | 17316 |
|
16752 | 17317 |
;
|
16753 | 17318 |
return 0;
|
16754 | 17319 |
}
|
16755 | 17320 |
_ACEOF
|
16756 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
17321 |
if ac_fn_c_try_compile "$LINENO"
|
|
17322 |
then :
|
16757 | 17323 |
eval "$as_CACHEVAR=yes"
|
16758 | |
else
|
|
17324 |
else $as_nop
|
16759 | 17325 |
eval "$as_CACHEVAR=no"
|
16760 | 17326 |
fi
|
16761 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
17327 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
16762 | 17328 |
CFLAGS=$ax_check_save_flags
|
16763 | 17329 |
fi
|
16764 | 17330 |
eval ac_res=\$$as_CACHEVAR
|
16765 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
16766 | |
$as_echo "$ac_res" >&6; }
|
16767 | |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
|
17331 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
17332 |
printf "%s\n" "$ac_res" >&6; }
|
|
17333 |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
|
|
17334 |
then :
|
16768 | 17335 |
my_CFLAGS="$my_CFLAGS -Wnull-dereference"
|
16769 | |
else
|
|
17336 |
else $as_nop
|
16770 | 17337 |
:
|
16771 | 17338 |
fi
|
16772 | 17339 |
|
|
16776 | 17343 |
do
|
16777 | 17344 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
16778 | 17345 |
set dummy $ac_prog; ac_word=$2
|
16779 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
16780 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
16781 | |
if ${ac_cv_prog_DOXYGEN+:} false; then :
|
16782 | |
$as_echo_n "(cached) " >&6
|
16783 | |
else
|
|
17346 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
17347 |
printf %s "checking for $ac_word... " >&6; }
|
|
17348 |
if test ${ac_cv_prog_DOXYGEN+y}
|
|
17349 |
then :
|
|
17350 |
printf %s "(cached) " >&6
|
|
17351 |
else $as_nop
|
16784 | 17352 |
if test -n "$DOXYGEN"; then
|
16785 | 17353 |
ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
|
16786 | 17354 |
else
|
|
16788 | 17356 |
for as_dir in $PATH
|
16789 | 17357 |
do
|
16790 | 17358 |
IFS=$as_save_IFS
|
16791 | |
test -z "$as_dir" && as_dir=.
|
|
17359 |
case $as_dir in #(((
|
|
17360 |
'') as_dir=./ ;;
|
|
17361 |
*/) ;;
|
|
17362 |
*) as_dir=$as_dir/ ;;
|
|
17363 |
esac
|
16792 | 17364 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
16793 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
17365 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
16794 | 17366 |
ac_cv_prog_DOXYGEN="$ac_prog"
|
16795 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
17367 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
16796 | 17368 |
break 2
|
16797 | 17369 |
fi
|
16798 | 17370 |
done
|
|
16803 | 17375 |
fi
|
16804 | 17376 |
DOXYGEN=$ac_cv_prog_DOXYGEN
|
16805 | 17377 |
if test -n "$DOXYGEN"; then
|
16806 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
|
16807 | |
$as_echo "$DOXYGEN" >&6; }
|
|
17378 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
|
|
17379 |
printf "%s\n" "$DOXYGEN" >&6; }
|
16808 | 17380 |
else
|
16809 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
16810 | |
$as_echo "no" >&6; }
|
|
17381 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
17382 |
printf "%s\n" "no" >&6; }
|
16811 | 17383 |
fi
|
16812 | 17384 |
|
16813 | 17385 |
|
|
16841 | 17413 |
if test -n "$ac_tool_prefix"; then
|
16842 | 17414 |
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
|
16843 | 17415 |
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
|
16844 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
16845 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
16846 | |
if ${ac_cv_path_PKG_CONFIG+:} false; then :
|
16847 | |
$as_echo_n "(cached) " >&6
|
16848 | |
else
|
|
17416 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
17417 |
printf %s "checking for $ac_word... " >&6; }
|
|
17418 |
if test ${ac_cv_path_PKG_CONFIG+y}
|
|
17419 |
then :
|
|
17420 |
printf %s "(cached) " >&6
|
|
17421 |
else $as_nop
|
16849 | 17422 |
case $PKG_CONFIG in
|
16850 | 17423 |
[\\/]* | ?:[\\/]*)
|
16851 | 17424 |
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
|
|
16855 | 17428 |
for as_dir in $PATH
|
16856 | 17429 |
do
|
16857 | 17430 |
IFS=$as_save_IFS
|
16858 | |
test -z "$as_dir" && as_dir=.
|
|
17431 |
case $as_dir in #(((
|
|
17432 |
'') as_dir=./ ;;
|
|
17433 |
*/) ;;
|
|
17434 |
*) as_dir=$as_dir/ ;;
|
|
17435 |
esac
|
16859 | 17436 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
16860 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
16861 | |
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
16862 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
17437 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
17438 |
ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
|
|
17439 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
16863 | 17440 |
break 2
|
16864 | 17441 |
fi
|
16865 | 17442 |
done
|
|
16871 | 17448 |
fi
|
16872 | 17449 |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
|
16873 | 17450 |
if test -n "$PKG_CONFIG"; then
|
16874 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
|
16875 | |
$as_echo "$PKG_CONFIG" >&6; }
|
|
17451 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
|
|
17452 |
printf "%s\n" "$PKG_CONFIG" >&6; }
|
16876 | 17453 |
else
|
16877 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
16878 | |
$as_echo "no" >&6; }
|
|
17454 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
17455 |
printf "%s\n" "no" >&6; }
|
16879 | 17456 |
fi
|
16880 | 17457 |
|
16881 | 17458 |
|
|
16884 | 17461 |
ac_pt_PKG_CONFIG=$PKG_CONFIG
|
16885 | 17462 |
# Extract the first word of "pkg-config", so it can be a program name with args.
|
16886 | 17463 |
set dummy pkg-config; ac_word=$2
|
16887 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
16888 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
16889 | |
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
|
16890 | |
$as_echo_n "(cached) " >&6
|
16891 | |
else
|
|
17464 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
17465 |
printf %s "checking for $ac_word... " >&6; }
|
|
17466 |
if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
|
|
17467 |
then :
|
|
17468 |
printf %s "(cached) " >&6
|
|
17469 |
else $as_nop
|
16892 | 17470 |
case $ac_pt_PKG_CONFIG in
|
16893 | 17471 |
[\\/]* | ?:[\\/]*)
|
16894 | 17472 |
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
|
|
16898 | 17476 |
for as_dir in $PATH
|
16899 | 17477 |
do
|
16900 | 17478 |
IFS=$as_save_IFS
|
16901 | |
test -z "$as_dir" && as_dir=.
|
|
17479 |
case $as_dir in #(((
|
|
17480 |
'') as_dir=./ ;;
|
|
17481 |
*/) ;;
|
|
17482 |
*) as_dir=$as_dir/ ;;
|
|
17483 |
esac
|
16902 | 17484 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
16903 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
16904 | |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
16905 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
17485 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
17486 |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
|
|
17487 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
16906 | 17488 |
break 2
|
16907 | 17489 |
fi
|
16908 | 17490 |
done
|
|
16914 | 17496 |
fi
|
16915 | 17497 |
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
|
16916 | 17498 |
if test -n "$ac_pt_PKG_CONFIG"; then
|
16917 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
|
16918 | |
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
|
|
17499 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
|
|
17500 |
printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
|
16919 | 17501 |
else
|
16920 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
16921 | |
$as_echo "no" >&6; }
|
|
17502 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
17503 |
printf "%s\n" "no" >&6; }
|
16922 | 17504 |
fi
|
16923 | 17505 |
|
16924 | 17506 |
if test "x$ac_pt_PKG_CONFIG" = x; then
|
|
16926 | 17508 |
else
|
16927 | 17509 |
case $cross_compiling:$ac_tool_warned in
|
16928 | 17510 |
yes:)
|
16929 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
16930 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
17511 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
17512 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
16931 | 17513 |
ac_tool_warned=yes ;;
|
16932 | 17514 |
esac
|
16933 | 17515 |
PKG_CONFIG=$ac_pt_PKG_CONFIG
|
|
16939 | 17521 |
fi
|
16940 | 17522 |
if test -n "$PKG_CONFIG"; then
|
16941 | 17523 |
_pkg_min_version=0.9.0
|
16942 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
|
16943 | |
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
|
|
17524 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
|
|
17525 |
printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
|
16944 | 17526 |
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
|
16945 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
16946 | |
$as_echo "yes" >&6; }
|
|
17527 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
17528 |
printf "%s\n" "yes" >&6; }
|
16947 | 17529 |
else
|
16948 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
16949 | |
$as_echo "no" >&6; }
|
|
17530 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
17531 |
printf "%s\n" "no" >&6; }
|
16950 | 17532 |
PKG_CONFIG=""
|
16951 | 17533 |
fi
|
16952 | 17534 |
fi
|
|
16957 | 17539 |
|
16958 | 17540 |
|
16959 | 17541 |
# Check whether --with-pkgconfigdir was given.
|
16960 | |
if test "${with_pkgconfigdir+set}" = set; then :
|
|
17542 |
if test ${with_pkgconfigdir+y}
|
|
17543 |
then :
|
16961 | 17544 |
withval=$with_pkgconfigdir;
|
16962 | |
else
|
|
17545 |
else $as_nop
|
16963 | 17546 |
with_pkgconfigdir='${prefix}/libdata/pkgconfig'
|
16964 | 17547 |
fi
|
16965 | 17548 |
|
|
16973 | 17556 |
|
16974 | 17557 |
|
16975 | 17558 |
# Check whether --with-pkgconfigdir was given.
|
16976 | |
if test "${with_pkgconfigdir+set}" = set; then :
|
|
17559 |
if test ${with_pkgconfigdir+y}
|
|
17560 |
then :
|
16977 | 17561 |
withval=$with_pkgconfigdir;
|
16978 | |
else
|
|
17562 |
else $as_nop
|
16979 | 17563 |
with_pkgconfigdir='${libdir}/pkgconfig'
|
16980 | 17564 |
fi
|
16981 | 17565 |
|
|
16990 | 17574 |
proto3_supported="no"
|
16991 | 17575 |
|
16992 | 17576 |
# Check whether --enable-protoc was given.
|
16993 | |
if test "${enable_protoc+set}" = set; then :
|
|
17577 |
if test ${enable_protoc+y}
|
|
17578 |
then :
|
16994 | 17579 |
enableval=$enable_protoc;
|
16995 | 17580 |
fi
|
16996 | 17581 |
|
|
17015 | 17600 |
if test x$ac_success = xno; then
|
17016 | 17601 |
for alternative in ${ax_cxx_compile_alternatives}; do
|
17017 | 17602 |
for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
|
17018 | |
cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
|
17019 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
|
17020 | |
$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
|
17021 | |
if eval \${$cachevar+:} false; then :
|
17022 | |
$as_echo_n "(cached) " >&6
|
17023 | |
else
|
|
17603 |
cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
|
|
17604 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
|
|
17605 |
printf %s "checking whether $CXX supports C++11 features with $switch... " >&6; }
|
|
17606 |
if eval test \${$cachevar+y}
|
|
17607 |
then :
|
|
17608 |
printf %s "(cached) " >&6
|
|
17609 |
else $as_nop
|
17024 | 17610 |
ac_save_CXX="$CXX"
|
17025 | 17611 |
CXX="$CXX $switch"
|
17026 | 17612 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
17312 | 17898 |
|
17313 | 17899 |
|
17314 | 17900 |
_ACEOF
|
17315 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
17901 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
17902 |
then :
|
17316 | 17903 |
eval $cachevar=yes
|
17317 | |
else
|
|
17904 |
else $as_nop
|
17318 | 17905 |
eval $cachevar=no
|
17319 | 17906 |
fi
|
17320 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
17907 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
17321 | 17908 |
CXX="$ac_save_CXX"
|
17322 | 17909 |
fi
|
17323 | 17910 |
eval ac_res=\$$cachevar
|
17324 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
17325 | |
$as_echo "$ac_res" >&6; }
|
|
17911 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
17912 |
printf "%s\n" "$ac_res" >&6; }
|
17326 | 17913 |
if eval test x\$$cachevar = xyes; then
|
17327 | 17914 |
CXX="$CXX $switch"
|
17328 | 17915 |
if test -n "$CXXCPP" ; then
|
|
17350 | 17937 |
fi
|
17351 | 17938 |
if test x$ac_success = xno; then
|
17352 | 17939 |
HAVE_CXX11=0
|
17353 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
|
17354 | |
$as_echo "$as_me: No compiler with C++11 support was found" >&6;}
|
|
17940 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
|
|
17941 |
printf "%s\n" "$as_me: No compiler with C++11 support was found" >&6;}
|
17355 | 17942 |
else
|
17356 | 17943 |
HAVE_CXX11=1
|
17357 | 17944 |
|
17358 | |
$as_echo "#define HAVE_CXX11 1" >>confdefs.h
|
|
17945 |
printf "%s\n" "#define HAVE_CXX11 1" >>confdefs.h
|
17359 | 17946 |
|
17360 | 17947 |
fi
|
17361 | 17948 |
|
|
17363 | 17950 |
|
17364 | 17951 |
|
17365 | 17952 |
pkg_failed=no
|
17366 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for protobuf" >&5
|
17367 | |
$as_echo_n "checking for protobuf... " >&6; }
|
|
17953 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for protobuf" >&5
|
|
17954 |
printf %s "checking for protobuf... " >&6; }
|
17368 | 17955 |
|
17369 | 17956 |
if test -n "$protobuf_CFLAGS"; then
|
17370 | 17957 |
pkg_cv_protobuf_CFLAGS="$protobuf_CFLAGS"
|
17371 | 17958 |
elif test -n "$PKG_CONFIG"; then
|
17372 | 17959 |
if test -n "$PKG_CONFIG" && \
|
17373 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf >= 3.0.0\""; } >&5
|
|
17960 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf >= 3.0.0\""; } >&5
|
17374 | 17961 |
($PKG_CONFIG --exists --print-errors "protobuf >= 3.0.0") 2>&5
|
17375 | 17962 |
ac_status=$?
|
17376 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
17963 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
17377 | 17964 |
test $ac_status = 0; }; then
|
17378 | 17965 |
pkg_cv_protobuf_CFLAGS=`$PKG_CONFIG --cflags "protobuf >= 3.0.0" 2>/dev/null`
|
17379 | 17966 |
test "x$?" != "x0" && pkg_failed=yes
|
|
17387 | 17974 |
pkg_cv_protobuf_LIBS="$protobuf_LIBS"
|
17388 | 17975 |
elif test -n "$PKG_CONFIG"; then
|
17389 | 17976 |
if test -n "$PKG_CONFIG" && \
|
17390 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf >= 3.0.0\""; } >&5
|
|
17977 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf >= 3.0.0\""; } >&5
|
17391 | 17978 |
($PKG_CONFIG --exists --print-errors "protobuf >= 3.0.0") 2>&5
|
17392 | 17979 |
ac_status=$?
|
17393 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
17980 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
17394 | 17981 |
test $ac_status = 0; }; then
|
17395 | 17982 |
pkg_cv_protobuf_LIBS=`$PKG_CONFIG --libs "protobuf >= 3.0.0" 2>/dev/null`
|
17396 | 17983 |
test "x$?" != "x0" && pkg_failed=yes
|
|
17404 | 17991 |
|
17405 | 17992 |
|
17406 | 17993 |
if test $pkg_failed = yes; then
|
17407 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
17408 | |
$as_echo "no" >&6; }
|
|
17994 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
17995 |
printf "%s\n" "no" >&6; }
|
17409 | 17996 |
|
17410 | 17997 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
17411 | 17998 |
_pkg_short_errors_supported=yes
|
|
17422 | 18009 |
|
17423 | 18010 |
|
17424 | 18011 |
pkg_failed=no
|
17425 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for protobuf" >&5
|
17426 | |
$as_echo_n "checking for protobuf... " >&6; }
|
|
18012 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for protobuf" >&5
|
|
18013 |
printf %s "checking for protobuf... " >&6; }
|
17427 | 18014 |
|
17428 | 18015 |
if test -n "$protobuf_CFLAGS"; then
|
17429 | 18016 |
pkg_cv_protobuf_CFLAGS="$protobuf_CFLAGS"
|
17430 | 18017 |
elif test -n "$PKG_CONFIG"; then
|
17431 | 18018 |
if test -n "$PKG_CONFIG" && \
|
17432 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf >= 2.6.0\""; } >&5
|
|
18019 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf >= 2.6.0\""; } >&5
|
17433 | 18020 |
($PKG_CONFIG --exists --print-errors "protobuf >= 2.6.0") 2>&5
|
17434 | 18021 |
ac_status=$?
|
17435 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
18022 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
17436 | 18023 |
test $ac_status = 0; }; then
|
17437 | 18024 |
pkg_cv_protobuf_CFLAGS=`$PKG_CONFIG --cflags "protobuf >= 2.6.0" 2>/dev/null`
|
17438 | 18025 |
test "x$?" != "x0" && pkg_failed=yes
|
|
17446 | 18033 |
pkg_cv_protobuf_LIBS="$protobuf_LIBS"
|
17447 | 18034 |
elif test -n "$PKG_CONFIG"; then
|
17448 | 18035 |
if test -n "$PKG_CONFIG" && \
|
17449 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf >= 2.6.0\""; } >&5
|
|
18036 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf >= 2.6.0\""; } >&5
|
17450 | 18037 |
($PKG_CONFIG --exists --print-errors "protobuf >= 2.6.0") 2>&5
|
17451 | 18038 |
ac_status=$?
|
17452 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
18039 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
17453 | 18040 |
test $ac_status = 0; }; then
|
17454 | 18041 |
pkg_cv_protobuf_LIBS=`$PKG_CONFIG --libs "protobuf >= 2.6.0" 2>/dev/null`
|
17455 | 18042 |
test "x$?" != "x0" && pkg_failed=yes
|
|
17463 | 18050 |
|
17464 | 18051 |
|
17465 | 18052 |
if test $pkg_failed = yes; then
|
17466 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
17467 | |
$as_echo "no" >&6; }
|
|
18053 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
18054 |
printf "%s\n" "no" >&6; }
|
17468 | 18055 |
|
17469 | 18056 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
17470 | 18057 |
_pkg_short_errors_supported=yes
|
|
17490 | 18077 |
and protobuf_LIBS to avoid the need to call pkg-config.
|
17491 | 18078 |
See the pkg-config man page for more details." "$LINENO" 5
|
17492 | 18079 |
elif test $pkg_failed = untried; then
|
17493 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
17494 | |
$as_echo "no" >&6; }
|
17495 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
17496 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
18080 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
18081 |
printf "%s\n" "no" >&6; }
|
|
18082 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
18083 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
17497 | 18084 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
|
17498 | 18085 |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
17499 | 18086 |
path to pkg-config.
|
|
17507 | 18094 |
else
|
17508 | 18095 |
protobuf_CFLAGS=$pkg_cv_protobuf_CFLAGS
|
17509 | 18096 |
protobuf_LIBS=$pkg_cv_protobuf_LIBS
|
17510 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
17511 | |
$as_echo "yes" >&6; }
|
|
18097 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
18098 |
printf "%s\n" "yes" >&6; }
|
17512 | 18099 |
|
17513 | 18100 |
fi
|
17514 | 18101 |
|
17515 | 18102 |
elif test $pkg_failed = untried; then
|
17516 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
17517 | |
$as_echo "no" >&6; }
|
|
18103 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
18104 |
printf "%s\n" "no" >&6; }
|
17518 | 18105 |
|
17519 | 18106 |
pkg_failed=no
|
17520 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for protobuf" >&5
|
17521 | |
$as_echo_n "checking for protobuf... " >&6; }
|
|
18107 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for protobuf" >&5
|
|
18108 |
printf %s "checking for protobuf... " >&6; }
|
17522 | 18109 |
|
17523 | 18110 |
if test -n "$protobuf_CFLAGS"; then
|
17524 | 18111 |
pkg_cv_protobuf_CFLAGS="$protobuf_CFLAGS"
|
17525 | 18112 |
elif test -n "$PKG_CONFIG"; then
|
17526 | 18113 |
if test -n "$PKG_CONFIG" && \
|
17527 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf >= 2.6.0\""; } >&5
|
|
18114 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf >= 2.6.0\""; } >&5
|
17528 | 18115 |
($PKG_CONFIG --exists --print-errors "protobuf >= 2.6.0") 2>&5
|
17529 | 18116 |
ac_status=$?
|
17530 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
18117 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
17531 | 18118 |
test $ac_status = 0; }; then
|
17532 | 18119 |
pkg_cv_protobuf_CFLAGS=`$PKG_CONFIG --cflags "protobuf >= 2.6.0" 2>/dev/null`
|
17533 | 18120 |
test "x$?" != "x0" && pkg_failed=yes
|
|
17541 | 18128 |
pkg_cv_protobuf_LIBS="$protobuf_LIBS"
|
17542 | 18129 |
elif test -n "$PKG_CONFIG"; then
|
17543 | 18130 |
if test -n "$PKG_CONFIG" && \
|
17544 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf >= 2.6.0\""; } >&5
|
|
18131 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"protobuf >= 2.6.0\""; } >&5
|
17545 | 18132 |
($PKG_CONFIG --exists --print-errors "protobuf >= 2.6.0") 2>&5
|
17546 | 18133 |
ac_status=$?
|
17547 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
18134 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
17548 | 18135 |
test $ac_status = 0; }; then
|
17549 | 18136 |
pkg_cv_protobuf_LIBS=`$PKG_CONFIG --libs "protobuf >= 2.6.0" 2>/dev/null`
|
17550 | 18137 |
test "x$?" != "x0" && pkg_failed=yes
|
|
17558 | 18145 |
|
17559 | 18146 |
|
17560 | 18147 |
if test $pkg_failed = yes; then
|
17561 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
17562 | |
$as_echo "no" >&6; }
|
|
18148 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
18149 |
printf "%s\n" "no" >&6; }
|
17563 | 18150 |
|
17564 | 18151 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
17565 | 18152 |
_pkg_short_errors_supported=yes
|
|
17585 | 18172 |
and protobuf_LIBS to avoid the need to call pkg-config.
|
17586 | 18173 |
See the pkg-config man page for more details." "$LINENO" 5
|
17587 | 18174 |
elif test $pkg_failed = untried; then
|
17588 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
17589 | |
$as_echo "no" >&6; }
|
17590 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
17591 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
18175 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
18176 |
printf "%s\n" "no" >&6; }
|
|
18177 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
18178 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
17592 | 18179 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
|
17593 | 18180 |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
17594 | 18181 |
path to pkg-config.
|
|
17602 | 18189 |
else
|
17603 | 18190 |
protobuf_CFLAGS=$pkg_cv_protobuf_CFLAGS
|
17604 | 18191 |
protobuf_LIBS=$pkg_cv_protobuf_LIBS
|
17605 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
17606 | |
$as_echo "yes" >&6; }
|
|
18192 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
18193 |
printf "%s\n" "yes" >&6; }
|
17607 | 18194 |
|
17608 | 18195 |
fi
|
17609 | 18196 |
|
17610 | 18197 |
else
|
17611 | 18198 |
protobuf_CFLAGS=$pkg_cv_protobuf_CFLAGS
|
17612 | 18199 |
protobuf_LIBS=$pkg_cv_protobuf_LIBS
|
17613 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
17614 | |
$as_echo "yes" >&6; }
|
|
18200 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
18201 |
printf "%s\n" "yes" >&6; }
|
17615 | 18202 |
proto3_supported=yes
|
17616 | 18203 |
fi
|
17617 | 18204 |
|
17618 | 18205 |
save_CPPFLAGS="$CPPFLAGS"
|
17619 | 18206 |
CPPFLAGS="$save_CPPFLAGS $protobuf_CFLAGS"
|
17620 | |
|
17621 | |
for ac_header in google/protobuf/compiler/command_line_interface.h
|
|
18207 |
for ac_header in google/protobuf/compiler/command_line_interface.h
|
17622 | 18208 |
do :
|
17623 | |
ac_fn_cxx_check_header_mongrel "$LINENO" "google/protobuf/compiler/command_line_interface.h" "ac_cv_header_google_protobuf_compiler_command_line_interface_h" "$ac_includes_default"
|
17624 | |
if test "x$ac_cv_header_google_protobuf_compiler_command_line_interface_h" = xyes; then :
|
17625 | |
cat >>confdefs.h <<_ACEOF
|
17626 | |
#define HAVE_GOOGLE_PROTOBUF_COMPILER_COMMAND_LINE_INTERFACE_H 1
|
17627 | |
_ACEOF
|
17628 | |
|
17629 | |
else
|
|
18209 |
ac_fn_cxx_check_header_compile "$LINENO" "google/protobuf/compiler/command_line_interface.h" "ac_cv_header_google_protobuf_compiler_command_line_interface_h" "$ac_includes_default"
|
|
18210 |
if test "x$ac_cv_header_google_protobuf_compiler_command_line_interface_h" = xyes
|
|
18211 |
then :
|
|
18212 |
printf "%s\n" "#define HAVE_GOOGLE_PROTOBUF_COMPILER_COMMAND_LINE_INTERFACE_H 1" >>confdefs.h
|
|
18213 |
|
|
18214 |
else $as_nop
|
17630 | 18215 |
as_fn_error $? "required protobuf header file not found" "$LINENO" 5
|
17631 | 18216 |
fi
|
17632 | 18217 |
|
17633 | 18218 |
done
|
17634 | |
|
17635 | 18219 |
CPPFLAGS="$save_CPPFLAGS"
|
17636 | 18220 |
|
17637 | 18221 |
|
17638 | 18222 |
# Extract the first word of "protoc", so it can be a program name with args.
|
17639 | 18223 |
set dummy protoc; ac_word=$2
|
17640 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
17641 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
17642 | |
if ${ac_cv_path_PROTOC+:} false; then :
|
17643 | |
$as_echo_n "(cached) " >&6
|
17644 | |
else
|
|
18224 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
18225 |
printf %s "checking for $ac_word... " >&6; }
|
|
18226 |
if test ${ac_cv_path_PROTOC+y}
|
|
18227 |
then :
|
|
18228 |
printf %s "(cached) " >&6
|
|
18229 |
else $as_nop
|
17645 | 18230 |
case $PROTOC in
|
17646 | 18231 |
[\\/]* | ?:[\\/]*)
|
17647 | 18232 |
ac_cv_path_PROTOC="$PROTOC" # Let the user override the test with a path.
|
|
17652 | 18237 |
for as_dir in $as_dummy
|
17653 | 18238 |
do
|
17654 | 18239 |
IFS=$as_save_IFS
|
17655 | |
test -z "$as_dir" && as_dir=.
|
|
18240 |
case $as_dir in #(((
|
|
18241 |
'') as_dir=./ ;;
|
|
18242 |
*/) ;;
|
|
18243 |
*) as_dir=$as_dir/ ;;
|
|
18244 |
esac
|
17656 | 18245 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
17657 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
17658 | |
ac_cv_path_PROTOC="$as_dir/$ac_word$ac_exec_ext"
|
17659 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
18246 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
18247 |
ac_cv_path_PROTOC="$as_dir$ac_word$ac_exec_ext"
|
|
18248 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
17660 | 18249 |
break 2
|
17661 | 18250 |
fi
|
17662 | 18251 |
done
|
|
17668 | 18257 |
fi
|
17669 | 18258 |
PROTOC=$ac_cv_path_PROTOC
|
17670 | 18259 |
if test -n "$PROTOC"; then
|
17671 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROTOC" >&5
|
17672 | |
$as_echo "$PROTOC" >&6; }
|
|
18260 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PROTOC" >&5
|
|
18261 |
printf "%s\n" "$PROTOC" >&6; }
|
17673 | 18262 |
else
|
17674 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
17675 | |
$as_echo "no" >&6; }
|
|
18263 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
18264 |
printf "%s\n" "no" >&6; }
|
17676 | 18265 |
fi
|
17677 | 18266 |
|
17678 | 18267 |
|
|
17713 | 18302 |
|
17714 | 18303 |
if test -z "$BUILD_PROTO3_TRUE"; then :
|
17715 | 18304 |
|
17716 | |
$as_echo "#define HAVE_PROTO3 1" >>confdefs.h
|
|
18305 |
printf "%s\n" "#define HAVE_PROTO3 1" >>confdefs.h
|
17717 | 18306 |
|
17718 | 18307 |
fi
|
17719 | 18308 |
|
17720 | 18309 |
|
17721 | 18310 |
# Check whether --enable-ld-version-script was given.
|
17722 | |
if test "${enable_ld_version_script+set}" = set; then :
|
|
18311 |
if test ${enable_ld_version_script+y}
|
|
18312 |
then :
|
17723 | 18313 |
enableval=$enable_ld_version_script; have_ld_version_script=$enableval
|
17724 | 18314 |
fi
|
17725 | 18315 |
|
17726 | 18316 |
if test -z "$have_ld_version_script"; then
|
17727 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if LD -Wl,--version-script works" >&5
|
17728 | |
$as_echo_n "checking if LD -Wl,--version-script works... " >&6; }
|
|
18317 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if LD -Wl,--version-script works" >&5
|
|
18318 |
printf %s "checking if LD -Wl,--version-script works... " >&6; }
|
17729 | 18319 |
save_LDFLAGS="$LDFLAGS"
|
17730 | 18320 |
LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map"
|
17731 | 18321 |
cat > conftest.map <<EOF
|
|
17735 | 18325 |
/* end confdefs.h. */
|
17736 | 18326 |
|
17737 | 18327 |
int
|
17738 | |
main ()
|
|
18328 |
main (void)
|
17739 | 18329 |
{
|
17740 | 18330 |
|
17741 | 18331 |
;
|
17742 | 18332 |
return 0;
|
17743 | 18333 |
}
|
17744 | 18334 |
_ACEOF
|
17745 | |
if ac_fn_cxx_try_link "$LINENO"; then :
|
|
18335 |
if ac_fn_cxx_try_link "$LINENO"
|
|
18336 |
then :
|
17746 | 18337 |
accepts_syntax_errors=yes
|
17747 | |
else
|
|
18338 |
else $as_nop
|
17748 | 18339 |
accepts_syntax_errors=no
|
17749 | 18340 |
fi
|
17750 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
18341 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
17751 | 18342 |
conftest$ac_exeext conftest.$ac_ext
|
17752 | 18343 |
if test "$accepts_syntax_errors" = no; then
|
17753 | 18344 |
cat > conftest.map <<EOF
|
|
17763 | 18354 |
/* end confdefs.h. */
|
17764 | 18355 |
|
17765 | 18356 |
int
|
17766 | |
main ()
|
|
18357 |
main (void)
|
17767 | 18358 |
{
|
17768 | 18359 |
|
17769 | 18360 |
;
|
17770 | 18361 |
return 0;
|
17771 | 18362 |
}
|
17772 | 18363 |
_ACEOF
|
17773 | |
if ac_fn_cxx_try_link "$LINENO"; then :
|
|
18364 |
if ac_fn_cxx_try_link "$LINENO"
|
|
18365 |
then :
|
17774 | 18366 |
have_ld_version_script=yes
|
17775 | |
else
|
|
18367 |
else $as_nop
|
17776 | 18368 |
have_ld_version_script=no
|
17777 | 18369 |
fi
|
17778 | |
rm -f core conftest.err conftest.$ac_objext \
|
|
18370 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \
|
17779 | 18371 |
conftest$ac_exeext conftest.$ac_ext
|
17780 | 18372 |
else
|
17781 | 18373 |
have_ld_version_script=no
|
17782 | 18374 |
fi
|
17783 | 18375 |
rm -f conftest.map
|
17784 | 18376 |
LDFLAGS="$save_LDFLAGS"
|
17785 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ld_version_script" >&5
|
17786 | |
$as_echo "$have_ld_version_script" >&6; }
|
|
18377 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_ld_version_script" >&5
|
|
18378 |
printf "%s\n" "$have_ld_version_script" >&6; }
|
17787 | 18379 |
fi
|
17788 | 18380 |
if test "$have_ld_version_script" = "yes"; then
|
17789 | 18381 |
HAVE_LD_VERSION_SCRIPT_TRUE=
|
|
17797 | 18389 |
|
17798 | 18390 |
|
17799 | 18391 |
# Check whether --enable-valgrind-tests was given.
|
17800 | |
if test "${enable_valgrind_tests+set}" = set; then :
|
|
18392 |
if test ${enable_valgrind_tests+y}
|
|
18393 |
then :
|
17801 | 18394 |
enableval=$enable_valgrind_tests; opt_valgrind_tests=$enableval
|
17802 | |
else
|
|
18395 |
else $as_nop
|
17803 | 18396 |
opt_valgrind_tests=no
|
17804 | 18397 |
fi
|
17805 | 18398 |
|
|
17810 | 18403 |
do
|
17811 | 18404 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
17812 | 18405 |
set dummy $ac_prog; ac_word=$2
|
17813 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
17814 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
17815 | |
if ${ac_cv_prog_VALGRIND+:} false; then :
|
17816 | |
$as_echo_n "(cached) " >&6
|
17817 | |
else
|
|
18406 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
18407 |
printf %s "checking for $ac_word... " >&6; }
|
|
18408 |
if test ${ac_cv_prog_VALGRIND+y}
|
|
18409 |
then :
|
|
18410 |
printf %s "(cached) " >&6
|
|
18411 |
else $as_nop
|
17818 | 18412 |
if test -n "$VALGRIND"; then
|
17819 | 18413 |
ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test.
|
17820 | 18414 |
else
|
|
17822 | 18416 |
for as_dir in $PATH
|
17823 | 18417 |
do
|
17824 | 18418 |
IFS=$as_save_IFS
|
17825 | |
test -z "$as_dir" && as_dir=.
|
|
18419 |
case $as_dir in #(((
|
|
18420 |
'') as_dir=./ ;;
|
|
18421 |
*/) ;;
|
|
18422 |
*) as_dir=$as_dir/ ;;
|
|
18423 |
esac
|
17826 | 18424 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
17827 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
18425 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
17828 | 18426 |
ac_cv_prog_VALGRIND="$ac_prog"
|
17829 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
18427 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
17830 | 18428 |
break 2
|
17831 | 18429 |
fi
|
17832 | 18430 |
done
|
|
17837 | 18435 |
fi
|
17838 | 18436 |
VALGRIND=$ac_cv_prog_VALGRIND
|
17839 | 18437 |
if test -n "$VALGRIND"; then
|
17840 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5
|
17841 | |
$as_echo "$VALGRIND" >&6; }
|
|
18438 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5
|
|
18439 |
printf "%s\n" "$VALGRIND" >&6; }
|
17842 | 18440 |
else
|
17843 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
17844 | |
$as_echo "no" >&6; }
|
|
18441 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
18442 |
printf "%s\n" "no" >&6; }
|
17845 | 18443 |
fi
|
17846 | 18444 |
|
17847 | 18445 |
|
|
17859 | 18457 |
VALGRIND=
|
17860 | 18458 |
fi
|
17861 | 18459 |
|
17862 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether self tests are run under valgrind" >&5
|
17863 | |
$as_echo_n "checking whether self tests are run under valgrind... " >&6; }
|
17864 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $opt_valgrind_tests" >&5
|
17865 | |
$as_echo "$opt_valgrind_tests" >&6; }
|
17866 | |
|
17867 | |
|
17868 | |
|
17869 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5
|
17870 | |
$as_echo_n "checking whether to build with code coverage support... " >&6; }
|
|
18460 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether self tests are run under valgrind" >&5
|
|
18461 |
printf %s "checking whether self tests are run under valgrind... " >&6; }
|
|
18462 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $opt_valgrind_tests" >&5
|
|
18463 |
printf "%s\n" "$opt_valgrind_tests" >&6; }
|
|
18464 |
|
|
18465 |
|
|
18466 |
|
|
18467 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5
|
|
18468 |
printf %s "checking whether to build with code coverage support... " >&6; }
|
17871 | 18469 |
# Check whether --enable-code-coverage was given.
|
17872 | |
if test "${enable_code_coverage+set}" = set; then :
|
|
18470 |
if test ${enable_code_coverage+y}
|
|
18471 |
then :
|
17873 | 18472 |
enableval=$enable_code_coverage;
|
17874 | |
else
|
|
18473 |
else $as_nop
|
17875 | 18474 |
enable_code_coverage=no
|
17876 | 18475 |
fi
|
17877 | 18476 |
|
|
17885 | 18484 |
|
17886 | 18485 |
CODE_COVERAGE_ENABLED=$enable_code_coverage
|
17887 | 18486 |
|
17888 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_code_coverage" >&5
|
17889 | |
$as_echo "$enable_code_coverage" >&6; }
|
17890 | |
|
17891 | |
if test "$enable_code_coverage" = "yes" ; then :
|
17892 | |
|
17893 | |
if test "$GCC" = "no" ; then :
|
|
18487 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_code_coverage" >&5
|
|
18488 |
printf "%s\n" "$enable_code_coverage" >&6; }
|
|
18489 |
|
|
18490 |
if test "$enable_code_coverage" = "yes"
|
|
18491 |
then :
|
|
18492 |
|
|
18493 |
if test "$GCC" = "no"
|
|
18494 |
then :
|
17894 | 18495 |
|
17895 | 18496 |
as_fn_error $? "not compiling with gcc, which is required for gcov code coverage" "$LINENO" 5
|
17896 | 18497 |
|
|
17898 | 18499 |
|
17899 | 18500 |
# Extract the first word of "lcov", so it can be a program name with args.
|
17900 | 18501 |
set dummy lcov; ac_word=$2
|
17901 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
17902 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
17903 | |
if ${ac_cv_prog_LCOV+:} false; then :
|
17904 | |
$as_echo_n "(cached) " >&6
|
17905 | |
else
|
|
18502 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
18503 |
printf %s "checking for $ac_word... " >&6; }
|
|
18504 |
if test ${ac_cv_prog_LCOV+y}
|
|
18505 |
then :
|
|
18506 |
printf %s "(cached) " >&6
|
|
18507 |
else $as_nop
|
17906 | 18508 |
if test -n "$LCOV"; then
|
17907 | 18509 |
ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
|
17908 | 18510 |
else
|
|
17910 | 18512 |
for as_dir in $PATH
|
17911 | 18513 |
do
|
17912 | 18514 |
IFS=$as_save_IFS
|
17913 | |
test -z "$as_dir" && as_dir=.
|
|
18515 |
case $as_dir in #(((
|
|
18516 |
'') as_dir=./ ;;
|
|
18517 |
*/) ;;
|
|
18518 |
*) as_dir=$as_dir/ ;;
|
|
18519 |
esac
|
17914 | 18520 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
17915 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
18521 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
17916 | 18522 |
ac_cv_prog_LCOV="lcov"
|
17917 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
18523 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
17918 | 18524 |
break 2
|
17919 | 18525 |
fi
|
17920 | 18526 |
done
|
|
17925 | 18531 |
fi
|
17926 | 18532 |
LCOV=$ac_cv_prog_LCOV
|
17927 | 18533 |
if test -n "$LCOV"; then
|
17928 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
|
17929 | |
$as_echo "$LCOV" >&6; }
|
|
18534 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
|
|
18535 |
printf "%s\n" "$LCOV" >&6; }
|
17930 | 18536 |
else
|
17931 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
17932 | |
$as_echo "no" >&6; }
|
|
18537 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
18538 |
printf "%s\n" "no" >&6; }
|
17933 | 18539 |
fi
|
17934 | 18540 |
|
17935 | 18541 |
|
17936 | 18542 |
# Extract the first word of "genhtml", so it can be a program name with args.
|
17937 | 18543 |
set dummy genhtml; ac_word=$2
|
17938 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
17939 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
17940 | |
if ${ac_cv_prog_GENHTML+:} false; then :
|
17941 | |
$as_echo_n "(cached) " >&6
|
17942 | |
else
|
|
18544 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
18545 |
printf %s "checking for $ac_word... " >&6; }
|
|
18546 |
if test ${ac_cv_prog_GENHTML+y}
|
|
18547 |
then :
|
|
18548 |
printf %s "(cached) " >&6
|
|
18549 |
else $as_nop
|
17943 | 18550 |
if test -n "$GENHTML"; then
|
17944 | 18551 |
ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test.
|
17945 | 18552 |
else
|
|
17947 | 18554 |
for as_dir in $PATH
|
17948 | 18555 |
do
|
17949 | 18556 |
IFS=$as_save_IFS
|
17950 | |
test -z "$as_dir" && as_dir=.
|
|
18557 |
case $as_dir in #(((
|
|
18558 |
'') as_dir=./ ;;
|
|
18559 |
*/) ;;
|
|
18560 |
*) as_dir=$as_dir/ ;;
|
|
18561 |
esac
|
17951 | 18562 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
17952 | |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
18563 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
17953 | 18564 |
ac_cv_prog_GENHTML="genhtml"
|
17954 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
18565 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
17955 | 18566 |
break 2
|
17956 | 18567 |
fi
|
17957 | 18568 |
done
|
|
17962 | 18573 |
fi
|
17963 | 18574 |
GENHTML=$ac_cv_prog_GENHTML
|
17964 | 18575 |
if test -n "$GENHTML"; then
|
17965 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
|
17966 | |
$as_echo "$GENHTML" >&6; }
|
|
18576 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
|
|
18577 |
printf "%s\n" "$GENHTML" >&6; }
|
17967 | 18578 |
else
|
17968 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
17969 | |
$as_echo "no" >&6; }
|
17970 | |
fi
|
17971 | |
|
17972 | |
|
17973 | |
|
17974 | |
if test -z "$LCOV" ; then :
|
|
18579 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
18580 |
printf "%s\n" "no" >&6; }
|
|
18581 |
fi
|
|
18582 |
|
|
18583 |
|
|
18584 |
|
|
18585 |
if test -z "$LCOV"
|
|
18586 |
then :
|
17975 | 18587 |
|
17976 | 18588 |
as_fn_error $? "The lcov program was not found. Please install lcov!" "$LINENO" 5
|
17977 | 18589 |
|
17978 | 18590 |
fi
|
17979 | 18591 |
|
17980 | |
if test -z "$GENHTML" ; then :
|
|
18592 |
if test -z "$GENHTML"
|
|
18593 |
then :
|
17981 | 18594 |
|
17982 | 18595 |
as_fn_error $? "The genhtml program was not found. Please install lcov!" "$LINENO" 5
|
17983 | 18596 |
|
|
18074 | 18687 |
|
18075 | 18688 |
|
18076 | 18689 |
|
18077 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
|
18078 | |
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
|
18079 | |
if ${ac_cv_c_bigendian+:} false; then :
|
18080 | |
$as_echo_n "(cached) " >&6
|
18081 | |
else
|
|
18690 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
|
|
18691 |
printf %s "checking whether byte ordering is bigendian... " >&6; }
|
|
18692 |
if test ${ac_cv_c_bigendian+y}
|
|
18693 |
then :
|
|
18694 |
printf %s "(cached) " >&6
|
|
18695 |
else $as_nop
|
18082 | 18696 |
ac_cv_c_bigendian=unknown
|
18083 | 18697 |
# See if we're dealing with a universal compiler.
|
18084 | 18698 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
18089 | 18703 |
typedef int dummy;
|
18090 | 18704 |
|
18091 | 18705 |
_ACEOF
|
18092 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
18706 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
18707 |
then :
|
18093 | 18708 |
|
18094 | 18709 |
# Check for potential -arch flags. It is not universal unless
|
18095 | 18710 |
# there are at least two -arch flags with different values.
|
|
18113 | 18728 |
fi
|
18114 | 18729 |
done
|
18115 | 18730 |
fi
|
18116 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
18731 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
18117 | 18732 |
if test $ac_cv_c_bigendian = unknown; then
|
18118 | 18733 |
# See if sys/param.h defines the BYTE_ORDER macro.
|
18119 | 18734 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
18122 | 18737 |
#include <sys/param.h>
|
18123 | 18738 |
|
18124 | 18739 |
int
|
18125 | |
main ()
|
|
18740 |
main (void)
|
18126 | 18741 |
{
|
18127 | 18742 |
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
|
18128 | 18743 |
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
|
|
18134 | 18749 |
return 0;
|
18135 | 18750 |
}
|
18136 | 18751 |
_ACEOF
|
18137 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
18752 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
18753 |
then :
|
18138 | 18754 |
# It does; now see whether it defined to BIG_ENDIAN or not.
|
18139 | 18755 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
18140 | 18756 |
/* end confdefs.h. */
|
|
18142 | 18758 |
#include <sys/param.h>
|
18143 | 18759 |
|
18144 | 18760 |
int
|
18145 | |
main ()
|
|
18761 |
main (void)
|
18146 | 18762 |
{
|
18147 | 18763 |
#if BYTE_ORDER != BIG_ENDIAN
|
18148 | 18764 |
not big endian
|
|
18152 | 18768 |
return 0;
|
18153 | 18769 |
}
|
18154 | 18770 |
_ACEOF
|
18155 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
18771 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
18772 |
then :
|
18156 | 18773 |
ac_cv_c_bigendian=yes
|
18157 | |
else
|
|
18774 |
else $as_nop
|
18158 | 18775 |
ac_cv_c_bigendian=no
|
18159 | 18776 |
fi
|
18160 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
18161 | |
fi
|
18162 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
18777 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
18778 |
fi
|
|
18779 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
18163 | 18780 |
fi
|
18164 | 18781 |
if test $ac_cv_c_bigendian = unknown; then
|
18165 | 18782 |
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
|
|
18168 | 18785 |
#include <limits.h>
|
18169 | 18786 |
|
18170 | 18787 |
int
|
18171 | |
main ()
|
|
18788 |
main (void)
|
18172 | 18789 |
{
|
18173 | 18790 |
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
|
18174 | 18791 |
bogus endian macros
|
|
18178 | 18795 |
return 0;
|
18179 | 18796 |
}
|
18180 | 18797 |
_ACEOF
|
18181 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
18798 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
18799 |
then :
|
18182 | 18800 |
# It does; now see whether it defined to _BIG_ENDIAN or not.
|
18183 | 18801 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
18184 | 18802 |
/* end confdefs.h. */
|
18185 | 18803 |
#include <limits.h>
|
18186 | 18804 |
|
18187 | 18805 |
int
|
18188 | |
main ()
|
|
18806 |
main (void)
|
18189 | 18807 |
{
|
18190 | 18808 |
#ifndef _BIG_ENDIAN
|
18191 | 18809 |
not big endian
|
|
18195 | 18813 |
return 0;
|
18196 | 18814 |
}
|
18197 | 18815 |
_ACEOF
|
18198 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
18816 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
18817 |
then :
|
18199 | 18818 |
ac_cv_c_bigendian=yes
|
18200 | |
else
|
|
18819 |
else $as_nop
|
18201 | 18820 |
ac_cv_c_bigendian=no
|
18202 | 18821 |
fi
|
18203 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
18204 | |
fi
|
18205 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
18822 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
18823 |
fi
|
|
18824 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
18206 | 18825 |
fi
|
18207 | 18826 |
if test $ac_cv_c_bigendian = unknown; then
|
18208 | 18827 |
# Compile a test program.
|
18209 | |
if test "$cross_compiling" = yes; then :
|
|
18828 |
if test "$cross_compiling" = yes
|
|
18829 |
then :
|
18210 | 18830 |
# Try to guess by grepping values from an object file.
|
18211 | 18831 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
18212 | 18832 |
/* end confdefs.h. */
|
18213 | |
short int ascii_mm[] =
|
|
18833 |
unsigned short int ascii_mm[] =
|
18214 | 18834 |
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
18215 | |
short int ascii_ii[] =
|
|
18835 |
unsigned short int ascii_ii[] =
|
18216 | 18836 |
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
18217 | 18837 |
int use_ascii (int i) {
|
18218 | 18838 |
return ascii_mm[i] + ascii_ii[i];
|
18219 | 18839 |
}
|
18220 | |
short int ebcdic_ii[] =
|
|
18840 |
unsigned short int ebcdic_ii[] =
|
18221 | 18841 |
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
18222 | |
short int ebcdic_mm[] =
|
|
18842 |
unsigned short int ebcdic_mm[] =
|
18223 | 18843 |
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
18224 | 18844 |
int use_ebcdic (int i) {
|
18225 | 18845 |
return ebcdic_mm[i] + ebcdic_ii[i];
|
|
18227 | 18847 |
extern int foo;
|
18228 | 18848 |
|
18229 | 18849 |
int
|
18230 | |
main ()
|
|
18850 |
main (void)
|
18231 | 18851 |
{
|
18232 | 18852 |
return use_ascii (foo) == use_ebcdic (foo);
|
18233 | 18853 |
;
|
18234 | 18854 |
return 0;
|
18235 | 18855 |
}
|
18236 | 18856 |
_ACEOF
|
18237 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
18857 |
if ac_fn_cxx_try_compile "$LINENO"
|
|
18858 |
then :
|
18238 | 18859 |
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
|
18239 | 18860 |
ac_cv_c_bigendian=yes
|
18240 | 18861 |
fi
|
|
18247 | 18868 |
fi
|
18248 | 18869 |
fi
|
18249 | 18870 |
fi
|
18250 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
18251 | |
else
|
|
18871 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
18872 |
else $as_nop
|
18252 | 18873 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
18253 | 18874 |
/* end confdefs.h. */
|
18254 | 18875 |
$ac_includes_default
|
18255 | 18876 |
int
|
18256 | |
main ()
|
|
18877 |
main (void)
|
18257 | 18878 |
{
|
18258 | 18879 |
|
18259 | 18880 |
/* Are we little or big endian? From Harbison&Steele. */
|
|
18269 | 18890 |
return 0;
|
18270 | 18891 |
}
|
18271 | 18892 |
_ACEOF
|
18272 | |
if ac_fn_cxx_try_run "$LINENO"; then :
|
|
18893 |
if ac_fn_cxx_try_run "$LINENO"
|
|
18894 |
then :
|
18273 | 18895 |
ac_cv_c_bigendian=no
|
18274 | |
else
|
|
18896 |
else $as_nop
|
18275 | 18897 |
ac_cv_c_bigendian=yes
|
18276 | 18898 |
fi
|
18277 | 18899 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
18280 | 18902 |
|
18281 | 18903 |
fi
|
18282 | 18904 |
fi
|
18283 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
|
18284 | |
$as_echo "$ac_cv_c_bigendian" >&6; }
|
|
18905 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
|
|
18906 |
printf "%s\n" "$ac_cv_c_bigendian" >&6; }
|
18285 | 18907 |
case $ac_cv_c_bigendian in #(
|
18286 | 18908 |
yes)
|
18287 | |
$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
|
|
18909 |
printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h
|
18288 | 18910 |
;; #(
|
18289 | 18911 |
no)
|
18290 | 18912 |
;; #(
|
18291 | 18913 |
universal)
|
18292 | 18914 |
|
18293 | |
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
|
|
18915 |
printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
|
18294 | 18916 |
|
18295 | 18917 |
;; #(
|
18296 | 18918 |
*)
|
|
18326 | 18948 |
case $ac_val in #(
|
18327 | 18949 |
*${as_nl}*)
|
18328 | 18950 |
case $ac_var in #(
|
18329 | |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
18330 | |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
|
18951 |
*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|
18952 |
printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
18331 | 18953 |
esac
|
18332 | 18954 |
case $ac_var in #(
|
18333 | 18955 |
_ | IFS | as_nl) ;; #(
|
|
18357 | 18979 |
/^ac_cv_env_/b end
|
18358 | 18980 |
t clear
|
18359 | 18981 |
:clear
|
18360 | |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
|
18982 |
s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
|
18361 | 18983 |
t end
|
18362 | 18984 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
18363 | 18985 |
:end' >>confcache
|
18364 | 18986 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
18365 | 18987 |
if test -w "$cache_file"; then
|
18366 | 18988 |
if test "x$cache_file" != "x/dev/null"; then
|
18367 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
18368 | |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
|
18989 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
|
18990 |
printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
|
18369 | 18991 |
if test ! -f "$cache_file" || test -h "$cache_file"; then
|
18370 | 18992 |
cat confcache >"$cache_file"
|
18371 | 18993 |
else
|
|
18379 | 19001 |
fi
|
18380 | 19002 |
fi
|
18381 | 19003 |
else
|
18382 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
18383 | |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
|
19004 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
|
19005 |
printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
|
18384 | 19006 |
fi
|
18385 | 19007 |
fi
|
18386 | 19008 |
rm -f confcache
|
|
18397 | 19019 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
18398 | 19020 |
# 1. Remove the extension, and $U if already installed.
|
18399 | 19021 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
18400 | |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
|
19022 |
ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
|
18401 | 19023 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
18402 | 19024 |
# will be set to the directory where LIBOBJS objects are built.
|
18403 | 19025 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
18408 | 19030 |
LTLIBOBJS=$ac_ltlibobjs
|
18409 | 19031 |
|
18410 | 19032 |
|
18411 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
|
18412 | |
$as_echo_n "checking that generated files are newer than configure... " >&6; }
|
|
19033 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
|
|
19034 |
printf %s "checking that generated files are newer than configure... " >&6; }
|
18413 | 19035 |
if test -n "$am_sleep_pid"; then
|
18414 | 19036 |
# Hide warnings about reused PIDs.
|
18415 | 19037 |
wait $am_sleep_pid 2>/dev/null
|
18416 | 19038 |
fi
|
18417 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
|
18418 | |
$as_echo "done" >&6; }
|
|
19039 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
|
|
19040 |
printf "%s\n" "done" >&6; }
|
18419 | 19041 |
if test -n "$EXEEXT"; then
|
18420 | 19042 |
am__EXEEXT_TRUE=
|
18421 | 19043 |
am__EXEEXT_FALSE='#'
|
|
18466 | 19088 |
ac_write_fail=0
|
18467 | 19089 |
ac_clean_files_save=$ac_clean_files
|
18468 | 19090 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
18469 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
18470 | |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
|
19091 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
|
19092 |
printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
|
18471 | 19093 |
as_write_fail=0
|
18472 | 19094 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
18473 | 19095 |
#! $SHELL
|
|
18490 | 19112 |
|
18491 | 19113 |
# Be more Bourne compatible
|
18492 | 19114 |
DUALCASE=1; export DUALCASE # for MKS sh
|
18493 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
|
19115 |
as_nop=:
|
|
19116 |
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
|
|
19117 |
then :
|
18494 | 19118 |
emulate sh
|
18495 | 19119 |
NULLCMD=:
|
18496 | 19120 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
18497 | 19121 |
# is contrary to our usage. Disable this feature.
|
18498 | 19122 |
alias -g '${1+"$@"}'='"$@"'
|
18499 | 19123 |
setopt NO_GLOB_SUBST
|
18500 | |
else
|
|
19124 |
else $as_nop
|
18501 | 19125 |
case `(set -o) 2>/dev/null` in #(
|
18502 | 19126 |
*posix*) :
|
18503 | 19127 |
set -o posix ;; #(
|
|
18507 | 19131 |
fi
|
18508 | 19132 |
|
18509 | 19133 |
|
|
19134 |
|
|
19135 |
# Reset variables that may have inherited troublesome values from
|
|
19136 |
# the environment.
|
|
19137 |
|
|
19138 |
# IFS needs to be set, to space, tab, and newline, in precisely that order.
|
|
19139 |
# (If _AS_PATH_WALK were called with IFS unset, it would have the
|
|
19140 |
# side effect of setting IFS to empty, thus disabling word splitting.)
|
|
19141 |
# Quoting is to prevent editors from complaining about space-tab.
|
18510 | 19142 |
as_nl='
|
18511 | 19143 |
'
|
18512 | 19144 |
export as_nl
|
18513 | |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
18514 | |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
18515 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
18516 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
18517 | |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
18518 | |
# but without wasting forks for bash or zsh.
|
18519 | |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
18520 | |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
18521 | |
as_echo='print -r --'
|
18522 | |
as_echo_n='print -rn --'
|
18523 | |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
18524 | |
as_echo='printf %s\n'
|
18525 | |
as_echo_n='printf %s'
|
18526 | |
else
|
18527 | |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
18528 | |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
18529 | |
as_echo_n='/usr/ucb/echo -n'
|
18530 | |
else
|
18531 | |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
18532 | |
as_echo_n_body='eval
|
18533 | |
arg=$1;
|
18534 | |
case $arg in #(
|
18535 | |
*"$as_nl"*)
|
18536 | |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
18537 | |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
18538 | |
esac;
|
18539 | |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
18540 | |
'
|
18541 | |
export as_echo_n_body
|
18542 | |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
18543 | |
fi
|
18544 | |
export as_echo_body
|
18545 | |
as_echo='sh -c $as_echo_body as_echo'
|
18546 | |
fi
|
|
19145 |
IFS=" "" $as_nl"
|
|
19146 |
|
|
19147 |
PS1='$ '
|
|
19148 |
PS2='> '
|
|
19149 |
PS4='+ '
|
|
19150 |
|
|
19151 |
# Ensure predictable behavior from utilities with locale-dependent output.
|
|
19152 |
LC_ALL=C
|
|
19153 |
export LC_ALL
|
|
19154 |
LANGUAGE=C
|
|
19155 |
export LANGUAGE
|
|
19156 |
|
|
19157 |
# We cannot yet rely on "unset" to work, but we need these variables
|
|
19158 |
# to be unset--not just set to an empty or harmless value--now, to
|
|
19159 |
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
|
|
19160 |
# also avoids known problems related to "unset" and subshell syntax
|
|
19161 |
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
|
|
19162 |
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
|
|
19163 |
do eval test \${$as_var+y} \
|
|
19164 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
|
19165 |
done
|
|
19166 |
|
|
19167 |
# Ensure that fds 0, 1, and 2 are open.
|
|
19168 |
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
|
|
19169 |
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
|
|
19170 |
if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
|
18547 | 19171 |
|
18548 | 19172 |
# The user is always right.
|
18549 | |
if test "${PATH_SEPARATOR+set}" != set; then
|
|
19173 |
if ${PATH_SEPARATOR+false} :; then
|
18550 | 19174 |
PATH_SEPARATOR=:
|
18551 | 19175 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
18552 | 19176 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
18554 | 19178 |
}
|
18555 | 19179 |
fi
|
18556 | 19180 |
|
18557 | |
|
18558 | |
# IFS
|
18559 | |
# We need space, tab and new line, in precisely that order. Quoting is
|
18560 | |
# there to prevent editors from complaining about space-tab.
|
18561 | |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
18562 | |
# splitting by setting IFS to empty value.)
|
18563 | |
IFS=" "" $as_nl"
|
18564 | 19181 |
|
18565 | 19182 |
# Find who we are. Look in the path if we contain no directory separator.
|
18566 | 19183 |
as_myself=
|
|
18570 | 19187 |
for as_dir in $PATH
|
18571 | 19188 |
do
|
18572 | 19189 |
IFS=$as_save_IFS
|
18573 | |
test -z "$as_dir" && as_dir=.
|
18574 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
19190 |
case $as_dir in #(((
|
|
19191 |
'') as_dir=./ ;;
|
|
19192 |
*/) ;;
|
|
19193 |
*) as_dir=$as_dir/ ;;
|
|
19194 |
esac
|
|
19195 |
test -r "$as_dir$0" && as_myself=$as_dir$0 && break
|
18575 | 19196 |
done
|
18576 | 19197 |
IFS=$as_save_IFS
|
18577 | 19198 |
|
|
18583 | 19204 |
as_myself=$0
|
18584 | 19205 |
fi
|
18585 | 19206 |
if test ! -f "$as_myself"; then
|
18586 | |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
19207 |
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
18587 | 19208 |
exit 1
|
18588 | 19209 |
fi
|
18589 | 19210 |
|
18590 | |
# Unset variables that we do not need and which cause bugs (e.g. in
|
18591 | |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
18592 | |
# suppresses any "Segmentation fault" message there. '((' could
|
18593 | |
# trigger a bug in pdksh 5.2.14.
|
18594 | |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
18595 | |
do eval test x\${$as_var+set} = xset \
|
18596 | |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
18597 | |
done
|
18598 | |
PS1='$ '
|
18599 | |
PS2='> '
|
18600 | |
PS4='+ '
|
18601 | |
|
18602 | |
# NLS nuisances.
|
18603 | |
LC_ALL=C
|
18604 | |
export LC_ALL
|
18605 | |
LANGUAGE=C
|
18606 | |
export LANGUAGE
|
18607 | |
|
18608 | |
# CDPATH.
|
18609 | |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
18610 | 19211 |
|
18611 | 19212 |
|
18612 | 19213 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|
18619 | 19220 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
18620 | 19221 |
if test "$4"; then
|
18621 | 19222 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
18622 | |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
|
19223 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
18623 | 19224 |
fi
|
18624 | |
$as_echo "$as_me: error: $2" >&2
|
|
19225 |
printf "%s\n" "$as_me: error: $2" >&2
|
18625 | 19226 |
as_fn_exit $as_status
|
18626 | 19227 |
} # as_fn_error
|
|
19228 |
|
18627 | 19229 |
|
18628 | 19230 |
|
18629 | 19231 |
# as_fn_set_status STATUS
|
|
18652 | 19254 |
{ eval $1=; unset $1;}
|
18653 | 19255 |
}
|
18654 | 19256 |
as_unset=as_fn_unset
|
|
19257 |
|
18655 | 19258 |
# as_fn_append VAR VALUE
|
18656 | 19259 |
# ----------------------
|
18657 | 19260 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
18658 | 19261 |
# advantage of any shell optimizations that allow amortized linear growth over
|
18659 | 19262 |
# repeated appends, instead of the typical quadratic growth present in naive
|
18660 | 19263 |
# implementations.
|
18661 | |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
19264 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
|
|
19265 |
then :
|
18662 | 19266 |
eval 'as_fn_append ()
|
18663 | 19267 |
{
|
18664 | 19268 |
eval $1+=\$2
|
18665 | 19269 |
}'
|
18666 | |
else
|
|
19270 |
else $as_nop
|
18667 | 19271 |
as_fn_append ()
|
18668 | 19272 |
{
|
18669 | 19273 |
eval $1=\$$1\$2
|
|
18675 | 19279 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
18676 | 19280 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
18677 | 19281 |
# must be portable across $(()) and expr.
|
18678 | |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
19282 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
|
|
19283 |
then :
|
18679 | 19284 |
eval 'as_fn_arith ()
|
18680 | 19285 |
{
|
18681 | 19286 |
as_val=$(( $* ))
|
18682 | 19287 |
}'
|
18683 | |
else
|
|
19288 |
else $as_nop
|
18684 | 19289 |
as_fn_arith ()
|
18685 | 19290 |
{
|
18686 | 19291 |
as_val=`expr "$@" || test $? -eq 1`
|
|
18711 | 19316 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
18712 | 19317 |
X"$0" : 'X\(//\)$' \| \
|
18713 | 19318 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
18714 | |
$as_echo X/"$0" |
|
|
19319 |
printf "%s\n" X/"$0" |
|
18715 | 19320 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
18716 | 19321 |
s//\1/
|
18717 | 19322 |
q
|
|
18733 | 19338 |
as_cr_digits='0123456789'
|
18734 | 19339 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
18735 | 19340 |
|
|
19341 |
|
|
19342 |
# Determine whether it's possible to make 'echo' print without a newline.
|
|
19343 |
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
|
|
19344 |
# for compatibility with existing Makefiles.
|
18736 | 19345 |
ECHO_C= ECHO_N= ECHO_T=
|
18737 | 19346 |
case `echo -n x` in #(((((
|
18738 | 19347 |
-n*)
|
|
18745 | 19354 |
*)
|
18746 | 19355 |
ECHO_N='-n';;
|
18747 | 19356 |
esac
|
|
19357 |
|
|
19358 |
# For backward compatibility with old third-party macros, we provide
|
|
19359 |
# the shell variables $as_echo and $as_echo_n. New code should use
|
|
19360 |
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
|
|
19361 |
as_echo='printf %s\n'
|
|
19362 |
as_echo_n='printf %s'
|
18748 | 19363 |
|
18749 | 19364 |
rm -f conf$$ conf$$.exe conf$$.file
|
18750 | 19365 |
if test -d conf$$.dir; then
|
|
18787 | 19402 |
as_dirs=
|
18788 | 19403 |
while :; do
|
18789 | 19404 |
case $as_dir in #(
|
18790 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
19405 |
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
18791 | 19406 |
*) as_qdir=$as_dir;;
|
18792 | 19407 |
esac
|
18793 | 19408 |
as_dirs="'$as_qdir' $as_dirs"
|
|
18796 | 19411 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
18797 | 19412 |
X"$as_dir" : 'X\(//\)$' \| \
|
18798 | 19413 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
18799 | |
$as_echo X"$as_dir" |
|
|
19414 |
printf "%s\n" X"$as_dir" |
|
18800 | 19415 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
18801 | 19416 |
s//\1/
|
18802 | 19417 |
q
|
|
18858 | 19473 |
# report actual input values of CONFIG_FILES etc. instead of their
|
18859 | 19474 |
# values after options handling.
|
18860 | 19475 |
ac_log="
|
18861 | |
This file was extended by protobuf-c $as_me 1.3.3, which was
|
18862 | |
generated by GNU Autoconf 2.69. Invocation command line was
|
|
19476 |
This file was extended by protobuf-c $as_me 1.4.0, which was
|
|
19477 |
generated by GNU Autoconf 2.71. Invocation command line was
|
18863 | 19478 |
|
18864 | 19479 |
CONFIG_FILES = $CONFIG_FILES
|
18865 | 19480 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
18922 | 19537 |
protobuf-c home page: <https://github.com/protobuf-c/protobuf-c>."
|
18923 | 19538 |
|
18924 | 19539 |
_ACEOF
|
|
19540 |
ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
|
|
19541 |
ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
|
18925 | 19542 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
18926 | |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
|
19543 |
ac_cs_config='$ac_cs_config_escaped'
|
18927 | 19544 |
ac_cs_version="\\
|
18928 | |
protobuf-c config.status 1.3.3
|
18929 | |
configured by $0, generated by GNU Autoconf 2.69,
|
|
19545 |
protobuf-c config.status 1.4.0
|
|
19546 |
configured by $0, generated by GNU Autoconf 2.71,
|
18930 | 19547 |
with options \\"\$ac_cs_config\\"
|
18931 | 19548 |
|
18932 | |
Copyright (C) 2012 Free Software Foundation, Inc.
|
|
19549 |
Copyright (C) 2021 Free Software Foundation, Inc.
|
18933 | 19550 |
This config.status script is free software; the Free Software Foundation
|
18934 | 19551 |
gives unlimited permission to copy, distribute and modify it."
|
18935 | 19552 |
|
|
18969 | 19586 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
18970 | 19587 |
ac_cs_recheck=: ;;
|
18971 | 19588 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
18972 | |
$as_echo "$ac_cs_version"; exit ;;
|
|
19589 |
printf "%s\n" "$ac_cs_version"; exit ;;
|
18973 | 19590 |
--config | --confi | --conf | --con | --co | --c )
|
18974 | |
$as_echo "$ac_cs_config"; exit ;;
|
|
19591 |
printf "%s\n" "$ac_cs_config"; exit ;;
|
18975 | 19592 |
--debug | --debu | --deb | --de | --d | -d )
|
18976 | 19593 |
debug=: ;;
|
18977 | 19594 |
--file | --fil | --fi | --f )
|
18978 | 19595 |
$ac_shift
|
18979 | 19596 |
case $ac_optarg in
|
18980 | |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
19597 |
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
18981 | 19598 |
'') as_fn_error $? "missing file argument" ;;
|
18982 | 19599 |
esac
|
18983 | 19600 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
|
18985 | 19602 |
--header | --heade | --head | --hea )
|
18986 | 19603 |
$ac_shift
|
18987 | 19604 |
case $ac_optarg in
|
18988 | |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
19605 |
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
18989 | 19606 |
esac
|
18990 | 19607 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
18991 | 19608 |
ac_need_defaults=false;;
|
|
18994 | 19611 |
as_fn_error $? "ambiguous option: \`$1'
|
18995 | 19612 |
Try \`$0 --help' for more information.";;
|
18996 | 19613 |
--help | --hel | -h )
|
18997 | |
$as_echo "$ac_cs_usage"; exit ;;
|
|
19614 |
printf "%s\n" "$ac_cs_usage"; exit ;;
|
18998 | 19615 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
18999 | 19616 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
19000 | 19617 |
ac_cs_silent=: ;;
|
|
19022 | 19639 |
if \$ac_cs_recheck; then
|
19023 | 19640 |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
19024 | 19641 |
shift
|
19025 | |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
|
19642 |
\printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
|
19026 | 19643 |
CONFIG_SHELL='$SHELL'
|
19027 | 19644 |
export CONFIG_SHELL
|
19028 | 19645 |
exec "\$@"
|
|
19036 | 19653 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
19037 | 19654 |
## Running $as_me. ##
|
19038 | 19655 |
_ASBOX
|
19039 | |
$as_echo "$ac_log"
|
|
19656 |
printf "%s\n" "$ac_log"
|
19040 | 19657 |
} >&5
|
19041 | 19658 |
|
19042 | 19659 |
_ACEOF
|
|
19452 | 20069 |
# We use the long form for the default assignment because of an extremely
|
19453 | 20070 |
# bizarre bug on SunOS 4.1.3.
|
19454 | 20071 |
if $ac_need_defaults; then
|
19455 | |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
19456 | |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
19457 | |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
|
20072 |
test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
|
|
20073 |
test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
|
|
20074 |
test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
|
19458 | 20075 |
fi
|
19459 | 20076 |
|
19460 | 20077 |
# Have a temporary directory for convenience. Make it in the build tree
|
|
19790 | 20407 |
esac ||
|
19791 | 20408 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
19792 | 20409 |
esac
|
19793 | |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
|
20410 |
case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
19794 | 20411 |
as_fn_append ac_file_inputs " '$ac_f'"
|
19795 | 20412 |
done
|
19796 | 20413 |
|
|
19798 | 20415 |
# use $as_me), people would be surprised to read:
|
19799 | 20416 |
# /* config.h. Generated by config.status. */
|
19800 | 20417 |
configure_input='Generated from '`
|
19801 | |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
|
20418 |
printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
19802 | 20419 |
`' by configure.'
|
19803 | 20420 |
if test x"$ac_file" != x-; then
|
19804 | 20421 |
configure_input="$ac_file. $configure_input"
|
19805 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
19806 | |
$as_echo "$as_me: creating $ac_file" >&6;}
|
|
20422 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
|
20423 |
printf "%s\n" "$as_me: creating $ac_file" >&6;}
|
19807 | 20424 |
fi
|
19808 | 20425 |
# Neutralize special characters interpreted by sed in replacement strings.
|
19809 | 20426 |
case $configure_input in #(
|
19810 | 20427 |
*\&* | *\|* | *\\* )
|
19811 | |
ac_sed_conf_input=`$as_echo "$configure_input" |
|
|
20428 |
ac_sed_conf_input=`printf "%s\n" "$configure_input" |
|
19812 | 20429 |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
19813 | 20430 |
*) ac_sed_conf_input=$configure_input;;
|
19814 | 20431 |
esac
|
|
19825 | 20442 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
19826 | 20443 |
X"$ac_file" : 'X\(//\)$' \| \
|
19827 | 20444 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
19828 | |
$as_echo X"$ac_file" |
|
|
20445 |
printf "%s\n" X"$ac_file" |
|
19829 | 20446 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
19830 | 20447 |
s//\1/
|
19831 | 20448 |
q
|
|
19849 | 20466 |
case "$ac_dir" in
|
19850 | 20467 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
19851 | 20468 |
*)
|
19852 | |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
|
20469 |
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
|
19853 | 20470 |
# A ".." for each directory in $ac_dir_suffix.
|
19854 | |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|
20471 |
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
19855 | 20472 |
case $ac_top_builddir_sub in
|
19856 | 20473 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
19857 | 20474 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
19913 | 20530 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
19914 | 20531 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
19915 | 20532 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
19916 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
19917 | |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
|
20533 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
20534 |
printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
19918 | 20535 |
_ACEOF
|
19919 | 20536 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
19920 | 20537 |
ac_datarootdir_hack='
|
|
19958 | 20575 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
19959 | 20576 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
19960 | 20577 |
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
19961 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
20578 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
19962 | 20579 |
which seems to be undefined. Please make sure it is defined" >&5
|
19963 | |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
20580 |
printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
19964 | 20581 |
which seems to be undefined. Please make sure it is defined" >&2;}
|
19965 | 20582 |
|
19966 | 20583 |
rm -f "$ac_tmp/stdin"
|
|
19976 | 20593 |
#
|
19977 | 20594 |
if test x"$ac_file" != x-; then
|
19978 | 20595 |
{
|
19979 | |
$as_echo "/* $configure_input */" \
|
|
20596 |
printf "%s\n" "/* $configure_input */" >&1 \
|
19980 | 20597 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
19981 | 20598 |
} >"$ac_tmp/config.h" \
|
19982 | 20599 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
19983 | 20600 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
19984 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
19985 | |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
|
20601 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
|
20602 |
printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
|
19986 | 20603 |
else
|
19987 | 20604 |
rm -f "$ac_file"
|
19988 | 20605 |
mv "$ac_tmp/config.h" "$ac_file" \
|
19989 | 20606 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
19990 | 20607 |
fi
|
19991 | 20608 |
else
|
19992 | |
$as_echo "/* $configure_input */" \
|
|
20609 |
printf "%s\n" "/* $configure_input */" >&1 \
|
19993 | 20610 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
19994 | 20611 |
|| as_fn_error $? "could not create -" "$LINENO" 5
|
19995 | 20612 |
fi
|
|
20009 | 20626 |
X"$_am_arg" : 'X\(//\)[^/]' \| \
|
20010 | 20627 |
X"$_am_arg" : 'X\(//\)$' \| \
|
20011 | 20628 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
20012 | |
$as_echo X"$_am_arg" |
|
|
20629 |
printf "%s\n" X"$_am_arg" |
|
20013 | 20630 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
20014 | 20631 |
s//\1/
|
20015 | 20632 |
q
|
|
20029 | 20646 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
20030 | 20647 |
;;
|
20031 | 20648 |
|
20032 | |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
20033 | |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
|
20649 |
:C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
|
20650 |
printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
|
20034 | 20651 |
;;
|
20035 | 20652 |
esac
|
20036 | 20653 |
|
|
20056 | 20673 |
for am_mf
|
20057 | 20674 |
do
|
20058 | 20675 |
# Strip MF so we end up with the name of the file.
|
20059 | |
am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
|
|
20676 |
am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
|
20060 | 20677 |
# Check whether this is an Automake generated Makefile which includes
|
20061 | 20678 |
# dependency-tracking related rules and includes.
|
20062 | 20679 |
# Grep'ing the whole file directly is not great: AIX grep has a line
|
|
20068 | 20685 |
X"$am_mf" : 'X\(//\)[^/]' \| \
|
20069 | 20686 |
X"$am_mf" : 'X\(//\)$' \| \
|
20070 | 20687 |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
|
20071 | |
$as_echo X"$am_mf" |
|
|
20688 |
printf "%s\n" X"$am_mf" |
|
20072 | 20689 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
20073 | 20690 |
s//\1/
|
20074 | 20691 |
q
|
|
20090 | 20707 |
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
|
20091 | 20708 |
X"$am_mf" : 'X\(//\)$' \| \
|
20092 | 20709 |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
|
20093 | |
$as_echo X/"$am_mf" |
|
|
20710 |
printf "%s\n" X/"$am_mf" |
|
20094 | 20711 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
20095 | 20712 |
s//\1/
|
20096 | 20713 |
q
|
|
20115 | 20732 |
(exit $ac_status); } || am_rc=$?
|
20116 | 20733 |
done
|
20117 | 20734 |
if test $am_rc -ne 0; then
|
20118 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
20119 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
20735 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
20736 |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
20120 | 20737 |
as_fn_error $? "Something went wrong bootstrapping makefile fragments
|
20121 | |
for automatic dependency tracking. Try re-running configure with the
|
|
20738 |
for automatic dependency tracking. If GNU make was not used, consider
|
|
20739 |
re-running the configure script with MAKE=\"gmake\" (or whatever is
|
|
20740 |
necessary). You can also try re-running configure with the
|
20122 | 20741 |
'--disable-dependency-tracking' option to at least be able to build
|
20123 | 20742 |
the package (albeit without support for automatic dependency tracking).
|
20124 | 20743 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
20671 | 21290 |
esac
|
20672 | 21291 |
|
20673 | 21292 |
|
|
21293 |
|
20674 | 21294 |
ltmain=$ac_aux_dir/ltmain.sh
|
20675 | 21295 |
|
20676 | 21296 |
|
|
20873 | 21493 |
$ac_cs_success || as_fn_exit 1
|
20874 | 21494 |
fi
|
20875 | 21495 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
20876 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
20877 | |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
20878 | |
fi
|
20879 | |
|
20880 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result:
|
|
21496 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
21497 |
printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
|
21498 |
fi
|
|
21499 |
|
|
21500 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result:
|
20881 | 21501 |
$PACKAGE $VERSION
|
20882 | 21502 |
|
20883 | 21503 |
CC: ${CC}
|
|
20896 | 21516 |
bigendian: ${ac_cv_c_bigendian}
|
20897 | 21517 |
protobuf version: ${PROTOBUF_VERSION}
|
20898 | 21518 |
" >&5
|
20899 | |
$as_echo "
|
|
21519 |
printf "%s\n" "
|
20900 | 21520 |
$PACKAGE $VERSION
|
20901 | 21521 |
|
20902 | 21522 |
CC: ${CC}
|
|
20915 | 21535 |
bigendian: ${ac_cv_c_bigendian}
|
20916 | 21536 |
protobuf version: ${PROTOBUF_VERSION}
|
20917 | 21537 |
" >&6; }
|
|
21538 |
|