1 |
|
#! /bin/sh |
2 |
|
# From configure.ac Id: configure.ac 955 2009-07-27 00:27:20Z michael . |
3 |
|
# Guess values for system-dependent variables and create Makefiles. |
4 |
< |
# Generated by GNU Autoconf 2.63 for ircd-hybrid 7.2.4. |
4 |
> |
# Generated by GNU Autoconf 2.64 for ircd-hybrid 7.2.4. |
5 |
|
# |
6 |
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
7 |
< |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
7 |
> |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software |
8 |
> |
# Foundation, Inc. |
9 |
> |
# |
10 |
|
# This configure script is free software; the Free Software Foundation |
11 |
|
# gives unlimited permission to copy, distribute and modify it. |
12 |
< |
## --------------------- ## |
13 |
< |
## M4sh Initialization. ## |
14 |
< |
## --------------------- ## |
12 |
> |
## -------------------- ## |
13 |
> |
## M4sh Initialization. ## |
14 |
> |
## -------------------- ## |
15 |
|
|
16 |
|
# Be more Bourne compatible |
17 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
18 |
< |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
18 |
> |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
19 |
|
emulate sh |
20 |
|
NULLCMD=: |
21 |
|
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
23 |
|
alias -g '${1+"$@"}'='"$@"' |
24 |
|
setopt NO_GLOB_SUBST |
25 |
|
else |
26 |
< |
case `(set -o) 2>/dev/null` in |
27 |
< |
*posix*) set -o posix ;; |
26 |
> |
case `(set -o) 2>/dev/null` in #( |
27 |
> |
*posix*) : |
28 |
> |
set -o posix ;; #( |
29 |
> |
*) : |
30 |
> |
;; |
31 |
|
esac |
27 |
– |
|
32 |
|
fi |
33 |
|
|
34 |
|
|
31 |
– |
|
32 |
– |
|
33 |
– |
# PATH needs CR |
34 |
– |
# Avoid depending upon Character Ranges. |
35 |
– |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
36 |
– |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
37 |
– |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
38 |
– |
as_cr_digits='0123456789' |
39 |
– |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
40 |
– |
|
35 |
|
as_nl=' |
36 |
|
' |
37 |
|
export as_nl |
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 |
< |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
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 |
56 |
|
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
57 |
|
as_echo_n_body='eval |
58 |
|
arg=$1; |
59 |
< |
case $arg in |
59 |
> |
case $arg in #( |
60 |
|
*"$as_nl"*) |
61 |
|
expr "X$arg" : "X\\(.*\\)$as_nl"; |
62 |
|
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
79 |
|
} |
80 |
|
fi |
81 |
|
|
82 |
– |
# Support unset when possible. |
83 |
– |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
84 |
– |
as_unset=unset |
85 |
– |
else |
86 |
– |
as_unset=false |
87 |
– |
fi |
88 |
– |
|
82 |
|
|
83 |
|
# IFS |
84 |
|
# We need space, tab and new line, in precisely that order. Quoting is |
88 |
|
IFS=" "" $as_nl" |
89 |
|
|
90 |
|
# Find who we are. Look in the path if we contain no directory separator. |
91 |
< |
case $0 in |
91 |
> |
case $0 in #(( |
92 |
|
*[\\/]* ) as_myself=$0 ;; |
93 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
94 |
|
for as_dir in $PATH |
95 |
|
do |
96 |
|
IFS=$as_save_IFS |
97 |
|
test -z "$as_dir" && as_dir=. |
98 |
< |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
99 |
< |
done |
98 |
> |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
99 |
> |
done |
100 |
|
IFS=$as_save_IFS |
101 |
|
|
102 |
|
;; |
108 |
|
fi |
109 |
|
if test ! -f "$as_myself"; then |
110 |
|
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
111 |
< |
{ (exit 1); exit 1; } |
111 |
> |
exit 1 |
112 |
|
fi |
113 |
|
|
114 |
< |
# Work around bugs in pre-3.0 UWIN ksh. |
115 |
< |
for as_var in ENV MAIL MAILPATH |
116 |
< |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
114 |
> |
# Unset variables that we do not need and which cause bugs (e.g. in |
115 |
> |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
116 |
> |
# suppresses any "Segmentation fault" message there. '((' could |
117 |
> |
# trigger a bug in pdksh 5.2.14. |
118 |
> |
for as_var in BASH_ENV ENV MAIL MAILPATH |
119 |
> |
do eval test x\${$as_var+set} = xset \ |
120 |
> |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
121 |
|
done |
122 |
|
PS1='$ ' |
123 |
|
PS2='> ' |
129 |
|
LANGUAGE=C |
130 |
|
export LANGUAGE |
131 |
|
|
135 |
– |
# Required to use basename. |
136 |
– |
if expr a : '\(a\)' >/dev/null 2>&1 && |
137 |
– |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
138 |
– |
as_expr=expr |
139 |
– |
else |
140 |
– |
as_expr=false |
141 |
– |
fi |
142 |
– |
|
143 |
– |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
144 |
– |
as_basename=basename |
145 |
– |
else |
146 |
– |
as_basename=false |
147 |
– |
fi |
148 |
– |
|
149 |
– |
|
150 |
– |
# Name of the executable. |
151 |
– |
as_me=`$as_basename -- "$0" || |
152 |
– |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
153 |
– |
X"$0" : 'X\(//\)$' \| \ |
154 |
– |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
155 |
– |
$as_echo X/"$0" | |
156 |
– |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
157 |
– |
s//\1/ |
158 |
– |
q |
159 |
– |
} |
160 |
– |
/^X\/\(\/\/\)$/{ |
161 |
– |
s//\1/ |
162 |
– |
q |
163 |
– |
} |
164 |
– |
/^X\/\(\/\).*/{ |
165 |
– |
s//\1/ |
166 |
– |
q |
167 |
– |
} |
168 |
– |
s/.*/./; q'` |
169 |
– |
|
132 |
|
# CDPATH. |
133 |
< |
$as_unset CDPATH |
172 |
< |
|
133 |
> |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
134 |
|
|
135 |
|
if test "x$CONFIG_SHELL" = x; then |
136 |
< |
if (eval ":") 2>/dev/null; then |
137 |
< |
as_have_required=yes |
136 |
> |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
137 |
> |
emulate sh |
138 |
> |
NULLCMD=: |
139 |
> |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
140 |
> |
# is contrary to our usage. Disable this feature. |
141 |
> |
alias -g '\${1+\"\$@\"}'='\"\$@\"' |
142 |
> |
setopt NO_GLOB_SUBST |
143 |
|
else |
144 |
< |
as_have_required=no |
144 |
> |
case \`(set -o) 2>/dev/null\` in #( |
145 |
> |
*posix*) : |
146 |
> |
set -o posix ;; #( |
147 |
> |
*) : |
148 |
> |
;; |
149 |
> |
esac |
150 |
|
fi |
151 |
< |
|
152 |
< |
if test $as_have_required = yes && (eval ": |
153 |
< |
(as_func_return () { |
154 |
< |
(exit \$1) |
155 |
< |
} |
156 |
< |
as_func_success () { |
186 |
< |
as_func_return 0 |
187 |
< |
} |
188 |
< |
as_func_failure () { |
189 |
< |
as_func_return 1 |
190 |
< |
} |
191 |
< |
as_func_ret_success () { |
192 |
< |
return 0 |
193 |
< |
} |
194 |
< |
as_func_ret_failure () { |
195 |
< |
return 1 |
196 |
< |
} |
151 |
> |
" |
152 |
> |
as_required="as_fn_return () { (exit \$1); } |
153 |
> |
as_fn_success () { as_fn_return 0; } |
154 |
> |
as_fn_failure () { as_fn_return 1; } |
155 |
> |
as_fn_ret_success () { return 0; } |
156 |
> |
as_fn_ret_failure () { return 1; } |
157 |
|
|
158 |
|
exitcode=0 |
159 |
< |
if as_func_success; then |
160 |
< |
: |
161 |
< |
else |
162 |
< |
exitcode=1 |
163 |
< |
echo as_func_success failed. |
164 |
< |
fi |
165 |
< |
|
166 |
< |
if as_func_failure; then |
167 |
< |
exitcode=1 |
168 |
< |
echo as_func_failure succeeded. |
169 |
< |
fi |
170 |
< |
|
171 |
< |
if as_func_ret_success; then |
172 |
< |
: |
173 |
< |
else |
174 |
< |
exitcode=1 |
175 |
< |
echo as_func_ret_success failed. |
216 |
< |
fi |
217 |
< |
|
218 |
< |
if as_func_ret_failure; then |
219 |
< |
exitcode=1 |
220 |
< |
echo as_func_ret_failure succeeded. |
221 |
< |
fi |
222 |
< |
|
223 |
< |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
224 |
< |
: |
159 |
> |
as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
160 |
> |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
161 |
> |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
162 |
> |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
163 |
> |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
164 |
> |
|
165 |
> |
else |
166 |
> |
exitcode=1; echo positional parameters were not saved. |
167 |
> |
fi |
168 |
> |
test x\$exitcode = x0 || exit 1" |
169 |
> |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
170 |
> |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
171 |
> |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
172 |
> |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
173 |
> |
test \$(( 1 + 1 )) = 2 || exit 1" |
174 |
> |
if (eval "$as_required") 2>/dev/null; then : |
175 |
> |
as_have_required=yes |
176 |
|
else |
177 |
< |
exitcode=1 |
227 |
< |
echo positional parameters were not saved. |
177 |
> |
as_have_required=no |
178 |
|
fi |
179 |
+ |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
180 |
|
|
230 |
– |
test \$exitcode = 0) || { (exit 1); exit 1; } |
231 |
– |
|
232 |
– |
( |
233 |
– |
as_lineno_1=\$LINENO |
234 |
– |
as_lineno_2=\$LINENO |
235 |
– |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
236 |
– |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
237 |
– |
") 2> /dev/null; then |
238 |
– |
: |
181 |
|
else |
182 |
< |
as_candidate_shells= |
183 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
182 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
183 |
> |
as_found=false |
184 |
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
185 |
|
do |
186 |
|
IFS=$as_save_IFS |
187 |
|
test -z "$as_dir" && as_dir=. |
188 |
< |
case $as_dir in |
188 |
> |
as_found=: |
189 |
> |
case $as_dir in #( |
190 |
|
/*) |
191 |
|
for as_base in sh bash ksh sh5; do |
192 |
< |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
192 |
> |
# Try only shells that exist, to save several forks. |
193 |
> |
as_shell=$as_dir/$as_base |
194 |
> |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
195 |
> |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
196 |
> |
CONFIG_SHELL=$as_shell as_have_required=yes |
197 |
> |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
198 |
> |
break 2 |
199 |
> |
fi |
200 |
> |
fi |
201 |
|
done;; |
202 |
|
esac |
203 |
+ |
as_found=false |
204 |
|
done |
205 |
+ |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
206 |
+ |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
207 |
+ |
CONFIG_SHELL=$SHELL as_have_required=yes |
208 |
+ |
fi; } |
209 |
|
IFS=$as_save_IFS |
210 |
|
|
211 |
|
|
212 |
< |
for as_shell in $as_candidate_shells $SHELL; do |
213 |
< |
# Try only shells that exist, to save several forks. |
214 |
< |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
215 |
< |
{ ("$as_shell") 2> /dev/null <<\_ASEOF |
216 |
< |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
217 |
< |
emulate sh |
218 |
< |
NULLCMD=: |
263 |
< |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
264 |
< |
# is contrary to our usage. Disable this feature. |
265 |
< |
alias -g '${1+"$@"}'='"$@"' |
266 |
< |
setopt NO_GLOB_SUBST |
267 |
< |
else |
268 |
< |
case `(set -o) 2>/dev/null` in |
269 |
< |
*posix*) set -o posix ;; |
270 |
< |
esac |
271 |
< |
|
272 |
< |
fi |
273 |
< |
|
274 |
< |
|
275 |
< |
: |
276 |
< |
_ASEOF |
277 |
< |
}; then |
278 |
< |
CONFIG_SHELL=$as_shell |
279 |
< |
as_have_required=yes |
280 |
< |
if { "$as_shell" 2> /dev/null <<\_ASEOF |
281 |
< |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
282 |
< |
emulate sh |
283 |
< |
NULLCMD=: |
284 |
< |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
285 |
< |
# is contrary to our usage. Disable this feature. |
286 |
< |
alias -g '${1+"$@"}'='"$@"' |
287 |
< |
setopt NO_GLOB_SUBST |
288 |
< |
else |
289 |
< |
case `(set -o) 2>/dev/null` in |
290 |
< |
*posix*) set -o posix ;; |
291 |
< |
esac |
292 |
< |
|
293 |
< |
fi |
294 |
< |
|
295 |
< |
|
296 |
< |
: |
297 |
< |
(as_func_return () { |
298 |
< |
(exit $1) |
299 |
< |
} |
300 |
< |
as_func_success () { |
301 |
< |
as_func_return 0 |
302 |
< |
} |
303 |
< |
as_func_failure () { |
304 |
< |
as_func_return 1 |
305 |
< |
} |
306 |
< |
as_func_ret_success () { |
307 |
< |
return 0 |
308 |
< |
} |
309 |
< |
as_func_ret_failure () { |
310 |
< |
return 1 |
311 |
< |
} |
312 |
< |
|
313 |
< |
exitcode=0 |
314 |
< |
if as_func_success; then |
315 |
< |
: |
316 |
< |
else |
317 |
< |
exitcode=1 |
318 |
< |
echo as_func_success failed. |
319 |
< |
fi |
320 |
< |
|
321 |
< |
if as_func_failure; then |
322 |
< |
exitcode=1 |
323 |
< |
echo as_func_failure succeeded. |
324 |
< |
fi |
325 |
< |
|
326 |
< |
if as_func_ret_success; then |
327 |
< |
: |
328 |
< |
else |
329 |
< |
exitcode=1 |
330 |
< |
echo as_func_ret_success failed. |
331 |
< |
fi |
332 |
< |
|
333 |
< |
if as_func_ret_failure; then |
334 |
< |
exitcode=1 |
335 |
< |
echo as_func_ret_failure succeeded. |
336 |
< |
fi |
337 |
< |
|
338 |
< |
if ( set x; as_func_ret_success y && test x = "$1" ); then |
339 |
< |
: |
340 |
< |
else |
341 |
< |
exitcode=1 |
342 |
< |
echo positional parameters were not saved. |
343 |
< |
fi |
344 |
< |
|
345 |
< |
test $exitcode = 0) || { (exit 1); exit 1; } |
346 |
< |
|
347 |
< |
( |
348 |
< |
as_lineno_1=$LINENO |
349 |
< |
as_lineno_2=$LINENO |
350 |
< |
test "x$as_lineno_1" != "x$as_lineno_2" && |
351 |
< |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
352 |
< |
|
353 |
< |
_ASEOF |
354 |
< |
}; then |
355 |
< |
break |
356 |
< |
fi |
357 |
< |
|
358 |
< |
fi |
359 |
< |
|
360 |
< |
done |
361 |
< |
|
362 |
< |
if test "x$CONFIG_SHELL" != x; then |
363 |
< |
for as_var in BASH_ENV ENV |
364 |
< |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
365 |
< |
done |
212 |
> |
if test "x$CONFIG_SHELL" != x; then : |
213 |
> |
# We cannot yet assume a decent shell, so we have to provide a |
214 |
> |
# neutralization value for shells without unset; and this also |
215 |
> |
# works around shells that cannot unset nonexistent variables. |
216 |
> |
BASH_ENV=/dev/null |
217 |
> |
ENV=/dev/null |
218 |
> |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
219 |
|
export CONFIG_SHELL |
220 |
|
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
221 |
|
fi |
222 |
|
|
223 |
< |
|
224 |
< |
if test $as_have_required = no; then |
225 |
< |
echo This script requires a shell more modern than all the |
226 |
< |
echo shells that I found on your system. Please install a |
227 |
< |
echo modern shell, or manually run the script under such a |
228 |
< |
echo shell if you do have one. |
229 |
< |
{ (exit 1); exit 1; } |
223 |
> |
if test x$as_have_required = xno; then : |
224 |
> |
$as_echo "$0: This script requires a shell more modern than all" |
225 |
> |
$as_echo "$0: the shells that I found on your system." |
226 |
> |
if test x${ZSH_VERSION+set} = xset ; then |
227 |
> |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
228 |
> |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
229 |
> |
else |
230 |
> |
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
231 |
> |
$0: including any error possibly output before this |
232 |
> |
$0: message. Then install a modern shell, or manually run |
233 |
> |
$0: the script under such a shell if you do have one." |
234 |
> |
fi |
235 |
> |
exit 1 |
236 |
|
fi |
378 |
– |
|
379 |
– |
|
237 |
|
fi |
381 |
– |
|
238 |
|
fi |
239 |
+ |
SHELL=${CONFIG_SHELL-/bin/sh} |
240 |
+ |
export SHELL |
241 |
+ |
# Unset more variables known to interfere with behavior of common tools. |
242 |
+ |
CLICOLOR_FORCE= GREP_OPTIONS= |
243 |
+ |
unset CLICOLOR_FORCE GREP_OPTIONS |
244 |
|
|
245 |
+ |
## --------------------- ## |
246 |
+ |
## M4sh Shell Functions. ## |
247 |
+ |
## --------------------- ## |
248 |
+ |
# as_fn_unset VAR |
249 |
+ |
# --------------- |
250 |
+ |
# Portably unset VAR. |
251 |
+ |
as_fn_unset () |
252 |
+ |
{ |
253 |
+ |
{ eval $1=; unset $1;} |
254 |
+ |
} |
255 |
+ |
as_unset=as_fn_unset |
256 |
+ |
|
257 |
+ |
# as_fn_set_status STATUS |
258 |
+ |
# ----------------------- |
259 |
+ |
# Set $? to STATUS, without forking. |
260 |
+ |
as_fn_set_status () |
261 |
+ |
{ |
262 |
+ |
return $1 |
263 |
+ |
} # as_fn_set_status |
264 |
+ |
|
265 |
+ |
# as_fn_exit STATUS |
266 |
+ |
# ----------------- |
267 |
+ |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
268 |
+ |
as_fn_exit () |
269 |
+ |
{ |
270 |
+ |
set +e |
271 |
+ |
as_fn_set_status $1 |
272 |
+ |
exit $1 |
273 |
+ |
} # as_fn_exit |
274 |
+ |
|
275 |
+ |
# as_fn_mkdir_p |
276 |
+ |
# ------------- |
277 |
+ |
# Create "$as_dir" as a directory, including parents if necessary. |
278 |
+ |
as_fn_mkdir_p () |
279 |
+ |
{ |
280 |
|
|
281 |
+ |
case $as_dir in #( |
282 |
+ |
-*) as_dir=./$as_dir;; |
283 |
+ |
esac |
284 |
+ |
test -d "$as_dir" || eval $as_mkdir_p || { |
285 |
+ |
as_dirs= |
286 |
+ |
while :; do |
287 |
+ |
case $as_dir in #( |
288 |
+ |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
289 |
+ |
*) as_qdir=$as_dir;; |
290 |
+ |
esac |
291 |
+ |
as_dirs="'$as_qdir' $as_dirs" |
292 |
+ |
as_dir=`$as_dirname -- "$as_dir" || |
293 |
+ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
294 |
+ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
295 |
+ |
X"$as_dir" : 'X\(//\)$' \| \ |
296 |
+ |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
297 |
+ |
$as_echo X"$as_dir" | |
298 |
+ |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
299 |
+ |
s//\1/ |
300 |
+ |
q |
301 |
+ |
} |
302 |
+ |
/^X\(\/\/\)[^/].*/{ |
303 |
+ |
s//\1/ |
304 |
+ |
q |
305 |
+ |
} |
306 |
+ |
/^X\(\/\/\)$/{ |
307 |
+ |
s//\1/ |
308 |
+ |
q |
309 |
+ |
} |
310 |
+ |
/^X\(\/\).*/{ |
311 |
+ |
s//\1/ |
312 |
+ |
q |
313 |
+ |
} |
314 |
+ |
s/.*/./; q'` |
315 |
+ |
test -d "$as_dir" && break |
316 |
+ |
done |
317 |
+ |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
318 |
+ |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
319 |
|
|
386 |
– |
(eval "as_func_return () { |
387 |
– |
(exit \$1) |
388 |
– |
} |
389 |
– |
as_func_success () { |
390 |
– |
as_func_return 0 |
391 |
– |
} |
392 |
– |
as_func_failure () { |
393 |
– |
as_func_return 1 |
394 |
– |
} |
395 |
– |
as_func_ret_success () { |
396 |
– |
return 0 |
397 |
– |
} |
398 |
– |
as_func_ret_failure () { |
399 |
– |
return 1 |
400 |
– |
} |
320 |
|
|
321 |
< |
exitcode=0 |
322 |
< |
if as_func_success; then |
323 |
< |
: |
321 |
> |
} # as_fn_mkdir_p |
322 |
> |
# as_fn_append VAR VALUE |
323 |
> |
# ---------------------- |
324 |
> |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
325 |
> |
# advantage of any shell optimizations that allow amortized linear growth over |
326 |
> |
# repeated appends, instead of the typical quadratic growth present in naive |
327 |
> |
# implementations. |
328 |
> |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
329 |
> |
eval 'as_fn_append () |
330 |
> |
{ |
331 |
> |
eval $1+=\$2 |
332 |
> |
}' |
333 |
|
else |
334 |
< |
exitcode=1 |
335 |
< |
echo as_func_success failed. |
336 |
< |
fi |
334 |
> |
as_fn_append () |
335 |
> |
{ |
336 |
> |
eval $1=\$$1\$2 |
337 |
> |
} |
338 |
> |
fi # as_fn_append |
339 |
|
|
340 |
< |
if as_func_failure; then |
341 |
< |
exitcode=1 |
342 |
< |
echo as_func_failure succeeded. |
343 |
< |
fi |
340 |
> |
# as_fn_arith ARG... |
341 |
> |
# ------------------ |
342 |
> |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
343 |
> |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
344 |
> |
# must be portable across $(()) and expr. |
345 |
> |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
346 |
> |
eval 'as_fn_arith () |
347 |
> |
{ |
348 |
> |
as_val=$(( $* )) |
349 |
> |
}' |
350 |
> |
else |
351 |
> |
as_fn_arith () |
352 |
> |
{ |
353 |
> |
as_val=`expr "$@" || test $? -eq 1` |
354 |
> |
} |
355 |
> |
fi # as_fn_arith |
356 |
|
|
357 |
< |
if as_func_ret_success; then |
358 |
< |
: |
357 |
> |
|
358 |
> |
# as_fn_error ERROR [LINENO LOG_FD] |
359 |
> |
# --------------------------------- |
360 |
> |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
361 |
> |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
362 |
> |
# script with status $?, using 1 if that was 0. |
363 |
> |
as_fn_error () |
364 |
> |
{ |
365 |
> |
as_status=$?; test $as_status -eq 0 && as_status=1 |
366 |
> |
if test "$3"; then |
367 |
> |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
368 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
369 |
> |
fi |
370 |
> |
$as_echo "$as_me: error: $1" >&2 |
371 |
> |
as_fn_exit $as_status |
372 |
> |
} # as_fn_error |
373 |
> |
|
374 |
> |
if expr a : '\(a\)' >/dev/null 2>&1 && |
375 |
> |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
376 |
> |
as_expr=expr |
377 |
|
else |
378 |
< |
exitcode=1 |
419 |
< |
echo as_func_ret_success failed. |
378 |
> |
as_expr=false |
379 |
|
fi |
380 |
|
|
381 |
< |
if as_func_ret_failure; then |
382 |
< |
exitcode=1 |
383 |
< |
echo as_func_ret_failure succeeded. |
381 |
> |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
382 |
> |
as_basename=basename |
383 |
> |
else |
384 |
> |
as_basename=false |
385 |
|
fi |
386 |
|
|
387 |
< |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
388 |
< |
: |
387 |
> |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
388 |
> |
as_dirname=dirname |
389 |
|
else |
390 |
< |
exitcode=1 |
431 |
< |
echo positional parameters were not saved. |
390 |
> |
as_dirname=false |
391 |
|
fi |
392 |
|
|
393 |
< |
test \$exitcode = 0") || { |
394 |
< |
echo No shell found that supports shell functions. |
395 |
< |
echo Please tell bug-autoconf@gnu.org about your system, |
396 |
< |
echo including any error possibly output before this message. |
397 |
< |
echo This can help us improve future autoconf versions. |
398 |
< |
echo Configuration will now proceed without shell functions. |
399 |
< |
} |
393 |
> |
as_me=`$as_basename -- "$0" || |
394 |
> |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
395 |
> |
X"$0" : 'X\(//\)$' \| \ |
396 |
> |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
397 |
> |
$as_echo X/"$0" | |
398 |
> |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
399 |
> |
s//\1/ |
400 |
> |
q |
401 |
> |
} |
402 |
> |
/^X\/\(\/\/\)$/{ |
403 |
> |
s//\1/ |
404 |
> |
q |
405 |
> |
} |
406 |
> |
/^X\/\(\/\).*/{ |
407 |
> |
s//\1/ |
408 |
> |
q |
409 |
> |
} |
410 |
> |
s/.*/./; q'` |
411 |
|
|
412 |
+ |
# Avoid depending upon Character Ranges. |
413 |
+ |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
414 |
+ |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
415 |
+ |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
416 |
+ |
as_cr_digits='0123456789' |
417 |
+ |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
418 |
|
|
419 |
|
|
420 |
< |
as_lineno_1=$LINENO |
421 |
< |
as_lineno_2=$LINENO |
422 |
< |
test "x$as_lineno_1" != "x$as_lineno_2" && |
423 |
< |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
424 |
< |
|
449 |
< |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
450 |
< |
# uniformly replaced by the line number. The first 'sed' inserts a |
451 |
< |
# line-number line after each line using $LINENO; the second 'sed' |
452 |
< |
# does the real work. The second script uses 'N' to pair each |
453 |
< |
# line-number line with the line containing $LINENO, and appends |
454 |
< |
# trailing '-' during substitution so that $LINENO is not a special |
455 |
< |
# case at line end. |
456 |
< |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
457 |
< |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
458 |
< |
# E. McMahon (1931-1989) for sed's syntax. :-) |
420 |
> |
as_lineno_1=$LINENO as_lineno_1a=$LINENO |
421 |
> |
as_lineno_2=$LINENO as_lineno_2a=$LINENO |
422 |
> |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
423 |
> |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
424 |
> |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
425 |
|
sed -n ' |
426 |
|
p |
427 |
|
/[$]LINENO/= |
438 |
|
s/-\n.*// |
439 |
|
' >$as_me.lineno && |
440 |
|
chmod +x "$as_me.lineno" || |
441 |
< |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
476 |
< |
{ (exit 1); exit 1; }; } |
441 |
> |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
442 |
|
|
443 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
444 |
|
# (the dirname of $[0] is not the place where we might find the |
448 |
|
exit |
449 |
|
} |
450 |
|
|
486 |
– |
|
487 |
– |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
488 |
– |
as_dirname=dirname |
489 |
– |
else |
490 |
– |
as_dirname=false |
491 |
– |
fi |
492 |
– |
|
451 |
|
ECHO_C= ECHO_N= ECHO_T= |
452 |
< |
case `echo -n x` in |
452 |
> |
case `echo -n x` in #((((( |
453 |
|
-n*) |
454 |
< |
case `echo 'x\c'` in |
454 |
> |
case `echo 'xy\c'` in |
455 |
|
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
456 |
< |
*) ECHO_C='\c';; |
456 |
> |
xy) ECHO_C='\c';; |
457 |
> |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
458 |
> |
ECHO_T=' ';; |
459 |
|
esac;; |
460 |
|
*) |
461 |
|
ECHO_N='-n';; |
462 |
|
esac |
503 |
– |
if expr a : '\(a\)' >/dev/null 2>&1 && |
504 |
– |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
505 |
– |
as_expr=expr |
506 |
– |
else |
507 |
– |
as_expr=false |
508 |
– |
fi |
463 |
|
|
464 |
|
rm -f conf$$ conf$$.exe conf$$.file |
465 |
|
if test -d conf$$.dir; then |
489 |
|
rmdir conf$$.dir 2>/dev/null |
490 |
|
|
491 |
|
if mkdir -p . 2>/dev/null; then |
492 |
< |
as_mkdir_p=: |
492 |
> |
as_mkdir_p='mkdir -p "$as_dir"' |
493 |
|
else |
494 |
|
test -d ./-p && rmdir ./-p |
495 |
|
as_mkdir_p=false |
508 |
|
if test -d "$1"; then |
509 |
|
test -d "$1/."; |
510 |
|
else |
511 |
< |
case $1 in |
511 |
> |
case $1 in #( |
512 |
|
-*)set "./$1";; |
513 |
|
esac; |
514 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
514 |
> |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
515 |
|
???[sx]*):;;*)false;;esac;fi |
516 |
|
'\'' sh |
517 |
|
' |
526 |
|
|
527 |
|
|
528 |
|
|
575 |
– |
|
529 |
|
# Check that we are running under the correct shell. |
530 |
|
SHELL=${CONFIG_SHELL-/bin/sh} |
531 |
|
|
696 |
|
subdirs= |
697 |
|
MFLAGS= |
698 |
|
MAKEFLAGS= |
746 |
– |
SHELL=${CONFIG_SHELL-/bin/sh} |
699 |
|
|
700 |
|
# Identity of this package. |
701 |
|
PACKAGE_NAME='ircd-hybrid' |
703 |
|
PACKAGE_VERSION='7.2.4' |
704 |
|
PACKAGE_STRING='ircd-hybrid 7.2.4' |
705 |
|
PACKAGE_BUGREPORT='' |
706 |
+ |
PACKAGE_URL='' |
707 |
|
|
708 |
|
ac_unique_file="src/ircd.c" |
709 |
|
# Factoring default headers for most tests. |
886 |
|
program_transform_name |
887 |
|
prefix |
888 |
|
exec_prefix |
889 |
+ |
PACKAGE_URL |
890 |
|
PACKAGE_BUGREPORT |
891 |
|
PACKAGE_STRING |
892 |
|
PACKAGE_VERSION |
1048 |
|
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
1049 |
|
# Reject names that are not valid shell variable names. |
1050 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1051 |
< |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
1098 |
< |
{ (exit 1); exit 1; }; } |
1051 |
> |
as_fn_error "invalid feature name: $ac_useropt" |
1052 |
|
ac_useropt_orig=$ac_useropt |
1053 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1054 |
|
case $ac_user_opts in |
1074 |
|
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
1075 |
|
# Reject names that are not valid shell variable names. |
1076 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1077 |
< |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
1125 |
< |
{ (exit 1); exit 1; }; } |
1077 |
> |
as_fn_error "invalid feature name: $ac_useropt" |
1078 |
|
ac_useropt_orig=$ac_useropt |
1079 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1080 |
|
case $ac_user_opts in |
1278 |
|
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1279 |
|
# Reject names that are not valid shell variable names. |
1280 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1281 |
< |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
1330 |
< |
{ (exit 1); exit 1; }; } |
1281 |
> |
as_fn_error "invalid package name: $ac_useropt" |
1282 |
|
ac_useropt_orig=$ac_useropt |
1283 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1284 |
|
case $ac_user_opts in |
1294 |
|
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1295 |
|
# Reject names that are not valid shell variable names. |
1296 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1297 |
< |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
1347 |
< |
{ (exit 1); exit 1; }; } |
1297 |
> |
as_fn_error "invalid package name: $ac_useropt" |
1298 |
|
ac_useropt_orig=$ac_useropt |
1299 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1300 |
|
case $ac_user_opts in |
1324 |
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1325 |
|
x_libraries=$ac_optarg ;; |
1326 |
|
|
1327 |
< |
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
1328 |
< |
Try \`$0 --help' for more information." >&2 |
1379 |
< |
{ (exit 1); exit 1; }; } |
1327 |
> |
-*) as_fn_error "unrecognized option: \`$ac_option' |
1328 |
> |
Try \`$0 --help' for more information." |
1329 |
|
;; |
1330 |
|
|
1331 |
|
*=*) |
1332 |
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1333 |
|
# Reject names that are not valid shell variable names. |
1334 |
< |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
1335 |
< |
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1336 |
< |
{ (exit 1); exit 1; }; } |
1334 |
> |
case $ac_envvar in #( |
1335 |
> |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
1336 |
> |
as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
1337 |
> |
esac |
1338 |
|
eval $ac_envvar=\$ac_optarg |
1339 |
|
export $ac_envvar ;; |
1340 |
|
|
1351 |
|
|
1352 |
|
if test -n "$ac_prev"; then |
1353 |
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1354 |
< |
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
1405 |
< |
{ (exit 1); exit 1; }; } |
1354 |
> |
as_fn_error "missing argument to $ac_option" |
1355 |
|
fi |
1356 |
|
|
1357 |
|
if test -n "$ac_unrecognized_opts"; then |
1358 |
|
case $enable_option_checking in |
1359 |
|
no) ;; |
1360 |
< |
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 |
1412 |
< |
{ (exit 1); exit 1; }; } ;; |
1360 |
> |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
1361 |
|
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1362 |
|
esac |
1363 |
|
fi |
1380 |
|
[\\/$]* | ?:[\\/]* ) continue;; |
1381 |
|
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1382 |
|
esac |
1383 |
< |
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1436 |
< |
{ (exit 1); exit 1; }; } |
1383 |
> |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
1384 |
|
done |
1385 |
|
|
1386 |
|
# There might be people who depend on the old broken behavior: `$host' |
1410 |
|
ac_pwd=`pwd` && test -n "$ac_pwd" && |
1411 |
|
ac_ls_di=`ls -di .` && |
1412 |
|
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1413 |
< |
{ $as_echo "$as_me: error: working directory cannot be determined" >&2 |
1467 |
< |
{ (exit 1); exit 1; }; } |
1413 |
> |
as_fn_error "working directory cannot be determined" |
1414 |
|
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1415 |
< |
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
1470 |
< |
{ (exit 1); exit 1; }; } |
1415 |
> |
as_fn_error "pwd does not report name of working directory" |
1416 |
|
|
1417 |
|
|
1418 |
|
# Find the source files, if location was not specified. |
1451 |
|
fi |
1452 |
|
if test ! -r "$srcdir/$ac_unique_file"; then |
1453 |
|
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1454 |
< |
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1510 |
< |
{ (exit 1); exit 1; }; } |
1454 |
> |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1455 |
|
fi |
1456 |
|
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1457 |
|
ac_abs_confdir=`( |
1458 |
< |
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
1515 |
< |
{ (exit 1); exit 1; }; } |
1458 |
> |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1459 |
|
pwd)` |
1460 |
|
# When building in place, set srcdir=. |
1461 |
|
if test "$ac_abs_confdir" = "$ac_pwd"; then |
1622 |
|
Use these variables to override the choices made by `configure' or to help |
1623 |
|
it to find libraries and programs with nonstandard names/locations. |
1624 |
|
|
1625 |
+ |
Report bugs to the package provider. |
1626 |
|
_ACEOF |
1627 |
|
ac_status=$? |
1628 |
|
fi |
1686 |
|
if $ac_init_version; then |
1687 |
|
cat <<\_ACEOF |
1688 |
|
ircd-hybrid configure 7.2.4 |
1689 |
< |
generated by GNU Autoconf 2.63 |
1689 |
> |
generated by GNU Autoconf 2.64 |
1690 |
|
|
1691 |
< |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1748 |
< |
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
1691 |
> |
Copyright (C) 2009 Free Software Foundation, Inc. |
1692 |
|
This configure script is free software; the Free Software Foundation |
1693 |
|
gives unlimited permission to copy, distribute and modify it. |
1694 |
|
_ACEOF |
1695 |
|
exit |
1696 |
|
fi |
1697 |
+ |
|
1698 |
+ |
## ------------------------ ## |
1699 |
+ |
## Autoconf initialization. ## |
1700 |
+ |
## ------------------------ ## |
1701 |
+ |
|
1702 |
+ |
# ac_fn_c_try_compile LINENO |
1703 |
+ |
# -------------------------- |
1704 |
+ |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
1705 |
+ |
ac_fn_c_try_compile () |
1706 |
+ |
{ |
1707 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1708 |
+ |
rm -f conftest.$ac_objext |
1709 |
+ |
if { { ac_try="$ac_compile" |
1710 |
+ |
case "(($ac_try" in |
1711 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1712 |
+ |
*) ac_try_echo=$ac_try;; |
1713 |
+ |
esac |
1714 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1715 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
1716 |
+ |
(eval "$ac_compile") 2>conftest.err |
1717 |
+ |
ac_status=$? |
1718 |
+ |
if test -s conftest.err; then |
1719 |
+ |
grep -v '^ *+' conftest.err >conftest.er1 |
1720 |
+ |
cat conftest.er1 >&5 |
1721 |
+ |
mv -f conftest.er1 conftest.err |
1722 |
+ |
fi |
1723 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1724 |
+ |
test $ac_status = 0; } && { |
1725 |
+ |
test -z "$ac_c_werror_flag" || |
1726 |
+ |
test ! -s conftest.err |
1727 |
+ |
} && test -s conftest.$ac_objext; then : |
1728 |
+ |
ac_retval=0 |
1729 |
+ |
else |
1730 |
+ |
$as_echo "$as_me: failed program was:" >&5 |
1731 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
1732 |
+ |
|
1733 |
+ |
ac_retval=1 |
1734 |
+ |
fi |
1735 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1736 |
+ |
return $ac_retval |
1737 |
+ |
|
1738 |
+ |
} # ac_fn_c_try_compile |
1739 |
+ |
|
1740 |
+ |
# ac_fn_c_try_link LINENO |
1741 |
+ |
# ----------------------- |
1742 |
+ |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
1743 |
+ |
ac_fn_c_try_link () |
1744 |
+ |
{ |
1745 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1746 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
1747 |
+ |
if { { ac_try="$ac_link" |
1748 |
+ |
case "(($ac_try" in |
1749 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1750 |
+ |
*) ac_try_echo=$ac_try;; |
1751 |
+ |
esac |
1752 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1753 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
1754 |
+ |
(eval "$ac_link") 2>conftest.err |
1755 |
+ |
ac_status=$? |
1756 |
+ |
if test -s conftest.err; then |
1757 |
+ |
grep -v '^ *+' conftest.err >conftest.er1 |
1758 |
+ |
cat conftest.er1 >&5 |
1759 |
+ |
mv -f conftest.er1 conftest.err |
1760 |
+ |
fi |
1761 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1762 |
+ |
test $ac_status = 0; } && { |
1763 |
+ |
test -z "$ac_c_werror_flag" || |
1764 |
+ |
test ! -s conftest.err |
1765 |
+ |
} && test -s conftest$ac_exeext && { |
1766 |
+ |
test "$cross_compiling" = yes || |
1767 |
+ |
$as_test_x conftest$ac_exeext |
1768 |
+ |
}; then : |
1769 |
+ |
ac_retval=0 |
1770 |
+ |
else |
1771 |
+ |
$as_echo "$as_me: failed program was:" >&5 |
1772 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
1773 |
+ |
|
1774 |
+ |
ac_retval=1 |
1775 |
+ |
fi |
1776 |
+ |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1777 |
+ |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1778 |
+ |
# interfere with the next link command; also delete a directory that is |
1779 |
+ |
# left behind by Apple's compiler. We do this before executing the actions. |
1780 |
+ |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1781 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1782 |
+ |
return $ac_retval |
1783 |
+ |
|
1784 |
+ |
} # ac_fn_c_try_link |
1785 |
+ |
|
1786 |
+ |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1787 |
+ |
# ------------------------------------------------------- |
1788 |
+ |
# Tests whether HEADER exists and can be compiled using the include files in |
1789 |
+ |
# INCLUDES, setting the cache variable VAR accordingly. |
1790 |
+ |
ac_fn_c_check_header_compile () |
1791 |
+ |
{ |
1792 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1793 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1794 |
+ |
$as_echo_n "checking for $2... " >&6; } |
1795 |
+ |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1796 |
+ |
$as_echo_n "(cached) " >&6 |
1797 |
+ |
else |
1798 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1799 |
+ |
/* end confdefs.h. */ |
1800 |
+ |
$4 |
1801 |
+ |
#include <$2> |
1802 |
+ |
_ACEOF |
1803 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
1804 |
+ |
eval "$3=yes" |
1805 |
+ |
else |
1806 |
+ |
eval "$3=no" |
1807 |
+ |
fi |
1808 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1809 |
+ |
fi |
1810 |
+ |
eval ac_res=\$$3 |
1811 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1812 |
+ |
$as_echo "$ac_res" >&6; } |
1813 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1814 |
+ |
|
1815 |
+ |
} # ac_fn_c_check_header_compile |
1816 |
+ |
|
1817 |
+ |
# ac_fn_c_try_cpp LINENO |
1818 |
+ |
# ---------------------- |
1819 |
+ |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
1820 |
+ |
ac_fn_c_try_cpp () |
1821 |
+ |
{ |
1822 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1823 |
+ |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
1824 |
+ |
case "(($ac_try" in |
1825 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1826 |
+ |
*) ac_try_echo=$ac_try;; |
1827 |
+ |
esac |
1828 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1829 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
1830 |
+ |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
1831 |
+ |
ac_status=$? |
1832 |
+ |
if test -s conftest.err; then |
1833 |
+ |
grep -v '^ *+' conftest.err >conftest.er1 |
1834 |
+ |
cat conftest.er1 >&5 |
1835 |
+ |
mv -f conftest.er1 conftest.err |
1836 |
+ |
fi |
1837 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1838 |
+ |
test $ac_status = 0; } >/dev/null && { |
1839 |
+ |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1840 |
+ |
test ! -s conftest.err |
1841 |
+ |
}; then : |
1842 |
+ |
ac_retval=0 |
1843 |
+ |
else |
1844 |
+ |
$as_echo "$as_me: failed program was:" >&5 |
1845 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
1846 |
+ |
|
1847 |
+ |
ac_retval=1 |
1848 |
+ |
fi |
1849 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1850 |
+ |
return $ac_retval |
1851 |
+ |
|
1852 |
+ |
} # ac_fn_c_try_cpp |
1853 |
+ |
|
1854 |
+ |
# ac_fn_c_try_run LINENO |
1855 |
+ |
# ---------------------- |
1856 |
+ |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
1857 |
+ |
# that executables *can* be run. |
1858 |
+ |
ac_fn_c_try_run () |
1859 |
+ |
{ |
1860 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1861 |
+ |
if { { ac_try="$ac_link" |
1862 |
+ |
case "(($ac_try" in |
1863 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1864 |
+ |
*) ac_try_echo=$ac_try;; |
1865 |
+ |
esac |
1866 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1867 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
1868 |
+ |
(eval "$ac_link") 2>&5 |
1869 |
+ |
ac_status=$? |
1870 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1871 |
+ |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
1872 |
+ |
{ { case "(($ac_try" in |
1873 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1874 |
+ |
*) ac_try_echo=$ac_try;; |
1875 |
+ |
esac |
1876 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1877 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
1878 |
+ |
(eval "$ac_try") 2>&5 |
1879 |
+ |
ac_status=$? |
1880 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1881 |
+ |
test $ac_status = 0; }; }; then : |
1882 |
+ |
ac_retval=0 |
1883 |
+ |
else |
1884 |
+ |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
1885 |
+ |
$as_echo "$as_me: failed program was:" >&5 |
1886 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
1887 |
+ |
|
1888 |
+ |
ac_retval=$ac_status |
1889 |
+ |
fi |
1890 |
+ |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1891 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1892 |
+ |
return $ac_retval |
1893 |
+ |
|
1894 |
+ |
} # ac_fn_c_try_run |
1895 |
+ |
|
1896 |
+ |
# ac_fn_c_check_func LINENO FUNC VAR |
1897 |
+ |
# ---------------------------------- |
1898 |
+ |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
1899 |
+ |
ac_fn_c_check_func () |
1900 |
+ |
{ |
1901 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1902 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1903 |
+ |
$as_echo_n "checking for $2... " >&6; } |
1904 |
+ |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1905 |
+ |
$as_echo_n "(cached) " >&6 |
1906 |
+ |
else |
1907 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1908 |
+ |
/* end confdefs.h. */ |
1909 |
+ |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
1910 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
1911 |
+ |
#define $2 innocuous_$2 |
1912 |
+ |
|
1913 |
+ |
/* System header to define __stub macros and hopefully few prototypes, |
1914 |
+ |
which can conflict with char $2 (); below. |
1915 |
+ |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
1916 |
+ |
<limits.h> exists even on freestanding compilers. */ |
1917 |
+ |
|
1918 |
+ |
#ifdef __STDC__ |
1919 |
+ |
# include <limits.h> |
1920 |
+ |
#else |
1921 |
+ |
# include <assert.h> |
1922 |
+ |
#endif |
1923 |
+ |
|
1924 |
+ |
#undef $2 |
1925 |
+ |
|
1926 |
+ |
/* Override any GCC internal prototype to avoid an error. |
1927 |
+ |
Use char because int might match the return type of a GCC |
1928 |
+ |
builtin and then its argument prototype would still apply. */ |
1929 |
+ |
#ifdef __cplusplus |
1930 |
+ |
extern "C" |
1931 |
+ |
#endif |
1932 |
+ |
char $2 (); |
1933 |
+ |
/* The GNU C library defines this for functions which it implements |
1934 |
+ |
to always fail with ENOSYS. Some functions are actually named |
1935 |
+ |
something starting with __ and the normal name is an alias. */ |
1936 |
+ |
#if defined __stub_$2 || defined __stub___$2 |
1937 |
+ |
choke me |
1938 |
+ |
#endif |
1939 |
+ |
|
1940 |
+ |
int |
1941 |
+ |
main () |
1942 |
+ |
{ |
1943 |
+ |
return $2 (); |
1944 |
+ |
; |
1945 |
+ |
return 0; |
1946 |
+ |
} |
1947 |
+ |
_ACEOF |
1948 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
1949 |
+ |
eval "$3=yes" |
1950 |
+ |
else |
1951 |
+ |
eval "$3=no" |
1952 |
+ |
fi |
1953 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
1954 |
+ |
conftest$ac_exeext conftest.$ac_ext |
1955 |
+ |
fi |
1956 |
+ |
eval ac_res=\$$3 |
1957 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1958 |
+ |
$as_echo "$ac_res" >&6; } |
1959 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1960 |
+ |
|
1961 |
+ |
} # ac_fn_c_check_func |
1962 |
+ |
|
1963 |
+ |
# ac_fn_c_check_decl LINENO SYMBOL VAR |
1964 |
+ |
# ------------------------------------ |
1965 |
+ |
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. |
1966 |
+ |
ac_fn_c_check_decl () |
1967 |
+ |
{ |
1968 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1969 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 |
1970 |
+ |
$as_echo_n "checking whether $2 is declared... " >&6; } |
1971 |
+ |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1972 |
+ |
$as_echo_n "(cached) " >&6 |
1973 |
+ |
else |
1974 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1975 |
+ |
/* end confdefs.h. */ |
1976 |
+ |
$4 |
1977 |
+ |
int |
1978 |
+ |
main () |
1979 |
+ |
{ |
1980 |
+ |
#ifndef $2 |
1981 |
+ |
(void) $2; |
1982 |
+ |
#endif |
1983 |
+ |
|
1984 |
+ |
; |
1985 |
+ |
return 0; |
1986 |
+ |
} |
1987 |
+ |
_ACEOF |
1988 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
1989 |
+ |
eval "$3=yes" |
1990 |
+ |
else |
1991 |
+ |
eval "$3=no" |
1992 |
+ |
fi |
1993 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1994 |
+ |
fi |
1995 |
+ |
eval ac_res=\$$3 |
1996 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1997 |
+ |
$as_echo "$ac_res" >&6; } |
1998 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1999 |
+ |
|
2000 |
+ |
} # ac_fn_c_check_decl |
2001 |
+ |
|
2002 |
+ |
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
2003 |
+ |
# ------------------------------------------- |
2004 |
+ |
# Tests whether TYPE exists after having included INCLUDES, setting cache |
2005 |
+ |
# variable VAR accordingly. |
2006 |
+ |
ac_fn_c_check_type () |
2007 |
+ |
{ |
2008 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2009 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2010 |
+ |
$as_echo_n "checking for $2... " >&6; } |
2011 |
+ |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2012 |
+ |
$as_echo_n "(cached) " >&6 |
2013 |
+ |
else |
2014 |
+ |
eval "$3=no" |
2015 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2016 |
+ |
/* end confdefs.h. */ |
2017 |
+ |
$4 |
2018 |
+ |
int |
2019 |
+ |
main () |
2020 |
+ |
{ |
2021 |
+ |
if (sizeof ($2)) |
2022 |
+ |
return 0; |
2023 |
+ |
; |
2024 |
+ |
return 0; |
2025 |
+ |
} |
2026 |
+ |
_ACEOF |
2027 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
2028 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2029 |
+ |
/* end confdefs.h. */ |
2030 |
+ |
$4 |
2031 |
+ |
int |
2032 |
+ |
main () |
2033 |
+ |
{ |
2034 |
+ |
if (sizeof (($2))) |
2035 |
+ |
return 0; |
2036 |
+ |
; |
2037 |
+ |
return 0; |
2038 |
+ |
} |
2039 |
+ |
_ACEOF |
2040 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
2041 |
+ |
|
2042 |
+ |
else |
2043 |
+ |
eval "$3=yes" |
2044 |
+ |
fi |
2045 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2046 |
+ |
fi |
2047 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2048 |
+ |
fi |
2049 |
+ |
eval ac_res=\$$3 |
2050 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2051 |
+ |
$as_echo "$ac_res" >&6; } |
2052 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2053 |
+ |
|
2054 |
+ |
} # ac_fn_c_check_type |
2055 |
+ |
|
2056 |
+ |
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
2057 |
+ |
# ---------------------------------------------------- |
2058 |
+ |
# Tries to find if the field MEMBER exists in type AGGR, after including |
2059 |
+ |
# INCLUDES, setting cache variable VAR accordingly. |
2060 |
+ |
ac_fn_c_check_member () |
2061 |
+ |
{ |
2062 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2063 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
2064 |
+ |
$as_echo_n "checking for $2.$3... " >&6; } |
2065 |
+ |
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : |
2066 |
+ |
$as_echo_n "(cached) " >&6 |
2067 |
+ |
else |
2068 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2069 |
+ |
/* end confdefs.h. */ |
2070 |
+ |
$5 |
2071 |
+ |
int |
2072 |
+ |
main () |
2073 |
+ |
{ |
2074 |
+ |
static $2 ac_aggr; |
2075 |
+ |
if (ac_aggr.$3) |
2076 |
+ |
return 0; |
2077 |
+ |
; |
2078 |
+ |
return 0; |
2079 |
+ |
} |
2080 |
+ |
_ACEOF |
2081 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
2082 |
+ |
eval "$4=yes" |
2083 |
+ |
else |
2084 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2085 |
+ |
/* end confdefs.h. */ |
2086 |
+ |
$5 |
2087 |
+ |
int |
2088 |
+ |
main () |
2089 |
+ |
{ |
2090 |
+ |
static $2 ac_aggr; |
2091 |
+ |
if (sizeof ac_aggr.$3) |
2092 |
+ |
return 0; |
2093 |
+ |
; |
2094 |
+ |
return 0; |
2095 |
+ |
} |
2096 |
+ |
_ACEOF |
2097 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
2098 |
+ |
eval "$4=yes" |
2099 |
+ |
else |
2100 |
+ |
eval "$4=no" |
2101 |
+ |
fi |
2102 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2103 |
+ |
fi |
2104 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2105 |
+ |
fi |
2106 |
+ |
eval ac_res=\$$4 |
2107 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2108 |
+ |
$as_echo "$ac_res" >&6; } |
2109 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2110 |
+ |
|
2111 |
+ |
} # ac_fn_c_check_member |
2112 |
+ |
|
2113 |
+ |
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
2114 |
+ |
# -------------------------------------------- |
2115 |
+ |
# Tries to find the compile-time value of EXPR in a program that includes |
2116 |
+ |
# INCLUDES, setting VAR accordingly. Returns whether the value could be |
2117 |
+ |
# computed |
2118 |
+ |
ac_fn_c_compute_int () |
2119 |
+ |
{ |
2120 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2121 |
+ |
if test "$cross_compiling" = yes; then |
2122 |
+ |
# Depending upon the size, compute the lo and hi bounds. |
2123 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2124 |
+ |
/* end confdefs.h. */ |
2125 |
+ |
$4 |
2126 |
+ |
int |
2127 |
+ |
main () |
2128 |
+ |
{ |
2129 |
+ |
static int test_array [1 - 2 * !(($2) >= 0)]; |
2130 |
+ |
test_array [0] = 0 |
2131 |
+ |
|
2132 |
+ |
; |
2133 |
+ |
return 0; |
2134 |
+ |
} |
2135 |
+ |
_ACEOF |
2136 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
2137 |
+ |
ac_lo=0 ac_mid=0 |
2138 |
+ |
while :; do |
2139 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2140 |
+ |
/* end confdefs.h. */ |
2141 |
+ |
$4 |
2142 |
+ |
int |
2143 |
+ |
main () |
2144 |
+ |
{ |
2145 |
+ |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
2146 |
+ |
test_array [0] = 0 |
2147 |
+ |
|
2148 |
+ |
; |
2149 |
+ |
return 0; |
2150 |
+ |
} |
2151 |
+ |
_ACEOF |
2152 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
2153 |
+ |
ac_hi=$ac_mid; break |
2154 |
+ |
else |
2155 |
+ |
as_fn_arith $ac_mid + 1 && ac_lo=$as_val |
2156 |
+ |
if test $ac_lo -le $ac_mid; then |
2157 |
+ |
ac_lo= ac_hi= |
2158 |
+ |
break |
2159 |
+ |
fi |
2160 |
+ |
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val |
2161 |
+ |
fi |
2162 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2163 |
+ |
done |
2164 |
+ |
else |
2165 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2166 |
+ |
/* end confdefs.h. */ |
2167 |
+ |
$4 |
2168 |
+ |
int |
2169 |
+ |
main () |
2170 |
+ |
{ |
2171 |
+ |
static int test_array [1 - 2 * !(($2) < 0)]; |
2172 |
+ |
test_array [0] = 0 |
2173 |
+ |
|
2174 |
+ |
; |
2175 |
+ |
return 0; |
2176 |
+ |
} |
2177 |
+ |
_ACEOF |
2178 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
2179 |
+ |
ac_hi=-1 ac_mid=-1 |
2180 |
+ |
while :; do |
2181 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2182 |
+ |
/* end confdefs.h. */ |
2183 |
+ |
$4 |
2184 |
+ |
int |
2185 |
+ |
main () |
2186 |
+ |
{ |
2187 |
+ |
static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
2188 |
+ |
test_array [0] = 0 |
2189 |
+ |
|
2190 |
+ |
; |
2191 |
+ |
return 0; |
2192 |
+ |
} |
2193 |
+ |
_ACEOF |
2194 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
2195 |
+ |
ac_lo=$ac_mid; break |
2196 |
+ |
else |
2197 |
+ |
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val |
2198 |
+ |
if test $ac_mid -le $ac_hi; then |
2199 |
+ |
ac_lo= ac_hi= |
2200 |
+ |
break |
2201 |
+ |
fi |
2202 |
+ |
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val |
2203 |
+ |
fi |
2204 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2205 |
+ |
done |
2206 |
+ |
else |
2207 |
+ |
ac_lo= ac_hi= |
2208 |
+ |
fi |
2209 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2210 |
+ |
fi |
2211 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2212 |
+ |
# Binary search between lo and hi bounds. |
2213 |
+ |
while test "x$ac_lo" != "x$ac_hi"; do |
2214 |
+ |
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val |
2215 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2216 |
+ |
/* end confdefs.h. */ |
2217 |
+ |
$4 |
2218 |
+ |
int |
2219 |
+ |
main () |
2220 |
+ |
{ |
2221 |
+ |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
2222 |
+ |
test_array [0] = 0 |
2223 |
+ |
|
2224 |
+ |
; |
2225 |
+ |
return 0; |
2226 |
+ |
} |
2227 |
+ |
_ACEOF |
2228 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
2229 |
+ |
ac_hi=$ac_mid |
2230 |
+ |
else |
2231 |
+ |
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val |
2232 |
+ |
fi |
2233 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2234 |
+ |
done |
2235 |
+ |
case $ac_lo in #(( |
2236 |
+ |
?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
2237 |
+ |
'') ac_retval=1 ;; |
2238 |
+ |
esac |
2239 |
+ |
else |
2240 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2241 |
+ |
/* end confdefs.h. */ |
2242 |
+ |
$4 |
2243 |
+ |
static long int longval () { return $2; } |
2244 |
+ |
static unsigned long int ulongval () { return $2; } |
2245 |
+ |
#include <stdio.h> |
2246 |
+ |
#include <stdlib.h> |
2247 |
+ |
int |
2248 |
+ |
main () |
2249 |
+ |
{ |
2250 |
+ |
|
2251 |
+ |
FILE *f = fopen ("conftest.val", "w"); |
2252 |
+ |
if (! f) |
2253 |
+ |
return 1; |
2254 |
+ |
if (($2) < 0) |
2255 |
+ |
{ |
2256 |
+ |
long int i = longval (); |
2257 |
+ |
if (i != ($2)) |
2258 |
+ |
return 1; |
2259 |
+ |
fprintf (f, "%ld", i); |
2260 |
+ |
} |
2261 |
+ |
else |
2262 |
+ |
{ |
2263 |
+ |
unsigned long int i = ulongval (); |
2264 |
+ |
if (i != ($2)) |
2265 |
+ |
return 1; |
2266 |
+ |
fprintf (f, "%lu", i); |
2267 |
+ |
} |
2268 |
+ |
/* Do not output a trailing newline, as this causes \r\n confusion |
2269 |
+ |
on some platforms. */ |
2270 |
+ |
return ferror (f) || fclose (f) != 0; |
2271 |
+ |
|
2272 |
+ |
; |
2273 |
+ |
return 0; |
2274 |
+ |
} |
2275 |
+ |
_ACEOF |
2276 |
+ |
if ac_fn_c_try_run "$LINENO"; then : |
2277 |
+ |
echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
2278 |
+ |
else |
2279 |
+ |
ac_retval=1 |
2280 |
+ |
fi |
2281 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
2282 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
2283 |
+ |
rm -f conftest.val |
2284 |
+ |
|
2285 |
+ |
fi |
2286 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2287 |
+ |
return $ac_retval |
2288 |
+ |
|
2289 |
+ |
} # ac_fn_c_compute_int |
2290 |
+ |
|
2291 |
+ |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
2292 |
+ |
# ------------------------------------------------------- |
2293 |
+ |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
2294 |
+ |
# the include files in INCLUDES and setting the cache variable VAR |
2295 |
+ |
# accordingly. |
2296 |
+ |
ac_fn_c_check_header_mongrel () |
2297 |
+ |
{ |
2298 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2299 |
+ |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2300 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2301 |
+ |
$as_echo_n "checking for $2... " >&6; } |
2302 |
+ |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2303 |
+ |
$as_echo_n "(cached) " >&6 |
2304 |
+ |
fi |
2305 |
+ |
eval ac_res=\$$3 |
2306 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2307 |
+ |
$as_echo "$ac_res" >&6; } |
2308 |
+ |
else |
2309 |
+ |
# Is the header compilable? |
2310 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
2311 |
+ |
$as_echo_n "checking $2 usability... " >&6; } |
2312 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2313 |
+ |
/* end confdefs.h. */ |
2314 |
+ |
$4 |
2315 |
+ |
#include <$2> |
2316 |
+ |
_ACEOF |
2317 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
2318 |
+ |
ac_header_compiler=yes |
2319 |
+ |
else |
2320 |
+ |
ac_header_compiler=no |
2321 |
+ |
fi |
2322 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2323 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
2324 |
+ |
$as_echo "$ac_header_compiler" >&6; } |
2325 |
+ |
|
2326 |
+ |
# Is the header present? |
2327 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
2328 |
+ |
$as_echo_n "checking $2 presence... " >&6; } |
2329 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2330 |
+ |
/* end confdefs.h. */ |
2331 |
+ |
#include <$2> |
2332 |
+ |
_ACEOF |
2333 |
+ |
if ac_fn_c_try_cpp "$LINENO"; then : |
2334 |
+ |
ac_header_preproc=yes |
2335 |
+ |
else |
2336 |
+ |
ac_header_preproc=no |
2337 |
+ |
fi |
2338 |
+ |
rm -f conftest.err conftest.$ac_ext |
2339 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
2340 |
+ |
$as_echo "$ac_header_preproc" >&6; } |
2341 |
+ |
|
2342 |
+ |
# So? What about this header? |
2343 |
+ |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
2344 |
+ |
yes:no: ) |
2345 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
2346 |
+ |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
2347 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
2348 |
+ |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2349 |
+ |
;; |
2350 |
+ |
no:yes:* ) |
2351 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
2352 |
+ |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
2353 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
2354 |
+ |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
2355 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
2356 |
+ |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
2357 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
2358 |
+ |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
2359 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
2360 |
+ |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2361 |
+ |
;; |
2362 |
+ |
esac |
2363 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2364 |
+ |
$as_echo_n "checking for $2... " >&6; } |
2365 |
+ |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2366 |
+ |
$as_echo_n "(cached) " >&6 |
2367 |
+ |
else |
2368 |
+ |
eval "$3=\$ac_header_compiler" |
2369 |
+ |
fi |
2370 |
+ |
eval ac_res=\$$3 |
2371 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2372 |
+ |
$as_echo "$ac_res" >&6; } |
2373 |
+ |
fi |
2374 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2375 |
+ |
|
2376 |
+ |
} # ac_fn_c_check_header_mongrel |
2377 |
|
cat >config.log <<_ACEOF |
2378 |
|
This file contains any messages produced by compilers while |
2379 |
|
running configure, to aid debugging if configure makes a mistake. |
2380 |
|
|
2381 |
|
It was created by ircd-hybrid $as_me 7.2.4, which was |
2382 |
< |
generated by GNU Autoconf 2.63. Invocation command line was |
2382 |
> |
generated by GNU Autoconf 2.64. Invocation command line was |
2383 |
|
|
2384 |
|
$ $0 $@ |
2385 |
|
|
2415 |
|
do |
2416 |
|
IFS=$as_save_IFS |
2417 |
|
test -z "$as_dir" && as_dir=. |
2418 |
< |
$as_echo "PATH: $as_dir" |
2419 |
< |
done |
2418 |
> |
$as_echo "PATH: $as_dir" |
2419 |
> |
done |
2420 |
|
IFS=$as_save_IFS |
2421 |
|
|
2422 |
|
} >&5 |
2453 |
|
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
2454 |
|
esac |
2455 |
|
case $ac_pass in |
2456 |
< |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
2456 |
> |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
2457 |
|
2) |
2458 |
< |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
2458 |
> |
as_fn_append ac_configure_args1 " '$ac_arg'" |
2459 |
|
if test $ac_must_keep_next = true; then |
2460 |
|
ac_must_keep_next=false # Got value, back to normal. |
2461 |
|
else |
2471 |
|
-* ) ac_must_keep_next=true ;; |
2472 |
|
esac |
2473 |
|
fi |
2474 |
< |
ac_configure_args="$ac_configure_args '$ac_arg'" |
2474 |
> |
as_fn_append ac_configure_args " '$ac_arg'" |
2475 |
|
;; |
2476 |
|
esac |
2477 |
|
done |
2478 |
|
done |
2479 |
< |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
2480 |
< |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
2479 |
> |
{ ac_configure_args0=; unset ac_configure_args0;} |
2480 |
> |
{ ac_configure_args1=; unset ac_configure_args1;} |
2481 |
|
|
2482 |
|
# When interrupted or exit'd, cleanup temporary files, and complete |
2483 |
|
# config.log. We remove comments because anyway the quotes in there |
2502 |
|
case $ac_val in #( |
2503 |
|
*${as_nl}*) |
2504 |
|
case $ac_var in #( |
2505 |
< |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
2505 |
> |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
2506 |
|
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
2507 |
|
esac |
2508 |
|
case $ac_var in #( |
2509 |
|
_ | IFS | as_nl) ;; #( |
2510 |
|
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
2511 |
< |
*) $as_unset $ac_var ;; |
2511 |
> |
*) { eval $ac_var=; unset $ac_var;} ;; |
2512 |
|
esac ;; |
2513 |
|
esac |
2514 |
|
done |
2580 |
|
exit $exit_status |
2581 |
|
' 0 |
2582 |
|
for ac_signal in 1 2 13 15; do |
2583 |
< |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
2583 |
> |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
2584 |
|
done |
2585 |
|
ac_signal=0 |
2586 |
|
|
2587 |
|
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
2588 |
|
rm -f -r conftest* confdefs.h |
2589 |
|
|
2590 |
+ |
$as_echo "/* confdefs.h */" > confdefs.h |
2591 |
+ |
|
2592 |
|
# Predefined preprocessor variables. |
2593 |
|
|
2594 |
|
cat >>confdefs.h <<_ACEOF |
2595 |
|
#define PACKAGE_NAME "$PACKAGE_NAME" |
2596 |
|
_ACEOF |
2597 |
|
|
1973 |
– |
|
2598 |
|
cat >>confdefs.h <<_ACEOF |
2599 |
|
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
2600 |
|
_ACEOF |
2601 |
|
|
1978 |
– |
|
2602 |
|
cat >>confdefs.h <<_ACEOF |
2603 |
|
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
2604 |
|
_ACEOF |
2605 |
|
|
1983 |
– |
|
2606 |
|
cat >>confdefs.h <<_ACEOF |
2607 |
|
#define PACKAGE_STRING "$PACKAGE_STRING" |
2608 |
|
_ACEOF |
2609 |
|
|
1988 |
– |
|
2610 |
|
cat >>confdefs.h <<_ACEOF |
2611 |
|
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2612 |
|
_ACEOF |
2613 |
|
|
2614 |
+ |
cat >>confdefs.h <<_ACEOF |
2615 |
+ |
#define PACKAGE_URL "$PACKAGE_URL" |
2616 |
+ |
_ACEOF |
2617 |
+ |
|
2618 |
|
|
2619 |
|
# Let the site file select an alternate cache file if it wants to. |
2620 |
|
# Prefer an explicitly selected file to automatically selected ones. |
2633 |
|
do |
2634 |
|
test "x$ac_site_file" = xNONE && continue |
2635 |
|
if test -r "$ac_site_file"; then |
2636 |
< |
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
2636 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2637 |
|
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2638 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
2639 |
|
. "$ac_site_file" |
2644 |
|
# Some versions of bash will fail to source /dev/null (special |
2645 |
|
# files actually), so we avoid doing that. |
2646 |
|
if test -f "$cache_file"; then |
2647 |
< |
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
2647 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
2648 |
|
$as_echo "$as_me: loading cache $cache_file" >&6;} |
2649 |
|
case $cache_file in |
2650 |
|
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
2652 |
|
esac |
2653 |
|
fi |
2654 |
|
else |
2655 |
< |
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
2655 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
2656 |
|
$as_echo "$as_me: creating cache $cache_file" >&6;} |
2657 |
|
>$cache_file |
2658 |
|
fi |
2659 |
|
|
2660 |
< |
ac_func_list="$ac_func_list snprintf" |
2661 |
< |
ac_func_list="$ac_func_list vsnprintf" |
2662 |
< |
ac_func_list="$ac_func_list lrand48" |
2663 |
< |
ac_func_list="$ac_func_list srand48" |
2664 |
< |
ac_func_list="$ac_func_list mmap" |
2665 |
< |
ac_func_list="$ac_func_list strtok_r" |
2666 |
< |
ac_func_list="$ac_func_list usleep" |
2667 |
< |
ac_func_list="$ac_func_list strlcat" |
2668 |
< |
ac_func_list="$ac_func_list strlcpy" |
2669 |
< |
ac_func_list="$ac_func_list basename" |
2670 |
< |
ac_header_list="$ac_header_list crypt.h" |
2671 |
< |
ac_header_list="$ac_header_list inttypes.h" |
2672 |
< |
ac_header_list="$ac_header_list stdint.h" |
2673 |
< |
ac_header_list="$ac_header_list sys/resource.h" |
2674 |
< |
ac_header_list="$ac_header_list sys/param.h" |
2675 |
< |
ac_header_list="$ac_header_list errno.h" |
2676 |
< |
ac_header_list="$ac_header_list sys/syslog.h" |
2677 |
< |
ac_header_list="$ac_header_list stddef.h" |
2678 |
< |
ac_header_list="$ac_header_list libgen.h" |
2679 |
< |
ac_header_list="$ac_header_list types.h" |
2680 |
< |
ac_header_list="$ac_header_list socket.h" |
2681 |
< |
ac_header_list="$ac_header_list sys/wait.h" |
2682 |
< |
ac_header_list="$ac_header_list wait.h" |
2683 |
< |
ac_header_list="$ac_header_list link.h" |
2660 |
> |
as_fn_append ac_func_list " snprintf" |
2661 |
> |
as_fn_append ac_func_list " vsnprintf" |
2662 |
> |
as_fn_append ac_func_list " lrand48" |
2663 |
> |
as_fn_append ac_func_list " srand48" |
2664 |
> |
as_fn_append ac_func_list " mmap" |
2665 |
> |
as_fn_append ac_func_list " strtok_r" |
2666 |
> |
as_fn_append ac_func_list " usleep" |
2667 |
> |
as_fn_append ac_func_list " strlcat" |
2668 |
> |
as_fn_append ac_func_list " strlcpy" |
2669 |
> |
as_fn_append ac_func_list " basename" |
2670 |
> |
as_fn_append ac_header_list " crypt.h" |
2671 |
> |
as_fn_append ac_header_list " inttypes.h" |
2672 |
> |
as_fn_append ac_header_list " stdint.h" |
2673 |
> |
as_fn_append ac_header_list " sys/resource.h" |
2674 |
> |
as_fn_append ac_header_list " sys/param.h" |
2675 |
> |
as_fn_append ac_header_list " errno.h" |
2676 |
> |
as_fn_append ac_header_list " sys/syslog.h" |
2677 |
> |
as_fn_append ac_header_list " stddef.h" |
2678 |
> |
as_fn_append ac_header_list " libgen.h" |
2679 |
> |
as_fn_append ac_header_list " types.h" |
2680 |
> |
as_fn_append ac_header_list " socket.h" |
2681 |
> |
as_fn_append ac_header_list " sys/wait.h" |
2682 |
> |
as_fn_append ac_header_list " wait.h" |
2683 |
> |
as_fn_append ac_header_list " link.h" |
2684 |
|
# Check that the precious variables saved in the cache have kept the same |
2685 |
|
# value. |
2686 |
|
ac_cache_corrupted=false |
2691 |
|
eval ac_new_val=\$ac_env_${ac_var}_value |
2692 |
|
case $ac_old_set,$ac_new_set in |
2693 |
|
set,) |
2694 |
< |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2694 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2695 |
|
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2696 |
|
ac_cache_corrupted=: ;; |
2697 |
|
,set) |
2698 |
< |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
2698 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
2699 |
|
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2700 |
|
ac_cache_corrupted=: ;; |
2701 |
|
,);; |
2705 |
|
ac_old_val_w=`echo x $ac_old_val` |
2706 |
|
ac_new_val_w=`echo x $ac_new_val` |
2707 |
|
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
2708 |
< |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
2708 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
2709 |
|
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2710 |
|
ac_cache_corrupted=: |
2711 |
|
else |
2712 |
< |
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
2712 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
2713 |
|
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
2714 |
|
eval $ac_var=\$ac_old_val |
2715 |
|
fi |
2716 |
< |
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
2716 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
2717 |
|
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
2718 |
< |
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
2718 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
2719 |
|
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
2720 |
|
fi;; |
2721 |
|
esac |
2727 |
|
esac |
2728 |
|
case " $ac_configure_args " in |
2729 |
|
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2730 |
< |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
2730 |
> |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
2731 |
|
esac |
2732 |
|
fi |
2733 |
|
done |
2734 |
|
if $ac_cache_corrupted; then |
2735 |
< |
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
2735 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2736 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2737 |
< |
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
2737 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2738 |
|
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2739 |
< |
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
2115 |
< |
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
2116 |
< |
{ (exit 1); exit 1; }; } |
2739 |
> |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2740 |
|
fi |
2741 |
< |
|
2742 |
< |
|
2743 |
< |
|
2121 |
< |
|
2122 |
< |
|
2123 |
< |
|
2124 |
< |
|
2125 |
< |
|
2126 |
< |
|
2127 |
< |
|
2128 |
< |
|
2129 |
< |
|
2130 |
< |
|
2131 |
< |
|
2132 |
< |
|
2133 |
< |
|
2134 |
< |
|
2135 |
< |
|
2136 |
< |
|
2137 |
< |
|
2138 |
< |
|
2139 |
< |
|
2140 |
< |
|
2141 |
< |
|
2741 |
> |
## -------------------- ## |
2742 |
> |
## Main body of script. ## |
2743 |
> |
## -------------------- ## |
2744 |
|
|
2745 |
|
ac_ext=c |
2746 |
|
ac_cpp='$CPP $CPPFLAGS' |
2753 |
|
|
2754 |
|
ac_aux_dir= |
2755 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2756 |
< |
if test -f "$ac_dir/install-sh"; then |
2757 |
< |
ac_aux_dir=$ac_dir |
2758 |
< |
ac_install_sh="$ac_aux_dir/install-sh -c" |
2759 |
< |
break |
2760 |
< |
elif test -f "$ac_dir/install.sh"; then |
2761 |
< |
ac_aux_dir=$ac_dir |
2762 |
< |
ac_install_sh="$ac_aux_dir/install.sh -c" |
2161 |
< |
break |
2162 |
< |
elif test -f "$ac_dir/shtool"; then |
2163 |
< |
ac_aux_dir=$ac_dir |
2164 |
< |
ac_install_sh="$ac_aux_dir/shtool install -c" |
2165 |
< |
break |
2166 |
< |
fi |
2756 |
> |
for ac_t in install-sh install.sh shtool; do |
2757 |
> |
if test -f "$ac_dir/$ac_t"; then |
2758 |
> |
ac_aux_dir=$ac_dir |
2759 |
> |
ac_install_sh="$ac_aux_dir/$ac_t -c" |
2760 |
> |
break 2 |
2761 |
> |
fi |
2762 |
> |
done |
2763 |
|
done |
2764 |
|
if test -z "$ac_aux_dir"; then |
2765 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
2170 |
< |
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
2171 |
< |
{ (exit 1); exit 1; }; } |
2765 |
> |
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
2766 |
|
fi |
2767 |
|
|
2768 |
|
# These three variables are undocumented and unsupported, |
2788 |
|
# OS/2's system install, which has a completely different semantic |
2789 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
2790 |
|
# Reject install programs that cannot install multiple files. |
2791 |
< |
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
2791 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2792 |
|
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
2793 |
|
if test -z "$INSTALL"; then |
2794 |
< |
if test "${ac_cv_path_install+set}" = set; then |
2794 |
> |
if test "${ac_cv_path_install+set}" = set; then : |
2795 |
|
$as_echo_n "(cached) " >&6 |
2796 |
|
else |
2797 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2799 |
|
do |
2800 |
|
IFS=$as_save_IFS |
2801 |
|
test -z "$as_dir" && as_dir=. |
2802 |
< |
# Account for people who put trailing slashes in PATH elements. |
2803 |
< |
case $as_dir/ in |
2804 |
< |
./ | .// | /cC/* | \ |
2802 |
> |
# Account for people who put trailing slashes in PATH elements. |
2803 |
> |
case $as_dir/ in #(( |
2804 |
> |
./ | .// | /[cC]/* | \ |
2805 |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2806 |
< |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
2806 |
> |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
2807 |
|
/usr/ucb/* ) ;; |
2808 |
|
*) |
2809 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
2840 |
|
;; |
2841 |
|
esac |
2842 |
|
|
2843 |
< |
done |
2843 |
> |
done |
2844 |
|
IFS=$as_save_IFS |
2845 |
|
|
2846 |
|
rm -rf conftest.one conftest.two conftest.dir |
2856 |
|
INSTALL=$ac_install_sh |
2857 |
|
fi |
2858 |
|
fi |
2859 |
< |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2859 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
2860 |
|
$as_echo "$INSTALL" >&6; } |
2861 |
|
|
2862 |
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2867 |
|
|
2868 |
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2869 |
|
|
2870 |
< |
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
2870 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2871 |
|
$as_echo_n "checking whether build environment is sane... " >&6; } |
2872 |
|
# Just in case |
2873 |
|
sleep 1 |
2878 |
|
' |
2879 |
|
case `pwd` in |
2880 |
|
*[\\\"\#\$\&\'\`$am_lf]*) |
2881 |
< |
{ { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 |
2288 |
< |
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} |
2289 |
< |
{ (exit 1); exit 1; }; };; |
2881 |
> |
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; |
2882 |
|
esac |
2883 |
|
case $srcdir in |
2884 |
|
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2885 |
< |
{ { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 |
2294 |
< |
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} |
2295 |
< |
{ (exit 1); exit 1; }; };; |
2885 |
> |
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
2886 |
|
esac |
2887 |
|
|
2888 |
|
# Do `set' in a subshell so we don't clobber the current shell's |
2904 |
|
# if, for instance, CONFIG_SHELL is bash and it inherits a |
2905 |
|
# broken ls alias from the environment. This has actually |
2906 |
|
# happened. Such a system could not be considered "sane". |
2907 |
< |
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
2908 |
< |
alias in your environment" >&5 |
2319 |
< |
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
2320 |
< |
alias in your environment" >&2;} |
2321 |
< |
{ (exit 1); exit 1; }; } |
2907 |
> |
as_fn_error "ls -t appears to fail. Make sure there is not a broken |
2908 |
> |
alias in your environment" "$LINENO" 5 |
2909 |
|
fi |
2910 |
|
|
2911 |
|
test "$2" = conftest.file |
2914 |
|
# Ok. |
2915 |
|
: |
2916 |
|
else |
2917 |
< |
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
2918 |
< |
Check your system clock" >&5 |
2332 |
< |
$as_echo "$as_me: error: newly created file is older than distributed files! |
2333 |
< |
Check your system clock" >&2;} |
2334 |
< |
{ (exit 1); exit 1; }; } |
2917 |
> |
as_fn_error "newly created file is older than distributed files! |
2918 |
> |
Check your system clock" "$LINENO" 5 |
2919 |
|
fi |
2920 |
< |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
2920 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2921 |
|
$as_echo "yes" >&6; } |
2922 |
|
test "$program_prefix" != NONE && |
2923 |
|
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2945 |
|
am_missing_run="$MISSING --run " |
2946 |
|
else |
2947 |
|
am_missing_run= |
2948 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
2948 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
2949 |
|
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2950 |
|
fi |
2951 |
|
|
2966 |
|
if test -n "$ac_tool_prefix"; then |
2967 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2968 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2969 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2969 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2970 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
2971 |
< |
if test "${ac_cv_prog_STRIP+set}" = set; then |
2971 |
> |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
2972 |
|
$as_echo_n "(cached) " >&6 |
2973 |
|
else |
2974 |
|
if test -n "$STRIP"; then |
2979 |
|
do |
2980 |
|
IFS=$as_save_IFS |
2981 |
|
test -z "$as_dir" && as_dir=. |
2982 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
2982 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
2983 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2984 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2985 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2985 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2986 |
|
break 2 |
2987 |
|
fi |
2988 |
|
done |
2989 |
< |
done |
2989 |
> |
done |
2990 |
|
IFS=$as_save_IFS |
2991 |
|
|
2992 |
|
fi |
2993 |
|
fi |
2994 |
|
STRIP=$ac_cv_prog_STRIP |
2995 |
|
if test -n "$STRIP"; then |
2996 |
< |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5 |
2996 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
2997 |
|
$as_echo "$STRIP" >&6; } |
2998 |
|
else |
2999 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
2999 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3000 |
|
$as_echo "no" >&6; } |
3001 |
|
fi |
3002 |
|
|
3006 |
|
ac_ct_STRIP=$STRIP |
3007 |
|
# Extract the first word of "strip", so it can be a program name with args. |
3008 |
|
set dummy strip; ac_word=$2 |
3009 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3009 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3010 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3011 |
< |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
3011 |
> |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
3012 |
|
$as_echo_n "(cached) " >&6 |
3013 |
|
else |
3014 |
|
if test -n "$ac_ct_STRIP"; then |
3019 |
|
do |
3020 |
|
IFS=$as_save_IFS |
3021 |
|
test -z "$as_dir" && as_dir=. |
3022 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3022 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
3023 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3024 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
3025 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3025 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3026 |
|
break 2 |
3027 |
|
fi |
3028 |
|
done |
3029 |
< |
done |
3029 |
> |
done |
3030 |
|
IFS=$as_save_IFS |
3031 |
|
|
3032 |
|
fi |
3033 |
|
fi |
3034 |
|
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
3035 |
|
if test -n "$ac_ct_STRIP"; then |
3036 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
3036 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
3037 |
|
$as_echo "$ac_ct_STRIP" >&6; } |
3038 |
|
else |
3039 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3039 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3040 |
|
$as_echo "no" >&6; } |
3041 |
|
fi |
3042 |
|
|
3045 |
|
else |
3046 |
|
case $cross_compiling:$ac_tool_warned in |
3047 |
|
yes:) |
3048 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
3048 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3049 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3050 |
|
ac_tool_warned=yes ;; |
3051 |
|
esac |
3058 |
|
fi |
3059 |
|
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
3060 |
|
|
3061 |
< |
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 |
3061 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
3062 |
|
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
3063 |
|
if test -z "$MKDIR_P"; then |
3064 |
< |
if test "${ac_cv_path_mkdir+set}" = set; then |
3064 |
> |
if test "${ac_cv_path_mkdir+set}" = set; then : |
3065 |
|
$as_echo_n "(cached) " >&6 |
3066 |
|
else |
3067 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3069 |
|
do |
3070 |
|
IFS=$as_save_IFS |
3071 |
|
test -z "$as_dir" && as_dir=. |
3072 |
< |
for ac_prog in mkdir gmkdir; do |
3072 |
> |
for ac_prog in mkdir gmkdir; do |
3073 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3074 |
|
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
3075 |
|
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
3081 |
|
esac |
3082 |
|
done |
3083 |
|
done |
3084 |
< |
done |
3084 |
> |
done |
3085 |
|
IFS=$as_save_IFS |
3086 |
|
|
3087 |
|
fi |
3097 |
|
MKDIR_P="$ac_install_sh -d" |
3098 |
|
fi |
3099 |
|
fi |
3100 |
< |
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 |
3100 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
3101 |
|
$as_echo "$MKDIR_P" >&6; } |
3102 |
|
|
3103 |
|
mkdir_p="$MKDIR_P" |
3110 |
|
do |
3111 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3112 |
|
set dummy $ac_prog; ac_word=$2 |
3113 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3113 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3114 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3115 |
< |
if test "${ac_cv_prog_AWK+set}" = set; then |
3115 |
> |
if test "${ac_cv_prog_AWK+set}" = set; then : |
3116 |
|
$as_echo_n "(cached) " >&6 |
3117 |
|
else |
3118 |
|
if test -n "$AWK"; then |
3123 |
|
do |
3124 |
|
IFS=$as_save_IFS |
3125 |
|
test -z "$as_dir" && as_dir=. |
3126 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3126 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
3127 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3128 |
|
ac_cv_prog_AWK="$ac_prog" |
3129 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3129 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3130 |
|
break 2 |
3131 |
|
fi |
3132 |
|
done |
3133 |
< |
done |
3133 |
> |
done |
3134 |
|
IFS=$as_save_IFS |
3135 |
|
|
3136 |
|
fi |
3137 |
|
fi |
3138 |
|
AWK=$ac_cv_prog_AWK |
3139 |
|
if test -n "$AWK"; then |
3140 |
< |
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5 |
3140 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
3141 |
|
$as_echo "$AWK" >&6; } |
3142 |
|
else |
3143 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3143 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3144 |
|
$as_echo "no" >&6; } |
3145 |
|
fi |
3146 |
|
|
3148 |
|
test -n "$AWK" && break |
3149 |
|
done |
3150 |
|
|
3151 |
< |
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3151 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3152 |
|
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
3153 |
|
set x ${MAKE-make} |
3154 |
|
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
3155 |
< |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
3155 |
> |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
3156 |
|
$as_echo_n "(cached) " >&6 |
3157 |
|
else |
3158 |
|
cat >conftest.make <<\_ACEOF |
3170 |
|
rm -f conftest.make |
3171 |
|
fi |
3172 |
|
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
3173 |
< |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
3173 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3174 |
|
$as_echo "yes" >&6; } |
3175 |
|
SET_MAKE= |
3176 |
|
else |
3177 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3177 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3178 |
|
$as_echo "no" >&6; } |
3179 |
|
SET_MAKE="MAKE=${MAKE-make}" |
3180 |
|
fi |
3194 |
|
am__isrc=' -I$(srcdir)' |
3195 |
|
# test to see if srcdir already configured |
3196 |
|
if test -f $srcdir/config.status; then |
3197 |
< |
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
2614 |
< |
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
2615 |
< |
{ (exit 1); exit 1; }; } |
3197 |
> |
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
3198 |
|
fi |
3199 |
|
fi |
3200 |
|
|
3251 |
|
|
3252 |
|
|
3253 |
|
|
3254 |
< |
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3254 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3255 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
3256 |
|
# Check whether --enable-maintainer-mode was given. |
3257 |
< |
if test "${enable_maintainer_mode+set}" = set; then |
3257 |
> |
if test "${enable_maintainer_mode+set}" = set; then : |
3258 |
|
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
3259 |
|
else |
3260 |
|
USE_MAINTAINER_MODE=no |
3261 |
|
fi |
3262 |
|
|
3263 |
< |
{ $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 |
3263 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
3264 |
|
$as_echo "$USE_MAINTAINER_MODE" >&6; } |
3265 |
|
if test $USE_MAINTAINER_MODE = yes; then |
3266 |
|
MAINTAINER_MODE_TRUE= |
3287 |
|
if test -n "$ac_tool_prefix"; then |
3288 |
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3289 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3290 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3290 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3291 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3292 |
< |
if test "${ac_cv_prog_CC+set}" = set; then |
3292 |
> |
if test "${ac_cv_prog_CC+set}" = set; then : |
3293 |
|
$as_echo_n "(cached) " >&6 |
3294 |
|
else |
3295 |
|
if test -n "$CC"; then |
3300 |
|
do |
3301 |
|
IFS=$as_save_IFS |
3302 |
|
test -z "$as_dir" && as_dir=. |
3303 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3303 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
3304 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3305 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3306 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3306 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3307 |
|
break 2 |
3308 |
|
fi |
3309 |
|
done |
3310 |
< |
done |
3310 |
> |
done |
3311 |
|
IFS=$as_save_IFS |
3312 |
|
|
3313 |
|
fi |
3314 |
|
fi |
3315 |
|
CC=$ac_cv_prog_CC |
3316 |
|
if test -n "$CC"; then |
3317 |
< |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3317 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3318 |
|
$as_echo "$CC" >&6; } |
3319 |
|
else |
3320 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3320 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3321 |
|
$as_echo "no" >&6; } |
3322 |
|
fi |
3323 |
|
|
3327 |
|
ac_ct_CC=$CC |
3328 |
|
# Extract the first word of "gcc", so it can be a program name with args. |
3329 |
|
set dummy gcc; ac_word=$2 |
3330 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3330 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3331 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3332 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
3332 |
> |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3333 |
|
$as_echo_n "(cached) " >&6 |
3334 |
|
else |
3335 |
|
if test -n "$ac_ct_CC"; then |
3340 |
|
do |
3341 |
|
IFS=$as_save_IFS |
3342 |
|
test -z "$as_dir" && as_dir=. |
3343 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3343 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
3344 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3345 |
|
ac_cv_prog_ac_ct_CC="gcc" |
3346 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3346 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3347 |
|
break 2 |
3348 |
|
fi |
3349 |
|
done |
3350 |
< |
done |
3350 |
> |
done |
3351 |
|
IFS=$as_save_IFS |
3352 |
|
|
3353 |
|
fi |
3354 |
|
fi |
3355 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3356 |
|
if test -n "$ac_ct_CC"; then |
3357 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3357 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3358 |
|
$as_echo "$ac_ct_CC" >&6; } |
3359 |
|
else |
3360 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3360 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3361 |
|
$as_echo "no" >&6; } |
3362 |
|
fi |
3363 |
|
|
3366 |
|
else |
3367 |
|
case $cross_compiling:$ac_tool_warned in |
3368 |
|
yes:) |
3369 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
3369 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3370 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3371 |
|
ac_tool_warned=yes ;; |
3372 |
|
esac |
3380 |
|
if test -n "$ac_tool_prefix"; then |
3381 |
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3382 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3383 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3383 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3384 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3385 |
< |
if test "${ac_cv_prog_CC+set}" = set; then |
3385 |
> |
if test "${ac_cv_prog_CC+set}" = set; then : |
3386 |
|
$as_echo_n "(cached) " >&6 |
3387 |
|
else |
3388 |
|
if test -n "$CC"; then |
3393 |
|
do |
3394 |
|
IFS=$as_save_IFS |
3395 |
|
test -z "$as_dir" && as_dir=. |
3396 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3396 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
3397 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3398 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
3399 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3399 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3400 |
|
break 2 |
3401 |
|
fi |
3402 |
|
done |
3403 |
< |
done |
3403 |
> |
done |
3404 |
|
IFS=$as_save_IFS |
3405 |
|
|
3406 |
|
fi |
3407 |
|
fi |
3408 |
|
CC=$ac_cv_prog_CC |
3409 |
|
if test -n "$CC"; then |
3410 |
< |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3410 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3411 |
|
$as_echo "$CC" >&6; } |
3412 |
|
else |
3413 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3413 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3414 |
|
$as_echo "no" >&6; } |
3415 |
|
fi |
3416 |
|
|
3420 |
|
if test -z "$CC"; then |
3421 |
|
# Extract the first word of "cc", so it can be a program name with args. |
3422 |
|
set dummy cc; ac_word=$2 |
3423 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3423 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3424 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3425 |
< |
if test "${ac_cv_prog_CC+set}" = set; then |
3425 |
> |
if test "${ac_cv_prog_CC+set}" = set; then : |
3426 |
|
$as_echo_n "(cached) " >&6 |
3427 |
|
else |
3428 |
|
if test -n "$CC"; then |
3434 |
|
do |
3435 |
|
IFS=$as_save_IFS |
3436 |
|
test -z "$as_dir" && as_dir=. |
3437 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3437 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
3438 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3439 |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3440 |
|
ac_prog_rejected=yes |
3441 |
|
continue |
3442 |
|
fi |
3443 |
|
ac_cv_prog_CC="cc" |
3444 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3444 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3445 |
|
break 2 |
3446 |
|
fi |
3447 |
|
done |
3448 |
< |
done |
3448 |
> |
done |
3449 |
|
IFS=$as_save_IFS |
3450 |
|
|
3451 |
|
if test $ac_prog_rejected = yes; then |
3464 |
|
fi |
3465 |
|
CC=$ac_cv_prog_CC |
3466 |
|
if test -n "$CC"; then |
3467 |
< |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3467 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3468 |
|
$as_echo "$CC" >&6; } |
3469 |
|
else |
3470 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3470 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3471 |
|
$as_echo "no" >&6; } |
3472 |
|
fi |
3473 |
|
|
3479 |
|
do |
3480 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3481 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3482 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3482 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3483 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3484 |
< |
if test "${ac_cv_prog_CC+set}" = set; then |
3484 |
> |
if test "${ac_cv_prog_CC+set}" = set; then : |
3485 |
|
$as_echo_n "(cached) " >&6 |
3486 |
|
else |
3487 |
|
if test -n "$CC"; then |
3492 |
|
do |
3493 |
|
IFS=$as_save_IFS |
3494 |
|
test -z "$as_dir" && as_dir=. |
3495 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3495 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
3496 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3497 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3498 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3498 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3499 |
|
break 2 |
3500 |
|
fi |
3501 |
|
done |
3502 |
< |
done |
3502 |
> |
done |
3503 |
|
IFS=$as_save_IFS |
3504 |
|
|
3505 |
|
fi |
3506 |
|
fi |
3507 |
|
CC=$ac_cv_prog_CC |
3508 |
|
if test -n "$CC"; then |
3509 |
< |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3509 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3510 |
|
$as_echo "$CC" >&6; } |
3511 |
|
else |
3512 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3512 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3513 |
|
$as_echo "no" >&6; } |
3514 |
|
fi |
3515 |
|
|
3523 |
|
do |
3524 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3525 |
|
set dummy $ac_prog; ac_word=$2 |
3526 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3526 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3527 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3528 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
3528 |
> |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3529 |
|
$as_echo_n "(cached) " >&6 |
3530 |
|
else |
3531 |
|
if test -n "$ac_ct_CC"; then |
3536 |
|
do |
3537 |
|
IFS=$as_save_IFS |
3538 |
|
test -z "$as_dir" && as_dir=. |
3539 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
3539 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
3540 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3541 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
3542 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3542 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3543 |
|
break 2 |
3544 |
|
fi |
3545 |
|
done |
3546 |
< |
done |
3546 |
> |
done |
3547 |
|
IFS=$as_save_IFS |
3548 |
|
|
3549 |
|
fi |
3550 |
|
fi |
3551 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3552 |
|
if test -n "$ac_ct_CC"; then |
3553 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3553 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3554 |
|
$as_echo "$ac_ct_CC" >&6; } |
3555 |
|
else |
3556 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
3556 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3557 |
|
$as_echo "no" >&6; } |
3558 |
|
fi |
3559 |
|
|
3566 |
|
else |
3567 |
|
case $cross_compiling:$ac_tool_warned in |
3568 |
|
yes:) |
3569 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
3569 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3570 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3571 |
|
ac_tool_warned=yes ;; |
3572 |
|
esac |
3577 |
|
fi |
3578 |
|
|
3579 |
|
|
3580 |
< |
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
3580 |
> |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3581 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3582 |
< |
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
3583 |
< |
See \`config.log' for more details." >&5 |
3002 |
< |
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
3003 |
< |
See \`config.log' for more details." >&2;} |
3004 |
< |
{ (exit 1); exit 1; }; }; } |
3582 |
> |
as_fn_error "no acceptable C compiler found in \$PATH |
3583 |
> |
See \`config.log' for more details." "$LINENO" 5; } |
3584 |
|
|
3585 |
|
# Provide some information about the compiler. |
3586 |
< |
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
3586 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3587 |
|
set X $ac_compile |
3588 |
|
ac_compiler=$2 |
3589 |
< |
{ (ac_try="$ac_compiler --version >&5" |
3589 |
> |
for ac_option in --version -v -V -qversion; do |
3590 |
> |
{ { ac_try="$ac_compiler $ac_option >&5" |
3591 |
|
case "(($ac_try" in |
3592 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3593 |
|
*) ac_try_echo=$ac_try;; |
3594 |
|
esac |
3595 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3596 |
< |
$as_echo "$ac_try_echo") >&5 |
3597 |
< |
(eval "$ac_compiler --version >&5") 2>&5 |
3595 |
> |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3596 |
> |
$as_echo "$ac_try_echo"; } >&5 |
3597 |
> |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
3598 |
|
ac_status=$? |
3599 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3600 |
< |
(exit $ac_status); } |
3601 |
< |
{ (ac_try="$ac_compiler -v >&5" |
3602 |
< |
case "(($ac_try" in |
3603 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3604 |
< |
*) ac_try_echo=$ac_try;; |
3605 |
< |
esac |
3606 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3607 |
< |
$as_echo "$ac_try_echo") >&5 |
3608 |
< |
(eval "$ac_compiler -v >&5") 2>&5 |
3029 |
< |
ac_status=$? |
3030 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3031 |
< |
(exit $ac_status); } |
3032 |
< |
{ (ac_try="$ac_compiler -V >&5" |
3033 |
< |
case "(($ac_try" in |
3034 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3035 |
< |
*) ac_try_echo=$ac_try;; |
3036 |
< |
esac |
3037 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3038 |
< |
$as_echo "$ac_try_echo") >&5 |
3039 |
< |
(eval "$ac_compiler -V >&5") 2>&5 |
3040 |
< |
ac_status=$? |
3041 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3042 |
< |
(exit $ac_status); } |
3599 |
> |
if test -s conftest.err; then |
3600 |
> |
sed '10a\ |
3601 |
> |
... rest of stderr output deleted ... |
3602 |
> |
10q' conftest.err >conftest.er1 |
3603 |
> |
cat conftest.er1 >&5 |
3604 |
> |
rm -f conftest.er1 conftest.err |
3605 |
> |
fi |
3606 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3607 |
> |
test $ac_status = 0; } |
3608 |
> |
done |
3609 |
|
|
3610 |
< |
cat >conftest.$ac_ext <<_ACEOF |
3045 |
< |
/* confdefs.h. */ |
3046 |
< |
_ACEOF |
3047 |
< |
cat confdefs.h >>conftest.$ac_ext |
3048 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
3610 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3611 |
|
/* end confdefs.h. */ |
3612 |
< |
|
3612 |
> |
#include <stdio.h> |
3613 |
|
int |
3614 |
|
main () |
3615 |
|
{ |
3616 |
+ |
FILE *f = fopen ("conftest.out", "w"); |
3617 |
+ |
return ferror (f) || fclose (f) != 0; |
3618 |
|
|
3619 |
|
; |
3620 |
|
return 0; |
3621 |
|
} |
3622 |
|
_ACEOF |
3623 |
|
ac_clean_files_save=$ac_clean_files |
3624 |
< |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
3624 |
> |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" |
3625 |
|
# Try to create an executable without -o first, disregard a.out. |
3626 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
3627 |
|
# of exeext. |
3628 |
< |
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
3628 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3629 |
|
$as_echo_n "checking for C compiler default output file name... " >&6; } |
3630 |
|
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3631 |
|
|
3642 |
|
done |
3643 |
|
rm -f $ac_rmfiles |
3644 |
|
|
3645 |
< |
if { (ac_try="$ac_link_default" |
3645 |
> |
if { { ac_try="$ac_link_default" |
3646 |
|
case "(($ac_try" in |
3647 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3648 |
|
*) ac_try_echo=$ac_try;; |
3649 |
|
esac |
3650 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3651 |
< |
$as_echo "$ac_try_echo") >&5 |
3650 |
> |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3651 |
> |
$as_echo "$ac_try_echo"; } >&5 |
3652 |
|
(eval "$ac_link_default") 2>&5 |
3653 |
|
ac_status=$? |
3654 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3655 |
< |
(exit $ac_status); }; then |
3654 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3655 |
> |
test $ac_status = 0; }; then : |
3656 |
|
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3657 |
|
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
3658 |
|
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
3669 |
|
# certainly right. |
3670 |
|
break;; |
3671 |
|
*.* ) |
3672 |
< |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3672 |
> |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3673 |
|
then :; else |
3674 |
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3675 |
|
fi |
3688 |
|
else |
3689 |
|
ac_file='' |
3690 |
|
fi |
3691 |
< |
|
3128 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
3691 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
3692 |
|
$as_echo "$ac_file" >&6; } |
3693 |
< |
if test -z "$ac_file"; then |
3693 |
> |
if test -z "$ac_file"; then : |
3694 |
|
$as_echo "$as_me: failed program was:" >&5 |
3695 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3696 |
|
|
3697 |
< |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
3697 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3698 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3699 |
< |
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
3700 |
< |
See \`config.log' for more details." >&5 |
3701 |
< |
$as_echo "$as_me: error: C compiler cannot create executables |
3139 |
< |
See \`config.log' for more details." >&2;} |
3140 |
< |
{ (exit 77); exit 77; }; }; } |
3699 |
> |
{ as_fn_set_status 77 |
3700 |
> |
as_fn_error "C compiler cannot create executables |
3701 |
> |
See \`config.log' for more details." "$LINENO" 5; }; } |
3702 |
|
fi |
3142 |
– |
|
3703 |
|
ac_exeext=$ac_cv_exeext |
3704 |
|
|
3705 |
|
# Check that the compiler produces executables we can run. If not, either |
3706 |
|
# the compiler is broken, or we cross compile. |
3707 |
< |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
3707 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3708 |
|
$as_echo_n "checking whether the C compiler works... " >&6; } |
3149 |
– |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
3709 |
|
# If not cross compiling, check that we can run a simple program. |
3710 |
|
if test "$cross_compiling" != yes; then |
3711 |
|
if { ac_try='./$ac_file' |
3712 |
< |
{ (case "(($ac_try" in |
3712 |
> |
{ { case "(($ac_try" in |
3713 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3714 |
|
*) ac_try_echo=$ac_try;; |
3715 |
|
esac |
3716 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3717 |
< |
$as_echo "$ac_try_echo") >&5 |
3716 |
> |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3717 |
> |
$as_echo "$ac_try_echo"; } >&5 |
3718 |
|
(eval "$ac_try") 2>&5 |
3719 |
|
ac_status=$? |
3720 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3721 |
< |
(exit $ac_status); }; }; then |
3720 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3721 |
> |
test $ac_status = 0; }; }; then |
3722 |
|
cross_compiling=no |
3723 |
|
else |
3724 |
|
if test "$cross_compiling" = maybe; then |
3725 |
|
cross_compiling=yes |
3726 |
|
else |
3727 |
< |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
3727 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3728 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3729 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. |
3729 |
> |
as_fn_error "cannot run C compiled programs. |
3730 |
|
If you meant to cross compile, use \`--host'. |
3731 |
< |
See \`config.log' for more details." >&5 |
3173 |
< |
$as_echo "$as_me: error: cannot run C compiled programs. |
3174 |
< |
If you meant to cross compile, use \`--host'. |
3175 |
< |
See \`config.log' for more details." >&2;} |
3176 |
< |
{ (exit 1); exit 1; }; }; } |
3731 |
> |
See \`config.log' for more details." "$LINENO" 5; } |
3732 |
|
fi |
3733 |
|
fi |
3734 |
|
fi |
3735 |
< |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
3735 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3736 |
|
$as_echo "yes" >&6; } |
3737 |
|
|
3738 |
< |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
3738 |
> |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out |
3739 |
|
ac_clean_files=$ac_clean_files_save |
3740 |
|
# Check that the compiler produces executables we can run. If not, either |
3741 |
|
# the compiler is broken, or we cross compile. |
3742 |
< |
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
3742 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
3743 |
|
$as_echo_n "checking whether we are cross compiling... " >&6; } |
3744 |
< |
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
3744 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3745 |
|
$as_echo "$cross_compiling" >&6; } |
3746 |
|
|
3747 |
< |
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
3747 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
3748 |
|
$as_echo_n "checking for suffix of executables... " >&6; } |
3749 |
< |
if { (ac_try="$ac_link" |
3749 |
> |
if { { ac_try="$ac_link" |
3750 |
|
case "(($ac_try" in |
3751 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3752 |
|
*) ac_try_echo=$ac_try;; |
3753 |
|
esac |
3754 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3755 |
< |
$as_echo "$ac_try_echo") >&5 |
3754 |
> |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3755 |
> |
$as_echo "$ac_try_echo"; } >&5 |
3756 |
|
(eval "$ac_link") 2>&5 |
3757 |
|
ac_status=$? |
3758 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3759 |
< |
(exit $ac_status); }; then |
3758 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3759 |
> |
test $ac_status = 0; }; then : |
3760 |
|
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
3761 |
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3762 |
|
# work properly (i.e., refer to `conftest.exe'), while it won't with |
3771 |
|
esac |
3772 |
|
done |
3773 |
|
else |
3774 |
< |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
3774 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3775 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3776 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
3777 |
< |
See \`config.log' for more details." >&5 |
3223 |
< |
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
3224 |
< |
See \`config.log' for more details." >&2;} |
3225 |
< |
{ (exit 1); exit 1; }; }; } |
3776 |
> |
as_fn_error "cannot compute suffix of executables: cannot compile and link |
3777 |
> |
See \`config.log' for more details." "$LINENO" 5; } |
3778 |
|
fi |
3227 |
– |
|
3779 |
|
rm -f conftest$ac_cv_exeext |
3780 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
3780 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3781 |
|
$as_echo "$ac_cv_exeext" >&6; } |
3782 |
|
|
3783 |
|
rm -f conftest.$ac_ext |
3784 |
|
EXEEXT=$ac_cv_exeext |
3785 |
|
ac_exeext=$EXEEXT |
3786 |
< |
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
3786 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3787 |
|
$as_echo_n "checking for suffix of object files... " >&6; } |
3788 |
< |
if test "${ac_cv_objext+set}" = set; then |
3788 |
> |
if test "${ac_cv_objext+set}" = set; then : |
3789 |
|
$as_echo_n "(cached) " >&6 |
3790 |
|
else |
3791 |
< |
cat >conftest.$ac_ext <<_ACEOF |
3241 |
< |
/* confdefs.h. */ |
3242 |
< |
_ACEOF |
3243 |
< |
cat confdefs.h >>conftest.$ac_ext |
3244 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
3791 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3792 |
|
/* end confdefs.h. */ |
3793 |
|
|
3794 |
|
int |
3800 |
|
} |
3801 |
|
_ACEOF |
3802 |
|
rm -f conftest.o conftest.obj |
3803 |
< |
if { (ac_try="$ac_compile" |
3803 |
> |
if { { ac_try="$ac_compile" |
3804 |
|
case "(($ac_try" in |
3805 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3806 |
|
*) ac_try_echo=$ac_try;; |
3807 |
|
esac |
3808 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3809 |
< |
$as_echo "$ac_try_echo") >&5 |
3808 |
> |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3809 |
> |
$as_echo "$ac_try_echo"; } >&5 |
3810 |
|
(eval "$ac_compile") 2>&5 |
3811 |
|
ac_status=$? |
3812 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3813 |
< |
(exit $ac_status); }; then |
3812 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3813 |
> |
test $ac_status = 0; }; then : |
3814 |
|
for ac_file in conftest.o conftest.obj conftest.*; do |
3815 |
|
test -f "$ac_file" || continue; |
3816 |
|
case $ac_file in |
3823 |
|
$as_echo "$as_me: failed program was:" >&5 |
3824 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3825 |
|
|
3826 |
< |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
3826 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3827 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3828 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
3829 |
< |
See \`config.log' for more details." >&5 |
3283 |
< |
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
3284 |
< |
See \`config.log' for more details." >&2;} |
3285 |
< |
{ (exit 1); exit 1; }; }; } |
3828 |
> |
as_fn_error "cannot compute suffix of object files: cannot compile |
3829 |
> |
See \`config.log' for more details." "$LINENO" 5; } |
3830 |
|
fi |
3287 |
– |
|
3831 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3832 |
|
fi |
3833 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
3833 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3834 |
|
$as_echo "$ac_cv_objext" >&6; } |
3835 |
|
OBJEXT=$ac_cv_objext |
3836 |
|
ac_objext=$OBJEXT |
3837 |
< |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
3837 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3838 |
|
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3839 |
< |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
3839 |
> |
if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
3840 |
|
$as_echo_n "(cached) " >&6 |
3841 |
|
else |
3842 |
< |
cat >conftest.$ac_ext <<_ACEOF |
3300 |
< |
/* confdefs.h. */ |
3301 |
< |
_ACEOF |
3302 |
< |
cat confdefs.h >>conftest.$ac_ext |
3303 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
3842 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3843 |
|
/* end confdefs.h. */ |
3844 |
|
|
3845 |
|
int |
3853 |
|
return 0; |
3854 |
|
} |
3855 |
|
_ACEOF |
3856 |
< |
rm -f conftest.$ac_objext |
3318 |
< |
if { (ac_try="$ac_compile" |
3319 |
< |
case "(($ac_try" in |
3320 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3321 |
< |
*) ac_try_echo=$ac_try;; |
3322 |
< |
esac |
3323 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3324 |
< |
$as_echo "$ac_try_echo") >&5 |
3325 |
< |
(eval "$ac_compile") 2>conftest.er1 |
3326 |
< |
ac_status=$? |
3327 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3328 |
< |
rm -f conftest.er1 |
3329 |
< |
cat conftest.err >&5 |
3330 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3331 |
< |
(exit $ac_status); } && { |
3332 |
< |
test -z "$ac_c_werror_flag" || |
3333 |
< |
test ! -s conftest.err |
3334 |
< |
} && test -s conftest.$ac_objext; then |
3856 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
3857 |
|
ac_compiler_gnu=yes |
3858 |
|
else |
3859 |
< |
$as_echo "$as_me: failed program was:" >&5 |
3338 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3339 |
< |
|
3340 |
< |
ac_compiler_gnu=no |
3859 |
> |
ac_compiler_gnu=no |
3860 |
|
fi |
3342 |
– |
|
3861 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3862 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3863 |
|
|
3864 |
|
fi |
3865 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
3865 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
3866 |
|
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
3867 |
|
if test $ac_compiler_gnu = yes; then |
3868 |
|
GCC=yes |
3871 |
|
fi |
3872 |
|
ac_test_CFLAGS=${CFLAGS+set} |
3873 |
|
ac_save_CFLAGS=$CFLAGS |
3874 |
< |
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
3874 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3875 |
|
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
3876 |
< |
if test "${ac_cv_prog_cc_g+set}" = set; then |
3876 |
> |
if test "${ac_cv_prog_cc_g+set}" = set; then : |
3877 |
|
$as_echo_n "(cached) " >&6 |
3878 |
|
else |
3879 |
|
ac_save_c_werror_flag=$ac_c_werror_flag |
3880 |
|
ac_c_werror_flag=yes |
3881 |
|
ac_cv_prog_cc_g=no |
3882 |
|
CFLAGS="-g" |
3883 |
< |
cat >conftest.$ac_ext <<_ACEOF |
3366 |
< |
/* confdefs.h. */ |
3367 |
< |
_ACEOF |
3368 |
< |
cat confdefs.h >>conftest.$ac_ext |
3369 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
3883 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3884 |
|
/* end confdefs.h. */ |
3885 |
|
|
3886 |
|
int |
3891 |
|
return 0; |
3892 |
|
} |
3893 |
|
_ACEOF |
3894 |
< |
rm -f conftest.$ac_objext |
3381 |
< |
if { (ac_try="$ac_compile" |
3382 |
< |
case "(($ac_try" in |
3383 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3384 |
< |
*) ac_try_echo=$ac_try;; |
3385 |
< |
esac |
3386 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3387 |
< |
$as_echo "$ac_try_echo") >&5 |
3388 |
< |
(eval "$ac_compile") 2>conftest.er1 |
3389 |
< |
ac_status=$? |
3390 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3391 |
< |
rm -f conftest.er1 |
3392 |
< |
cat conftest.err >&5 |
3393 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3394 |
< |
(exit $ac_status); } && { |
3395 |
< |
test -z "$ac_c_werror_flag" || |
3396 |
< |
test ! -s conftest.err |
3397 |
< |
} && test -s conftest.$ac_objext; then |
3894 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
3895 |
|
ac_cv_prog_cc_g=yes |
3896 |
|
else |
3897 |
< |
$as_echo "$as_me: failed program was:" >&5 |
3898 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3402 |
< |
|
3403 |
< |
CFLAGS="" |
3404 |
< |
cat >conftest.$ac_ext <<_ACEOF |
3405 |
< |
/* confdefs.h. */ |
3406 |
< |
_ACEOF |
3407 |
< |
cat confdefs.h >>conftest.$ac_ext |
3408 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
3897 |
> |
CFLAGS="" |
3898 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3899 |
|
/* end confdefs.h. */ |
3900 |
|
|
3901 |
|
int |
3906 |
|
return 0; |
3907 |
|
} |
3908 |
|
_ACEOF |
3909 |
< |
rm -f conftest.$ac_objext |
3420 |
< |
if { (ac_try="$ac_compile" |
3421 |
< |
case "(($ac_try" in |
3422 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3423 |
< |
*) ac_try_echo=$ac_try;; |
3424 |
< |
esac |
3425 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3426 |
< |
$as_echo "$ac_try_echo") >&5 |
3427 |
< |
(eval "$ac_compile") 2>conftest.er1 |
3428 |
< |
ac_status=$? |
3429 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3430 |
< |
rm -f conftest.er1 |
3431 |
< |
cat conftest.err >&5 |
3432 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3433 |
< |
(exit $ac_status); } && { |
3434 |
< |
test -z "$ac_c_werror_flag" || |
3435 |
< |
test ! -s conftest.err |
3436 |
< |
} && test -s conftest.$ac_objext; then |
3437 |
< |
: |
3438 |
< |
else |
3439 |
< |
$as_echo "$as_me: failed program was:" >&5 |
3440 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
3909 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
3910 |
|
|
3911 |
< |
ac_c_werror_flag=$ac_save_c_werror_flag |
3911 |
> |
else |
3912 |
> |
ac_c_werror_flag=$ac_save_c_werror_flag |
3913 |
|
CFLAGS="-g" |
3914 |
< |
cat >conftest.$ac_ext <<_ACEOF |
3445 |
< |
/* confdefs.h. */ |
3446 |
< |
_ACEOF |
3447 |
< |
cat confdefs.h >>conftest.$ac_ext |
3448 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
3914 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3915 |
|
/* end confdefs.h. */ |
3916 |
|
|
3917 |
|
int |
3922 |
|
return 0; |
3923 |
|
} |
3924 |
|
_ACEOF |
3925 |
< |
rm -f conftest.$ac_objext |
3460 |
< |
if { (ac_try="$ac_compile" |
3461 |
< |
case "(($ac_try" in |
3462 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3463 |
< |
*) ac_try_echo=$ac_try;; |
3464 |
< |
esac |
3465 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3466 |
< |
$as_echo "$ac_try_echo") >&5 |
3467 |
< |
(eval "$ac_compile") 2>conftest.er1 |
3468 |
< |
ac_status=$? |
3469 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3470 |
< |
rm -f conftest.er1 |
3471 |
< |
cat conftest.err >&5 |
3472 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3473 |
< |
(exit $ac_status); } && { |
3474 |
< |
test -z "$ac_c_werror_flag" || |
3475 |
< |
test ! -s conftest.err |
3476 |
< |
} && test -s conftest.$ac_objext; then |
3925 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
3926 |
|
ac_cv_prog_cc_g=yes |
3478 |
– |
else |
3479 |
– |
$as_echo "$as_me: failed program was:" >&5 |
3480 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
3481 |
– |
|
3482 |
– |
|
3927 |
|
fi |
3484 |
– |
|
3928 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3929 |
|
fi |
3487 |
– |
|
3930 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3931 |
|
fi |
3490 |
– |
|
3932 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3933 |
|
ac_c_werror_flag=$ac_save_c_werror_flag |
3934 |
|
fi |
3935 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
3935 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
3936 |
|
$as_echo "$ac_cv_prog_cc_g" >&6; } |
3937 |
|
if test "$ac_test_CFLAGS" = set; then |
3938 |
|
CFLAGS=$ac_save_CFLAGS |
3949 |
|
CFLAGS= |
3950 |
|
fi |
3951 |
|
fi |
3952 |
< |
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
3952 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3953 |
|
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3954 |
< |
if test "${ac_cv_prog_cc_c89+set}" = set; then |
3954 |
> |
if test "${ac_cv_prog_cc_c89+set}" = set; then : |
3955 |
|
$as_echo_n "(cached) " >&6 |
3956 |
|
else |
3957 |
|
ac_cv_prog_cc_c89=no |
3958 |
|
ac_save_CC=$CC |
3959 |
< |
cat >conftest.$ac_ext <<_ACEOF |
3519 |
< |
/* confdefs.h. */ |
3520 |
< |
_ACEOF |
3521 |
< |
cat confdefs.h >>conftest.$ac_ext |
3522 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
3959 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3960 |
|
/* end confdefs.h. */ |
3961 |
|
#include <stdarg.h> |
3962 |
|
#include <stdio.h> |
4013 |
|
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
4014 |
|
do |
4015 |
|
CC="$ac_save_CC $ac_arg" |
4016 |
< |
rm -f conftest.$ac_objext |
3580 |
< |
if { (ac_try="$ac_compile" |
3581 |
< |
case "(($ac_try" in |
3582 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3583 |
< |
*) ac_try_echo=$ac_try;; |
3584 |
< |
esac |
3585 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3586 |
< |
$as_echo "$ac_try_echo") >&5 |
3587 |
< |
(eval "$ac_compile") 2>conftest.er1 |
3588 |
< |
ac_status=$? |
3589 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3590 |
< |
rm -f conftest.er1 |
3591 |
< |
cat conftest.err >&5 |
3592 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3593 |
< |
(exit $ac_status); } && { |
3594 |
< |
test -z "$ac_c_werror_flag" || |
3595 |
< |
test ! -s conftest.err |
3596 |
< |
} && test -s conftest.$ac_objext; then |
4016 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
4017 |
|
ac_cv_prog_cc_c89=$ac_arg |
3598 |
– |
else |
3599 |
– |
$as_echo "$as_me: failed program was:" >&5 |
3600 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
3601 |
– |
|
3602 |
– |
|
4018 |
|
fi |
3604 |
– |
|
4019 |
|
rm -f core conftest.err conftest.$ac_objext |
4020 |
|
test "x$ac_cv_prog_cc_c89" != "xno" && break |
4021 |
|
done |
4026 |
|
# AC_CACHE_VAL |
4027 |
|
case "x$ac_cv_prog_cc_c89" in |
4028 |
|
x) |
4029 |
< |
{ $as_echo "$as_me:$LINENO: result: none needed" >&5 |
4029 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
4030 |
|
$as_echo "none needed" >&6; } ;; |
4031 |
|
xno) |
4032 |
< |
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
4032 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
4033 |
|
$as_echo "unsupported" >&6; } ;; |
4034 |
|
*) |
4035 |
|
CC="$CC $ac_cv_prog_cc_c89" |
4036 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
4036 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
4037 |
|
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
4038 |
|
esac |
4039 |
+ |
if test "x$ac_cv_prog_cc_c89" != xno; then : |
4040 |
|
|
4041 |
+ |
fi |
4042 |
|
|
4043 |
|
ac_ext=c |
4044 |
|
ac_cpp='$CPP $CPPFLAGS' |
4057 |
|
.PHONY: am__doit |
4058 |
|
END |
4059 |
|
# If we don't find an include directive, just comment out the code. |
4060 |
< |
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
4060 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
4061 |
|
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
4062 |
|
am__include="#" |
4063 |
|
am__quote= |
4085 |
|
fi |
4086 |
|
|
4087 |
|
|
4088 |
< |
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 |
4088 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
4089 |
|
$as_echo "$_am_result" >&6; } |
4090 |
|
rm -f confinc confmf |
4091 |
|
|
4092 |
|
# Check whether --enable-dependency-tracking was given. |
4093 |
< |
if test "${enable_dependency_tracking+set}" = set; then |
4093 |
> |
if test "${enable_dependency_tracking+set}" = set; then : |
4094 |
|
enableval=$enable_dependency_tracking; |
4095 |
|
fi |
4096 |
|
|
4110 |
|
|
4111 |
|
depcc="$CC" am_compiler_list= |
4112 |
|
|
4113 |
< |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
4113 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4114 |
|
$as_echo_n "checking dependency style of $depcc... " >&6; } |
4115 |
< |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
4115 |
> |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
4116 |
|
$as_echo_n "(cached) " >&6 |
4117 |
|
else |
4118 |
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4220 |
|
fi |
4221 |
|
|
4222 |
|
fi |
4223 |
< |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4223 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4224 |
|
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
4225 |
|
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
4226 |
|
|
4239 |
|
do |
4240 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
4241 |
|
set dummy $ac_prog; ac_word=$2 |
4242 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4242 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4243 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
4244 |
< |
if test "${ac_cv_prog_YACC+set}" = set; then |
4244 |
> |
if test "${ac_cv_prog_YACC+set}" = set; then : |
4245 |
|
$as_echo_n "(cached) " >&6 |
4246 |
|
else |
4247 |
|
if test -n "$YACC"; then |
4252 |
|
do |
4253 |
|
IFS=$as_save_IFS |
4254 |
|
test -z "$as_dir" && as_dir=. |
4255 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
4255 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
4256 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4257 |
|
ac_cv_prog_YACC="$ac_prog" |
4258 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4258 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4259 |
|
break 2 |
4260 |
|
fi |
4261 |
|
done |
4262 |
< |
done |
4262 |
> |
done |
4263 |
|
IFS=$as_save_IFS |
4264 |
|
|
4265 |
|
fi |
4266 |
|
fi |
4267 |
|
YACC=$ac_cv_prog_YACC |
4268 |
|
if test -n "$YACC"; then |
4269 |
< |
{ $as_echo "$as_me:$LINENO: result: $YACC" >&5 |
4269 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 |
4270 |
|
$as_echo "$YACC" >&6; } |
4271 |
|
else |
4272 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
4272 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4273 |
|
$as_echo "no" >&6; } |
4274 |
|
fi |
4275 |
|
|
4283 |
|
do |
4284 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
4285 |
|
set dummy $ac_prog; ac_word=$2 |
4286 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4286 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4287 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
4288 |
< |
if test "${ac_cv_prog_LEX+set}" = set; then |
4288 |
> |
if test "${ac_cv_prog_LEX+set}" = set; then : |
4289 |
|
$as_echo_n "(cached) " >&6 |
4290 |
|
else |
4291 |
|
if test -n "$LEX"; then |
4296 |
|
do |
4297 |
|
IFS=$as_save_IFS |
4298 |
|
test -z "$as_dir" && as_dir=. |
4299 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
4299 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
4300 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4301 |
|
ac_cv_prog_LEX="$ac_prog" |
4302 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4302 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4303 |
|
break 2 |
4304 |
|
fi |
4305 |
|
done |
4306 |
< |
done |
4306 |
> |
done |
4307 |
|
IFS=$as_save_IFS |
4308 |
|
|
4309 |
|
fi |
4310 |
|
fi |
4311 |
|
LEX=$ac_cv_prog_LEX |
4312 |
|
if test -n "$LEX"; then |
4313 |
< |
{ $as_echo "$as_me:$LINENO: result: $LEX" >&5 |
4313 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 |
4314 |
|
$as_echo "$LEX" >&6; } |
4315 |
|
else |
4316 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
4316 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4317 |
|
$as_echo "no" >&6; } |
4318 |
|
fi |
4319 |
|
|
4342 |
|
return ! yylex () + ! yywrap (); |
4343 |
|
} |
4344 |
|
_ACEOF |
4345 |
< |
{ (ac_try="$LEX conftest.l" |
4345 |
> |
{ { ac_try="$LEX conftest.l" |
4346 |
|
case "(($ac_try" in |
4347 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4348 |
|
*) ac_try_echo=$ac_try;; |
4349 |
|
esac |
4350 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4351 |
< |
$as_echo "$ac_try_echo") >&5 |
4350 |
> |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4351 |
> |
$as_echo "$ac_try_echo"; } >&5 |
4352 |
|
(eval "$LEX conftest.l") 2>&5 |
4353 |
|
ac_status=$? |
4354 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4355 |
< |
(exit $ac_status); } |
4356 |
< |
{ $as_echo "$as_me:$LINENO: checking lex output file root" >&5 |
4354 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4355 |
> |
test $ac_status = 0; } |
4356 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
4357 |
|
$as_echo_n "checking lex output file root... " >&6; } |
4358 |
< |
if test "${ac_cv_prog_lex_root+set}" = set; then |
4358 |
> |
if test "${ac_cv_prog_lex_root+set}" = set; then : |
4359 |
|
$as_echo_n "(cached) " >&6 |
4360 |
|
else |
4361 |
|
|
4364 |
|
elif test -f lexyy.c; then |
4365 |
|
ac_cv_prog_lex_root=lexyy |
4366 |
|
else |
4367 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 |
3952 |
< |
$as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} |
3953 |
< |
{ (exit 1); exit 1; }; } |
4367 |
> |
as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5 |
4368 |
|
fi |
4369 |
|
fi |
4370 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 |
4370 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
4371 |
|
$as_echo "$ac_cv_prog_lex_root" >&6; } |
4372 |
|
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
4373 |
|
|
4374 |
|
if test -z "${LEXLIB+set}"; then |
4375 |
< |
{ $as_echo "$as_me:$LINENO: checking lex library" >&5 |
4375 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
4376 |
|
$as_echo_n "checking lex library... " >&6; } |
4377 |
< |
if test "${ac_cv_lib_lex+set}" = set; then |
4377 |
> |
if test "${ac_cv_lib_lex+set}" = set; then : |
4378 |
|
$as_echo_n "(cached) " >&6 |
4379 |
|
else |
4380 |
|
|
4382 |
|
ac_cv_lib_lex='none needed' |
4383 |
|
for ac_lib in '' -lfl -ll; do |
4384 |
|
LIBS="$ac_lib $ac_save_LIBS" |
4385 |
< |
cat >conftest.$ac_ext <<_ACEOF |
4385 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4386 |
> |
/* end confdefs.h. */ |
4387 |
|
`cat $LEX_OUTPUT_ROOT.c` |
4388 |
|
_ACEOF |
4389 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
3975 |
< |
if { (ac_try="$ac_link" |
3976 |
< |
case "(($ac_try" in |
3977 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3978 |
< |
*) ac_try_echo=$ac_try;; |
3979 |
< |
esac |
3980 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3981 |
< |
$as_echo "$ac_try_echo") >&5 |
3982 |
< |
(eval "$ac_link") 2>conftest.er1 |
3983 |
< |
ac_status=$? |
3984 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
3985 |
< |
rm -f conftest.er1 |
3986 |
< |
cat conftest.err >&5 |
3987 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3988 |
< |
(exit $ac_status); } && { |
3989 |
< |
test -z "$ac_c_werror_flag" || |
3990 |
< |
test ! -s conftest.err |
3991 |
< |
} && test -s conftest$ac_exeext && { |
3992 |
< |
test "$cross_compiling" = yes || |
3993 |
< |
$as_test_x conftest$ac_exeext |
3994 |
< |
}; then |
4389 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
4390 |
|
ac_cv_lib_lex=$ac_lib |
3996 |
– |
else |
3997 |
– |
$as_echo "$as_me: failed program was:" >&5 |
3998 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
3999 |
– |
|
4000 |
– |
|
4391 |
|
fi |
4392 |
< |
|
4393 |
< |
rm -rf conftest.dSYM |
4004 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4005 |
< |
conftest$ac_exeext conftest.$ac_ext |
4392 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
4393 |
> |
conftest$ac_exeext conftest.$ac_ext |
4394 |
|
test "$ac_cv_lib_lex" != 'none needed' && break |
4395 |
|
done |
4396 |
|
LIBS=$ac_save_LIBS |
4397 |
|
|
4398 |
|
fi |
4399 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5 |
4399 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 |
4400 |
|
$as_echo "$ac_cv_lib_lex" >&6; } |
4401 |
|
test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex |
4402 |
|
fi |
4403 |
|
|
4404 |
|
|
4405 |
< |
{ $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 |
4405 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
4406 |
|
$as_echo_n "checking whether yytext is a pointer... " >&6; } |
4407 |
< |
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then |
4407 |
> |
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then : |
4408 |
|
$as_echo_n "(cached) " >&6 |
4409 |
|
else |
4410 |
|
# POSIX says lex can declare yytext either as a pointer or an array; the |
4413 |
|
ac_cv_prog_lex_yytext_pointer=no |
4414 |
|
ac_save_LIBS=$LIBS |
4415 |
|
LIBS="$LEXLIB $ac_save_LIBS" |
4416 |
< |
cat >conftest.$ac_ext <<_ACEOF |
4416 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4417 |
> |
/* end confdefs.h. */ |
4418 |
|
#define YYTEXT_POINTER 1 |
4419 |
|
`cat $LEX_OUTPUT_ROOT.c` |
4420 |
|
_ACEOF |
4421 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
4033 |
< |
if { (ac_try="$ac_link" |
4034 |
< |
case "(($ac_try" in |
4035 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4036 |
< |
*) ac_try_echo=$ac_try;; |
4037 |
< |
esac |
4038 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4039 |
< |
$as_echo "$ac_try_echo") >&5 |
4040 |
< |
(eval "$ac_link") 2>conftest.er1 |
4041 |
< |
ac_status=$? |
4042 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
4043 |
< |
rm -f conftest.er1 |
4044 |
< |
cat conftest.err >&5 |
4045 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4046 |
< |
(exit $ac_status); } && { |
4047 |
< |
test -z "$ac_c_werror_flag" || |
4048 |
< |
test ! -s conftest.err |
4049 |
< |
} && test -s conftest$ac_exeext && { |
4050 |
< |
test "$cross_compiling" = yes || |
4051 |
< |
$as_test_x conftest$ac_exeext |
4052 |
< |
}; then |
4421 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
4422 |
|
ac_cv_prog_lex_yytext_pointer=yes |
4054 |
– |
else |
4055 |
– |
$as_echo "$as_me: failed program was:" >&5 |
4056 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
4057 |
– |
|
4058 |
– |
|
4423 |
|
fi |
4424 |
< |
|
4425 |
< |
rm -rf conftest.dSYM |
4062 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4063 |
< |
conftest$ac_exeext conftest.$ac_ext |
4424 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
4425 |
> |
conftest$ac_exeext conftest.$ac_ext |
4426 |
|
LIBS=$ac_save_LIBS |
4427 |
|
|
4428 |
|
fi |
4429 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
4429 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
4430 |
|
$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } |
4431 |
|
if test $ac_cv_prog_lex_yytext_pointer = yes; then |
4432 |
|
|
4433 |
< |
cat >>confdefs.h <<\_ACEOF |
4072 |
< |
#define YYTEXT_POINTER 1 |
4073 |
< |
_ACEOF |
4433 |
> |
$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h |
4434 |
|
|
4435 |
|
fi |
4436 |
|
rm -f conftest.l $LEX_OUTPUT_ROOT.c |
4439 |
|
if test "$LEX" = :; then |
4440 |
|
LEX=${am_missing_run}flex |
4441 |
|
fi |
4082 |
– |
# Find a good install program. We prefer a C program (faster), |
4083 |
– |
# so one script is as good as another. But avoid the broken or |
4084 |
– |
# incompatible versions: |
4085 |
– |
# SysV /etc/install, /usr/sbin/install |
4086 |
– |
# SunOS /usr/etc/install |
4087 |
– |
# IRIX /sbin/install |
4088 |
– |
# AIX /bin/install |
4089 |
– |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
4090 |
– |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
4091 |
– |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
4092 |
– |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
4093 |
– |
# OS/2's system install, which has a completely different semantic |
4094 |
– |
# ./install, which can be erroneously created by make from ./install.sh. |
4095 |
– |
# Reject install programs that cannot install multiple files. |
4096 |
– |
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
4097 |
– |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
4098 |
– |
if test -z "$INSTALL"; then |
4099 |
– |
if test "${ac_cv_path_install+set}" = set; then |
4100 |
– |
$as_echo_n "(cached) " >&6 |
4101 |
– |
else |
4102 |
– |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4103 |
– |
for as_dir in $PATH |
4104 |
– |
do |
4105 |
– |
IFS=$as_save_IFS |
4106 |
– |
test -z "$as_dir" && as_dir=. |
4107 |
– |
# Account for people who put trailing slashes in PATH elements. |
4108 |
– |
case $as_dir/ in |
4109 |
– |
./ | .// | /cC/* | \ |
4110 |
– |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
4111 |
– |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
4112 |
– |
/usr/ucb/* ) ;; |
4113 |
– |
*) |
4114 |
– |
# OSF1 and SCO ODT 3.0 have their own names for install. |
4115 |
– |
# Don't use installbsd from OSF since it installs stuff as root |
4116 |
– |
# by default. |
4117 |
– |
for ac_prog in ginstall scoinst install; do |
4118 |
– |
for ac_exec_ext in '' $ac_executable_extensions; do |
4119 |
– |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
4120 |
– |
if test $ac_prog = install && |
4121 |
– |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
4122 |
– |
# AIX install. It has an incompatible calling convention. |
4123 |
– |
: |
4124 |
– |
elif test $ac_prog = install && |
4125 |
– |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
4126 |
– |
# program-specific install script used by HP pwplus--don't use. |
4127 |
– |
: |
4128 |
– |
else |
4129 |
– |
rm -rf conftest.one conftest.two conftest.dir |
4130 |
– |
echo one > conftest.one |
4131 |
– |
echo two > conftest.two |
4132 |
– |
mkdir conftest.dir |
4133 |
– |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
4134 |
– |
test -s conftest.one && test -s conftest.two && |
4135 |
– |
test -s conftest.dir/conftest.one && |
4136 |
– |
test -s conftest.dir/conftest.two |
4137 |
– |
then |
4138 |
– |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
4139 |
– |
break 3 |
4140 |
– |
fi |
4141 |
– |
fi |
4142 |
– |
fi |
4143 |
– |
done |
4144 |
– |
done |
4145 |
– |
;; |
4146 |
– |
esac |
4147 |
– |
|
4148 |
– |
done |
4149 |
– |
IFS=$as_save_IFS |
4150 |
– |
|
4151 |
– |
rm -rf conftest.one conftest.two conftest.dir |
4152 |
– |
|
4153 |
– |
fi |
4154 |
– |
if test "${ac_cv_path_install+set}" = set; then |
4155 |
– |
INSTALL=$ac_cv_path_install |
4156 |
– |
else |
4157 |
– |
# As a last resort, use the slow shell script. Don't cache a |
4158 |
– |
# value for INSTALL within a source directory, because that will |
4159 |
– |
# break other packages using the cache if that directory is |
4160 |
– |
# removed, or if the value is a relative name. |
4161 |
– |
INSTALL=$ac_install_sh |
4162 |
– |
fi |
4163 |
– |
fi |
4164 |
– |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
4165 |
– |
$as_echo "$INSTALL" >&6; } |
4166 |
– |
|
4167 |
– |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
4168 |
– |
# It thinks the first close brace ends the variable substitution. |
4169 |
– |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
4170 |
– |
|
4171 |
– |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
4172 |
– |
|
4173 |
– |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
4442 |
|
|
4443 |
|
|
4444 |
|
|
4445 |
|
#ltdl stuff |
4446 |
|
case `pwd` in |
4447 |
|
*\ * | *\ *) |
4448 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
4448 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
4449 |
|
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
4450 |
|
esac |
4451 |
|
|
4470 |
|
|
4471 |
|
# Make sure we can run config.sub. |
4472 |
|
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
4473 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
4206 |
< |
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
4207 |
< |
{ (exit 1); exit 1; }; } |
4473 |
> |
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
4474 |
|
|
4475 |
< |
{ $as_echo "$as_me:$LINENO: checking build system type" >&5 |
4475 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
4476 |
|
$as_echo_n "checking build system type... " >&6; } |
4477 |
< |
if test "${ac_cv_build+set}" = set; then |
4477 |
> |
if test "${ac_cv_build+set}" = set; then : |
4478 |
|
$as_echo_n "(cached) " >&6 |
4479 |
|
else |
4480 |
|
ac_build_alias=$build_alias |
4481 |
|
test "x$ac_build_alias" = x && |
4482 |
|
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
4483 |
|
test "x$ac_build_alias" = x && |
4484 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
4219 |
< |
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
4220 |
< |
{ (exit 1); exit 1; }; } |
4484 |
> |
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 |
4485 |
|
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
4486 |
< |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
4223 |
< |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
4224 |
< |
{ (exit 1); exit 1; }; } |
4486 |
> |
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
4487 |
|
|
4488 |
|
fi |
4489 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
4489 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
4490 |
|
$as_echo "$ac_cv_build" >&6; } |
4491 |
|
case $ac_cv_build in |
4492 |
|
*-*-*) ;; |
4493 |
< |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
4232 |
< |
$as_echo "$as_me: error: invalid value of canonical build" >&2;} |
4233 |
< |
{ (exit 1); exit 1; }; };; |
4493 |
> |
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; |
4494 |
|
esac |
4495 |
|
build=$ac_cv_build |
4496 |
|
ac_save_IFS=$IFS; IFS='-' |
4506 |
|
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
4507 |
|
|
4508 |
|
|
4509 |
< |
{ $as_echo "$as_me:$LINENO: checking host system type" >&5 |
4509 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
4510 |
|
$as_echo_n "checking host system type... " >&6; } |
4511 |
< |
if test "${ac_cv_host+set}" = set; then |
4511 |
> |
if test "${ac_cv_host+set}" = set; then : |
4512 |
|
$as_echo_n "(cached) " >&6 |
4513 |
|
else |
4514 |
|
if test "x$host_alias" = x; then |
4515 |
|
ac_cv_host=$ac_cv_build |
4516 |
|
else |
4517 |
|
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
4518 |
< |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
4259 |
< |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
4260 |
< |
{ (exit 1); exit 1; }; } |
4518 |
> |
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
4519 |
|
fi |
4520 |
|
|
4521 |
|
fi |
4522 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
4522 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
4523 |
|
$as_echo "$ac_cv_host" >&6; } |
4524 |
|
case $ac_cv_host in |
4525 |
|
*-*-*) ;; |
4526 |
< |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
4269 |
< |
$as_echo "$as_me: error: invalid value of canonical host" >&2;} |
4270 |
< |
{ (exit 1); exit 1; }; };; |
4526 |
> |
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; |
4527 |
|
esac |
4528 |
|
host=$ac_cv_host |
4529 |
|
ac_save_IFS=$IFS; IFS='-' |
4539 |
|
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
4540 |
|
|
4541 |
|
|
4542 |
< |
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 |
4542 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
4543 |
|
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
4544 |
< |
if test "${ac_cv_path_SED+set}" = set; then |
4544 |
> |
if test "${ac_cv_path_SED+set}" = set; then : |
4545 |
|
$as_echo_n "(cached) " >&6 |
4546 |
|
else |
4547 |
|
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
4549 |
|
ac_script="$ac_script$as_nl$ac_script" |
4550 |
|
done |
4551 |
|
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
4552 |
< |
$as_unset ac_script || ac_script= |
4552 |
> |
{ ac_script=; unset ac_script;} |
4553 |
|
if test -z "$SED"; then |
4554 |
|
ac_path_SED_found=false |
4555 |
|
# Loop through the user's path and test for each of PROGNAME-LIST |
4558 |
|
do |
4559 |
|
IFS=$as_save_IFS |
4560 |
|
test -z "$as_dir" && as_dir=. |
4561 |
< |
for ac_prog in sed gsed; do |
4561 |
> |
for ac_prog in sed gsed; do |
4562 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4563 |
|
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
4564 |
|
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
4578 |
|
$as_echo '' >> "conftest.nl" |
4579 |
|
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4580 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4581 |
< |
ac_count=`expr $ac_count + 1` |
4581 |
> |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
4582 |
|
if test $ac_count -gt ${ac_path_SED_max-0}; then |
4583 |
|
# Best one so far, save it but keep looking for a better one |
4584 |
|
ac_cv_path_SED="$ac_path_SED" |
4593 |
|
$ac_path_SED_found && break 3 |
4594 |
|
done |
4595 |
|
done |
4596 |
< |
done |
4596 |
> |
done |
4597 |
|
IFS=$as_save_IFS |
4598 |
|
if test -z "$ac_cv_path_SED"; then |
4599 |
< |
{ { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 |
4344 |
< |
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} |
4345 |
< |
{ (exit 1); exit 1; }; } |
4599 |
> |
as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
4600 |
|
fi |
4601 |
|
else |
4602 |
|
ac_cv_path_SED=$SED |
4603 |
|
fi |
4604 |
|
|
4605 |
|
fi |
4606 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 |
4606 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
4607 |
|
$as_echo "$ac_cv_path_SED" >&6; } |
4608 |
|
SED="$ac_cv_path_SED" |
4609 |
|
rm -f conftest.sed |
4621 |
|
|
4622 |
|
|
4623 |
|
|
4624 |
< |
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
4624 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4625 |
|
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4626 |
< |
if test "${ac_cv_path_GREP+set}" = set; then |
4626 |
> |
if test "${ac_cv_path_GREP+set}" = set; then : |
4627 |
|
$as_echo_n "(cached) " >&6 |
4628 |
|
else |
4629 |
|
if test -z "$GREP"; then |
4634 |
|
do |
4635 |
|
IFS=$as_save_IFS |
4636 |
|
test -z "$as_dir" && as_dir=. |
4637 |
< |
for ac_prog in grep ggrep; do |
4637 |
> |
for ac_prog in grep ggrep; do |
4638 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4639 |
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4640 |
|
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4654 |
|
$as_echo 'GREP' >> "conftest.nl" |
4655 |
|
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4656 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4657 |
< |
ac_count=`expr $ac_count + 1` |
4657 |
> |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
4658 |
|
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
4659 |
|
# Best one so far, save it but keep looking for a better one |
4660 |
|
ac_cv_path_GREP="$ac_path_GREP" |
4669 |
|
$ac_path_GREP_found && break 3 |
4670 |
|
done |
4671 |
|
done |
4672 |
< |
done |
4672 |
> |
done |
4673 |
|
IFS=$as_save_IFS |
4674 |
|
if test -z "$ac_cv_path_GREP"; then |
4675 |
< |
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
4422 |
< |
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
4423 |
< |
{ (exit 1); exit 1; }; } |
4675 |
> |
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4676 |
|
fi |
4677 |
|
else |
4678 |
|
ac_cv_path_GREP=$GREP |
4679 |
|
fi |
4680 |
|
|
4681 |
|
fi |
4682 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
4682 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
4683 |
|
$as_echo "$ac_cv_path_GREP" >&6; } |
4684 |
|
GREP="$ac_cv_path_GREP" |
4685 |
|
|
4686 |
|
|
4687 |
< |
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
4687 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4688 |
|
$as_echo_n "checking for egrep... " >&6; } |
4689 |
< |
if test "${ac_cv_path_EGREP+set}" = set; then |
4689 |
> |
if test "${ac_cv_path_EGREP+set}" = set; then : |
4690 |
|
$as_echo_n "(cached) " >&6 |
4691 |
|
else |
4692 |
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4700 |
|
do |
4701 |
|
IFS=$as_save_IFS |
4702 |
|
test -z "$as_dir" && as_dir=. |
4703 |
< |
for ac_prog in egrep; do |
4703 |
> |
for ac_prog in egrep; do |
4704 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4705 |
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4706 |
|
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
4720 |
|
$as_echo 'EGREP' >> "conftest.nl" |
4721 |
|
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4722 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4723 |
< |
ac_count=`expr $ac_count + 1` |
4723 |
> |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
4724 |
|
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
4725 |
|
# Best one so far, save it but keep looking for a better one |
4726 |
|
ac_cv_path_EGREP="$ac_path_EGREP" |
4735 |
|
$ac_path_EGREP_found && break 3 |
4736 |
|
done |
4737 |
|
done |
4738 |
< |
done |
4738 |
> |
done |
4739 |
|
IFS=$as_save_IFS |
4740 |
|
if test -z "$ac_cv_path_EGREP"; then |
4741 |
< |
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
4490 |
< |
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
4491 |
< |
{ (exit 1); exit 1; }; } |
4741 |
> |
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4742 |
|
fi |
4743 |
|
else |
4744 |
|
ac_cv_path_EGREP=$EGREP |
4746 |
|
|
4747 |
|
fi |
4748 |
|
fi |
4749 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
4749 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
4750 |
|
$as_echo "$ac_cv_path_EGREP" >&6; } |
4751 |
|
EGREP="$ac_cv_path_EGREP" |
4752 |
|
|
4753 |
|
|
4754 |
< |
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 |
4754 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
4755 |
|
$as_echo_n "checking for fgrep... " >&6; } |
4756 |
< |
if test "${ac_cv_path_FGREP+set}" = set; then |
4756 |
> |
if test "${ac_cv_path_FGREP+set}" = set; then : |
4757 |
|
$as_echo_n "(cached) " >&6 |
4758 |
|
else |
4759 |
|
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
4767 |
|
do |
4768 |
|
IFS=$as_save_IFS |
4769 |
|
test -z "$as_dir" && as_dir=. |
4770 |
< |
for ac_prog in fgrep; do |
4770 |
> |
for ac_prog in fgrep; do |
4771 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4772 |
|
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
4773 |
|
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue |
4787 |
|
$as_echo 'FGREP' >> "conftest.nl" |
4788 |
|
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4789 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4790 |
< |
ac_count=`expr $ac_count + 1` |
4790 |
> |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
4791 |
|
if test $ac_count -gt ${ac_path_FGREP_max-0}; then |
4792 |
|
# Best one so far, save it but keep looking for a better one |
4793 |
|
ac_cv_path_FGREP="$ac_path_FGREP" |
4802 |
|
$ac_path_FGREP_found && break 3 |
4803 |
|
done |
4804 |
|
done |
4805 |
< |
done |
4805 |
> |
done |
4806 |
|
IFS=$as_save_IFS |
4807 |
|
if test -z "$ac_cv_path_FGREP"; then |
4808 |
< |
{ { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
4559 |
< |
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
4560 |
< |
{ (exit 1); exit 1; }; } |
4808 |
> |
as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4809 |
|
fi |
4810 |
|
else |
4811 |
|
ac_cv_path_FGREP=$FGREP |
4813 |
|
|
4814 |
|
fi |
4815 |
|
fi |
4816 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 |
4816 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
4817 |
|
$as_echo "$ac_cv_path_FGREP" >&6; } |
4818 |
|
FGREP="$ac_cv_path_FGREP" |
4819 |
|
|
4839 |
|
|
4840 |
|
|
4841 |
|
# Check whether --with-gnu-ld was given. |
4842 |
< |
if test "${with_gnu_ld+set}" = set; then |
4842 |
> |
if test "${with_gnu_ld+set}" = set; then : |
4843 |
|
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
4844 |
|
else |
4845 |
|
with_gnu_ld=no |
4848 |
|
ac_prog=ld |
4849 |
|
if test "$GCC" = yes; then |
4850 |
|
# Check if gcc -print-prog-name=ld gives a path. |
4851 |
< |
{ $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
4851 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
4852 |
|
$as_echo_n "checking for ld used by $CC... " >&6; } |
4853 |
|
case $host in |
4854 |
|
*-*-mingw*) |
4878 |
|
;; |
4879 |
|
esac |
4880 |
|
elif test "$with_gnu_ld" = yes; then |
4881 |
< |
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 |
4881 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
4882 |
|
$as_echo_n "checking for GNU ld... " >&6; } |
4883 |
|
else |
4884 |
< |
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
4884 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
4885 |
|
$as_echo_n "checking for non-GNU ld... " >&6; } |
4886 |
|
fi |
4887 |
< |
if test "${lt_cv_path_LD+set}" = set; then |
4887 |
> |
if test "${lt_cv_path_LD+set}" = set; then : |
4888 |
|
$as_echo_n "(cached) " >&6 |
4889 |
|
else |
4890 |
|
if test -z "$LD"; then |
4915 |
|
|
4916 |
|
LD="$lt_cv_path_LD" |
4917 |
|
if test -n "$LD"; then |
4918 |
< |
{ $as_echo "$as_me:$LINENO: result: $LD" >&5 |
4918 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
4919 |
|
$as_echo "$LD" >&6; } |
4920 |
|
else |
4921 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
4921 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4922 |
|
$as_echo "no" >&6; } |
4923 |
|
fi |
4924 |
< |
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
4925 |
< |
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
4678 |
< |
{ (exit 1); exit 1; }; } |
4679 |
< |
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
4924 |
> |
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 |
4925 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
4926 |
|
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
4927 |
< |
if test "${lt_cv_prog_gnu_ld+set}" = set; then |
4927 |
> |
if test "${lt_cv_prog_gnu_ld+set}" = set; then : |
4928 |
|
$as_echo_n "(cached) " >&6 |
4929 |
|
else |
4930 |
|
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
4937 |
|
;; |
4938 |
|
esac |
4939 |
|
fi |
4940 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
4940 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
4941 |
|
$as_echo "$lt_cv_prog_gnu_ld" >&6; } |
4942 |
|
with_gnu_ld=$lt_cv_prog_gnu_ld |
4943 |
|
|
4949 |
|
|
4950 |
|
|
4951 |
|
|
4952 |
< |
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 |
4952 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
4953 |
|
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
4954 |
< |
if test "${lt_cv_path_NM+set}" = set; then |
4954 |
> |
if test "${lt_cv_path_NM+set}" = set; then : |
4955 |
|
$as_echo_n "(cached) " >&6 |
4956 |
|
else |
4957 |
|
if test -n "$NM"; then |
4998 |
|
: ${lt_cv_path_NM=no} |
4999 |
|
fi |
5000 |
|
fi |
5001 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 |
5001 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
5002 |
|
$as_echo "$lt_cv_path_NM" >&6; } |
5003 |
|
if test "$lt_cv_path_NM" != "no"; then |
5004 |
|
NM="$lt_cv_path_NM" |
5009 |
|
do |
5010 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5011 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5012 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5012 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5013 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5014 |
< |
if test "${ac_cv_prog_DUMPBIN+set}" = set; then |
5014 |
> |
if test "${ac_cv_prog_DUMPBIN+set}" = set; then : |
5015 |
|
$as_echo_n "(cached) " >&6 |
5016 |
|
else |
5017 |
|
if test -n "$DUMPBIN"; then |
5022 |
|
do |
5023 |
|
IFS=$as_save_IFS |
5024 |
|
test -z "$as_dir" && as_dir=. |
5025 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
5025 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
5026 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5027 |
|
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
5028 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5028 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5029 |
|
break 2 |
5030 |
|
fi |
5031 |
|
done |
5032 |
< |
done |
5032 |
> |
done |
5033 |
|
IFS=$as_save_IFS |
5034 |
|
|
5035 |
|
fi |
5036 |
|
fi |
5037 |
|
DUMPBIN=$ac_cv_prog_DUMPBIN |
5038 |
|
if test -n "$DUMPBIN"; then |
5039 |
< |
{ $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 |
5039 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
5040 |
|
$as_echo "$DUMPBIN" >&6; } |
5041 |
|
else |
5042 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5042 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5043 |
|
$as_echo "no" >&6; } |
5044 |
|
fi |
5045 |
|
|
5053 |
|
do |
5054 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
5055 |
|
set dummy $ac_prog; ac_word=$2 |
5056 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5056 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5057 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5058 |
< |
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then |
5058 |
> |
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : |
5059 |
|
$as_echo_n "(cached) " >&6 |
5060 |
|
else |
5061 |
|
if test -n "$ac_ct_DUMPBIN"; then |
5066 |
|
do |
5067 |
|
IFS=$as_save_IFS |
5068 |
|
test -z "$as_dir" && as_dir=. |
5069 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
5069 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
5070 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5071 |
|
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
5072 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5072 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5073 |
|
break 2 |
5074 |
|
fi |
5075 |
|
done |
5076 |
< |
done |
5076 |
> |
done |
5077 |
|
IFS=$as_save_IFS |
5078 |
|
|
5079 |
|
fi |
5080 |
|
fi |
5081 |
|
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
5082 |
|
if test -n "$ac_ct_DUMPBIN"; then |
5083 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 |
5083 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
5084 |
|
$as_echo "$ac_ct_DUMPBIN" >&6; } |
5085 |
|
else |
5086 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5086 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5087 |
|
$as_echo "no" >&6; } |
5088 |
|
fi |
5089 |
|
|
5096 |
|
else |
5097 |
|
case $cross_compiling:$ac_tool_warned in |
5098 |
|
yes:) |
5099 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
5099 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
5100 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
5101 |
|
ac_tool_warned=yes ;; |
5102 |
|
esac |
5116 |
|
|
5117 |
|
|
5118 |
|
|
5119 |
< |
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 |
5119 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
5120 |
|
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
5121 |
< |
if test "${lt_cv_nm_interface+set}" = set; then |
5121 |
> |
if test "${lt_cv_nm_interface+set}" = set; then : |
5122 |
|
$as_echo_n "(cached) " >&6 |
5123 |
|
else |
5124 |
|
lt_cv_nm_interface="BSD nm" |
5125 |
|
echo "int some_variable = 0;" > conftest.$ac_ext |
5126 |
< |
(eval echo "\"\$as_me:4880: $ac_compile\"" >&5) |
5126 |
> |
(eval echo "\"\$as_me:5126: $ac_compile\"" >&5) |
5127 |
|
(eval "$ac_compile" 2>conftest.err) |
5128 |
|
cat conftest.err >&5 |
5129 |
< |
(eval echo "\"\$as_me:4883: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
5129 |
> |
(eval echo "\"\$as_me:5129: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
5130 |
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
5131 |
|
cat conftest.err >&5 |
5132 |
< |
(eval echo "\"\$as_me:4886: output\"" >&5) |
5132 |
> |
(eval echo "\"\$as_me:5132: output\"" >&5) |
5133 |
|
cat conftest.out >&5 |
5134 |
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
5135 |
|
lt_cv_nm_interface="MS dumpbin" |
5136 |
|
fi |
5137 |
|
rm -f conftest* |
5138 |
|
fi |
5139 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 |
5139 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
5140 |
|
$as_echo "$lt_cv_nm_interface" >&6; } |
5141 |
|
|
5142 |
< |
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
5142 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
5143 |
|
$as_echo_n "checking whether ln -s works... " >&6; } |
5144 |
|
LN_S=$as_ln_s |
5145 |
|
if test "$LN_S" = "ln -s"; then |
5146 |
< |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
5146 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5147 |
|
$as_echo "yes" >&6; } |
5148 |
|
else |
5149 |
< |
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
5149 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
5150 |
|
$as_echo "no, using $LN_S" >&6; } |
5151 |
|
fi |
5152 |
|
|
5153 |
|
# find the maximum length of command line arguments |
5154 |
< |
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 |
5154 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
5155 |
|
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
5156 |
< |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then |
5156 |
> |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then : |
5157 |
|
$as_echo_n "(cached) " >&6 |
5158 |
|
else |
5159 |
|
i=0 |
5271 |
|
fi |
5272 |
|
|
5273 |
|
if test -n $lt_cv_sys_max_cmd_len ; then |
5274 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 |
5274 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
5275 |
|
$as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
5276 |
|
else |
5277 |
< |
{ $as_echo "$as_me:$LINENO: result: none" >&5 |
5277 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
5278 |
|
$as_echo "none" >&6; } |
5279 |
|
fi |
5280 |
|
max_cmd_len=$lt_cv_sys_max_cmd_len |
5288 |
|
: ${MV="mv -f"} |
5289 |
|
: ${RM="rm -f"} |
5290 |
|
|
5291 |
< |
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 |
5291 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 |
5292 |
|
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } |
5293 |
|
# Try some XSI features |
5294 |
|
xsi_shell=no |
5298 |
|
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
5299 |
|
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
5300 |
|
&& xsi_shell=yes |
5301 |
< |
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 |
5301 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 |
5302 |
|
$as_echo "$xsi_shell" >&6; } |
5303 |
|
|
5304 |
|
|
5305 |
< |
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 |
5305 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 |
5306 |
|
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } |
5307 |
|
lt_shell_append=no |
5308 |
|
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ |
5309 |
|
>/dev/null 2>&1 \ |
5310 |
|
&& lt_shell_append=yes |
5311 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 |
5311 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 |
5312 |
|
$as_echo "$lt_shell_append" >&6; } |
5313 |
|
|
5314 |
|
|
5343 |
|
|
5344 |
|
|
5345 |
|
|
5346 |
< |
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
5346 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
5347 |
|
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
5348 |
< |
if test "${lt_cv_ld_reload_flag+set}" = set; then |
5348 |
> |
if test "${lt_cv_ld_reload_flag+set}" = set; then : |
5349 |
|
$as_echo_n "(cached) " >&6 |
5350 |
|
else |
5351 |
|
lt_cv_ld_reload_flag='-r' |
5352 |
|
fi |
5353 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
5353 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
5354 |
|
$as_echo "$lt_cv_ld_reload_flag" >&6; } |
5355 |
|
reload_flag=$lt_cv_ld_reload_flag |
5356 |
|
case $reload_flag in |
5379 |
|
if test -n "$ac_tool_prefix"; then |
5380 |
|
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
5381 |
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
5382 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5382 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5383 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5384 |
< |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then |
5384 |
> |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then : |
5385 |
|
$as_echo_n "(cached) " >&6 |
5386 |
|
else |
5387 |
|
if test -n "$OBJDUMP"; then |
5392 |
|
do |
5393 |
|
IFS=$as_save_IFS |
5394 |
|
test -z "$as_dir" && as_dir=. |
5395 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
5395 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
5396 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5397 |
|
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
5398 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5398 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5399 |
|
break 2 |
5400 |
|
fi |
5401 |
|
done |
5402 |
< |
done |
5402 |
> |
done |
5403 |
|
IFS=$as_save_IFS |
5404 |
|
|
5405 |
|
fi |
5406 |
|
fi |
5407 |
|
OBJDUMP=$ac_cv_prog_OBJDUMP |
5408 |
|
if test -n "$OBJDUMP"; then |
5409 |
< |
{ $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 |
5409 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
5410 |
|
$as_echo "$OBJDUMP" >&6; } |
5411 |
|
else |
5412 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5412 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5413 |
|
$as_echo "no" >&6; } |
5414 |
|
fi |
5415 |
|
|
5419 |
|
ac_ct_OBJDUMP=$OBJDUMP |
5420 |
|
# Extract the first word of "objdump", so it can be a program name with args. |
5421 |
|
set dummy objdump; ac_word=$2 |
5422 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5422 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5423 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5424 |
< |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then |
5424 |
> |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : |
5425 |
|
$as_echo_n "(cached) " >&6 |
5426 |
|
else |
5427 |
|
if test -n "$ac_ct_OBJDUMP"; then |
5432 |
|
do |
5433 |
|
IFS=$as_save_IFS |
5434 |
|
test -z "$as_dir" && as_dir=. |
5435 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
5435 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
5436 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5437 |
|
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
5438 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5438 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5439 |
|
break 2 |
5440 |
|
fi |
5441 |
|
done |
5442 |
< |
done |
5442 |
> |
done |
5443 |
|
IFS=$as_save_IFS |
5444 |
|
|
5445 |
|
fi |
5446 |
|
fi |
5447 |
|
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
5448 |
|
if test -n "$ac_ct_OBJDUMP"; then |
5449 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 |
5449 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
5450 |
|
$as_echo "$ac_ct_OBJDUMP" >&6; } |
5451 |
|
else |
5452 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5452 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5453 |
|
$as_echo "no" >&6; } |
5454 |
|
fi |
5455 |
|
|
5458 |
|
else |
5459 |
|
case $cross_compiling:$ac_tool_warned in |
5460 |
|
yes:) |
5461 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
5461 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
5462 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
5463 |
|
ac_tool_warned=yes ;; |
5464 |
|
esac |
5478 |
|
|
5479 |
|
|
5480 |
|
|
5481 |
< |
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 |
5481 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
5482 |
|
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
5483 |
< |
if test "${lt_cv_deplibs_check_method+set}" = set; then |
5483 |
> |
if test "${lt_cv_deplibs_check_method+set}" = set; then : |
5484 |
|
$as_echo_n "(cached) " >&6 |
5485 |
|
else |
5486 |
|
lt_cv_file_magic_cmd='$MAGIC_CMD' |
5674 |
|
esac |
5675 |
|
|
5676 |
|
fi |
5677 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
5677 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
5678 |
|
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
5679 |
|
file_magic_cmd=$lt_cv_file_magic_cmd |
5680 |
|
deplibs_check_method=$lt_cv_deplibs_check_method |
5694 |
|
if test -n "$ac_tool_prefix"; then |
5695 |
|
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
5696 |
|
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
5697 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5697 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5698 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5699 |
< |
if test "${ac_cv_prog_AR+set}" = set; then |
5699 |
> |
if test "${ac_cv_prog_AR+set}" = set; then : |
5700 |
|
$as_echo_n "(cached) " >&6 |
5701 |
|
else |
5702 |
|
if test -n "$AR"; then |
5707 |
|
do |
5708 |
|
IFS=$as_save_IFS |
5709 |
|
test -z "$as_dir" && as_dir=. |
5710 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
5710 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
5711 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5712 |
|
ac_cv_prog_AR="${ac_tool_prefix}ar" |
5713 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5713 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5714 |
|
break 2 |
5715 |
|
fi |
5716 |
|
done |
5717 |
< |
done |
5717 |
> |
done |
5718 |
|
IFS=$as_save_IFS |
5719 |
|
|
5720 |
|
fi |
5721 |
|
fi |
5722 |
|
AR=$ac_cv_prog_AR |
5723 |
|
if test -n "$AR"; then |
5724 |
< |
{ $as_echo "$as_me:$LINENO: result: $AR" >&5 |
5724 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
5725 |
|
$as_echo "$AR" >&6; } |
5726 |
|
else |
5727 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5727 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5728 |
|
$as_echo "no" >&6; } |
5729 |
|
fi |
5730 |
|
|
5734 |
|
ac_ct_AR=$AR |
5735 |
|
# Extract the first word of "ar", so it can be a program name with args. |
5736 |
|
set dummy ar; ac_word=$2 |
5737 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5737 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5738 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5739 |
< |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then |
5739 |
> |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : |
5740 |
|
$as_echo_n "(cached) " >&6 |
5741 |
|
else |
5742 |
|
if test -n "$ac_ct_AR"; then |
5747 |
|
do |
5748 |
|
IFS=$as_save_IFS |
5749 |
|
test -z "$as_dir" && as_dir=. |
5750 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
5750 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
5751 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5752 |
|
ac_cv_prog_ac_ct_AR="ar" |
5753 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5753 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5754 |
|
break 2 |
5755 |
|
fi |
5756 |
|
done |
5757 |
< |
done |
5757 |
> |
done |
5758 |
|
IFS=$as_save_IFS |
5759 |
|
|
5760 |
|
fi |
5761 |
|
fi |
5762 |
|
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
5763 |
|
if test -n "$ac_ct_AR"; then |
5764 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 |
5764 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
5765 |
|
$as_echo "$ac_ct_AR" >&6; } |
5766 |
|
else |
5767 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5767 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5768 |
|
$as_echo "no" >&6; } |
5769 |
|
fi |
5770 |
|
|
5773 |
|
else |
5774 |
|
case $cross_compiling:$ac_tool_warned in |
5775 |
|
yes:) |
5776 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
5776 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
5777 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
5778 |
|
ac_tool_warned=yes ;; |
5779 |
|
esac |
5799 |
|
if test -n "$ac_tool_prefix"; then |
5800 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
5801 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
5802 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5802 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5803 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5804 |
< |
if test "${ac_cv_prog_STRIP+set}" = set; then |
5804 |
> |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
5805 |
|
$as_echo_n "(cached) " >&6 |
5806 |
|
else |
5807 |
|
if test -n "$STRIP"; then |
5812 |
|
do |
5813 |
|
IFS=$as_save_IFS |
5814 |
|
test -z "$as_dir" && as_dir=. |
5815 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
5815 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
5816 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5817 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
5818 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5818 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5819 |
|
break 2 |
5820 |
|
fi |
5821 |
|
done |
5822 |
< |
done |
5822 |
> |
done |
5823 |
|
IFS=$as_save_IFS |
5824 |
|
|
5825 |
|
fi |
5826 |
|
fi |
5827 |
|
STRIP=$ac_cv_prog_STRIP |
5828 |
|
if test -n "$STRIP"; then |
5829 |
< |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5 |
5829 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
5830 |
|
$as_echo "$STRIP" >&6; } |
5831 |
|
else |
5832 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5832 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5833 |
|
$as_echo "no" >&6; } |
5834 |
|
fi |
5835 |
|
|
5839 |
|
ac_ct_STRIP=$STRIP |
5840 |
|
# Extract the first word of "strip", so it can be a program name with args. |
5841 |
|
set dummy strip; ac_word=$2 |
5842 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5842 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5843 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5844 |
< |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
5844 |
> |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
5845 |
|
$as_echo_n "(cached) " >&6 |
5846 |
|
else |
5847 |
|
if test -n "$ac_ct_STRIP"; then |
5852 |
|
do |
5853 |
|
IFS=$as_save_IFS |
5854 |
|
test -z "$as_dir" && as_dir=. |
5855 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
5855 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
5856 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5857 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
5858 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5858 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5859 |
|
break 2 |
5860 |
|
fi |
5861 |
|
done |
5862 |
< |
done |
5862 |
> |
done |
5863 |
|
IFS=$as_save_IFS |
5864 |
|
|
5865 |
|
fi |
5866 |
|
fi |
5867 |
|
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
5868 |
|
if test -n "$ac_ct_STRIP"; then |
5869 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
5869 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
5870 |
|
$as_echo "$ac_ct_STRIP" >&6; } |
5871 |
|
else |
5872 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5872 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5873 |
|
$as_echo "no" >&6; } |
5874 |
|
fi |
5875 |
|
|
5878 |
|
else |
5879 |
|
case $cross_compiling:$ac_tool_warned in |
5880 |
|
yes:) |
5881 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
5881 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
5882 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
5883 |
|
ac_tool_warned=yes ;; |
5884 |
|
esac |
5898 |
|
if test -n "$ac_tool_prefix"; then |
5899 |
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
5900 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
5901 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5901 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5902 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5903 |
< |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
5903 |
> |
if test "${ac_cv_prog_RANLIB+set}" = set; then : |
5904 |
|
$as_echo_n "(cached) " >&6 |
5905 |
|
else |
5906 |
|
if test -n "$RANLIB"; then |
5911 |
|
do |
5912 |
|
IFS=$as_save_IFS |
5913 |
|
test -z "$as_dir" && as_dir=. |
5914 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
5914 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
5915 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5916 |
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
5917 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5917 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5918 |
|
break 2 |
5919 |
|
fi |
5920 |
|
done |
5921 |
< |
done |
5921 |
> |
done |
5922 |
|
IFS=$as_save_IFS |
5923 |
|
|
5924 |
|
fi |
5925 |
|
fi |
5926 |
|
RANLIB=$ac_cv_prog_RANLIB |
5927 |
|
if test -n "$RANLIB"; then |
5928 |
< |
{ $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 |
5928 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
5929 |
|
$as_echo "$RANLIB" >&6; } |
5930 |
|
else |
5931 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5931 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5932 |
|
$as_echo "no" >&6; } |
5933 |
|
fi |
5934 |
|
|
5938 |
|
ac_ct_RANLIB=$RANLIB |
5939 |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
5940 |
|
set dummy ranlib; ac_word=$2 |
5941 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5941 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5942 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5943 |
< |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
5943 |
> |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
5944 |
|
$as_echo_n "(cached) " >&6 |
5945 |
|
else |
5946 |
|
if test -n "$ac_ct_RANLIB"; then |
5951 |
|
do |
5952 |
|
IFS=$as_save_IFS |
5953 |
|
test -z "$as_dir" && as_dir=. |
5954 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
5954 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
5955 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5956 |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
5957 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5957 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5958 |
|
break 2 |
5959 |
|
fi |
5960 |
|
done |
5961 |
< |
done |
5961 |
> |
done |
5962 |
|
IFS=$as_save_IFS |
5963 |
|
|
5964 |
|
fi |
5965 |
|
fi |
5966 |
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
5967 |
|
if test -n "$ac_ct_RANLIB"; then |
5968 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
5968 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
5969 |
|
$as_echo "$ac_ct_RANLIB" >&6; } |
5970 |
|
else |
5971 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
5971 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5972 |
|
$as_echo "no" >&6; } |
5973 |
|
fi |
5974 |
|
|
5977 |
|
else |
5978 |
|
case $cross_compiling:$ac_tool_warned in |
5979 |
|
yes:) |
5980 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
5980 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
5981 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
5982 |
|
ac_tool_warned=yes ;; |
5983 |
|
esac |
6055 |
|
|
6056 |
|
|
6057 |
|
# Check for command to grab the raw symbol name followed by C symbol from nm. |
6058 |
< |
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 |
6058 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
6059 |
|
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
6060 |
< |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then |
6060 |
> |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : |
6061 |
|
$as_echo_n "(cached) " >&6 |
6062 |
|
else |
6063 |
|
|
6173 |
|
int main(){nm_test_var='a';nm_test_func();return(0);} |
6174 |
|
_LT_EOF |
6175 |
|
|
6176 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6176 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6177 |
|
(eval $ac_compile) 2>&5 |
6178 |
|
ac_status=$? |
6179 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6180 |
< |
(exit $ac_status); }; then |
6179 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6180 |
> |
test $ac_status = 0; }; then |
6181 |
|
# Now try to grab the symbols. |
6182 |
|
nlist=conftest.nm |
6183 |
< |
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 |
6183 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 |
6184 |
|
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 |
6185 |
|
ac_status=$? |
6186 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6187 |
< |
(exit $ac_status); } && test -s "$nlist"; then |
6186 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6187 |
> |
test $ac_status = 0; } && test -s "$nlist"; then |
6188 |
|
# Try sorting and uniquifying the output. |
6189 |
|
if sort "$nlist" | uniq > "$nlist"T; then |
6190 |
|
mv -f "$nlist"T "$nlist" |
6237 |
|
lt_save_CFLAGS="$CFLAGS" |
6238 |
|
LIBS="conftstm.$ac_objext" |
6239 |
|
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
6240 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6240 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
6241 |
|
(eval $ac_link) 2>&5 |
6242 |
|
ac_status=$? |
6243 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6244 |
< |
(exit $ac_status); } && test -s conftest${ac_exeext}; then |
6243 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6244 |
> |
test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
6245 |
|
pipe_works=yes |
6246 |
|
fi |
6247 |
|
LIBS="$lt_save_LIBS" |
6275 |
|
lt_cv_sys_global_symbol_to_cdecl= |
6276 |
|
fi |
6277 |
|
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
6278 |
< |
{ $as_echo "$as_me:$LINENO: result: failed" >&5 |
6278 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
6279 |
|
$as_echo "failed" >&6; } |
6280 |
|
else |
6281 |
< |
{ $as_echo "$as_me:$LINENO: result: ok" >&5 |
6281 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6282 |
|
$as_echo "ok" >&6; } |
6283 |
|
fi |
6284 |
|
|
6304 |
|
|
6305 |
|
|
6306 |
|
# Check whether --enable-libtool-lock was given. |
6307 |
< |
if test "${enable_libtool_lock+set}" = set; then |
6307 |
> |
if test "${enable_libtool_lock+set}" = set; then : |
6308 |
|
enableval=$enable_libtool_lock; |
6309 |
|
fi |
6310 |
|
|
6316 |
|
ia64-*-hpux*) |
6317 |
|
# Find out which ABI we are using. |
6318 |
|
echo 'int i;' > conftest.$ac_ext |
6319 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6319 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6320 |
|
(eval $ac_compile) 2>&5 |
6321 |
|
ac_status=$? |
6322 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6323 |
< |
(exit $ac_status); }; then |
6322 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6323 |
> |
test $ac_status = 0; }; then |
6324 |
|
case `/usr/bin/file conftest.$ac_objext` in |
6325 |
|
*ELF-32*) |
6326 |
|
HPUX_IA64_MODE="32" |
6334 |
|
;; |
6335 |
|
*-*-irix6*) |
6336 |
|
# Find out which ABI we are using. |
6337 |
< |
echo '#line 6091 "configure"' > conftest.$ac_ext |
6338 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6337 |
> |
echo '#line 6337 "configure"' > conftest.$ac_ext |
6338 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6339 |
|
(eval $ac_compile) 2>&5 |
6340 |
|
ac_status=$? |
6341 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6342 |
< |
(exit $ac_status); }; then |
6341 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6342 |
> |
test $ac_status = 0; }; then |
6343 |
|
if test "$lt_cv_prog_gnu_ld" = yes; then |
6344 |
|
case `/usr/bin/file conftest.$ac_objext` in |
6345 |
|
*32-bit*) |
6373 |
|
s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
6374 |
|
# Find out which ABI we are using. |
6375 |
|
echo 'int i;' > conftest.$ac_ext |
6376 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6376 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6377 |
|
(eval $ac_compile) 2>&5 |
6378 |
|
ac_status=$? |
6379 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6380 |
< |
(exit $ac_status); }; then |
6379 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6380 |
> |
test $ac_status = 0; }; then |
6381 |
|
case `/usr/bin/file conftest.o` in |
6382 |
|
*32-bit*) |
6383 |
|
case $host in |
6426 |
|
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
6427 |
|
SAVE_CFLAGS="$CFLAGS" |
6428 |
|
CFLAGS="$CFLAGS -belf" |
6429 |
< |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
6429 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
6430 |
|
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
6431 |
< |
if test "${lt_cv_cc_needs_belf+set}" = set; then |
6431 |
> |
if test "${lt_cv_cc_needs_belf+set}" = set; then : |
6432 |
|
$as_echo_n "(cached) " >&6 |
6433 |
|
else |
6434 |
|
ac_ext=c |
6437 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6438 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
6439 |
|
|
6440 |
< |
cat >conftest.$ac_ext <<_ACEOF |
6195 |
< |
/* confdefs.h. */ |
6196 |
< |
_ACEOF |
6197 |
< |
cat confdefs.h >>conftest.$ac_ext |
6198 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
6440 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6441 |
|
/* end confdefs.h. */ |
6442 |
|
|
6443 |
|
int |
6448 |
|
return 0; |
6449 |
|
} |
6450 |
|
_ACEOF |
6451 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
6210 |
< |
if { (ac_try="$ac_link" |
6211 |
< |
case "(($ac_try" in |
6212 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6213 |
< |
*) ac_try_echo=$ac_try;; |
6214 |
< |
esac |
6215 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
6216 |
< |
$as_echo "$ac_try_echo") >&5 |
6217 |
< |
(eval "$ac_link") 2>conftest.er1 |
6218 |
< |
ac_status=$? |
6219 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
6220 |
< |
rm -f conftest.er1 |
6221 |
< |
cat conftest.err >&5 |
6222 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6223 |
< |
(exit $ac_status); } && { |
6224 |
< |
test -z "$ac_c_werror_flag" || |
6225 |
< |
test ! -s conftest.err |
6226 |
< |
} && test -s conftest$ac_exeext && { |
6227 |
< |
test "$cross_compiling" = yes || |
6228 |
< |
$as_test_x conftest$ac_exeext |
6229 |
< |
}; then |
6451 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
6452 |
|
lt_cv_cc_needs_belf=yes |
6453 |
|
else |
6454 |
< |
$as_echo "$as_me: failed program was:" >&5 |
6233 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6234 |
< |
|
6235 |
< |
lt_cv_cc_needs_belf=no |
6454 |
> |
lt_cv_cc_needs_belf=no |
6455 |
|
fi |
6456 |
< |
|
6457 |
< |
rm -rf conftest.dSYM |
6239 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6240 |
< |
conftest$ac_exeext conftest.$ac_ext |
6456 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
6457 |
> |
conftest$ac_exeext conftest.$ac_ext |
6458 |
|
ac_ext=c |
6459 |
|
ac_cpp='$CPP $CPPFLAGS' |
6460 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6462 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
6463 |
|
|
6464 |
|
fi |
6465 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 |
6465 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
6466 |
|
$as_echo "$lt_cv_cc_needs_belf" >&6; } |
6467 |
|
if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
6468 |
|
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
6472 |
|
sparc*-*solaris*) |
6473 |
|
# Find out which ABI we are using. |
6474 |
|
echo 'int i;' > conftest.$ac_ext |
6475 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6475 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6476 |
|
(eval $ac_compile) 2>&5 |
6477 |
|
ac_status=$? |
6478 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6479 |
< |
(exit $ac_status); }; then |
6478 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6479 |
> |
test $ac_status = 0; }; then |
6480 |
|
case `/usr/bin/file conftest.o` in |
6481 |
|
*64-bit*) |
6482 |
|
case $lt_cv_prog_gnu_ld in |
6502 |
|
if test -n "$ac_tool_prefix"; then |
6503 |
|
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
6504 |
|
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
6505 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6505 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6506 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6507 |
< |
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then |
6507 |
> |
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : |
6508 |
|
$as_echo_n "(cached) " >&6 |
6509 |
|
else |
6510 |
|
if test -n "$DSYMUTIL"; then |
6515 |
|
do |
6516 |
|
IFS=$as_save_IFS |
6517 |
|
test -z "$as_dir" && as_dir=. |
6518 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
6518 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
6519 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6520 |
|
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
6521 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6521 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6522 |
|
break 2 |
6523 |
|
fi |
6524 |
|
done |
6525 |
< |
done |
6525 |
> |
done |
6526 |
|
IFS=$as_save_IFS |
6527 |
|
|
6528 |
|
fi |
6529 |
|
fi |
6530 |
|
DSYMUTIL=$ac_cv_prog_DSYMUTIL |
6531 |
|
if test -n "$DSYMUTIL"; then |
6532 |
< |
{ $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 |
6532 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
6533 |
|
$as_echo "$DSYMUTIL" >&6; } |
6534 |
|
else |
6535 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
6535 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6536 |
|
$as_echo "no" >&6; } |
6537 |
|
fi |
6538 |
|
|
6542 |
|
ac_ct_DSYMUTIL=$DSYMUTIL |
6543 |
|
# Extract the first word of "dsymutil", so it can be a program name with args. |
6544 |
|
set dummy dsymutil; ac_word=$2 |
6545 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6545 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6546 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6547 |
< |
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then |
6547 |
> |
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : |
6548 |
|
$as_echo_n "(cached) " >&6 |
6549 |
|
else |
6550 |
|
if test -n "$ac_ct_DSYMUTIL"; then |
6555 |
|
do |
6556 |
|
IFS=$as_save_IFS |
6557 |
|
test -z "$as_dir" && as_dir=. |
6558 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
6558 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
6559 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6560 |
|
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
6561 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6561 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6562 |
|
break 2 |
6563 |
|
fi |
6564 |
|
done |
6565 |
< |
done |
6565 |
> |
done |
6566 |
|
IFS=$as_save_IFS |
6567 |
|
|
6568 |
|
fi |
6569 |
|
fi |
6570 |
|
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
6571 |
|
if test -n "$ac_ct_DSYMUTIL"; then |
6572 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 |
6572 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
6573 |
|
$as_echo "$ac_ct_DSYMUTIL" >&6; } |
6574 |
|
else |
6575 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
6575 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6576 |
|
$as_echo "no" >&6; } |
6577 |
|
fi |
6578 |
|
|
6581 |
|
else |
6582 |
|
case $cross_compiling:$ac_tool_warned in |
6583 |
|
yes:) |
6584 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
6584 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6585 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6586 |
|
ac_tool_warned=yes ;; |
6587 |
|
esac |
6594 |
|
if test -n "$ac_tool_prefix"; then |
6595 |
|
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
6596 |
|
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
6597 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6597 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6598 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6599 |
< |
if test "${ac_cv_prog_NMEDIT+set}" = set; then |
6599 |
> |
if test "${ac_cv_prog_NMEDIT+set}" = set; then : |
6600 |
|
$as_echo_n "(cached) " >&6 |
6601 |
|
else |
6602 |
|
if test -n "$NMEDIT"; then |
6607 |
|
do |
6608 |
|
IFS=$as_save_IFS |
6609 |
|
test -z "$as_dir" && as_dir=. |
6610 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
6610 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
6611 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6612 |
|
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
6613 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6613 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6614 |
|
break 2 |
6615 |
|
fi |
6616 |
|
done |
6617 |
< |
done |
6617 |
> |
done |
6618 |
|
IFS=$as_save_IFS |
6619 |
|
|
6620 |
|
fi |
6621 |
|
fi |
6622 |
|
NMEDIT=$ac_cv_prog_NMEDIT |
6623 |
|
if test -n "$NMEDIT"; then |
6624 |
< |
{ $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 |
6624 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
6625 |
|
$as_echo "$NMEDIT" >&6; } |
6626 |
|
else |
6627 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
6627 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6628 |
|
$as_echo "no" >&6; } |
6629 |
|
fi |
6630 |
|
|
6634 |
|
ac_ct_NMEDIT=$NMEDIT |
6635 |
|
# Extract the first word of "nmedit", so it can be a program name with args. |
6636 |
|
set dummy nmedit; ac_word=$2 |
6637 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6637 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6638 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6639 |
< |
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then |
6639 |
> |
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : |
6640 |
|
$as_echo_n "(cached) " >&6 |
6641 |
|
else |
6642 |
|
if test -n "$ac_ct_NMEDIT"; then |
6647 |
|
do |
6648 |
|
IFS=$as_save_IFS |
6649 |
|
test -z "$as_dir" && as_dir=. |
6650 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
6650 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
6651 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6652 |
|
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
6653 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6653 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6654 |
|
break 2 |
6655 |
|
fi |
6656 |
|
done |
6657 |
< |
done |
6657 |
> |
done |
6658 |
|
IFS=$as_save_IFS |
6659 |
|
|
6660 |
|
fi |
6661 |
|
fi |
6662 |
|
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
6663 |
|
if test -n "$ac_ct_NMEDIT"; then |
6664 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 |
6664 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
6665 |
|
$as_echo "$ac_ct_NMEDIT" >&6; } |
6666 |
|
else |
6667 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
6667 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6668 |
|
$as_echo "no" >&6; } |
6669 |
|
fi |
6670 |
|
|
6673 |
|
else |
6674 |
|
case $cross_compiling:$ac_tool_warned in |
6675 |
|
yes:) |
6676 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
6676 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6677 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6678 |
|
ac_tool_warned=yes ;; |
6679 |
|
esac |
6686 |
|
if test -n "$ac_tool_prefix"; then |
6687 |
|
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. |
6688 |
|
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
6689 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6689 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6690 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6691 |
< |
if test "${ac_cv_prog_LIPO+set}" = set; then |
6691 |
> |
if test "${ac_cv_prog_LIPO+set}" = set; then : |
6692 |
|
$as_echo_n "(cached) " >&6 |
6693 |
|
else |
6694 |
|
if test -n "$LIPO"; then |
6699 |
|
do |
6700 |
|
IFS=$as_save_IFS |
6701 |
|
test -z "$as_dir" && as_dir=. |
6702 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
6702 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
6703 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6704 |
|
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
6705 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6705 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6706 |
|
break 2 |
6707 |
|
fi |
6708 |
|
done |
6709 |
< |
done |
6709 |
> |
done |
6710 |
|
IFS=$as_save_IFS |
6711 |
|
|
6712 |
|
fi |
6713 |
|
fi |
6714 |
|
LIPO=$ac_cv_prog_LIPO |
6715 |
|
if test -n "$LIPO"; then |
6716 |
< |
{ $as_echo "$as_me:$LINENO: result: $LIPO" >&5 |
6716 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
6717 |
|
$as_echo "$LIPO" >&6; } |
6718 |
|
else |
6719 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
6719 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6720 |
|
$as_echo "no" >&6; } |
6721 |
|
fi |
6722 |
|
|
6726 |
|
ac_ct_LIPO=$LIPO |
6727 |
|
# Extract the first word of "lipo", so it can be a program name with args. |
6728 |
|
set dummy lipo; ac_word=$2 |
6729 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6729 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6730 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6731 |
< |
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then |
6731 |
> |
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : |
6732 |
|
$as_echo_n "(cached) " >&6 |
6733 |
|
else |
6734 |
|
if test -n "$ac_ct_LIPO"; then |
6739 |
|
do |
6740 |
|
IFS=$as_save_IFS |
6741 |
|
test -z "$as_dir" && as_dir=. |
6742 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
6742 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
6743 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6744 |
|
ac_cv_prog_ac_ct_LIPO="lipo" |
6745 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6745 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6746 |
|
break 2 |
6747 |
|
fi |
6748 |
|
done |
6749 |
< |
done |
6749 |
> |
done |
6750 |
|
IFS=$as_save_IFS |
6751 |
|
|
6752 |
|
fi |
6753 |
|
fi |
6754 |
|
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
6755 |
|
if test -n "$ac_ct_LIPO"; then |
6756 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 |
6756 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
6757 |
|
$as_echo "$ac_ct_LIPO" >&6; } |
6758 |
|
else |
6759 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
6759 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6760 |
|
$as_echo "no" >&6; } |
6761 |
|
fi |
6762 |
|
|
6765 |
|
else |
6766 |
|
case $cross_compiling:$ac_tool_warned in |
6767 |
|
yes:) |
6768 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
6768 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6769 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6770 |
|
ac_tool_warned=yes ;; |
6771 |
|
esac |
6778 |
|
if test -n "$ac_tool_prefix"; then |
6779 |
|
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. |
6780 |
|
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
6781 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6781 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6782 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6783 |
< |
if test "${ac_cv_prog_OTOOL+set}" = set; then |
6783 |
> |
if test "${ac_cv_prog_OTOOL+set}" = set; then : |
6784 |
|
$as_echo_n "(cached) " >&6 |
6785 |
|
else |
6786 |
|
if test -n "$OTOOL"; then |
6791 |
|
do |
6792 |
|
IFS=$as_save_IFS |
6793 |
|
test -z "$as_dir" && as_dir=. |
6794 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
6794 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
6795 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6796 |
|
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
6797 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6797 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6798 |
|
break 2 |
6799 |
|
fi |
6800 |
|
done |
6801 |
< |
done |
6801 |
> |
done |
6802 |
|
IFS=$as_save_IFS |
6803 |
|
|
6804 |
|
fi |
6805 |
|
fi |
6806 |
|
OTOOL=$ac_cv_prog_OTOOL |
6807 |
|
if test -n "$OTOOL"; then |
6808 |
< |
{ $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 |
6808 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
6809 |
|
$as_echo "$OTOOL" >&6; } |
6810 |
|
else |
6811 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
6811 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6812 |
|
$as_echo "no" >&6; } |
6813 |
|
fi |
6814 |
|
|
6818 |
|
ac_ct_OTOOL=$OTOOL |
6819 |
|
# Extract the first word of "otool", so it can be a program name with args. |
6820 |
|
set dummy otool; ac_word=$2 |
6821 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6821 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6822 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6823 |
< |
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then |
6823 |
> |
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : |
6824 |
|
$as_echo_n "(cached) " >&6 |
6825 |
|
else |
6826 |
|
if test -n "$ac_ct_OTOOL"; then |
6831 |
|
do |
6832 |
|
IFS=$as_save_IFS |
6833 |
|
test -z "$as_dir" && as_dir=. |
6834 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
6834 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
6835 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6836 |
|
ac_cv_prog_ac_ct_OTOOL="otool" |
6837 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6837 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6838 |
|
break 2 |
6839 |
|
fi |
6840 |
|
done |
6841 |
< |
done |
6841 |
> |
done |
6842 |
|
IFS=$as_save_IFS |
6843 |
|
|
6844 |
|
fi |
6845 |
|
fi |
6846 |
|
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
6847 |
|
if test -n "$ac_ct_OTOOL"; then |
6848 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 |
6848 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
6849 |
|
$as_echo "$ac_ct_OTOOL" >&6; } |
6850 |
|
else |
6851 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
6851 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6852 |
|
$as_echo "no" >&6; } |
6853 |
|
fi |
6854 |
|
|
6857 |
|
else |
6858 |
|
case $cross_compiling:$ac_tool_warned in |
6859 |
|
yes:) |
6860 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
6860 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6861 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6862 |
|
ac_tool_warned=yes ;; |
6863 |
|
esac |
6870 |
|
if test -n "$ac_tool_prefix"; then |
6871 |
|
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. |
6872 |
|
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
6873 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6873 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6874 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6875 |
< |
if test "${ac_cv_prog_OTOOL64+set}" = set; then |
6875 |
> |
if test "${ac_cv_prog_OTOOL64+set}" = set; then : |
6876 |
|
$as_echo_n "(cached) " >&6 |
6877 |
|
else |
6878 |
|
if test -n "$OTOOL64"; then |
6883 |
|
do |
6884 |
|
IFS=$as_save_IFS |
6885 |
|
test -z "$as_dir" && as_dir=. |
6886 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
6886 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
6887 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6888 |
|
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
6889 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6889 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6890 |
|
break 2 |
6891 |
|
fi |
6892 |
|
done |
6893 |
< |
done |
6893 |
> |
done |
6894 |
|
IFS=$as_save_IFS |
6895 |
|
|
6896 |
|
fi |
6897 |
|
fi |
6898 |
|
OTOOL64=$ac_cv_prog_OTOOL64 |
6899 |
|
if test -n "$OTOOL64"; then |
6900 |
< |
{ $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 |
6900 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
6901 |
|
$as_echo "$OTOOL64" >&6; } |
6902 |
|
else |
6903 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
6903 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6904 |
|
$as_echo "no" >&6; } |
6905 |
|
fi |
6906 |
|
|
6910 |
|
ac_ct_OTOOL64=$OTOOL64 |
6911 |
|
# Extract the first word of "otool64", so it can be a program name with args. |
6912 |
|
set dummy otool64; ac_word=$2 |
6913 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6913 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6914 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6915 |
< |
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then |
6915 |
> |
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : |
6916 |
|
$as_echo_n "(cached) " >&6 |
6917 |
|
else |
6918 |
|
if test -n "$ac_ct_OTOOL64"; then |
6923 |
|
do |
6924 |
|
IFS=$as_save_IFS |
6925 |
|
test -z "$as_dir" && as_dir=. |
6926 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
6926 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
6927 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6928 |
|
ac_cv_prog_ac_ct_OTOOL64="otool64" |
6929 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6929 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6930 |
|
break 2 |
6931 |
|
fi |
6932 |
|
done |
6933 |
< |
done |
6933 |
> |
done |
6934 |
|
IFS=$as_save_IFS |
6935 |
|
|
6936 |
|
fi |
6937 |
|
fi |
6938 |
|
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
6939 |
|
if test -n "$ac_ct_OTOOL64"; then |
6940 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 |
6940 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
6941 |
|
$as_echo "$ac_ct_OTOOL64" >&6; } |
6942 |
|
else |
6943 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
6943 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6944 |
|
$as_echo "no" >&6; } |
6945 |
|
fi |
6946 |
|
|
6949 |
|
else |
6950 |
|
case $cross_compiling:$ac_tool_warned in |
6951 |
|
yes:) |
6952 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
6952 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6953 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6954 |
|
ac_tool_warned=yes ;; |
6955 |
|
esac |
6985 |
|
|
6986 |
|
|
6987 |
|
|
6988 |
< |
{ $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 |
6988 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
6989 |
|
$as_echo_n "checking for -single_module linker flag... " >&6; } |
6990 |
< |
if test "${lt_cv_apple_cc_single_mod+set}" = set; then |
6990 |
> |
if test "${lt_cv_apple_cc_single_mod+set}" = set; then : |
6991 |
|
$as_echo_n "(cached) " >&6 |
6992 |
|
else |
6993 |
|
lt_cv_apple_cc_single_mod=no |
7012 |
|
rm -f conftest.* |
7013 |
|
fi |
7014 |
|
fi |
7015 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 |
7015 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
7016 |
|
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
7017 |
< |
{ $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 |
7017 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
7018 |
|
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
7019 |
< |
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then |
7019 |
> |
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : |
7020 |
|
$as_echo_n "(cached) " >&6 |
7021 |
|
else |
7022 |
|
lt_cv_ld_exported_symbols_list=no |
7023 |
|
save_LDFLAGS=$LDFLAGS |
7024 |
|
echo "_main" > conftest.sym |
7025 |
|
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
7026 |
< |
cat >conftest.$ac_ext <<_ACEOF |
6810 |
< |
/* confdefs.h. */ |
6811 |
< |
_ACEOF |
6812 |
< |
cat confdefs.h >>conftest.$ac_ext |
6813 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
7026 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7027 |
|
/* end confdefs.h. */ |
7028 |
|
|
7029 |
|
int |
7034 |
|
return 0; |
7035 |
|
} |
7036 |
|
_ACEOF |
7037 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
6825 |
< |
if { (ac_try="$ac_link" |
6826 |
< |
case "(($ac_try" in |
6827 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6828 |
< |
*) ac_try_echo=$ac_try;; |
6829 |
< |
esac |
6830 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
6831 |
< |
$as_echo "$ac_try_echo") >&5 |
6832 |
< |
(eval "$ac_link") 2>conftest.er1 |
6833 |
< |
ac_status=$? |
6834 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
6835 |
< |
rm -f conftest.er1 |
6836 |
< |
cat conftest.err >&5 |
6837 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6838 |
< |
(exit $ac_status); } && { |
6839 |
< |
test -z "$ac_c_werror_flag" || |
6840 |
< |
test ! -s conftest.err |
6841 |
< |
} && test -s conftest$ac_exeext && { |
6842 |
< |
test "$cross_compiling" = yes || |
6843 |
< |
$as_test_x conftest$ac_exeext |
6844 |
< |
}; then |
7037 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
7038 |
|
lt_cv_ld_exported_symbols_list=yes |
7039 |
|
else |
7040 |
< |
$as_echo "$as_me: failed program was:" >&5 |
6848 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
6849 |
< |
|
6850 |
< |
lt_cv_ld_exported_symbols_list=no |
7040 |
> |
lt_cv_ld_exported_symbols_list=no |
7041 |
|
fi |
7042 |
< |
|
7043 |
< |
rm -rf conftest.dSYM |
6854 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6855 |
< |
conftest$ac_exeext conftest.$ac_ext |
7042 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
7043 |
> |
conftest$ac_exeext conftest.$ac_ext |
7044 |
|
LDFLAGS="$save_LDFLAGS" |
7045 |
|
|
7046 |
|
fi |
7047 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 |
7047 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
7048 |
|
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
7049 |
|
case $host_os in |
7050 |
|
rhapsody* | darwin1.[012]) |
7086 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
7087 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
7088 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7089 |
< |
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
7089 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
7090 |
|
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
7091 |
|
# On Suns, sometimes $CPP names a directory. |
7092 |
|
if test -n "$CPP" && test -d "$CPP"; then |
7093 |
|
CPP= |
7094 |
|
fi |
7095 |
|
if test -z "$CPP"; then |
7096 |
< |
if test "${ac_cv_prog_CPP+set}" = set; then |
7096 |
> |
if test "${ac_cv_prog_CPP+set}" = set; then : |
7097 |
|
$as_echo_n "(cached) " >&6 |
7098 |
|
else |
7099 |
|
# Double quotes because CPP needs to be expanded |
7108 |
|
# <limits.h> exists even on freestanding compilers. |
7109 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
7110 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
7111 |
< |
cat >conftest.$ac_ext <<_ACEOF |
6924 |
< |
/* confdefs.h. */ |
6925 |
< |
_ACEOF |
6926 |
< |
cat confdefs.h >>conftest.$ac_ext |
6927 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
7111 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7112 |
|
/* end confdefs.h. */ |
7113 |
|
#ifdef __STDC__ |
7114 |
|
# include <limits.h> |
7117 |
|
#endif |
7118 |
|
Syntax error |
7119 |
|
_ACEOF |
7120 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
6937 |
< |
case "(($ac_try" in |
6938 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6939 |
< |
*) ac_try_echo=$ac_try;; |
6940 |
< |
esac |
6941 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
6942 |
< |
$as_echo "$ac_try_echo") >&5 |
6943 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
6944 |
< |
ac_status=$? |
6945 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
6946 |
< |
rm -f conftest.er1 |
6947 |
< |
cat conftest.err >&5 |
6948 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6949 |
< |
(exit $ac_status); } >/dev/null && { |
6950 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
6951 |
< |
test ! -s conftest.err |
6952 |
< |
}; then |
6953 |
< |
: |
6954 |
< |
else |
6955 |
< |
$as_echo "$as_me: failed program was:" >&5 |
6956 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
7120 |
> |
if ac_fn_c_try_cpp "$LINENO"; then : |
7121 |
|
|
7122 |
+ |
else |
7123 |
|
# Broken: fails on valid input. |
7124 |
|
continue |
7125 |
|
fi |
6961 |
– |
|
7126 |
|
rm -f conftest.err conftest.$ac_ext |
7127 |
|
|
7128 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
7129 |
|
# can be detected and how. |
7130 |
< |
cat >conftest.$ac_ext <<_ACEOF |
6967 |
< |
/* confdefs.h. */ |
6968 |
< |
_ACEOF |
6969 |
< |
cat confdefs.h >>conftest.$ac_ext |
6970 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
7130 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7131 |
|
/* end confdefs.h. */ |
7132 |
|
#include <ac_nonexistent.h> |
7133 |
|
_ACEOF |
7134 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
6975 |
< |
case "(($ac_try" in |
6976 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6977 |
< |
*) ac_try_echo=$ac_try;; |
6978 |
< |
esac |
6979 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
6980 |
< |
$as_echo "$ac_try_echo") >&5 |
6981 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
6982 |
< |
ac_status=$? |
6983 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
6984 |
< |
rm -f conftest.er1 |
6985 |
< |
cat conftest.err >&5 |
6986 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6987 |
< |
(exit $ac_status); } >/dev/null && { |
6988 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
6989 |
< |
test ! -s conftest.err |
6990 |
< |
}; then |
7134 |
> |
if ac_fn_c_try_cpp "$LINENO"; then : |
7135 |
|
# Broken: success on invalid input. |
7136 |
|
continue |
7137 |
|
else |
6994 |
– |
$as_echo "$as_me: failed program was:" >&5 |
6995 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
6996 |
– |
|
7138 |
|
# Passes both tests. |
7139 |
|
ac_preproc_ok=: |
7140 |
|
break |
7141 |
|
fi |
7001 |
– |
|
7142 |
|
rm -f conftest.err conftest.$ac_ext |
7143 |
|
|
7144 |
|
done |
7145 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
7146 |
|
rm -f conftest.err conftest.$ac_ext |
7147 |
< |
if $ac_preproc_ok; then |
7147 |
> |
if $ac_preproc_ok; then : |
7148 |
|
break |
7149 |
|
fi |
7150 |
|
|
7156 |
|
else |
7157 |
|
ac_cv_prog_CPP=$CPP |
7158 |
|
fi |
7159 |
< |
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
7159 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
7160 |
|
$as_echo "$CPP" >&6; } |
7161 |
|
ac_preproc_ok=false |
7162 |
|
for ac_c_preproc_warn_flag in '' yes |
7167 |
|
# <limits.h> exists even on freestanding compilers. |
7168 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
7169 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
7170 |
< |
cat >conftest.$ac_ext <<_ACEOF |
7031 |
< |
/* confdefs.h. */ |
7032 |
< |
_ACEOF |
7033 |
< |
cat confdefs.h >>conftest.$ac_ext |
7034 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
7170 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7171 |
|
/* end confdefs.h. */ |
7172 |
|
#ifdef __STDC__ |
7173 |
|
# include <limits.h> |
7176 |
|
#endif |
7177 |
|
Syntax error |
7178 |
|
_ACEOF |
7179 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
7044 |
< |
case "(($ac_try" in |
7045 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7046 |
< |
*) ac_try_echo=$ac_try;; |
7047 |
< |
esac |
7048 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7049 |
< |
$as_echo "$ac_try_echo") >&5 |
7050 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
7051 |
< |
ac_status=$? |
7052 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
7053 |
< |
rm -f conftest.er1 |
7054 |
< |
cat conftest.err >&5 |
7055 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7056 |
< |
(exit $ac_status); } >/dev/null && { |
7057 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
7058 |
< |
test ! -s conftest.err |
7059 |
< |
}; then |
7060 |
< |
: |
7061 |
< |
else |
7062 |
< |
$as_echo "$as_me: failed program was:" >&5 |
7063 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
7179 |
> |
if ac_fn_c_try_cpp "$LINENO"; then : |
7180 |
|
|
7181 |
+ |
else |
7182 |
|
# Broken: fails on valid input. |
7183 |
|
continue |
7184 |
|
fi |
7068 |
– |
|
7185 |
|
rm -f conftest.err conftest.$ac_ext |
7186 |
|
|
7187 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
7188 |
|
# can be detected and how. |
7189 |
< |
cat >conftest.$ac_ext <<_ACEOF |
7074 |
< |
/* confdefs.h. */ |
7075 |
< |
_ACEOF |
7076 |
< |
cat confdefs.h >>conftest.$ac_ext |
7077 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
7189 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7190 |
|
/* end confdefs.h. */ |
7191 |
|
#include <ac_nonexistent.h> |
7192 |
|
_ACEOF |
7193 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
7082 |
< |
case "(($ac_try" in |
7083 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7084 |
< |
*) ac_try_echo=$ac_try;; |
7085 |
< |
esac |
7086 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7087 |
< |
$as_echo "$ac_try_echo") >&5 |
7088 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
7089 |
< |
ac_status=$? |
7090 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
7091 |
< |
rm -f conftest.er1 |
7092 |
< |
cat conftest.err >&5 |
7093 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7094 |
< |
(exit $ac_status); } >/dev/null && { |
7095 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
7096 |
< |
test ! -s conftest.err |
7097 |
< |
}; then |
7193 |
> |
if ac_fn_c_try_cpp "$LINENO"; then : |
7194 |
|
# Broken: success on invalid input. |
7195 |
|
continue |
7196 |
|
else |
7101 |
– |
$as_echo "$as_me: failed program was:" >&5 |
7102 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
7103 |
– |
|
7197 |
|
# Passes both tests. |
7198 |
|
ac_preproc_ok=: |
7199 |
|
break |
7200 |
|
fi |
7108 |
– |
|
7201 |
|
rm -f conftest.err conftest.$ac_ext |
7202 |
|
|
7203 |
|
done |
7204 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
7205 |
|
rm -f conftest.err conftest.$ac_ext |
7206 |
< |
if $ac_preproc_ok; then |
7207 |
< |
: |
7206 |
> |
if $ac_preproc_ok; then : |
7207 |
> |
|
7208 |
|
else |
7209 |
< |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
7209 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
7210 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
7211 |
< |
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
7212 |
< |
See \`config.log' for more details." >&5 |
7121 |
< |
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
7122 |
< |
See \`config.log' for more details." >&2;} |
7123 |
< |
{ (exit 1); exit 1; }; }; } |
7211 |
> |
as_fn_error "C preprocessor \"$CPP\" fails sanity check |
7212 |
> |
See \`config.log' for more details." "$LINENO" 5; } |
7213 |
|
fi |
7214 |
|
|
7215 |
|
ac_ext=c |
7219 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7220 |
|
|
7221 |
|
|
7222 |
< |
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
7222 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
7223 |
|
$as_echo_n "checking for ANSI C header files... " >&6; } |
7224 |
< |
if test "${ac_cv_header_stdc+set}" = set; then |
7224 |
> |
if test "${ac_cv_header_stdc+set}" = set; then : |
7225 |
|
$as_echo_n "(cached) " >&6 |
7226 |
|
else |
7227 |
< |
cat >conftest.$ac_ext <<_ACEOF |
7139 |
< |
/* confdefs.h. */ |
7140 |
< |
_ACEOF |
7141 |
< |
cat confdefs.h >>conftest.$ac_ext |
7142 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
7227 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7228 |
|
/* end confdefs.h. */ |
7229 |
|
#include <stdlib.h> |
7230 |
|
#include <stdarg.h> |
7239 |
|
return 0; |
7240 |
|
} |
7241 |
|
_ACEOF |
7242 |
< |
rm -f conftest.$ac_objext |
7158 |
< |
if { (ac_try="$ac_compile" |
7159 |
< |
case "(($ac_try" in |
7160 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7161 |
< |
*) ac_try_echo=$ac_try;; |
7162 |
< |
esac |
7163 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7164 |
< |
$as_echo "$ac_try_echo") >&5 |
7165 |
< |
(eval "$ac_compile") 2>conftest.er1 |
7166 |
< |
ac_status=$? |
7167 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
7168 |
< |
rm -f conftest.er1 |
7169 |
< |
cat conftest.err >&5 |
7170 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7171 |
< |
(exit $ac_status); } && { |
7172 |
< |
test -z "$ac_c_werror_flag" || |
7173 |
< |
test ! -s conftest.err |
7174 |
< |
} && test -s conftest.$ac_objext; then |
7242 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
7243 |
|
ac_cv_header_stdc=yes |
7244 |
|
else |
7245 |
< |
$as_echo "$as_me: failed program was:" >&5 |
7178 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
7179 |
< |
|
7180 |
< |
ac_cv_header_stdc=no |
7245 |
> |
ac_cv_header_stdc=no |
7246 |
|
fi |
7182 |
– |
|
7247 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7248 |
|
|
7249 |
|
if test $ac_cv_header_stdc = yes; then |
7250 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
7251 |
< |
cat >conftest.$ac_ext <<_ACEOF |
7188 |
< |
/* confdefs.h. */ |
7189 |
< |
_ACEOF |
7190 |
< |
cat confdefs.h >>conftest.$ac_ext |
7191 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
7251 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7252 |
|
/* end confdefs.h. */ |
7253 |
|
#include <string.h> |
7254 |
|
|
7255 |
|
_ACEOF |
7256 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7257 |
< |
$EGREP "memchr" >/dev/null 2>&1; then |
7258 |
< |
: |
7257 |
> |
$EGREP "memchr" >/dev/null 2>&1; then : |
7258 |
> |
|
7259 |
|
else |
7260 |
|
ac_cv_header_stdc=no |
7261 |
|
fi |
7265 |
|
|
7266 |
|
if test $ac_cv_header_stdc = yes; then |
7267 |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
7268 |
< |
cat >conftest.$ac_ext <<_ACEOF |
7209 |
< |
/* confdefs.h. */ |
7210 |
< |
_ACEOF |
7211 |
< |
cat confdefs.h >>conftest.$ac_ext |
7212 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
7268 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7269 |
|
/* end confdefs.h. */ |
7270 |
|
#include <stdlib.h> |
7271 |
|
|
7272 |
|
_ACEOF |
7273 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7274 |
< |
$EGREP "free" >/dev/null 2>&1; then |
7275 |
< |
: |
7274 |
> |
$EGREP "free" >/dev/null 2>&1; then : |
7275 |
> |
|
7276 |
|
else |
7277 |
|
ac_cv_header_stdc=no |
7278 |
|
fi |
7282 |
|
|
7283 |
|
if test $ac_cv_header_stdc = yes; then |
7284 |
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
7285 |
< |
if test "$cross_compiling" = yes; then |
7285 |
> |
if test "$cross_compiling" = yes; then : |
7286 |
|
: |
7287 |
|
else |
7288 |
< |
cat >conftest.$ac_ext <<_ACEOF |
7233 |
< |
/* confdefs.h. */ |
7234 |
< |
_ACEOF |
7235 |
< |
cat confdefs.h >>conftest.$ac_ext |
7236 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
7288 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7289 |
|
/* end confdefs.h. */ |
7290 |
|
#include <ctype.h> |
7291 |
|
#include <stdlib.h> |
7312 |
|
return 0; |
7313 |
|
} |
7314 |
|
_ACEOF |
7315 |
< |
rm -f conftest$ac_exeext |
7264 |
< |
if { (ac_try="$ac_link" |
7265 |
< |
case "(($ac_try" in |
7266 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7267 |
< |
*) ac_try_echo=$ac_try;; |
7268 |
< |
esac |
7269 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7270 |
< |
$as_echo "$ac_try_echo") >&5 |
7271 |
< |
(eval "$ac_link") 2>&5 |
7272 |
< |
ac_status=$? |
7273 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7274 |
< |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
7275 |
< |
{ (case "(($ac_try" in |
7276 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7277 |
< |
*) ac_try_echo=$ac_try;; |
7278 |
< |
esac |
7279 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7280 |
< |
$as_echo "$ac_try_echo") >&5 |
7281 |
< |
(eval "$ac_try") 2>&5 |
7282 |
< |
ac_status=$? |
7283 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7284 |
< |
(exit $ac_status); }; }; then |
7285 |
< |
: |
7286 |
< |
else |
7287 |
< |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
7288 |
< |
$as_echo "$as_me: failed program was:" >&5 |
7289 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
7315 |
> |
if ac_fn_c_try_run "$LINENO"; then : |
7316 |
|
|
7317 |
< |
( exit $ac_status ) |
7318 |
< |
ac_cv_header_stdc=no |
7317 |
> |
else |
7318 |
> |
ac_cv_header_stdc=no |
7319 |
|
fi |
7320 |
< |
rm -rf conftest.dSYM |
7321 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7320 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
7321 |
> |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
7322 |
|
fi |
7323 |
|
|
7298 |
– |
|
7324 |
|
fi |
7325 |
|
fi |
7326 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
7326 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
7327 |
|
$as_echo "$ac_cv_header_stdc" >&6; } |
7328 |
|
if test $ac_cv_header_stdc = yes; then |
7329 |
|
|
7330 |
< |
cat >>confdefs.h <<\_ACEOF |
7306 |
< |
#define STDC_HEADERS 1 |
7307 |
< |
_ACEOF |
7330 |
> |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
7331 |
|
|
7332 |
|
fi |
7333 |
|
|
7334 |
|
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
7312 |
– |
|
7313 |
– |
|
7314 |
– |
|
7315 |
– |
|
7316 |
– |
|
7317 |
– |
|
7318 |
– |
|
7319 |
– |
|
7320 |
– |
|
7335 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
7336 |
|
inttypes.h stdint.h unistd.h |
7337 |
< |
do |
7338 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7339 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7340 |
< |
$as_echo_n "checking for $ac_header... " >&6; } |
7341 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7342 |
< |
$as_echo_n "(cached) " >&6 |
7329 |
< |
else |
7330 |
< |
cat >conftest.$ac_ext <<_ACEOF |
7331 |
< |
/* confdefs.h. */ |
7332 |
< |
_ACEOF |
7333 |
< |
cat confdefs.h >>conftest.$ac_ext |
7334 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
7335 |
< |
/* end confdefs.h. */ |
7336 |
< |
$ac_includes_default |
7337 |
< |
|
7338 |
< |
#include <$ac_header> |
7339 |
< |
_ACEOF |
7340 |
< |
rm -f conftest.$ac_objext |
7341 |
< |
if { (ac_try="$ac_compile" |
7342 |
< |
case "(($ac_try" in |
7343 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7344 |
< |
*) ac_try_echo=$ac_try;; |
7345 |
< |
esac |
7346 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7347 |
< |
$as_echo "$ac_try_echo") >&5 |
7348 |
< |
(eval "$ac_compile") 2>conftest.er1 |
7349 |
< |
ac_status=$? |
7350 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
7351 |
< |
rm -f conftest.er1 |
7352 |
< |
cat conftest.err >&5 |
7353 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7354 |
< |
(exit $ac_status); } && { |
7355 |
< |
test -z "$ac_c_werror_flag" || |
7356 |
< |
test ! -s conftest.err |
7357 |
< |
} && test -s conftest.$ac_objext; then |
7358 |
< |
eval "$as_ac_Header=yes" |
7359 |
< |
else |
7360 |
< |
$as_echo "$as_me: failed program was:" >&5 |
7361 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
7362 |
< |
|
7363 |
< |
eval "$as_ac_Header=no" |
7364 |
< |
fi |
7365 |
< |
|
7366 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7367 |
< |
fi |
7368 |
< |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
7369 |
< |
$as_echo "$as_val"'` |
7370 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
7371 |
< |
$as_echo "$ac_res" >&6; } |
7372 |
< |
as_val=`eval 'as_val=${'$as_ac_Header'} |
7373 |
< |
$as_echo "$as_val"'` |
7374 |
< |
if test "x$as_val" = x""yes; then |
7337 |
> |
do : |
7338 |
> |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7339 |
> |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
7340 |
> |
" |
7341 |
> |
eval as_val=\$$as_ac_Header |
7342 |
> |
if test "x$as_val" = x""yes; then : |
7343 |
|
cat >>confdefs.h <<_ACEOF |
7344 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7345 |
|
_ACEOF |
7349 |
|
done |
7350 |
|
|
7351 |
|
|
7384 |
– |
|
7352 |
|
for ac_header in dlfcn.h |
7353 |
< |
do |
7354 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7355 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7356 |
< |
$as_echo_n "checking for $ac_header... " >&6; } |
7390 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7391 |
< |
$as_echo_n "(cached) " >&6 |
7392 |
< |
else |
7393 |
< |
cat >conftest.$ac_ext <<_ACEOF |
7394 |
< |
/* confdefs.h. */ |
7395 |
< |
_ACEOF |
7396 |
< |
cat confdefs.h >>conftest.$ac_ext |
7397 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
7398 |
< |
/* end confdefs.h. */ |
7399 |
< |
$ac_includes_default |
7400 |
< |
|
7401 |
< |
#include <$ac_header> |
7402 |
< |
_ACEOF |
7403 |
< |
rm -f conftest.$ac_objext |
7404 |
< |
if { (ac_try="$ac_compile" |
7405 |
< |
case "(($ac_try" in |
7406 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7407 |
< |
*) ac_try_echo=$ac_try;; |
7408 |
< |
esac |
7409 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7410 |
< |
$as_echo "$ac_try_echo") >&5 |
7411 |
< |
(eval "$ac_compile") 2>conftest.er1 |
7412 |
< |
ac_status=$? |
7413 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
7414 |
< |
rm -f conftest.er1 |
7415 |
< |
cat conftest.err >&5 |
7416 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7417 |
< |
(exit $ac_status); } && { |
7418 |
< |
test -z "$ac_c_werror_flag" || |
7419 |
< |
test ! -s conftest.err |
7420 |
< |
} && test -s conftest.$ac_objext; then |
7421 |
< |
eval "$as_ac_Header=yes" |
7422 |
< |
else |
7423 |
< |
$as_echo "$as_me: failed program was:" >&5 |
7424 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
7425 |
< |
|
7426 |
< |
eval "$as_ac_Header=no" |
7427 |
< |
fi |
7428 |
< |
|
7429 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7430 |
< |
fi |
7431 |
< |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
7432 |
< |
$as_echo "$as_val"'` |
7433 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
7434 |
< |
$as_echo "$ac_res" >&6; } |
7435 |
< |
as_val=`eval 'as_val=${'$as_ac_Header'} |
7436 |
< |
$as_echo "$as_val"'` |
7437 |
< |
if test "x$as_val" = x""yes; then |
7353 |
> |
do : |
7354 |
> |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
7355 |
> |
" |
7356 |
> |
if test "x$ac_cv_header_dlfcn_h" = x""yes; then : |
7357 |
|
cat >>confdefs.h <<_ACEOF |
7358 |
< |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7358 |
> |
#define HAVE_DLFCN_H 1 |
7359 |
|
_ACEOF |
7360 |
|
|
7361 |
|
fi |
7374 |
|
|
7375 |
|
|
7376 |
|
# Check whether --enable-shared was given. |
7377 |
< |
if test "${enable_shared+set}" = set; then |
7377 |
> |
if test "${enable_shared+set}" = set; then : |
7378 |
|
enableval=$enable_shared; p=${PACKAGE-default} |
7379 |
|
case $enableval in |
7380 |
|
yes) enable_shared=yes ;; |
7405 |
|
|
7406 |
|
|
7407 |
|
# Check whether --enable-static was given. |
7408 |
< |
if test "${enable_static+set}" = set; then |
7408 |
> |
if test "${enable_static+set}" = set; then : |
7409 |
|
enableval=$enable_static; p=${PACKAGE-default} |
7410 |
|
case $enableval in |
7411 |
|
yes) enable_static=yes ;; |
7437 |
|
|
7438 |
|
|
7439 |
|
# Check whether --with-pic was given. |
7440 |
< |
if test "${with_pic+set}" = set; then |
7440 |
> |
if test "${with_pic+set}" = set; then : |
7441 |
|
withval=$with_pic; pic_mode="$withval" |
7442 |
|
else |
7443 |
|
pic_mode=default |
7453 |
|
|
7454 |
|
|
7455 |
|
# Check whether --enable-fast-install was given. |
7456 |
< |
if test "${enable_fast_install+set}" = set; then |
7456 |
> |
if test "${enable_fast_install+set}" = set; then : |
7457 |
|
enableval=$enable_fast_install; p=${PACKAGE-default} |
7458 |
|
case $enableval in |
7459 |
|
yes) enable_fast_install=yes ;; |
7534 |
|
setopt NO_GLOB_SUBST |
7535 |
|
fi |
7536 |
|
|
7537 |
< |
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 |
7537 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
7538 |
|
$as_echo_n "checking for objdir... " >&6; } |
7539 |
< |
if test "${lt_cv_objdir+set}" = set; then |
7539 |
> |
if test "${lt_cv_objdir+set}" = set; then : |
7540 |
|
$as_echo_n "(cached) " >&6 |
7541 |
|
else |
7542 |
|
rm -f .libs 2>/dev/null |
7549 |
|
fi |
7550 |
|
rmdir .libs 2>/dev/null |
7551 |
|
fi |
7552 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 |
7552 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
7553 |
|
$as_echo "$lt_cv_objdir" >&6; } |
7554 |
|
objdir=$lt_cv_objdir |
7555 |
|
|
7642 |
|
case $deplibs_check_method in |
7643 |
|
file_magic*) |
7644 |
|
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
7645 |
< |
{ $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 |
7645 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
7646 |
|
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
7647 |
< |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
7647 |
> |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : |
7648 |
|
$as_echo_n "(cached) " >&6 |
7649 |
|
else |
7650 |
|
case $MAGIC_CMD in |
7695 |
|
|
7696 |
|
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
7697 |
|
if test -n "$MAGIC_CMD"; then |
7698 |
< |
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
7698 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
7699 |
|
$as_echo "$MAGIC_CMD" >&6; } |
7700 |
|
else |
7701 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
7701 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7702 |
|
$as_echo "no" >&6; } |
7703 |
|
fi |
7704 |
|
|
7708 |
|
|
7709 |
|
if test -z "$lt_cv_path_MAGIC_CMD"; then |
7710 |
|
if test -n "$ac_tool_prefix"; then |
7711 |
< |
{ $as_echo "$as_me:$LINENO: checking for file" >&5 |
7711 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
7712 |
|
$as_echo_n "checking for file... " >&6; } |
7713 |
< |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
7713 |
> |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : |
7714 |
|
$as_echo_n "(cached) " >&6 |
7715 |
|
else |
7716 |
|
case $MAGIC_CMD in |
7761 |
|
|
7762 |
|
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
7763 |
|
if test -n "$MAGIC_CMD"; then |
7764 |
< |
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
7764 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
7765 |
|
$as_echo "$MAGIC_CMD" >&6; } |
7766 |
|
else |
7767 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
7767 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7768 |
|
$as_echo "no" >&6; } |
7769 |
|
fi |
7770 |
|
|
7841 |
|
if test "$GCC" = yes; then |
7842 |
|
lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
7843 |
|
|
7844 |
< |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
7844 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
7845 |
|
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
7846 |
< |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
7846 |
> |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : |
7847 |
|
$as_echo_n "(cached) " >&6 |
7848 |
|
else |
7849 |
|
lt_cv_prog_compiler_rtti_exceptions=no |
7859 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7860 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7861 |
|
-e 's:$: $lt_compiler_flag:'` |
7862 |
< |
(eval echo "\"\$as_me:7943: $lt_compile\"" >&5) |
7862 |
> |
(eval echo "\"\$as_me:7862: $lt_compile\"" >&5) |
7863 |
|
(eval "$lt_compile" 2>conftest.err) |
7864 |
|
ac_status=$? |
7865 |
|
cat conftest.err >&5 |
7866 |
< |
echo "$as_me:7947: \$? = $ac_status" >&5 |
7866 |
> |
echo "$as_me:7866: \$? = $ac_status" >&5 |
7867 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
7868 |
|
# The compiler can only warn and ignore the option if not recognized |
7869 |
|
# So say no if there are warnings other than the usual output. |
7876 |
|
$RM conftest* |
7877 |
|
|
7878 |
|
fi |
7879 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
7879 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
7880 |
|
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
7881 |
|
|
7882 |
|
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
7896 |
|
lt_prog_compiler_pic= |
7897 |
|
lt_prog_compiler_static= |
7898 |
|
|
7899 |
< |
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
7899 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
7900 |
|
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
7901 |
|
|
7902 |
|
if test "$GCC" = yes; then |
8168 |
|
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
8169 |
|
;; |
8170 |
|
esac |
8171 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 |
8171 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 |
8172 |
|
$as_echo "$lt_prog_compiler_pic" >&6; } |
8173 |
|
|
8174 |
|
|
8180 |
|
# Check to make sure the PIC flag actually works. |
8181 |
|
# |
8182 |
|
if test -n "$lt_prog_compiler_pic"; then |
8183 |
< |
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
8183 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
8184 |
|
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
8185 |
< |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then |
8185 |
> |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : |
8186 |
|
$as_echo_n "(cached) " >&6 |
8187 |
|
else |
8188 |
|
lt_cv_prog_compiler_pic_works=no |
8198 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8199 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8200 |
|
-e 's:$: $lt_compiler_flag:'` |
8201 |
< |
(eval echo "\"\$as_me:8282: $lt_compile\"" >&5) |
8201 |
> |
(eval echo "\"\$as_me:8201: $lt_compile\"" >&5) |
8202 |
|
(eval "$lt_compile" 2>conftest.err) |
8203 |
|
ac_status=$? |
8204 |
|
cat conftest.err >&5 |
8205 |
< |
echo "$as_me:8286: \$? = $ac_status" >&5 |
8205 |
> |
echo "$as_me:8205: \$? = $ac_status" >&5 |
8206 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
8207 |
|
# The compiler can only warn and ignore the option if not recognized |
8208 |
|
# So say no if there are warnings other than the usual output. |
8215 |
|
$RM conftest* |
8216 |
|
|
8217 |
|
fi |
8218 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 |
8218 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
8219 |
|
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
8220 |
|
|
8221 |
|
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then |
8239 |
|
# Check to make sure the static flag actually works. |
8240 |
|
# |
8241 |
|
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
8242 |
< |
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
8242 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
8243 |
|
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
8244 |
< |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then |
8244 |
> |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then : |
8245 |
|
$as_echo_n "(cached) " >&6 |
8246 |
|
else |
8247 |
|
lt_cv_prog_compiler_static_works=no |
8267 |
|
LDFLAGS="$save_LDFLAGS" |
8268 |
|
|
8269 |
|
fi |
8270 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 |
8270 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
8271 |
|
$as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
8272 |
|
|
8273 |
|
if test x"$lt_cv_prog_compiler_static_works" = xyes; then |
8282 |
|
|
8283 |
|
|
8284 |
|
|
8285 |
< |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
8285 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
8286 |
|
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
8287 |
< |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
8287 |
> |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : |
8288 |
|
$as_echo_n "(cached) " >&6 |
8289 |
|
else |
8290 |
|
lt_cv_prog_compiler_c_o=no |
8303 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8304 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8305 |
|
-e 's:$: $lt_compiler_flag:'` |
8306 |
< |
(eval echo "\"\$as_me:8387: $lt_compile\"" >&5) |
8306 |
> |
(eval echo "\"\$as_me:8306: $lt_compile\"" >&5) |
8307 |
|
(eval "$lt_compile" 2>out/conftest.err) |
8308 |
|
ac_status=$? |
8309 |
|
cat out/conftest.err >&5 |
8310 |
< |
echo "$as_me:8391: \$? = $ac_status" >&5 |
8310 |
> |
echo "$as_me:8310: \$? = $ac_status" >&5 |
8311 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8312 |
|
then |
8313 |
|
# The compiler can only warn and ignore the option if not recognized |
8329 |
|
$RM conftest* |
8330 |
|
|
8331 |
|
fi |
8332 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
8332 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
8333 |
|
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
8334 |
|
|
8335 |
|
|
8337 |
|
|
8338 |
|
|
8339 |
|
|
8340 |
< |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
8340 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
8341 |
|
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
8342 |
< |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
8342 |
> |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : |
8343 |
|
$as_echo_n "(cached) " >&6 |
8344 |
|
else |
8345 |
|
lt_cv_prog_compiler_c_o=no |
8358 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8359 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8360 |
|
-e 's:$: $lt_compiler_flag:'` |
8361 |
< |
(eval echo "\"\$as_me:8442: $lt_compile\"" >&5) |
8361 |
> |
(eval echo "\"\$as_me:8361: $lt_compile\"" >&5) |
8362 |
|
(eval "$lt_compile" 2>out/conftest.err) |
8363 |
|
ac_status=$? |
8364 |
|
cat out/conftest.err >&5 |
8365 |
< |
echo "$as_me:8446: \$? = $ac_status" >&5 |
8365 |
> |
echo "$as_me:8365: \$? = $ac_status" >&5 |
8366 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8367 |
|
then |
8368 |
|
# The compiler can only warn and ignore the option if not recognized |
8384 |
|
$RM conftest* |
8385 |
|
|
8386 |
|
fi |
8387 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
8387 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
8388 |
|
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
8389 |
|
|
8390 |
|
|
8393 |
|
hard_links="nottested" |
8394 |
|
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
8395 |
|
# do not overwrite the value of need_locks provided by the user |
8396 |
< |
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
8396 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
8397 |
|
$as_echo_n "checking if we can lock with hard links... " >&6; } |
8398 |
|
hard_links=yes |
8399 |
|
$RM conftest* |
8401 |
|
touch conftest.a |
8402 |
|
ln conftest.a conftest.b 2>&5 || hard_links=no |
8403 |
|
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
8404 |
< |
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5 |
8404 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
8405 |
|
$as_echo "$hard_links" >&6; } |
8406 |
|
if test "$hard_links" = no; then |
8407 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
8407 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
8408 |
|
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
8409 |
|
need_locks=warn |
8410 |
|
fi |
8417 |
|
|
8418 |
|
|
8419 |
|
|
8420 |
< |
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
8420 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
8421 |
|
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
8422 |
|
|
8423 |
|
runpath_var= |
8860 |
|
allow_undefined_flag='-berok' |
8861 |
|
# Determine the default libpath from the value encoded in an |
8862 |
|
# empty executable. |
8863 |
< |
cat >conftest.$ac_ext <<_ACEOF |
8945 |
< |
/* confdefs.h. */ |
8946 |
< |
_ACEOF |
8947 |
< |
cat confdefs.h >>conftest.$ac_ext |
8948 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
8863 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8864 |
|
/* end confdefs.h. */ |
8865 |
|
|
8866 |
|
int |
8871 |
|
return 0; |
8872 |
|
} |
8873 |
|
_ACEOF |
8874 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
8960 |
< |
if { (ac_try="$ac_link" |
8961 |
< |
case "(($ac_try" in |
8962 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8963 |
< |
*) ac_try_echo=$ac_try;; |
8964 |
< |
esac |
8965 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8966 |
< |
$as_echo "$ac_try_echo") >&5 |
8967 |
< |
(eval "$ac_link") 2>conftest.er1 |
8968 |
< |
ac_status=$? |
8969 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
8970 |
< |
rm -f conftest.er1 |
8971 |
< |
cat conftest.err >&5 |
8972 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8973 |
< |
(exit $ac_status); } && { |
8974 |
< |
test -z "$ac_c_werror_flag" || |
8975 |
< |
test ! -s conftest.err |
8976 |
< |
} && test -s conftest$ac_exeext && { |
8977 |
< |
test "$cross_compiling" = yes || |
8978 |
< |
$as_test_x conftest$ac_exeext |
8979 |
< |
}; then |
8874 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
8875 |
|
|
8876 |
|
lt_aix_libpath_sed=' |
8877 |
|
/Import File Strings/,/^$/ { |
8885 |
|
if test -z "$aix_libpath"; then |
8886 |
|
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
8887 |
|
fi |
8993 |
– |
else |
8994 |
– |
$as_echo "$as_me: failed program was:" >&5 |
8995 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
8996 |
– |
|
8997 |
– |
|
8888 |
|
fi |
8889 |
< |
|
8890 |
< |
rm -rf conftest.dSYM |
9001 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9002 |
< |
conftest$ac_exeext conftest.$ac_ext |
8889 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
8890 |
> |
conftest$ac_exeext conftest.$ac_ext |
8891 |
|
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
8892 |
|
|
8893 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
8900 |
|
else |
8901 |
|
# Determine the default libpath from the value encoded in an |
8902 |
|
# empty executable. |
8903 |
< |
cat >conftest.$ac_ext <<_ACEOF |
9016 |
< |
/* confdefs.h. */ |
9017 |
< |
_ACEOF |
9018 |
< |
cat confdefs.h >>conftest.$ac_ext |
9019 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
8903 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8904 |
|
/* end confdefs.h. */ |
8905 |
|
|
8906 |
|
int |
8911 |
|
return 0; |
8912 |
|
} |
8913 |
|
_ACEOF |
8914 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
9031 |
< |
if { (ac_try="$ac_link" |
9032 |
< |
case "(($ac_try" in |
9033 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9034 |
< |
*) ac_try_echo=$ac_try;; |
9035 |
< |
esac |
9036 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9037 |
< |
$as_echo "$ac_try_echo") >&5 |
9038 |
< |
(eval "$ac_link") 2>conftest.er1 |
9039 |
< |
ac_status=$? |
9040 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
9041 |
< |
rm -f conftest.er1 |
9042 |
< |
cat conftest.err >&5 |
9043 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9044 |
< |
(exit $ac_status); } && { |
9045 |
< |
test -z "$ac_c_werror_flag" || |
9046 |
< |
test ! -s conftest.err |
9047 |
< |
} && test -s conftest$ac_exeext && { |
9048 |
< |
test "$cross_compiling" = yes || |
9049 |
< |
$as_test_x conftest$ac_exeext |
9050 |
< |
}; then |
8914 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
8915 |
|
|
8916 |
|
lt_aix_libpath_sed=' |
8917 |
|
/Import File Strings/,/^$/ { |
8925 |
|
if test -z "$aix_libpath"; then |
8926 |
|
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
8927 |
|
fi |
9064 |
– |
else |
9065 |
– |
$as_echo "$as_me: failed program was:" >&5 |
9066 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
9067 |
– |
|
9068 |
– |
|
8928 |
|
fi |
8929 |
< |
|
8930 |
< |
rm -rf conftest.dSYM |
9072 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9073 |
< |
conftest$ac_exeext conftest.$ac_ext |
8929 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
8930 |
> |
conftest$ac_exeext conftest.$ac_ext |
8931 |
|
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
8932 |
|
|
8933 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
9139 |
|
# implicitly export all symbols. |
9140 |
|
save_LDFLAGS="$LDFLAGS" |
9141 |
|
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
9142 |
< |
cat >conftest.$ac_ext <<_ACEOF |
9142 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9143 |
> |
/* end confdefs.h. */ |
9144 |
|
int foo(void) {} |
9145 |
|
_ACEOF |
9146 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
9289 |
< |
if { (ac_try="$ac_link" |
9290 |
< |
case "(($ac_try" in |
9291 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9292 |
< |
*) ac_try_echo=$ac_try;; |
9293 |
< |
esac |
9294 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9295 |
< |
$as_echo "$ac_try_echo") >&5 |
9296 |
< |
(eval "$ac_link") 2>conftest.er1 |
9297 |
< |
ac_status=$? |
9298 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
9299 |
< |
rm -f conftest.er1 |
9300 |
< |
cat conftest.err >&5 |
9301 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9302 |
< |
(exit $ac_status); } && { |
9303 |
< |
test -z "$ac_c_werror_flag" || |
9304 |
< |
test ! -s conftest.err |
9305 |
< |
} && test -s conftest$ac_exeext && { |
9306 |
< |
test "$cross_compiling" = yes || |
9307 |
< |
$as_test_x conftest$ac_exeext |
9308 |
< |
}; then |
9146 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
9147 |
|
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' |
9148 |
|
|
9311 |
– |
else |
9312 |
– |
$as_echo "$as_me: failed program was:" >&5 |
9313 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
9314 |
– |
|
9315 |
– |
|
9149 |
|
fi |
9150 |
< |
|
9151 |
< |
rm -rf conftest.dSYM |
9319 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9320 |
< |
conftest$ac_exeext conftest.$ac_ext |
9150 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
9151 |
> |
conftest$ac_exeext conftest.$ac_ext |
9152 |
|
LDFLAGS="$save_LDFLAGS" |
9153 |
|
else |
9154 |
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
9404 |
|
fi |
9405 |
|
fi |
9406 |
|
|
9407 |
< |
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 |
9407 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
9408 |
|
$as_echo "$ld_shlibs" >&6; } |
9409 |
|
test "$ld_shlibs" = no && can_build_shared=no |
9410 |
|
|
9441 |
|
# Test whether the compiler implicitly links with -lc since on some |
9442 |
|
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
9443 |
|
# to ld, don't add -lc before -lgcc. |
9444 |
< |
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
9444 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
9445 |
|
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
9446 |
|
$RM conftest* |
9447 |
|
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
9448 |
|
|
9449 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9449 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
9450 |
|
(eval $ac_compile) 2>&5 |
9451 |
|
ac_status=$? |
9452 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9453 |
< |
(exit $ac_status); } 2>conftest.err; then |
9452 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
9453 |
> |
test $ac_status = 0; } 2>conftest.err; then |
9454 |
|
soname=conftest |
9455 |
|
lib=conftest |
9456 |
|
libobjs=conftest.$ac_objext |
9464 |
|
libname=conftest |
9465 |
|
lt_save_allow_undefined_flag=$allow_undefined_flag |
9466 |
|
allow_undefined_flag= |
9467 |
< |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
9467 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
9468 |
|
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
9469 |
|
ac_status=$? |
9470 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9471 |
< |
(exit $ac_status); } |
9470 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
9471 |
> |
test $ac_status = 0; } |
9472 |
|
then |
9473 |
|
archive_cmds_need_lc=no |
9474 |
|
else |
9479 |
|
cat conftest.err 1>&5 |
9480 |
|
fi |
9481 |
|
$RM conftest* |
9482 |
< |
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 |
9482 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 |
9483 |
|
$as_echo "$archive_cmds_need_lc" >&6; } |
9484 |
|
;; |
9485 |
|
esac |
9643 |
|
|
9644 |
|
|
9645 |
|
|
9646 |
< |
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
9646 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
9647 |
|
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
9648 |
|
|
9649 |
|
if test "$GCC" = yes; then |
10065 |
|
save_libdir=$libdir |
10066 |
|
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
10067 |
|
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
10068 |
< |
cat >conftest.$ac_ext <<_ACEOF |
10238 |
< |
/* confdefs.h. */ |
10239 |
< |
_ACEOF |
10240 |
< |
cat confdefs.h >>conftest.$ac_ext |
10241 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
10068 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10069 |
|
/* end confdefs.h. */ |
10070 |
|
|
10071 |
|
int |
10076 |
|
return 0; |
10077 |
|
} |
10078 |
|
_ACEOF |
10079 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
10080 |
< |
if { (ac_try="$ac_link" |
10254 |
< |
case "(($ac_try" in |
10255 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10256 |
< |
*) ac_try_echo=$ac_try;; |
10257 |
< |
esac |
10258 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10259 |
< |
$as_echo "$ac_try_echo") >&5 |
10260 |
< |
(eval "$ac_link") 2>conftest.er1 |
10261 |
< |
ac_status=$? |
10262 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
10263 |
< |
rm -f conftest.er1 |
10264 |
< |
cat conftest.err >&5 |
10265 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10266 |
< |
(exit $ac_status); } && { |
10267 |
< |
test -z "$ac_c_werror_flag" || |
10268 |
< |
test ! -s conftest.err |
10269 |
< |
} && test -s conftest$ac_exeext && { |
10270 |
< |
test "$cross_compiling" = yes || |
10271 |
< |
$as_test_x conftest$ac_exeext |
10272 |
< |
}; then |
10273 |
< |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then |
10079 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
10080 |
> |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
10081 |
|
shlibpath_overrides_runpath=yes |
10082 |
|
fi |
10276 |
– |
|
10277 |
– |
else |
10278 |
– |
$as_echo "$as_me: failed program was:" >&5 |
10279 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
10280 |
– |
|
10281 |
– |
|
10083 |
|
fi |
10084 |
< |
|
10085 |
< |
rm -rf conftest.dSYM |
10285 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10286 |
< |
conftest$ac_exeext conftest.$ac_ext |
10084 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
10085 |
> |
conftest$ac_exeext conftest.$ac_ext |
10086 |
|
LDFLAGS=$save_LDFLAGS |
10087 |
|
libdir=$save_libdir |
10088 |
|
|
10095 |
|
libsuff= |
10096 |
|
case "$host_cpu" in |
10097 |
|
x86_64*|s390x*|powerpc64*) |
10098 |
< |
echo '#line 10299 "configure"' > conftest.$ac_ext |
10099 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10098 |
> |
echo '#line 10098 "configure"' > conftest.$ac_ext |
10099 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
10100 |
|
(eval $ac_compile) 2>&5 |
10101 |
|
ac_status=$? |
10102 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10103 |
< |
(exit $ac_status); }; then |
10102 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10103 |
> |
test $ac_status = 0; }; then |
10104 |
|
case `/usr/bin/file conftest.$ac_objext` in |
10105 |
|
*64-bit*) |
10106 |
|
libsuff=64 |
10316 |
|
dynamic_linker=no |
10317 |
|
;; |
10318 |
|
esac |
10319 |
< |
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
10319 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
10320 |
|
$as_echo "$dynamic_linker" >&6; } |
10321 |
|
test "$dynamic_linker" = no && can_build_shared=no |
10322 |
|
|
10418 |
|
|
10419 |
|
|
10420 |
|
|
10421 |
< |
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
10421 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
10422 |
|
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
10423 |
|
hardcode_action= |
10424 |
|
if test -n "$hardcode_libdir_flag_spec" || |
10443 |
|
# directories. |
10444 |
|
hardcode_action=unsupported |
10445 |
|
fi |
10446 |
< |
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
10446 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
10447 |
|
$as_echo "$hardcode_action" >&6; } |
10448 |
|
|
10449 |
|
if test "$hardcode_action" = relink || |
10488 |
|
|
10489 |
|
darwin*) |
10490 |
|
# if libdl is installed we need to link against it |
10491 |
< |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
10491 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
10492 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
10493 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
10493 |
> |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
10494 |
|
$as_echo_n "(cached) " >&6 |
10495 |
|
else |
10496 |
|
ac_check_lib_save_LIBS=$LIBS |
10497 |
|
LIBS="-ldl $LIBS" |
10498 |
< |
cat >conftest.$ac_ext <<_ACEOF |
10700 |
< |
/* confdefs.h. */ |
10701 |
< |
_ACEOF |
10702 |
< |
cat confdefs.h >>conftest.$ac_ext |
10703 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
10498 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10499 |
|
/* end confdefs.h. */ |
10500 |
|
|
10501 |
|
/* Override any GCC internal prototype to avoid an error. |
10513 |
|
return 0; |
10514 |
|
} |
10515 |
|
_ACEOF |
10516 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
10722 |
< |
if { (ac_try="$ac_link" |
10723 |
< |
case "(($ac_try" in |
10724 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10725 |
< |
*) ac_try_echo=$ac_try;; |
10726 |
< |
esac |
10727 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10728 |
< |
$as_echo "$ac_try_echo") >&5 |
10729 |
< |
(eval "$ac_link") 2>conftest.er1 |
10730 |
< |
ac_status=$? |
10731 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
10732 |
< |
rm -f conftest.er1 |
10733 |
< |
cat conftest.err >&5 |
10734 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10735 |
< |
(exit $ac_status); } && { |
10736 |
< |
test -z "$ac_c_werror_flag" || |
10737 |
< |
test ! -s conftest.err |
10738 |
< |
} && test -s conftest$ac_exeext && { |
10739 |
< |
test "$cross_compiling" = yes || |
10740 |
< |
$as_test_x conftest$ac_exeext |
10741 |
< |
}; then |
10516 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
10517 |
|
ac_cv_lib_dl_dlopen=yes |
10518 |
|
else |
10519 |
< |
$as_echo "$as_me: failed program was:" >&5 |
10745 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
10746 |
< |
|
10747 |
< |
ac_cv_lib_dl_dlopen=no |
10519 |
> |
ac_cv_lib_dl_dlopen=no |
10520 |
|
fi |
10521 |
< |
|
10522 |
< |
rm -rf conftest.dSYM |
10751 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10752 |
< |
conftest$ac_exeext conftest.$ac_ext |
10521 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
10522 |
> |
conftest$ac_exeext conftest.$ac_ext |
10523 |
|
LIBS=$ac_check_lib_save_LIBS |
10524 |
|
fi |
10525 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
10525 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
10526 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
10527 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then |
10527 |
> |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
10528 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
10529 |
|
else |
10530 |
|
|
10537 |
|
;; |
10538 |
|
|
10539 |
|
*) |
10540 |
< |
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5 |
10541 |
< |
$as_echo_n "checking for shl_load... " >&6; } |
10772 |
< |
if test "${ac_cv_func_shl_load+set}" = set; then |
10773 |
< |
$as_echo_n "(cached) " >&6 |
10774 |
< |
else |
10775 |
< |
cat >conftest.$ac_ext <<_ACEOF |
10776 |
< |
/* confdefs.h. */ |
10777 |
< |
_ACEOF |
10778 |
< |
cat confdefs.h >>conftest.$ac_ext |
10779 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
10780 |
< |
/* end confdefs.h. */ |
10781 |
< |
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
10782 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
10783 |
< |
#define shl_load innocuous_shl_load |
10784 |
< |
|
10785 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
10786 |
< |
which can conflict with char shl_load (); below. |
10787 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
10788 |
< |
<limits.h> exists even on freestanding compilers. */ |
10789 |
< |
|
10790 |
< |
#ifdef __STDC__ |
10791 |
< |
# include <limits.h> |
10792 |
< |
#else |
10793 |
< |
# include <assert.h> |
10794 |
< |
#endif |
10795 |
< |
|
10796 |
< |
#undef shl_load |
10797 |
< |
|
10798 |
< |
/* Override any GCC internal prototype to avoid an error. |
10799 |
< |
Use char because int might match the return type of a GCC |
10800 |
< |
builtin and then its argument prototype would still apply. */ |
10801 |
< |
#ifdef __cplusplus |
10802 |
< |
extern "C" |
10803 |
< |
#endif |
10804 |
< |
char shl_load (); |
10805 |
< |
/* The GNU C library defines this for functions which it implements |
10806 |
< |
to always fail with ENOSYS. Some functions are actually named |
10807 |
< |
something starting with __ and the normal name is an alias. */ |
10808 |
< |
#if defined __stub_shl_load || defined __stub___shl_load |
10809 |
< |
choke me |
10810 |
< |
#endif |
10811 |
< |
|
10812 |
< |
int |
10813 |
< |
main () |
10814 |
< |
{ |
10815 |
< |
return shl_load (); |
10816 |
< |
; |
10817 |
< |
return 0; |
10818 |
< |
} |
10819 |
< |
_ACEOF |
10820 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
10821 |
< |
if { (ac_try="$ac_link" |
10822 |
< |
case "(($ac_try" in |
10823 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10824 |
< |
*) ac_try_echo=$ac_try;; |
10825 |
< |
esac |
10826 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10827 |
< |
$as_echo "$ac_try_echo") >&5 |
10828 |
< |
(eval "$ac_link") 2>conftest.er1 |
10829 |
< |
ac_status=$? |
10830 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
10831 |
< |
rm -f conftest.er1 |
10832 |
< |
cat conftest.err >&5 |
10833 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10834 |
< |
(exit $ac_status); } && { |
10835 |
< |
test -z "$ac_c_werror_flag" || |
10836 |
< |
test ! -s conftest.err |
10837 |
< |
} && test -s conftest$ac_exeext && { |
10838 |
< |
test "$cross_compiling" = yes || |
10839 |
< |
$as_test_x conftest$ac_exeext |
10840 |
< |
}; then |
10841 |
< |
ac_cv_func_shl_load=yes |
10842 |
< |
else |
10843 |
< |
$as_echo "$as_me: failed program was:" >&5 |
10844 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
10845 |
< |
|
10846 |
< |
ac_cv_func_shl_load=no |
10847 |
< |
fi |
10848 |
< |
|
10849 |
< |
rm -rf conftest.dSYM |
10850 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10851 |
< |
conftest$ac_exeext conftest.$ac_ext |
10852 |
< |
fi |
10853 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
10854 |
< |
$as_echo "$ac_cv_func_shl_load" >&6; } |
10855 |
< |
if test "x$ac_cv_func_shl_load" = x""yes; then |
10540 |
> |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
10541 |
> |
if test "x$ac_cv_func_shl_load" = x""yes; then : |
10542 |
|
lt_cv_dlopen="shl_load" |
10543 |
|
else |
10544 |
< |
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
10544 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
10545 |
|
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
10546 |
< |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
10546 |
> |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : |
10547 |
|
$as_echo_n "(cached) " >&6 |
10548 |
|
else |
10549 |
|
ac_check_lib_save_LIBS=$LIBS |
10550 |
|
LIBS="-ldld $LIBS" |
10551 |
< |
cat >conftest.$ac_ext <<_ACEOF |
10866 |
< |
/* confdefs.h. */ |
10867 |
< |
_ACEOF |
10868 |
< |
cat confdefs.h >>conftest.$ac_ext |
10869 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
10551 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10552 |
|
/* end confdefs.h. */ |
10553 |
|
|
10554 |
|
/* Override any GCC internal prototype to avoid an error. |
10566 |
|
return 0; |
10567 |
|
} |
10568 |
|
_ACEOF |
10569 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
10888 |
< |
if { (ac_try="$ac_link" |
10889 |
< |
case "(($ac_try" in |
10890 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10891 |
< |
*) ac_try_echo=$ac_try;; |
10892 |
< |
esac |
10893 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10894 |
< |
$as_echo "$ac_try_echo") >&5 |
10895 |
< |
(eval "$ac_link") 2>conftest.er1 |
10896 |
< |
ac_status=$? |
10897 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
10898 |
< |
rm -f conftest.er1 |
10899 |
< |
cat conftest.err >&5 |
10900 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10901 |
< |
(exit $ac_status); } && { |
10902 |
< |
test -z "$ac_c_werror_flag" || |
10903 |
< |
test ! -s conftest.err |
10904 |
< |
} && test -s conftest$ac_exeext && { |
10905 |
< |
test "$cross_compiling" = yes || |
10906 |
< |
$as_test_x conftest$ac_exeext |
10907 |
< |
}; then |
10569 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
10570 |
|
ac_cv_lib_dld_shl_load=yes |
10571 |
|
else |
10572 |
< |
$as_echo "$as_me: failed program was:" >&5 |
10911 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
10912 |
< |
|
10913 |
< |
ac_cv_lib_dld_shl_load=no |
10572 |
> |
ac_cv_lib_dld_shl_load=no |
10573 |
|
fi |
10574 |
< |
|
10575 |
< |
rm -rf conftest.dSYM |
10917 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10918 |
< |
conftest$ac_exeext conftest.$ac_ext |
10574 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
10575 |
> |
conftest$ac_exeext conftest.$ac_ext |
10576 |
|
LIBS=$ac_check_lib_save_LIBS |
10577 |
|
fi |
10578 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
10578 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
10579 |
|
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
10580 |
< |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then |
10580 |
> |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : |
10581 |
|
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
10582 |
|
else |
10583 |
< |
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5 |
10584 |
< |
$as_echo_n "checking for dlopen... " >&6; } |
10928 |
< |
if test "${ac_cv_func_dlopen+set}" = set; then |
10929 |
< |
$as_echo_n "(cached) " >&6 |
10930 |
< |
else |
10931 |
< |
cat >conftest.$ac_ext <<_ACEOF |
10932 |
< |
/* confdefs.h. */ |
10933 |
< |
_ACEOF |
10934 |
< |
cat confdefs.h >>conftest.$ac_ext |
10935 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
10936 |
< |
/* end confdefs.h. */ |
10937 |
< |
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
10938 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
10939 |
< |
#define dlopen innocuous_dlopen |
10940 |
< |
|
10941 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
10942 |
< |
which can conflict with char dlopen (); below. |
10943 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
10944 |
< |
<limits.h> exists even on freestanding compilers. */ |
10945 |
< |
|
10946 |
< |
#ifdef __STDC__ |
10947 |
< |
# include <limits.h> |
10948 |
< |
#else |
10949 |
< |
# include <assert.h> |
10950 |
< |
#endif |
10951 |
< |
|
10952 |
< |
#undef dlopen |
10953 |
< |
|
10954 |
< |
/* Override any GCC internal prototype to avoid an error. |
10955 |
< |
Use char because int might match the return type of a GCC |
10956 |
< |
builtin and then its argument prototype would still apply. */ |
10957 |
< |
#ifdef __cplusplus |
10958 |
< |
extern "C" |
10959 |
< |
#endif |
10960 |
< |
char dlopen (); |
10961 |
< |
/* The GNU C library defines this for functions which it implements |
10962 |
< |
to always fail with ENOSYS. Some functions are actually named |
10963 |
< |
something starting with __ and the normal name is an alias. */ |
10964 |
< |
#if defined __stub_dlopen || defined __stub___dlopen |
10965 |
< |
choke me |
10966 |
< |
#endif |
10967 |
< |
|
10968 |
< |
int |
10969 |
< |
main () |
10970 |
< |
{ |
10971 |
< |
return dlopen (); |
10972 |
< |
; |
10973 |
< |
return 0; |
10974 |
< |
} |
10975 |
< |
_ACEOF |
10976 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
10977 |
< |
if { (ac_try="$ac_link" |
10978 |
< |
case "(($ac_try" in |
10979 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10980 |
< |
*) ac_try_echo=$ac_try;; |
10981 |
< |
esac |
10982 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10983 |
< |
$as_echo "$ac_try_echo") >&5 |
10984 |
< |
(eval "$ac_link") 2>conftest.er1 |
10985 |
< |
ac_status=$? |
10986 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
10987 |
< |
rm -f conftest.er1 |
10988 |
< |
cat conftest.err >&5 |
10989 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10990 |
< |
(exit $ac_status); } && { |
10991 |
< |
test -z "$ac_c_werror_flag" || |
10992 |
< |
test ! -s conftest.err |
10993 |
< |
} && test -s conftest$ac_exeext && { |
10994 |
< |
test "$cross_compiling" = yes || |
10995 |
< |
$as_test_x conftest$ac_exeext |
10996 |
< |
}; then |
10997 |
< |
ac_cv_func_dlopen=yes |
10998 |
< |
else |
10999 |
< |
$as_echo "$as_me: failed program was:" >&5 |
11000 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11001 |
< |
|
11002 |
< |
ac_cv_func_dlopen=no |
11003 |
< |
fi |
11004 |
< |
|
11005 |
< |
rm -rf conftest.dSYM |
11006 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11007 |
< |
conftest$ac_exeext conftest.$ac_ext |
11008 |
< |
fi |
11009 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
11010 |
< |
$as_echo "$ac_cv_func_dlopen" >&6; } |
11011 |
< |
if test "x$ac_cv_func_dlopen" = x""yes; then |
10583 |
> |
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
10584 |
> |
if test "x$ac_cv_func_dlopen" = x""yes; then : |
10585 |
|
lt_cv_dlopen="dlopen" |
10586 |
|
else |
10587 |
< |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
10587 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
10588 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
10589 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
10589 |
> |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
10590 |
|
$as_echo_n "(cached) " >&6 |
10591 |
|
else |
10592 |
|
ac_check_lib_save_LIBS=$LIBS |
10593 |
|
LIBS="-ldl $LIBS" |
10594 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11022 |
< |
/* confdefs.h. */ |
11023 |
< |
_ACEOF |
11024 |
< |
cat confdefs.h >>conftest.$ac_ext |
11025 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
10594 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10595 |
|
/* end confdefs.h. */ |
10596 |
|
|
10597 |
|
/* Override any GCC internal prototype to avoid an error. |
10609 |
|
return 0; |
10610 |
|
} |
10611 |
|
_ACEOF |
10612 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
11044 |
< |
if { (ac_try="$ac_link" |
11045 |
< |
case "(($ac_try" in |
11046 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11047 |
< |
*) ac_try_echo=$ac_try;; |
11048 |
< |
esac |
11049 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11050 |
< |
$as_echo "$ac_try_echo") >&5 |
11051 |
< |
(eval "$ac_link") 2>conftest.er1 |
11052 |
< |
ac_status=$? |
11053 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11054 |
< |
rm -f conftest.er1 |
11055 |
< |
cat conftest.err >&5 |
11056 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11057 |
< |
(exit $ac_status); } && { |
11058 |
< |
test -z "$ac_c_werror_flag" || |
11059 |
< |
test ! -s conftest.err |
11060 |
< |
} && test -s conftest$ac_exeext && { |
11061 |
< |
test "$cross_compiling" = yes || |
11062 |
< |
$as_test_x conftest$ac_exeext |
11063 |
< |
}; then |
10612 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
10613 |
|
ac_cv_lib_dl_dlopen=yes |
10614 |
|
else |
10615 |
< |
$as_echo "$as_me: failed program was:" >&5 |
11067 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11068 |
< |
|
11069 |
< |
ac_cv_lib_dl_dlopen=no |
10615 |
> |
ac_cv_lib_dl_dlopen=no |
10616 |
|
fi |
10617 |
< |
|
10618 |
< |
rm -rf conftest.dSYM |
11073 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11074 |
< |
conftest$ac_exeext conftest.$ac_ext |
10617 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
10618 |
> |
conftest$ac_exeext conftest.$ac_ext |
10619 |
|
LIBS=$ac_check_lib_save_LIBS |
10620 |
|
fi |
10621 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
10621 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
10622 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
10623 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then |
10623 |
> |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
10624 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
10625 |
|
else |
10626 |
< |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
10626 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
10627 |
|
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
10628 |
< |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
10628 |
> |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : |
10629 |
|
$as_echo_n "(cached) " >&6 |
10630 |
|
else |
10631 |
|
ac_check_lib_save_LIBS=$LIBS |
10632 |
|
LIBS="-lsvld $LIBS" |
10633 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11090 |
< |
/* confdefs.h. */ |
11091 |
< |
_ACEOF |
11092 |
< |
cat confdefs.h >>conftest.$ac_ext |
11093 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
10633 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10634 |
|
/* end confdefs.h. */ |
10635 |
|
|
10636 |
|
/* Override any GCC internal prototype to avoid an error. |
10648 |
|
return 0; |
10649 |
|
} |
10650 |
|
_ACEOF |
10651 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
11112 |
< |
if { (ac_try="$ac_link" |
11113 |
< |
case "(($ac_try" in |
11114 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11115 |
< |
*) ac_try_echo=$ac_try;; |
11116 |
< |
esac |
11117 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11118 |
< |
$as_echo "$ac_try_echo") >&5 |
11119 |
< |
(eval "$ac_link") 2>conftest.er1 |
11120 |
< |
ac_status=$? |
11121 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11122 |
< |
rm -f conftest.er1 |
11123 |
< |
cat conftest.err >&5 |
11124 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11125 |
< |
(exit $ac_status); } && { |
11126 |
< |
test -z "$ac_c_werror_flag" || |
11127 |
< |
test ! -s conftest.err |
11128 |
< |
} && test -s conftest$ac_exeext && { |
11129 |
< |
test "$cross_compiling" = yes || |
11130 |
< |
$as_test_x conftest$ac_exeext |
11131 |
< |
}; then |
10651 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
10652 |
|
ac_cv_lib_svld_dlopen=yes |
10653 |
|
else |
10654 |
< |
$as_echo "$as_me: failed program was:" >&5 |
11135 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11136 |
< |
|
11137 |
< |
ac_cv_lib_svld_dlopen=no |
10654 |
> |
ac_cv_lib_svld_dlopen=no |
10655 |
|
fi |
10656 |
< |
|
10657 |
< |
rm -rf conftest.dSYM |
11141 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11142 |
< |
conftest$ac_exeext conftest.$ac_ext |
10656 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
10657 |
> |
conftest$ac_exeext conftest.$ac_ext |
10658 |
|
LIBS=$ac_check_lib_save_LIBS |
10659 |
|
fi |
10660 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
10660 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
10661 |
|
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
10662 |
< |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then |
10662 |
> |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : |
10663 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
10664 |
|
else |
10665 |
< |
{ $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
10665 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
10666 |
|
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
10667 |
< |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
10667 |
> |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : |
10668 |
|
$as_echo_n "(cached) " >&6 |
10669 |
|
else |
10670 |
|
ac_check_lib_save_LIBS=$LIBS |
10671 |
|
LIBS="-ldld $LIBS" |
10672 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11158 |
< |
/* confdefs.h. */ |
11159 |
< |
_ACEOF |
11160 |
< |
cat confdefs.h >>conftest.$ac_ext |
11161 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
10672 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10673 |
|
/* end confdefs.h. */ |
10674 |
|
|
10675 |
|
/* Override any GCC internal prototype to avoid an error. |
10687 |
|
return 0; |
10688 |
|
} |
10689 |
|
_ACEOF |
10690 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
11180 |
< |
if { (ac_try="$ac_link" |
11181 |
< |
case "(($ac_try" in |
11182 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11183 |
< |
*) ac_try_echo=$ac_try;; |
11184 |
< |
esac |
11185 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11186 |
< |
$as_echo "$ac_try_echo") >&5 |
11187 |
< |
(eval "$ac_link") 2>conftest.er1 |
11188 |
< |
ac_status=$? |
11189 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11190 |
< |
rm -f conftest.er1 |
11191 |
< |
cat conftest.err >&5 |
11192 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11193 |
< |
(exit $ac_status); } && { |
11194 |
< |
test -z "$ac_c_werror_flag" || |
11195 |
< |
test ! -s conftest.err |
11196 |
< |
} && test -s conftest$ac_exeext && { |
11197 |
< |
test "$cross_compiling" = yes || |
11198 |
< |
$as_test_x conftest$ac_exeext |
11199 |
< |
}; then |
10690 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
10691 |
|
ac_cv_lib_dld_dld_link=yes |
10692 |
|
else |
10693 |
< |
$as_echo "$as_me: failed program was:" >&5 |
11203 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11204 |
< |
|
11205 |
< |
ac_cv_lib_dld_dld_link=no |
10693 |
> |
ac_cv_lib_dld_dld_link=no |
10694 |
|
fi |
10695 |
< |
|
10696 |
< |
rm -rf conftest.dSYM |
11209 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11210 |
< |
conftest$ac_exeext conftest.$ac_ext |
10695 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
10696 |
> |
conftest$ac_exeext conftest.$ac_ext |
10697 |
|
LIBS=$ac_check_lib_save_LIBS |
10698 |
|
fi |
10699 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
10699 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
10700 |
|
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
10701 |
< |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then |
10701 |
> |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : |
10702 |
|
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
10703 |
|
fi |
10704 |
|
|
10737 |
|
save_LIBS="$LIBS" |
10738 |
|
LIBS="$lt_cv_dlopen_libs $LIBS" |
10739 |
|
|
10740 |
< |
{ $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
10740 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
10741 |
|
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
10742 |
< |
if test "${lt_cv_dlopen_self+set}" = set; then |
10742 |
> |
if test "${lt_cv_dlopen_self+set}" = set; then : |
10743 |
|
$as_echo_n "(cached) " >&6 |
10744 |
|
else |
10745 |
|
if test "$cross_compiling" = yes; then : |
10748 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10749 |
|
lt_status=$lt_dlunknown |
10750 |
|
cat > conftest.$ac_ext <<_LT_EOF |
10751 |
< |
#line 11265 "configure" |
10751 |
> |
#line 10751 "configure" |
10752 |
|
#include "confdefs.h" |
10753 |
|
|
10754 |
|
#if HAVE_DLFCN_H |
10807 |
|
return status; |
10808 |
|
} |
10809 |
|
_LT_EOF |
10810 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10810 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
10811 |
|
(eval $ac_link) 2>&5 |
10812 |
|
ac_status=$? |
10813 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10814 |
< |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
10813 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10814 |
> |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
10815 |
|
(./conftest; exit; ) >&5 2>/dev/null |
10816 |
|
lt_status=$? |
10817 |
|
case x$lt_status in |
10828 |
|
|
10829 |
|
|
10830 |
|
fi |
10831 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
10831 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
10832 |
|
$as_echo "$lt_cv_dlopen_self" >&6; } |
10833 |
|
|
10834 |
|
if test "x$lt_cv_dlopen_self" = xyes; then |
10835 |
|
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
10836 |
< |
{ $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
10836 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
10837 |
|
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
10838 |
< |
if test "${lt_cv_dlopen_self_static+set}" = set; then |
10838 |
> |
if test "${lt_cv_dlopen_self_static+set}" = set; then : |
10839 |
|
$as_echo_n "(cached) " >&6 |
10840 |
|
else |
10841 |
|
if test "$cross_compiling" = yes; then : |
10844 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10845 |
|
lt_status=$lt_dlunknown |
10846 |
|
cat > conftest.$ac_ext <<_LT_EOF |
10847 |
< |
#line 11361 "configure" |
10847 |
> |
#line 10847 "configure" |
10848 |
|
#include "confdefs.h" |
10849 |
|
|
10850 |
|
#if HAVE_DLFCN_H |
10903 |
|
return status; |
10904 |
|
} |
10905 |
|
_LT_EOF |
10906 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10906 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
10907 |
|
(eval $ac_link) 2>&5 |
10908 |
|
ac_status=$? |
10909 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10910 |
< |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
10909 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10910 |
> |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
10911 |
|
(./conftest; exit; ) >&5 2>/dev/null |
10912 |
|
lt_status=$? |
10913 |
|
case x$lt_status in |
10924 |
|
|
10925 |
|
|
10926 |
|
fi |
10927 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
10927 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
10928 |
|
$as_echo "$lt_cv_dlopen_self_static" >&6; } |
10929 |
|
fi |
10930 |
|
|
10963 |
|
|
10964 |
|
striplib= |
10965 |
|
old_striplib= |
10966 |
< |
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
10966 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
10967 |
|
$as_echo_n "checking whether stripping libraries is possible... " >&6; } |
10968 |
|
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
10969 |
|
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
10970 |
|
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
10971 |
< |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
10971 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
10972 |
|
$as_echo "yes" >&6; } |
10973 |
|
else |
10974 |
|
# FIXME - insert some real tests, host_os isn't really good enough |
10977 |
|
if test -n "$STRIP" ; then |
10978 |
|
striplib="$STRIP -x" |
10979 |
|
old_striplib="$STRIP -S" |
10980 |
< |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
10980 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
10981 |
|
$as_echo "yes" >&6; } |
10982 |
|
else |
10983 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
10983 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
10984 |
|
$as_echo "no" >&6; } |
10985 |
|
fi |
10986 |
|
;; |
10987 |
|
*) |
10988 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
10988 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
10989 |
|
$as_echo "no" >&6; } |
10990 |
|
;; |
10991 |
|
esac |
11003 |
|
|
11004 |
|
|
11005 |
|
# Report which library types will actually be built |
11006 |
< |
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
11006 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
11007 |
|
$as_echo_n "checking if libtool supports shared libraries... " >&6; } |
11008 |
< |
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
11008 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
11009 |
|
$as_echo "$can_build_shared" >&6; } |
11010 |
|
|
11011 |
< |
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
11011 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
11012 |
|
$as_echo_n "checking whether to build shared libraries... " >&6; } |
11013 |
|
test "$can_build_shared" = "no" && enable_shared=no |
11014 |
|
|
11029 |
|
fi |
11030 |
|
;; |
11031 |
|
esac |
11032 |
< |
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 |
11032 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
11033 |
|
$as_echo "$enable_shared" >&6; } |
11034 |
|
|
11035 |
< |
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
11035 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
11036 |
|
$as_echo_n "checking whether to build static libraries... " >&6; } |
11037 |
|
# Make sure either enable_shared or enable_static is yes. |
11038 |
|
test "$enable_shared" = yes || enable_static=yes |
11039 |
< |
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5 |
11039 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
11040 |
|
$as_echo "$enable_static" >&6; } |
11041 |
|
|
11042 |
|
|
11071 |
|
# Only expand once: |
11072 |
|
|
11073 |
|
|
11074 |
< |
{ $as_echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5 |
11074 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5 |
11075 |
|
$as_echo_n "checking which extension is used for runtime loadable modules... " >&6; } |
11076 |
< |
if test "${libltdl_cv_shlibext+set}" = set; then |
11076 |
> |
if test "${libltdl_cv_shlibext+set}" = set; then : |
11077 |
|
$as_echo_n "(cached) " >&6 |
11078 |
|
else |
11079 |
|
|
11081 |
|
eval libltdl_cv_shlibext=$shrext_cmds |
11082 |
|
|
11083 |
|
fi |
11084 |
< |
{ $as_echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5 |
11084 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5 |
11085 |
|
$as_echo "$libltdl_cv_shlibext" >&6; } |
11086 |
|
if test -n "$libltdl_cv_shlibext"; then |
11087 |
|
|
11091 |
|
|
11092 |
|
fi |
11093 |
|
|
11094 |
< |
{ $as_echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5 |
11094 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5 |
11095 |
|
$as_echo_n "checking which variable specifies run-time module search path... " >&6; } |
11096 |
< |
if test "${lt_cv_module_path_var+set}" = set; then |
11096 |
> |
if test "${lt_cv_module_path_var+set}" = set; then : |
11097 |
|
$as_echo_n "(cached) " >&6 |
11098 |
|
else |
11099 |
|
lt_cv_module_path_var="$shlibpath_var" |
11100 |
|
fi |
11101 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5 |
11101 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5 |
11102 |
|
$as_echo "$lt_cv_module_path_var" >&6; } |
11103 |
|
if test -n "$lt_cv_module_path_var"; then |
11104 |
|
|
11108 |
|
|
11109 |
|
fi |
11110 |
|
|
11111 |
< |
{ $as_echo "$as_me:$LINENO: checking for the default library search path" >&5 |
11111 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5 |
11112 |
|
$as_echo_n "checking for the default library search path... " >&6; } |
11113 |
< |
if test "${lt_cv_sys_dlsearch_path+set}" = set; then |
11113 |
> |
if test "${lt_cv_sys_dlsearch_path+set}" = set; then : |
11114 |
|
$as_echo_n "(cached) " >&6 |
11115 |
|
else |
11116 |
|
lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec" |
11117 |
|
fi |
11118 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5 |
11118 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5 |
11119 |
|
$as_echo "$lt_cv_sys_dlsearch_path" >&6; } |
11120 |
|
if test -n "$lt_cv_sys_dlsearch_path"; then |
11121 |
|
sys_dlsearch_path= |
11145 |
|
|
11146 |
|
|
11147 |
|
LIBADD_DLOPEN= |
11148 |
< |
{ $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5 |
11148 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 |
11149 |
|
$as_echo_n "checking for library containing dlopen... " >&6; } |
11150 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then |
11150 |
> |
if test "${ac_cv_search_dlopen+set}" = set; then : |
11151 |
|
$as_echo_n "(cached) " >&6 |
11152 |
|
else |
11153 |
|
ac_func_search_save_LIBS=$LIBS |
11154 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11669 |
< |
/* confdefs.h. */ |
11670 |
< |
_ACEOF |
11671 |
< |
cat confdefs.h >>conftest.$ac_ext |
11672 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
11154 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11155 |
|
/* end confdefs.h. */ |
11156 |
|
|
11157 |
|
/* Override any GCC internal prototype to avoid an error. |
11176 |
|
ac_res=-l$ac_lib |
11177 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
11178 |
|
fi |
11179 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
11698 |
< |
if { (ac_try="$ac_link" |
11699 |
< |
case "(($ac_try" in |
11700 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11701 |
< |
*) ac_try_echo=$ac_try;; |
11702 |
< |
esac |
11703 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11704 |
< |
$as_echo "$ac_try_echo") >&5 |
11705 |
< |
(eval "$ac_link") 2>conftest.er1 |
11706 |
< |
ac_status=$? |
11707 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11708 |
< |
rm -f conftest.er1 |
11709 |
< |
cat conftest.err >&5 |
11710 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11711 |
< |
(exit $ac_status); } && { |
11712 |
< |
test -z "$ac_c_werror_flag" || |
11713 |
< |
test ! -s conftest.err |
11714 |
< |
} && test -s conftest$ac_exeext && { |
11715 |
< |
test "$cross_compiling" = yes || |
11716 |
< |
$as_test_x conftest$ac_exeext |
11717 |
< |
}; then |
11179 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
11180 |
|
ac_cv_search_dlopen=$ac_res |
11719 |
– |
else |
11720 |
– |
$as_echo "$as_me: failed program was:" >&5 |
11721 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
11722 |
– |
|
11723 |
– |
|
11181 |
|
fi |
11182 |
< |
|
11183 |
< |
rm -rf conftest.dSYM |
11184 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11728 |
< |
conftest$ac_exeext |
11729 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then |
11182 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
11183 |
> |
conftest$ac_exeext |
11184 |
> |
if test "${ac_cv_search_dlopen+set}" = set; then : |
11185 |
|
break |
11186 |
|
fi |
11187 |
|
done |
11188 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then |
11189 |
< |
: |
11188 |
> |
if test "${ac_cv_search_dlopen+set}" = set; then : |
11189 |
> |
|
11190 |
|
else |
11191 |
|
ac_cv_search_dlopen=no |
11192 |
|
fi |
11193 |
|
rm conftest.$ac_ext |
11194 |
|
LIBS=$ac_func_search_save_LIBS |
11195 |
|
fi |
11196 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5 |
11196 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 |
11197 |
|
$as_echo "$ac_cv_search_dlopen" >&6; } |
11198 |
|
ac_res=$ac_cv_search_dlopen |
11199 |
< |
if test "$ac_res" != no; then |
11199 |
> |
if test "$ac_res" != no; then : |
11200 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
11201 |
|
|
11202 |
< |
cat >>confdefs.h <<\_ACEOF |
11748 |
< |
#define HAVE_LIBDL 1 |
11749 |
< |
_ACEOF |
11202 |
> |
$as_echo "#define HAVE_LIBDL 1" >>confdefs.h |
11203 |
|
|
11204 |
|
if test "$ac_cv_search_dlopen" != "none required" ; then |
11205 |
|
LIBADD_DLOPEN="-ldl" |
11207 |
|
libltdl_cv_lib_dl_dlopen="yes" |
11208 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" |
11209 |
|
else |
11210 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11758 |
< |
/* confdefs.h. */ |
11759 |
< |
_ACEOF |
11760 |
< |
cat confdefs.h >>conftest.$ac_ext |
11761 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
11210 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11211 |
|
/* end confdefs.h. */ |
11212 |
|
#if HAVE_DLFCN_H |
11213 |
|
# include <dlfcn.h> |
11221 |
|
return 0; |
11222 |
|
} |
11223 |
|
_ACEOF |
11224 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
11776 |
< |
if { (ac_try="$ac_link" |
11777 |
< |
case "(($ac_try" in |
11778 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11779 |
< |
*) ac_try_echo=$ac_try;; |
11780 |
< |
esac |
11781 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11782 |
< |
$as_echo "$ac_try_echo") >&5 |
11783 |
< |
(eval "$ac_link") 2>conftest.er1 |
11784 |
< |
ac_status=$? |
11785 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11786 |
< |
rm -f conftest.er1 |
11787 |
< |
cat conftest.err >&5 |
11788 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11789 |
< |
(exit $ac_status); } && { |
11790 |
< |
test -z "$ac_c_werror_flag" || |
11791 |
< |
test ! -s conftest.err |
11792 |
< |
} && test -s conftest$ac_exeext && { |
11793 |
< |
test "$cross_compiling" = yes || |
11794 |
< |
$as_test_x conftest$ac_exeext |
11795 |
< |
}; then |
11224 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
11225 |
|
|
11226 |
< |
cat >>confdefs.h <<\_ACEOF |
11798 |
< |
#define HAVE_LIBDL 1 |
11799 |
< |
_ACEOF |
11226 |
> |
$as_echo "#define HAVE_LIBDL 1" >>confdefs.h |
11227 |
|
|
11228 |
|
libltdl_cv_func_dlopen="yes" |
11229 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" |
11230 |
|
else |
11231 |
< |
$as_echo "$as_me: failed program was:" >&5 |
11805 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11806 |
< |
|
11807 |
< |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
11231 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
11232 |
|
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
11233 |
< |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
11233 |
> |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : |
11234 |
|
$as_echo_n "(cached) " >&6 |
11235 |
|
else |
11236 |
|
ac_check_lib_save_LIBS=$LIBS |
11237 |
|
LIBS="-lsvld $LIBS" |
11238 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11815 |
< |
/* confdefs.h. */ |
11816 |
< |
_ACEOF |
11817 |
< |
cat confdefs.h >>conftest.$ac_ext |
11818 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
11238 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11239 |
|
/* end confdefs.h. */ |
11240 |
|
|
11241 |
|
/* Override any GCC internal prototype to avoid an error. |
11253 |
|
return 0; |
11254 |
|
} |
11255 |
|
_ACEOF |
11256 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
11837 |
< |
if { (ac_try="$ac_link" |
11838 |
< |
case "(($ac_try" in |
11839 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11840 |
< |
*) ac_try_echo=$ac_try;; |
11841 |
< |
esac |
11842 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11843 |
< |
$as_echo "$ac_try_echo") >&5 |
11844 |
< |
(eval "$ac_link") 2>conftest.er1 |
11845 |
< |
ac_status=$? |
11846 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11847 |
< |
rm -f conftest.er1 |
11848 |
< |
cat conftest.err >&5 |
11849 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11850 |
< |
(exit $ac_status); } && { |
11851 |
< |
test -z "$ac_c_werror_flag" || |
11852 |
< |
test ! -s conftest.err |
11853 |
< |
} && test -s conftest$ac_exeext && { |
11854 |
< |
test "$cross_compiling" = yes || |
11855 |
< |
$as_test_x conftest$ac_exeext |
11856 |
< |
}; then |
11256 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
11257 |
|
ac_cv_lib_svld_dlopen=yes |
11258 |
|
else |
11259 |
< |
$as_echo "$as_me: failed program was:" >&5 |
11860 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11861 |
< |
|
11862 |
< |
ac_cv_lib_svld_dlopen=no |
11259 |
> |
ac_cv_lib_svld_dlopen=no |
11260 |
|
fi |
11261 |
< |
|
11262 |
< |
rm -rf conftest.dSYM |
11866 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11867 |
< |
conftest$ac_exeext conftest.$ac_ext |
11261 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
11262 |
> |
conftest$ac_exeext conftest.$ac_ext |
11263 |
|
LIBS=$ac_check_lib_save_LIBS |
11264 |
|
fi |
11265 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
11265 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
11266 |
|
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
11267 |
< |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then |
11267 |
> |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : |
11268 |
|
|
11269 |
< |
cat >>confdefs.h <<\_ACEOF |
11875 |
< |
#define HAVE_LIBDL 1 |
11876 |
< |
_ACEOF |
11269 |
> |
$as_echo "#define HAVE_LIBDL 1" >>confdefs.h |
11270 |
|
|
11271 |
|
LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes" |
11272 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" |
11273 |
|
fi |
11274 |
|
|
11275 |
|
fi |
11276 |
< |
|
11277 |
< |
rm -rf conftest.dSYM |
11885 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11886 |
< |
conftest$ac_exeext conftest.$ac_ext |
11276 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
11277 |
> |
conftest$ac_exeext conftest.$ac_ext |
11278 |
|
fi |
11279 |
|
|
11280 |
|
if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes |
11281 |
|
then |
11282 |
|
lt_save_LIBS="$LIBS" |
11283 |
|
LIBS="$LIBS $LIBADD_DLOPEN" |
11284 |
< |
|
11285 |
< |
for ac_func in dlerror |
11286 |
< |
do |
11287 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11897 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11898 |
< |
$as_echo_n "checking for $ac_func... " >&6; } |
11899 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
11900 |
< |
$as_echo_n "(cached) " >&6 |
11901 |
< |
else |
11902 |
< |
cat >conftest.$ac_ext <<_ACEOF |
11903 |
< |
/* confdefs.h. */ |
11904 |
< |
_ACEOF |
11905 |
< |
cat confdefs.h >>conftest.$ac_ext |
11906 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
11907 |
< |
/* end confdefs.h. */ |
11908 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
11909 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
11910 |
< |
#define $ac_func innocuous_$ac_func |
11911 |
< |
|
11912 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
11913 |
< |
which can conflict with char $ac_func (); below. |
11914 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
11915 |
< |
<limits.h> exists even on freestanding compilers. */ |
11916 |
< |
|
11917 |
< |
#ifdef __STDC__ |
11918 |
< |
# include <limits.h> |
11919 |
< |
#else |
11920 |
< |
# include <assert.h> |
11921 |
< |
#endif |
11922 |
< |
|
11923 |
< |
#undef $ac_func |
11924 |
< |
|
11925 |
< |
/* Override any GCC internal prototype to avoid an error. |
11926 |
< |
Use char because int might match the return type of a GCC |
11927 |
< |
builtin and then its argument prototype would still apply. */ |
11928 |
< |
#ifdef __cplusplus |
11929 |
< |
extern "C" |
11930 |
< |
#endif |
11931 |
< |
char $ac_func (); |
11932 |
< |
/* The GNU C library defines this for functions which it implements |
11933 |
< |
to always fail with ENOSYS. Some functions are actually named |
11934 |
< |
something starting with __ and the normal name is an alias. */ |
11935 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
11936 |
< |
choke me |
11937 |
< |
#endif |
11938 |
< |
|
11939 |
< |
int |
11940 |
< |
main () |
11941 |
< |
{ |
11942 |
< |
return $ac_func (); |
11943 |
< |
; |
11944 |
< |
return 0; |
11945 |
< |
} |
11946 |
< |
_ACEOF |
11947 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
11948 |
< |
if { (ac_try="$ac_link" |
11949 |
< |
case "(($ac_try" in |
11950 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11951 |
< |
*) ac_try_echo=$ac_try;; |
11952 |
< |
esac |
11953 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11954 |
< |
$as_echo "$ac_try_echo") >&5 |
11955 |
< |
(eval "$ac_link") 2>conftest.er1 |
11956 |
< |
ac_status=$? |
11957 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
11958 |
< |
rm -f conftest.er1 |
11959 |
< |
cat conftest.err >&5 |
11960 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11961 |
< |
(exit $ac_status); } && { |
11962 |
< |
test -z "$ac_c_werror_flag" || |
11963 |
< |
test ! -s conftest.err |
11964 |
< |
} && test -s conftest$ac_exeext && { |
11965 |
< |
test "$cross_compiling" = yes || |
11966 |
< |
$as_test_x conftest$ac_exeext |
11967 |
< |
}; then |
11968 |
< |
eval "$as_ac_var=yes" |
11969 |
< |
else |
11970 |
< |
$as_echo "$as_me: failed program was:" >&5 |
11971 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
11972 |
< |
|
11973 |
< |
eval "$as_ac_var=no" |
11974 |
< |
fi |
11975 |
< |
|
11976 |
< |
rm -rf conftest.dSYM |
11977 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11978 |
< |
conftest$ac_exeext conftest.$ac_ext |
11979 |
< |
fi |
11980 |
< |
ac_res=`eval 'as_val=${'$as_ac_var'} |
11981 |
< |
$as_echo "$as_val"'` |
11982 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
11983 |
< |
$as_echo "$ac_res" >&6; } |
11984 |
< |
as_val=`eval 'as_val=${'$as_ac_var'} |
11985 |
< |
$as_echo "$as_val"'` |
11986 |
< |
if test "x$as_val" = x""yes; then |
11284 |
> |
for ac_func in dlerror |
11285 |
> |
do : |
11286 |
> |
ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror" |
11287 |
> |
if test "x$ac_cv_func_dlerror" = x""yes; then : |
11288 |
|
cat >>confdefs.h <<_ACEOF |
11289 |
< |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11289 |
> |
#define HAVE_DLERROR 1 |
11290 |
|
_ACEOF |
11291 |
|
|
11292 |
|
fi |
11297 |
|
|
11298 |
|
|
11299 |
|
LIBADD_SHL_LOAD= |
11300 |
< |
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5 |
11301 |
< |
$as_echo_n "checking for shl_load... " >&6; } |
12001 |
< |
if test "${ac_cv_func_shl_load+set}" = set; then |
12002 |
< |
$as_echo_n "(cached) " >&6 |
12003 |
< |
else |
12004 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12005 |
< |
/* confdefs.h. */ |
12006 |
< |
_ACEOF |
12007 |
< |
cat confdefs.h >>conftest.$ac_ext |
12008 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12009 |
< |
/* end confdefs.h. */ |
12010 |
< |
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
12011 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12012 |
< |
#define shl_load innocuous_shl_load |
12013 |
< |
|
12014 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
12015 |
< |
which can conflict with char shl_load (); below. |
12016 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12017 |
< |
<limits.h> exists even on freestanding compilers. */ |
12018 |
< |
|
12019 |
< |
#ifdef __STDC__ |
12020 |
< |
# include <limits.h> |
12021 |
< |
#else |
12022 |
< |
# include <assert.h> |
12023 |
< |
#endif |
11300 |
> |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
11301 |
> |
if test "x$ac_cv_func_shl_load" = x""yes; then : |
11302 |
|
|
11303 |
< |
#undef shl_load |
12026 |
< |
|
12027 |
< |
/* Override any GCC internal prototype to avoid an error. |
12028 |
< |
Use char because int might match the return type of a GCC |
12029 |
< |
builtin and then its argument prototype would still apply. */ |
12030 |
< |
#ifdef __cplusplus |
12031 |
< |
extern "C" |
12032 |
< |
#endif |
12033 |
< |
char shl_load (); |
12034 |
< |
/* The GNU C library defines this for functions which it implements |
12035 |
< |
to always fail with ENOSYS. Some functions are actually named |
12036 |
< |
something starting with __ and the normal name is an alias. */ |
12037 |
< |
#if defined __stub_shl_load || defined __stub___shl_load |
12038 |
< |
choke me |
12039 |
< |
#endif |
12040 |
< |
|
12041 |
< |
int |
12042 |
< |
main () |
12043 |
< |
{ |
12044 |
< |
return shl_load (); |
12045 |
< |
; |
12046 |
< |
return 0; |
12047 |
< |
} |
12048 |
< |
_ACEOF |
12049 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
12050 |
< |
if { (ac_try="$ac_link" |
12051 |
< |
case "(($ac_try" in |
12052 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12053 |
< |
*) ac_try_echo=$ac_try;; |
12054 |
< |
esac |
12055 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12056 |
< |
$as_echo "$ac_try_echo") >&5 |
12057 |
< |
(eval "$ac_link") 2>conftest.er1 |
12058 |
< |
ac_status=$? |
12059 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12060 |
< |
rm -f conftest.er1 |
12061 |
< |
cat conftest.err >&5 |
12062 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12063 |
< |
(exit $ac_status); } && { |
12064 |
< |
test -z "$ac_c_werror_flag" || |
12065 |
< |
test ! -s conftest.err |
12066 |
< |
} && test -s conftest$ac_exeext && { |
12067 |
< |
test "$cross_compiling" = yes || |
12068 |
< |
$as_test_x conftest$ac_exeext |
12069 |
< |
}; then |
12070 |
< |
ac_cv_func_shl_load=yes |
12071 |
< |
else |
12072 |
< |
$as_echo "$as_me: failed program was:" >&5 |
12073 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12074 |
< |
|
12075 |
< |
ac_cv_func_shl_load=no |
12076 |
< |
fi |
12077 |
< |
|
12078 |
< |
rm -rf conftest.dSYM |
12079 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12080 |
< |
conftest$ac_exeext conftest.$ac_ext |
12081 |
< |
fi |
12082 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
12083 |
< |
$as_echo "$ac_cv_func_shl_load" >&6; } |
12084 |
< |
if test "x$ac_cv_func_shl_load" = x""yes; then |
12085 |
< |
|
12086 |
< |
cat >>confdefs.h <<\_ACEOF |
12087 |
< |
#define HAVE_SHL_LOAD 1 |
12088 |
< |
_ACEOF |
11303 |
> |
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
11304 |
|
|
11305 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" |
11306 |
|
else |
11307 |
< |
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
11307 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
11308 |
|
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
11309 |
< |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
11309 |
> |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : |
11310 |
|
$as_echo_n "(cached) " >&6 |
11311 |
|
else |
11312 |
|
ac_check_lib_save_LIBS=$LIBS |
11313 |
|
LIBS="-ldld $LIBS" |
11314 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12100 |
< |
/* confdefs.h. */ |
12101 |
< |
_ACEOF |
12102 |
< |
cat confdefs.h >>conftest.$ac_ext |
12103 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
11314 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11315 |
|
/* end confdefs.h. */ |
11316 |
|
|
11317 |
|
/* Override any GCC internal prototype to avoid an error. |
11329 |
|
return 0; |
11330 |
|
} |
11331 |
|
_ACEOF |
11332 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
12122 |
< |
if { (ac_try="$ac_link" |
12123 |
< |
case "(($ac_try" in |
12124 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12125 |
< |
*) ac_try_echo=$ac_try;; |
12126 |
< |
esac |
12127 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12128 |
< |
$as_echo "$ac_try_echo") >&5 |
12129 |
< |
(eval "$ac_link") 2>conftest.er1 |
12130 |
< |
ac_status=$? |
12131 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12132 |
< |
rm -f conftest.er1 |
12133 |
< |
cat conftest.err >&5 |
12134 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12135 |
< |
(exit $ac_status); } && { |
12136 |
< |
test -z "$ac_c_werror_flag" || |
12137 |
< |
test ! -s conftest.err |
12138 |
< |
} && test -s conftest$ac_exeext && { |
12139 |
< |
test "$cross_compiling" = yes || |
12140 |
< |
$as_test_x conftest$ac_exeext |
12141 |
< |
}; then |
11332 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
11333 |
|
ac_cv_lib_dld_shl_load=yes |
11334 |
|
else |
11335 |
< |
$as_echo "$as_me: failed program was:" >&5 |
12145 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12146 |
< |
|
12147 |
< |
ac_cv_lib_dld_shl_load=no |
11335 |
> |
ac_cv_lib_dld_shl_load=no |
11336 |
|
fi |
11337 |
< |
|
11338 |
< |
rm -rf conftest.dSYM |
12151 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12152 |
< |
conftest$ac_exeext conftest.$ac_ext |
11337 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
11338 |
> |
conftest$ac_exeext conftest.$ac_ext |
11339 |
|
LIBS=$ac_check_lib_save_LIBS |
11340 |
|
fi |
11341 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
11341 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
11342 |
|
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
11343 |
< |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then |
11343 |
> |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : |
11344 |
|
|
11345 |
< |
cat >>confdefs.h <<\_ACEOF |
12160 |
< |
#define HAVE_SHL_LOAD 1 |
12161 |
< |
_ACEOF |
11345 |
> |
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
11346 |
|
|
11347 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" |
11348 |
|
LIBADD_SHL_LOAD="-ldld" |
11355 |
|
case $host_os in |
11356 |
|
darwin[1567].*) |
11357 |
|
# We only want this for pre-Mac OS X 10.4. |
11358 |
< |
{ $as_echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5 |
11359 |
< |
$as_echo_n "checking for _dyld_func_lookup... " >&6; } |
12176 |
< |
if test "${ac_cv_func__dyld_func_lookup+set}" = set; then |
12177 |
< |
$as_echo_n "(cached) " >&6 |
12178 |
< |
else |
12179 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12180 |
< |
/* confdefs.h. */ |
12181 |
< |
_ACEOF |
12182 |
< |
cat confdefs.h >>conftest.$ac_ext |
12183 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12184 |
< |
/* end confdefs.h. */ |
12185 |
< |
/* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup. |
12186 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12187 |
< |
#define _dyld_func_lookup innocuous__dyld_func_lookup |
12188 |
< |
|
12189 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
12190 |
< |
which can conflict with char _dyld_func_lookup (); below. |
12191 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12192 |
< |
<limits.h> exists even on freestanding compilers. */ |
12193 |
< |
|
12194 |
< |
#ifdef __STDC__ |
12195 |
< |
# include <limits.h> |
12196 |
< |
#else |
12197 |
< |
# include <assert.h> |
12198 |
< |
#endif |
11358 |
> |
ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup" |
11359 |
> |
if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then : |
11360 |
|
|
11361 |
< |
#undef _dyld_func_lookup |
12201 |
< |
|
12202 |
< |
/* Override any GCC internal prototype to avoid an error. |
12203 |
< |
Use char because int might match the return type of a GCC |
12204 |
< |
builtin and then its argument prototype would still apply. */ |
12205 |
< |
#ifdef __cplusplus |
12206 |
< |
extern "C" |
12207 |
< |
#endif |
12208 |
< |
char _dyld_func_lookup (); |
12209 |
< |
/* The GNU C library defines this for functions which it implements |
12210 |
< |
to always fail with ENOSYS. Some functions are actually named |
12211 |
< |
something starting with __ and the normal name is an alias. */ |
12212 |
< |
#if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup |
12213 |
< |
choke me |
12214 |
< |
#endif |
12215 |
< |
|
12216 |
< |
int |
12217 |
< |
main () |
12218 |
< |
{ |
12219 |
< |
return _dyld_func_lookup (); |
12220 |
< |
; |
12221 |
< |
return 0; |
12222 |
< |
} |
12223 |
< |
_ACEOF |
12224 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
12225 |
< |
if { (ac_try="$ac_link" |
12226 |
< |
case "(($ac_try" in |
12227 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12228 |
< |
*) ac_try_echo=$ac_try;; |
12229 |
< |
esac |
12230 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12231 |
< |
$as_echo "$ac_try_echo") >&5 |
12232 |
< |
(eval "$ac_link") 2>conftest.er1 |
12233 |
< |
ac_status=$? |
12234 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12235 |
< |
rm -f conftest.er1 |
12236 |
< |
cat conftest.err >&5 |
12237 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12238 |
< |
(exit $ac_status); } && { |
12239 |
< |
test -z "$ac_c_werror_flag" || |
12240 |
< |
test ! -s conftest.err |
12241 |
< |
} && test -s conftest$ac_exeext && { |
12242 |
< |
test "$cross_compiling" = yes || |
12243 |
< |
$as_test_x conftest$ac_exeext |
12244 |
< |
}; then |
12245 |
< |
ac_cv_func__dyld_func_lookup=yes |
12246 |
< |
else |
12247 |
< |
$as_echo "$as_me: failed program was:" >&5 |
12248 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12249 |
< |
|
12250 |
< |
ac_cv_func__dyld_func_lookup=no |
12251 |
< |
fi |
12252 |
< |
|
12253 |
< |
rm -rf conftest.dSYM |
12254 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12255 |
< |
conftest$ac_exeext conftest.$ac_ext |
12256 |
< |
fi |
12257 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5 |
12258 |
< |
$as_echo "$ac_cv_func__dyld_func_lookup" >&6; } |
12259 |
< |
if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then |
12260 |
< |
|
12261 |
< |
cat >>confdefs.h <<\_ACEOF |
12262 |
< |
#define HAVE_DYLD 1 |
12263 |
< |
_ACEOF |
11361 |
> |
$as_echo "#define HAVE_DYLD 1" >>confdefs.h |
11362 |
|
|
11363 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la" |
11364 |
|
fi |
11368 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" |
11369 |
|
;; |
11370 |
|
cygwin* | mingw* | os2* | pw32*) |
11371 |
< |
{ $as_echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5 |
11372 |
< |
$as_echo_n "checking whether cygwin_conv_path is declared... " >&6; } |
11373 |
< |
if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then |
11374 |
< |
$as_echo_n "(cached) " >&6 |
12277 |
< |
else |
12278 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12279 |
< |
/* confdefs.h. */ |
12280 |
< |
_ACEOF |
12281 |
< |
cat confdefs.h >>conftest.$ac_ext |
12282 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12283 |
< |
/* end confdefs.h. */ |
12284 |
< |
#include <sys/cygwin.h> |
12285 |
< |
|
12286 |
< |
int |
12287 |
< |
main () |
12288 |
< |
{ |
12289 |
< |
#ifndef cygwin_conv_path |
12290 |
< |
(void) cygwin_conv_path; |
12291 |
< |
#endif |
12292 |
< |
|
12293 |
< |
; |
12294 |
< |
return 0; |
12295 |
< |
} |
12296 |
< |
_ACEOF |
12297 |
< |
rm -f conftest.$ac_objext |
12298 |
< |
if { (ac_try="$ac_compile" |
12299 |
< |
case "(($ac_try" in |
12300 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12301 |
< |
*) ac_try_echo=$ac_try;; |
12302 |
< |
esac |
12303 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12304 |
< |
$as_echo "$ac_try_echo") >&5 |
12305 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12306 |
< |
ac_status=$? |
12307 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12308 |
< |
rm -f conftest.er1 |
12309 |
< |
cat conftest.err >&5 |
12310 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12311 |
< |
(exit $ac_status); } && { |
12312 |
< |
test -z "$ac_c_werror_flag" || |
12313 |
< |
test ! -s conftest.err |
12314 |
< |
} && test -s conftest.$ac_objext; then |
12315 |
< |
ac_cv_have_decl_cygwin_conv_path=yes |
11371 |
> |
ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h> |
11372 |
> |
" |
11373 |
> |
if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then : |
11374 |
> |
ac_have_decl=1 |
11375 |
|
else |
11376 |
< |
$as_echo "$as_me: failed program was:" >&5 |
12318 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12319 |
< |
|
12320 |
< |
ac_cv_have_decl_cygwin_conv_path=no |
12321 |
< |
fi |
12322 |
< |
|
12323 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11376 |
> |
ac_have_decl=0 |
11377 |
|
fi |
12325 |
– |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5 |
12326 |
– |
$as_echo "$ac_cv_have_decl_cygwin_conv_path" >&6; } |
12327 |
– |
if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then |
11378 |
|
|
11379 |
|
cat >>confdefs.h <<_ACEOF |
11380 |
< |
#define HAVE_DECL_CYGWIN_CONV_PATH 1 |
12331 |
< |
_ACEOF |
12332 |
< |
|
12333 |
< |
|
12334 |
< |
else |
12335 |
< |
cat >>confdefs.h <<_ACEOF |
12336 |
< |
#define HAVE_DECL_CYGWIN_CONV_PATH 0 |
11380 |
> |
#define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl |
11381 |
|
_ACEOF |
11382 |
|
|
12339 |
– |
|
12340 |
– |
fi |
12341 |
– |
|
12342 |
– |
|
11383 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" |
11384 |
|
;; |
11385 |
|
esac |
11386 |
|
|
11387 |
< |
{ $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
11387 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
11388 |
|
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
11389 |
< |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
11389 |
> |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : |
11390 |
|
$as_echo_n "(cached) " >&6 |
11391 |
|
else |
11392 |
|
ac_check_lib_save_LIBS=$LIBS |
11393 |
|
LIBS="-ldld $LIBS" |
11394 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12355 |
< |
/* confdefs.h. */ |
12356 |
< |
_ACEOF |
12357 |
< |
cat confdefs.h >>conftest.$ac_ext |
12358 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
11394 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11395 |
|
/* end confdefs.h. */ |
11396 |
|
|
11397 |
|
/* Override any GCC internal prototype to avoid an error. |
11409 |
|
return 0; |
11410 |
|
} |
11411 |
|
_ACEOF |
11412 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
12377 |
< |
if { (ac_try="$ac_link" |
12378 |
< |
case "(($ac_try" in |
12379 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12380 |
< |
*) ac_try_echo=$ac_try;; |
12381 |
< |
esac |
12382 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12383 |
< |
$as_echo "$ac_try_echo") >&5 |
12384 |
< |
(eval "$ac_link") 2>conftest.er1 |
12385 |
< |
ac_status=$? |
12386 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12387 |
< |
rm -f conftest.er1 |
12388 |
< |
cat conftest.err >&5 |
12389 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12390 |
< |
(exit $ac_status); } && { |
12391 |
< |
test -z "$ac_c_werror_flag" || |
12392 |
< |
test ! -s conftest.err |
12393 |
< |
} && test -s conftest$ac_exeext && { |
12394 |
< |
test "$cross_compiling" = yes || |
12395 |
< |
$as_test_x conftest$ac_exeext |
12396 |
< |
}; then |
11412 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
11413 |
|
ac_cv_lib_dld_dld_link=yes |
11414 |
|
else |
11415 |
< |
$as_echo "$as_me: failed program was:" >&5 |
12400 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12401 |
< |
|
12402 |
< |
ac_cv_lib_dld_dld_link=no |
11415 |
> |
ac_cv_lib_dld_dld_link=no |
11416 |
|
fi |
11417 |
< |
|
11418 |
< |
rm -rf conftest.dSYM |
12406 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12407 |
< |
conftest$ac_exeext conftest.$ac_ext |
11417 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
11418 |
> |
conftest$ac_exeext conftest.$ac_ext |
11419 |
|
LIBS=$ac_check_lib_save_LIBS |
11420 |
|
fi |
11421 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
11421 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
11422 |
|
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
11423 |
< |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then |
11423 |
> |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : |
11424 |
|
|
11425 |
< |
cat >>confdefs.h <<\_ACEOF |
12415 |
< |
#define HAVE_DLD 1 |
12416 |
< |
_ACEOF |
11425 |
> |
$as_echo "#define HAVE_DLD 1" >>confdefs.h |
11426 |
|
|
11427 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la" |
11428 |
|
fi |
11437 |
|
LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader " |
11438 |
|
done |
11439 |
|
|
11440 |
< |
cat >>confdefs.h <<\_ACEOF |
12432 |
< |
#define HAVE_LIBDLLOADER 1 |
12433 |
< |
_ACEOF |
11440 |
> |
$as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h |
11441 |
|
|
11442 |
|
fi |
11443 |
|
|
11452 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
11453 |
|
|
11454 |
|
|
11455 |
< |
{ $as_echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5 |
11455 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5 |
11456 |
|
$as_echo_n "checking for _ prefix in compiled symbols... " >&6; } |
11457 |
< |
if test "${lt_cv_sys_symbol_underscore+set}" = set; then |
11457 |
> |
if test "${lt_cv_sys_symbol_underscore+set}" = set; then : |
11458 |
|
$as_echo_n "(cached) " >&6 |
11459 |
|
else |
11460 |
|
lt_cv_sys_symbol_underscore=no |
11462 |
|
void nm_test_func(){} |
11463 |
|
int main(){nm_test_func;return 0;} |
11464 |
|
_LT_EOF |
11465 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
11465 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
11466 |
|
(eval $ac_compile) 2>&5 |
11467 |
|
ac_status=$? |
11468 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11469 |
< |
(exit $ac_status); }; then |
11468 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
11469 |
> |
test $ac_status = 0; }; then |
11470 |
|
# Now try to grab the symbols. |
11471 |
|
ac_nlist=conftest.nm |
11472 |
< |
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5 |
11472 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5 |
11473 |
|
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5 |
11474 |
|
ac_status=$? |
11475 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11476 |
< |
(exit $ac_status); } && test -s "$ac_nlist"; then |
11475 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
11476 |
> |
test $ac_status = 0; } && test -s "$ac_nlist"; then |
11477 |
|
# See whether the symbols have a leading underscore. |
11478 |
|
if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then |
11479 |
|
lt_cv_sys_symbol_underscore=yes |
11494 |
|
rm -rf conftest* |
11495 |
|
|
11496 |
|
fi |
11497 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5 |
11497 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5 |
11498 |
|
$as_echo "$lt_cv_sys_symbol_underscore" >&6; } |
11499 |
|
sys_symbol_underscore=$lt_cv_sys_symbol_underscore |
11500 |
|
|
11502 |
|
if test x"$lt_cv_sys_symbol_underscore" = xyes; then |
11503 |
|
if test x"$libltdl_cv_func_dlopen" = xyes || |
11504 |
|
test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then |
11505 |
< |
{ $as_echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5 |
11505 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5 |
11506 |
|
$as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; } |
11507 |
< |
if test "${libltdl_cv_need_uscore+set}" = set; then |
11507 |
> |
if test "${libltdl_cv_need_uscore+set}" = set; then : |
11508 |
|
$as_echo_n "(cached) " >&6 |
11509 |
|
else |
11510 |
|
libltdl_cv_need_uscore=unknown |
11516 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11517 |
|
lt_status=$lt_dlunknown |
11518 |
|
cat > conftest.$ac_ext <<_LT_EOF |
11519 |
< |
#line 12512 "configure" |
11519 |
> |
#line 11519 "configure" |
11520 |
|
#include "confdefs.h" |
11521 |
|
|
11522 |
|
#if HAVE_DLFCN_H |
11575 |
|
return status; |
11576 |
|
} |
11577 |
|
_LT_EOF |
11578 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11578 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
11579 |
|
(eval $ac_link) 2>&5 |
11580 |
|
ac_status=$? |
11581 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11582 |
< |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
11581 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
11582 |
> |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
11583 |
|
(./conftest; exit; ) >&5 2>/dev/null |
11584 |
|
lt_status=$? |
11585 |
|
case x$lt_status in |
11597 |
|
LIBS="$save_LIBS" |
11598 |
|
|
11599 |
|
fi |
11600 |
< |
{ $as_echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5 |
11600 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5 |
11601 |
|
$as_echo "$libltdl_cv_need_uscore" >&6; } |
11602 |
|
fi |
11603 |
|
fi |
11604 |
|
|
11605 |
|
if test x"$libltdl_cv_need_uscore" = xyes; then |
11606 |
|
|
11607 |
< |
cat >>confdefs.h <<\_ACEOF |
12601 |
< |
#define NEED_USCORE 1 |
12602 |
< |
_ACEOF |
11607 |
> |
$as_echo "#define NEED_USCORE 1" >>confdefs.h |
11608 |
|
|
11609 |
|
fi |
11610 |
|
|
11611 |
< |
{ $as_echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5 |
11611 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5 |
11612 |
|
$as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; } |
11613 |
< |
if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then |
11613 |
> |
if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then : |
11614 |
|
$as_echo_n "(cached) " >&6 |
11615 |
|
else |
11616 |
|
# PORTME does your system automatically load deplibs for dlopen? |
11702 |
|
esac |
11703 |
|
|
11704 |
|
fi |
11705 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5 |
11705 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5 |
11706 |
|
$as_echo "$lt_cv_sys_dlopen_deplibs" >&6; } |
11707 |
|
if test "$lt_cv_sys_dlopen_deplibs" != yes; then |
11708 |
|
|
11709 |
< |
cat >>confdefs.h <<\_ACEOF |
12705 |
< |
#define LTDL_DLOPEN_DEPLIBS 1 |
12706 |
< |
_ACEOF |
11709 |
> |
$as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h |
11710 |
|
|
11711 |
|
fi |
11712 |
|
|
11713 |
|
: |
11714 |
|
|
12712 |
– |
|
11715 |
|
for ac_header in argz.h |
11716 |
< |
do |
11717 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11718 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11719 |
< |
$as_echo_n "checking for $ac_header... " >&6; } |
12718 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12719 |
< |
$as_echo_n "(cached) " >&6 |
12720 |
< |
else |
12721 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12722 |
< |
/* confdefs.h. */ |
12723 |
< |
_ACEOF |
12724 |
< |
cat confdefs.h >>conftest.$ac_ext |
12725 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12726 |
< |
/* end confdefs.h. */ |
12727 |
< |
$ac_includes_default |
12728 |
< |
|
12729 |
< |
#include <$ac_header> |
12730 |
< |
_ACEOF |
12731 |
< |
rm -f conftest.$ac_objext |
12732 |
< |
if { (ac_try="$ac_compile" |
12733 |
< |
case "(($ac_try" in |
12734 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12735 |
< |
*) ac_try_echo=$ac_try;; |
12736 |
< |
esac |
12737 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12738 |
< |
$as_echo "$ac_try_echo") >&5 |
12739 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12740 |
< |
ac_status=$? |
12741 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12742 |
< |
rm -f conftest.er1 |
12743 |
< |
cat conftest.err >&5 |
12744 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12745 |
< |
(exit $ac_status); } && { |
12746 |
< |
test -z "$ac_c_werror_flag" || |
12747 |
< |
test ! -s conftest.err |
12748 |
< |
} && test -s conftest.$ac_objext; then |
12749 |
< |
eval "$as_ac_Header=yes" |
12750 |
< |
else |
12751 |
< |
$as_echo "$as_me: failed program was:" >&5 |
12752 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12753 |
< |
|
12754 |
< |
eval "$as_ac_Header=no" |
12755 |
< |
fi |
12756 |
< |
|
12757 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12758 |
< |
fi |
12759 |
< |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
12760 |
< |
$as_echo "$as_val"'` |
12761 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
12762 |
< |
$as_echo "$ac_res" >&6; } |
12763 |
< |
as_val=`eval 'as_val=${'$as_ac_Header'} |
12764 |
< |
$as_echo "$as_val"'` |
12765 |
< |
if test "x$as_val" = x""yes; then |
11716 |
> |
do : |
11717 |
> |
ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default |
11718 |
> |
" |
11719 |
> |
if test "x$ac_cv_header_argz_h" = x""yes; then : |
11720 |
|
cat >>confdefs.h <<_ACEOF |
11721 |
< |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11721 |
> |
#define HAVE_ARGZ_H 1 |
11722 |
|
_ACEOF |
11723 |
|
|
11724 |
|
fi |
11726 |
|
done |
11727 |
|
|
11728 |
|
|
11729 |
< |
{ $as_echo "$as_me:$LINENO: checking for error_t" >&5 |
12776 |
< |
$as_echo_n "checking for error_t... " >&6; } |
12777 |
< |
if test "${ac_cv_type_error_t+set}" = set; then |
12778 |
< |
$as_echo_n "(cached) " >&6 |
12779 |
< |
else |
12780 |
< |
ac_cv_type_error_t=no |
12781 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12782 |
< |
/* confdefs.h. */ |
12783 |
< |
_ACEOF |
12784 |
< |
cat confdefs.h >>conftest.$ac_ext |
12785 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12786 |
< |
/* end confdefs.h. */ |
12787 |
< |
#if defined(HAVE_ARGZ_H) |
11729 |
> |
ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H) |
11730 |
|
# include <argz.h> |
11731 |
|
#endif |
11732 |
< |
|
11733 |
< |
int |
12792 |
< |
main () |
12793 |
< |
{ |
12794 |
< |
if (sizeof (error_t)) |
12795 |
< |
return 0; |
12796 |
< |
; |
12797 |
< |
return 0; |
12798 |
< |
} |
12799 |
< |
_ACEOF |
12800 |
< |
rm -f conftest.$ac_objext |
12801 |
< |
if { (ac_try="$ac_compile" |
12802 |
< |
case "(($ac_try" in |
12803 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12804 |
< |
*) ac_try_echo=$ac_try;; |
12805 |
< |
esac |
12806 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12807 |
< |
$as_echo "$ac_try_echo") >&5 |
12808 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12809 |
< |
ac_status=$? |
12810 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12811 |
< |
rm -f conftest.er1 |
12812 |
< |
cat conftest.err >&5 |
12813 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12814 |
< |
(exit $ac_status); } && { |
12815 |
< |
test -z "$ac_c_werror_flag" || |
12816 |
< |
test ! -s conftest.err |
12817 |
< |
} && test -s conftest.$ac_objext; then |
12818 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12819 |
< |
/* confdefs.h. */ |
12820 |
< |
_ACEOF |
12821 |
< |
cat confdefs.h >>conftest.$ac_ext |
12822 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12823 |
< |
/* end confdefs.h. */ |
12824 |
< |
#if defined(HAVE_ARGZ_H) |
12825 |
< |
# include <argz.h> |
12826 |
< |
#endif |
12827 |
< |
|
12828 |
< |
int |
12829 |
< |
main () |
12830 |
< |
{ |
12831 |
< |
if (sizeof ((error_t))) |
12832 |
< |
return 0; |
12833 |
< |
; |
12834 |
< |
return 0; |
12835 |
< |
} |
12836 |
< |
_ACEOF |
12837 |
< |
rm -f conftest.$ac_objext |
12838 |
< |
if { (ac_try="$ac_compile" |
12839 |
< |
case "(($ac_try" in |
12840 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12841 |
< |
*) ac_try_echo=$ac_try;; |
12842 |
< |
esac |
12843 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12844 |
< |
$as_echo "$ac_try_echo") >&5 |
12845 |
< |
(eval "$ac_compile") 2>conftest.er1 |
12846 |
< |
ac_status=$? |
12847 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12848 |
< |
rm -f conftest.er1 |
12849 |
< |
cat conftest.err >&5 |
12850 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12851 |
< |
(exit $ac_status); } && { |
12852 |
< |
test -z "$ac_c_werror_flag" || |
12853 |
< |
test ! -s conftest.err |
12854 |
< |
} && test -s conftest.$ac_objext; then |
12855 |
< |
: |
12856 |
< |
else |
12857 |
< |
$as_echo "$as_me: failed program was:" >&5 |
12858 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12859 |
< |
|
12860 |
< |
ac_cv_type_error_t=yes |
12861 |
< |
fi |
12862 |
< |
|
12863 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12864 |
< |
else |
12865 |
< |
$as_echo "$as_me: failed program was:" >&5 |
12866 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12867 |
< |
|
12868 |
< |
|
12869 |
< |
fi |
12870 |
< |
|
12871 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12872 |
< |
fi |
12873 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5 |
12874 |
< |
$as_echo "$ac_cv_type_error_t" >&6; } |
12875 |
< |
if test "x$ac_cv_type_error_t" = x""yes; then |
11732 |
> |
" |
11733 |
> |
if test "x$ac_cv_type_error_t" = x""yes; then : |
11734 |
|
|
11735 |
|
cat >>confdefs.h <<_ACEOF |
11736 |
|
#define HAVE_ERROR_T 1 |
11739 |
|
|
11740 |
|
else |
11741 |
|
|
11742 |
< |
cat >>confdefs.h <<\_ACEOF |
12885 |
< |
#define error_t int |
12886 |
< |
_ACEOF |
11742 |
> |
$as_echo "#define error_t int" >>confdefs.h |
11743 |
|
|
11744 |
|
|
11745 |
< |
cat >>confdefs.h <<\_ACEOF |
12890 |
< |
#define __error_t_defined 1 |
12891 |
< |
_ACEOF |
11745 |
> |
$as_echo "#define __error_t_defined 1" >>confdefs.h |
11746 |
|
|
11747 |
|
fi |
11748 |
|
|
11749 |
|
|
11750 |
|
ARGZ_H= |
12897 |
– |
|
12898 |
– |
|
12899 |
– |
|
12900 |
– |
|
12901 |
– |
|
12902 |
– |
|
12903 |
– |
|
11751 |
|
for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \ |
11752 |
|
argz_next argz_stringify |
11753 |
< |
do |
11754 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11755 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11756 |
< |
$as_echo_n "checking for $ac_func... " >&6; } |
11757 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12911 |
< |
$as_echo_n "(cached) " >&6 |
12912 |
< |
else |
12913 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12914 |
< |
/* confdefs.h. */ |
12915 |
< |
_ACEOF |
12916 |
< |
cat confdefs.h >>conftest.$ac_ext |
12917 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12918 |
< |
/* end confdefs.h. */ |
12919 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
12920 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12921 |
< |
#define $ac_func innocuous_$ac_func |
12922 |
< |
|
12923 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
12924 |
< |
which can conflict with char $ac_func (); below. |
12925 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12926 |
< |
<limits.h> exists even on freestanding compilers. */ |
12927 |
< |
|
12928 |
< |
#ifdef __STDC__ |
12929 |
< |
# include <limits.h> |
12930 |
< |
#else |
12931 |
< |
# include <assert.h> |
12932 |
< |
#endif |
12933 |
< |
|
12934 |
< |
#undef $ac_func |
12935 |
< |
|
12936 |
< |
/* Override any GCC internal prototype to avoid an error. |
12937 |
< |
Use char because int might match the return type of a GCC |
12938 |
< |
builtin and then its argument prototype would still apply. */ |
12939 |
< |
#ifdef __cplusplus |
12940 |
< |
extern "C" |
12941 |
< |
#endif |
12942 |
< |
char $ac_func (); |
12943 |
< |
/* The GNU C library defines this for functions which it implements |
12944 |
< |
to always fail with ENOSYS. Some functions are actually named |
12945 |
< |
something starting with __ and the normal name is an alias. */ |
12946 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
12947 |
< |
choke me |
12948 |
< |
#endif |
12949 |
< |
|
12950 |
< |
int |
12951 |
< |
main () |
12952 |
< |
{ |
12953 |
< |
return $ac_func (); |
12954 |
< |
; |
12955 |
< |
return 0; |
12956 |
< |
} |
12957 |
< |
_ACEOF |
12958 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
12959 |
< |
if { (ac_try="$ac_link" |
12960 |
< |
case "(($ac_try" in |
12961 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12962 |
< |
*) ac_try_echo=$ac_try;; |
12963 |
< |
esac |
12964 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12965 |
< |
$as_echo "$ac_try_echo") >&5 |
12966 |
< |
(eval "$ac_link") 2>conftest.er1 |
12967 |
< |
ac_status=$? |
12968 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
12969 |
< |
rm -f conftest.er1 |
12970 |
< |
cat conftest.err >&5 |
12971 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12972 |
< |
(exit $ac_status); } && { |
12973 |
< |
test -z "$ac_c_werror_flag" || |
12974 |
< |
test ! -s conftest.err |
12975 |
< |
} && test -s conftest$ac_exeext && { |
12976 |
< |
test "$cross_compiling" = yes || |
12977 |
< |
$as_test_x conftest$ac_exeext |
12978 |
< |
}; then |
12979 |
< |
eval "$as_ac_var=yes" |
12980 |
< |
else |
12981 |
< |
$as_echo "$as_me: failed program was:" >&5 |
12982 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12983 |
< |
|
12984 |
< |
eval "$as_ac_var=no" |
12985 |
< |
fi |
12986 |
< |
|
12987 |
< |
rm -rf conftest.dSYM |
12988 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12989 |
< |
conftest$ac_exeext conftest.$ac_ext |
12990 |
< |
fi |
12991 |
< |
ac_res=`eval 'as_val=${'$as_ac_var'} |
12992 |
< |
$as_echo "$as_val"'` |
12993 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
12994 |
< |
$as_echo "$ac_res" >&6; } |
12995 |
< |
as_val=`eval 'as_val=${'$as_ac_var'} |
12996 |
< |
$as_echo "$as_val"'` |
12997 |
< |
if test "x$as_val" = x""yes; then |
11753 |
> |
do : |
11754 |
> |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11755 |
> |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11756 |
> |
eval as_val=\$$as_ac_var |
11757 |
> |
if test "x$as_val" = x""yes; then : |
11758 |
|
cat >>confdefs.h <<_ACEOF |
11759 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11760 |
|
_ACEOF |
11768 |
|
done |
11769 |
|
|
11770 |
|
|
11771 |
< |
if test -z "$ARGZ_H"; then |
11772 |
< |
{ $as_echo "$as_me:$LINENO: checking if argz actually works" >&5 |
11771 |
> |
if test -z "$ARGZ_H"; then : |
11772 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5 |
11773 |
|
$as_echo_n "checking if argz actually works... " >&6; } |
11774 |
< |
if test "${lt_cv_sys_argz_works+set}" = set; then |
11774 |
> |
if test "${lt_cv_sys_argz_works+set}" = set; then : |
11775 |
|
$as_echo_n "(cached) " >&6 |
11776 |
|
else |
11777 |
|
case $host_os in #( |
11800 |
|
*) lt_cv_sys_argz_works=yes ;; |
11801 |
|
esac |
11802 |
|
fi |
11803 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5 |
11803 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5 |
11804 |
|
$as_echo "$lt_cv_sys_argz_works" >&6; } |
11805 |
< |
if test $lt_cv_sys_argz_works = yes; then |
11805 |
> |
if test $lt_cv_sys_argz_works = yes; then : |
11806 |
|
|
11807 |
< |
cat >>confdefs.h <<\_ACEOF |
13048 |
< |
#define HAVE_WORKING_ARGZ 1 |
13049 |
< |
_ACEOF |
11807 |
> |
$as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h |
11808 |
|
|
11809 |
|
else |
11810 |
|
ARGZ_H=argz.h |
11813 |
|
_LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext" |
11814 |
|
|
11815 |
|
fi |
13058 |
– |
|
11816 |
|
fi |
11817 |
|
|
11818 |
|
|
11819 |
|
|
11820 |
< |
|
13064 |
< |
{ $as_echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5 |
11820 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5 |
11821 |
|
$as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; } |
11822 |
< |
if test "${libltdl_cv_preloaded_symbols+set}" = set; then |
11822 |
> |
if test "${libltdl_cv_preloaded_symbols+set}" = set; then : |
11823 |
|
$as_echo_n "(cached) " >&6 |
11824 |
|
else |
11825 |
|
if test -n "$lt_cv_sys_global_symbol_pipe"; then |
11829 |
|
fi |
11830 |
|
|
11831 |
|
fi |
11832 |
< |
{ $as_echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5 |
11832 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5 |
11833 |
|
$as_echo "$libltdl_cv_preloaded_symbols" >&6; } |
11834 |
|
if test x"$libltdl_cv_preloaded_symbols" = xyes; then |
11835 |
|
|
11836 |
< |
cat >>confdefs.h <<\_ACEOF |
13081 |
< |
#define HAVE_PRELOADED_SYMBOLS 1 |
13082 |
< |
_ACEOF |
11836 |
> |
$as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h |
11837 |
|
|
11838 |
|
fi |
11839 |
|
|
11853 |
|
|
11854 |
|
|
11855 |
|
# Check whether --with-included_ltdl was given. |
11856 |
< |
if test "${with_included_ltdl+set}" = set; then |
11856 |
> |
if test "${with_included_ltdl+set}" = set; then : |
11857 |
|
withval=$with_included_ltdl; |
11858 |
|
fi |
11859 |
|
|
11861 |
|
if test "x$with_included_ltdl" != xyes; then |
11862 |
|
# We are not being forced to use the included libltdl sources, so |
11863 |
|
# decide whether there is a useful installed version we can use. |
11864 |
< |
{ $as_echo "$as_me:$LINENO: checking for ltdl.h" >&5 |
13111 |
< |
$as_echo_n "checking for ltdl.h... " >&6; } |
13112 |
< |
if test "${ac_cv_header_ltdl_h+set}" = set; then |
13113 |
< |
$as_echo_n "(cached) " >&6 |
13114 |
< |
else |
13115 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13116 |
< |
/* confdefs.h. */ |
13117 |
< |
_ACEOF |
13118 |
< |
cat confdefs.h >>conftest.$ac_ext |
13119 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13120 |
< |
/* end confdefs.h. */ |
13121 |
< |
$ac_includes_default |
13122 |
< |
|
11864 |
> |
ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default |
11865 |
|
|
11866 |
< |
#include <ltdl.h> |
11867 |
< |
_ACEOF |
11868 |
< |
rm -f conftest.$ac_objext |
13127 |
< |
if { (ac_try="$ac_compile" |
13128 |
< |
case "(($ac_try" in |
13129 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13130 |
< |
*) ac_try_echo=$ac_try;; |
13131 |
< |
esac |
13132 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13133 |
< |
$as_echo "$ac_try_echo") >&5 |
13134 |
< |
(eval "$ac_compile") 2>conftest.er1 |
13135 |
< |
ac_status=$? |
13136 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13137 |
< |
rm -f conftest.er1 |
13138 |
< |
cat conftest.err >&5 |
13139 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13140 |
< |
(exit $ac_status); } && { |
13141 |
< |
test -z "$ac_c_werror_flag" || |
13142 |
< |
test ! -s conftest.err |
13143 |
< |
} && test -s conftest.$ac_objext; then |
13144 |
< |
ac_cv_header_ltdl_h=yes |
13145 |
< |
else |
13146 |
< |
$as_echo "$as_me: failed program was:" >&5 |
13147 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13148 |
< |
|
13149 |
< |
ac_cv_header_ltdl_h=no |
13150 |
< |
fi |
13151 |
< |
|
13152 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13153 |
< |
fi |
13154 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5 |
13155 |
< |
$as_echo "$ac_cv_header_ltdl_h" >&6; } |
13156 |
< |
if test "x$ac_cv_header_ltdl_h" = x""yes; then |
13157 |
< |
{ $as_echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5 |
13158 |
< |
$as_echo_n "checking whether lt_dlinterface_register is declared... " >&6; } |
13159 |
< |
if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then |
13160 |
< |
$as_echo_n "(cached) " >&6 |
13161 |
< |
else |
13162 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13163 |
< |
/* confdefs.h. */ |
13164 |
< |
_ACEOF |
13165 |
< |
cat confdefs.h >>conftest.$ac_ext |
13166 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13167 |
< |
/* end confdefs.h. */ |
13168 |
< |
$ac_includes_default |
11866 |
> |
" |
11867 |
> |
if test "x$ac_cv_header_ltdl_h" = x""yes; then : |
11868 |
> |
ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default |
11869 |
|
#include <ltdl.h> |
11870 |
< |
|
11871 |
< |
int |
11872 |
< |
main () |
13173 |
< |
{ |
13174 |
< |
#ifndef lt_dlinterface_register |
13175 |
< |
(void) lt_dlinterface_register; |
13176 |
< |
#endif |
13177 |
< |
|
13178 |
< |
; |
13179 |
< |
return 0; |
13180 |
< |
} |
13181 |
< |
_ACEOF |
13182 |
< |
rm -f conftest.$ac_objext |
13183 |
< |
if { (ac_try="$ac_compile" |
13184 |
< |
case "(($ac_try" in |
13185 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13186 |
< |
*) ac_try_echo=$ac_try;; |
13187 |
< |
esac |
13188 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13189 |
< |
$as_echo "$ac_try_echo") >&5 |
13190 |
< |
(eval "$ac_compile") 2>conftest.er1 |
13191 |
< |
ac_status=$? |
13192 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13193 |
< |
rm -f conftest.er1 |
13194 |
< |
cat conftest.err >&5 |
13195 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13196 |
< |
(exit $ac_status); } && { |
13197 |
< |
test -z "$ac_c_werror_flag" || |
13198 |
< |
test ! -s conftest.err |
13199 |
< |
} && test -s conftest.$ac_objext; then |
13200 |
< |
ac_cv_have_decl_lt_dlinterface_register=yes |
13201 |
< |
else |
13202 |
< |
$as_echo "$as_me: failed program was:" >&5 |
13203 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13204 |
< |
|
13205 |
< |
ac_cv_have_decl_lt_dlinterface_register=no |
13206 |
< |
fi |
13207 |
< |
|
13208 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13209 |
< |
fi |
13210 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5 |
13211 |
< |
$as_echo "$ac_cv_have_decl_lt_dlinterface_register" >&6; } |
13212 |
< |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then |
13213 |
< |
{ $as_echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5 |
11870 |
> |
" |
11871 |
> |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then : |
11872 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5 |
11873 |
|
$as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; } |
11874 |
< |
if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then |
11874 |
> |
if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then : |
11875 |
|
$as_echo_n "(cached) " >&6 |
11876 |
|
else |
11877 |
|
ac_check_lib_save_LIBS=$LIBS |
11878 |
|
LIBS="-lltdl $LIBS" |
11879 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13221 |
< |
/* confdefs.h. */ |
13222 |
< |
_ACEOF |
13223 |
< |
cat confdefs.h >>conftest.$ac_ext |
13224 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
11879 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11880 |
|
/* end confdefs.h. */ |
11881 |
|
|
11882 |
|
/* Override any GCC internal prototype to avoid an error. |
11894 |
|
return 0; |
11895 |
|
} |
11896 |
|
_ACEOF |
11897 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
13243 |
< |
if { (ac_try="$ac_link" |
13244 |
< |
case "(($ac_try" in |
13245 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13246 |
< |
*) ac_try_echo=$ac_try;; |
13247 |
< |
esac |
13248 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13249 |
< |
$as_echo "$ac_try_echo") >&5 |
13250 |
< |
(eval "$ac_link") 2>conftest.er1 |
13251 |
< |
ac_status=$? |
13252 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13253 |
< |
rm -f conftest.er1 |
13254 |
< |
cat conftest.err >&5 |
13255 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13256 |
< |
(exit $ac_status); } && { |
13257 |
< |
test -z "$ac_c_werror_flag" || |
13258 |
< |
test ! -s conftest.err |
13259 |
< |
} && test -s conftest$ac_exeext && { |
13260 |
< |
test "$cross_compiling" = yes || |
13261 |
< |
$as_test_x conftest$ac_exeext |
13262 |
< |
}; then |
11897 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
11898 |
|
ac_cv_lib_ltdl_lt_dladvise_preload=yes |
11899 |
|
else |
11900 |
< |
$as_echo "$as_me: failed program was:" >&5 |
13266 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13267 |
< |
|
13268 |
< |
ac_cv_lib_ltdl_lt_dladvise_preload=no |
11900 |
> |
ac_cv_lib_ltdl_lt_dladvise_preload=no |
11901 |
|
fi |
11902 |
< |
|
11903 |
< |
rm -rf conftest.dSYM |
13272 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13273 |
< |
conftest$ac_exeext conftest.$ac_ext |
11902 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
11903 |
> |
conftest$ac_exeext conftest.$ac_ext |
11904 |
|
LIBS=$ac_check_lib_save_LIBS |
11905 |
|
fi |
11906 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5 |
11906 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5 |
11907 |
|
$as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; } |
11908 |
< |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then |
11908 |
> |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then : |
11909 |
|
with_included_ltdl=no |
11910 |
|
else |
11911 |
|
with_included_ltdl=yes |
11931 |
|
|
11932 |
|
|
11933 |
|
# Check whether --with-ltdl_include was given. |
11934 |
< |
if test "${with_ltdl_include+set}" = set; then |
11934 |
> |
if test "${with_ltdl_include+set}" = set; then : |
11935 |
|
withval=$with_ltdl_include; |
11936 |
|
fi |
11937 |
|
|
11939 |
|
if test -n "$with_ltdl_include"; then |
11940 |
|
if test -f "$with_ltdl_include/ltdl.h"; then : |
11941 |
|
else |
11942 |
< |
{ { $as_echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5 |
13313 |
< |
$as_echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;} |
13314 |
< |
{ (exit 1); exit 1; }; } |
11942 |
> |
as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5 |
11943 |
|
fi |
11944 |
|
else |
11945 |
|
with_ltdl_include=no |
11947 |
|
|
11948 |
|
|
11949 |
|
# Check whether --with-ltdl_lib was given. |
11950 |
< |
if test "${with_ltdl_lib+set}" = set; then |
11950 |
> |
if test "${with_ltdl_lib+set}" = set; then : |
11951 |
|
withval=$with_ltdl_lib; |
11952 |
|
fi |
11953 |
|
|
11955 |
|
if test -n "$with_ltdl_lib"; then |
11956 |
|
if test -f "$with_ltdl_lib/libltdl.la"; then : |
11957 |
|
else |
11958 |
< |
{ { $as_echo "$as_me:$LINENO: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&5 |
13331 |
< |
$as_echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;} |
13332 |
< |
{ (exit 1); exit 1; }; } |
11958 |
> |
as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5 |
11959 |
|
fi |
11960 |
|
else |
11961 |
|
with_ltdl_lib=no |
11964 |
|
case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in |
11965 |
|
,yes,no,no,) |
11966 |
|
case $enable_ltdl_convenience in |
11967 |
< |
no) { { $as_echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5 |
13342 |
< |
$as_echo "$as_me: error: this package needs a convenience libltdl" >&2;} |
13343 |
< |
{ (exit 1); exit 1; }; } ;; |
11967 |
> |
no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;; |
11968 |
|
"") enable_ltdl_convenience=yes |
11969 |
|
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; |
11970 |
|
esac |
11985 |
|
# If the included ltdl is not to be used, then use the |
11986 |
|
# preinstalled libltdl we found. |
11987 |
|
|
11988 |
< |
cat >>confdefs.h <<\_ACEOF |
13365 |
< |
#define HAVE_LTDL 1 |
13366 |
< |
_ACEOF |
11988 |
> |
$as_echo "#define HAVE_LTDL 1" >>confdefs.h |
11989 |
|
|
11990 |
|
LIBLTDL=-lltdl |
11991 |
|
LTDLDEPS= |
11992 |
|
LTDLINCL= |
11993 |
|
;; |
11994 |
|
,no*,no,*) |
11995 |
< |
{ { $as_echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&5 |
13374 |
< |
$as_echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&2;} |
13375 |
< |
{ (exit 1); exit 1; }; } |
11995 |
> |
as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5 |
11996 |
|
;; |
11997 |
|
*) with_included_ltdl=no |
11998 |
|
LIBLTDL="-L$with_ltdl_lib -lltdl" |
12003 |
|
INCLTDL="$LTDLINCL" |
12004 |
|
|
12005 |
|
# Report our decision... |
12006 |
< |
{ $as_echo "$as_me:$LINENO: checking where to find libltdl headers" >&5 |
12006 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5 |
12007 |
|
$as_echo_n "checking where to find libltdl headers... " >&6; } |
12008 |
< |
{ $as_echo "$as_me:$LINENO: result: $LTDLINCL" >&5 |
12008 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5 |
12009 |
|
$as_echo "$LTDLINCL" >&6; } |
12010 |
< |
{ $as_echo "$as_me:$LINENO: checking where to find libltdl library" >&5 |
12010 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5 |
12011 |
|
$as_echo_n "checking where to find libltdl library... " >&6; } |
12012 |
< |
{ $as_echo "$as_me:$LINENO: result: $LIBLTDL" >&5 |
12012 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5 |
12013 |
|
$as_echo "$LIBLTDL" >&6; } |
12014 |
|
|
12015 |
|
|
12016 |
|
|
12017 |
|
# Check whether --enable-ltdl-install was given. |
12018 |
< |
if test "${enable_ltdl_install+set}" = set; then |
12018 |
> |
if test "${enable_ltdl_install+set}" = set; then : |
12019 |
|
enableval=$enable_ltdl_install; |
12020 |
|
fi |
12021 |
|
|
12057 |
|
|
12058 |
|
|
12059 |
|
|
13440 |
– |
|
13441 |
– |
|
13442 |
– |
|
13443 |
– |
|
13444 |
– |
|
13445 |
– |
|
12060 |
|
for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h |
12061 |
< |
do |
12062 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12063 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12064 |
< |
$as_echo_n "checking for $ac_header... " >&6; } |
12065 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12066 |
< |
$as_echo_n "(cached) " >&6 |
13453 |
< |
else |
13454 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13455 |
< |
/* confdefs.h. */ |
13456 |
< |
_ACEOF |
13457 |
< |
cat confdefs.h >>conftest.$ac_ext |
13458 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13459 |
< |
/* end confdefs.h. */ |
13460 |
< |
$ac_includes_default |
13461 |
< |
|
13462 |
< |
#include <$ac_header> |
13463 |
< |
_ACEOF |
13464 |
< |
rm -f conftest.$ac_objext |
13465 |
< |
if { (ac_try="$ac_compile" |
13466 |
< |
case "(($ac_try" in |
13467 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13468 |
< |
*) ac_try_echo=$ac_try;; |
13469 |
< |
esac |
13470 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13471 |
< |
$as_echo "$ac_try_echo") >&5 |
13472 |
< |
(eval "$ac_compile") 2>conftest.er1 |
13473 |
< |
ac_status=$? |
13474 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13475 |
< |
rm -f conftest.er1 |
13476 |
< |
cat conftest.err >&5 |
13477 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13478 |
< |
(exit $ac_status); } && { |
13479 |
< |
test -z "$ac_c_werror_flag" || |
13480 |
< |
test ! -s conftest.err |
13481 |
< |
} && test -s conftest.$ac_objext; then |
13482 |
< |
eval "$as_ac_Header=yes" |
13483 |
< |
else |
13484 |
< |
$as_echo "$as_me: failed program was:" >&5 |
13485 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13486 |
< |
|
13487 |
< |
eval "$as_ac_Header=no" |
13488 |
< |
fi |
13489 |
< |
|
13490 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13491 |
< |
fi |
13492 |
< |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
13493 |
< |
$as_echo "$as_val"'` |
13494 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
13495 |
< |
$as_echo "$ac_res" >&6; } |
13496 |
< |
as_val=`eval 'as_val=${'$as_ac_Header'} |
13497 |
< |
$as_echo "$as_val"'` |
13498 |
< |
if test "x$as_val" = x""yes; then |
12061 |
> |
do : |
12062 |
> |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12063 |
> |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
12064 |
> |
" |
12065 |
> |
eval as_val=\$$as_ac_Header |
12066 |
> |
if test "x$as_val" = x""yes; then : |
12067 |
|
cat >>confdefs.h <<_ACEOF |
12068 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12069 |
|
_ACEOF |
12073 |
|
done |
12074 |
|
|
12075 |
|
|
13508 |
– |
|
13509 |
– |
|
13510 |
– |
|
12076 |
|
for ac_func in closedir opendir readdir |
12077 |
< |
do |
12078 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12079 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12080 |
< |
$as_echo_n "checking for $ac_func... " >&6; } |
12081 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
13517 |
< |
$as_echo_n "(cached) " >&6 |
13518 |
< |
else |
13519 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13520 |
< |
/* confdefs.h. */ |
13521 |
< |
_ACEOF |
13522 |
< |
cat confdefs.h >>conftest.$ac_ext |
13523 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13524 |
< |
/* end confdefs.h. */ |
13525 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
13526 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
13527 |
< |
#define $ac_func innocuous_$ac_func |
13528 |
< |
|
13529 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
13530 |
< |
which can conflict with char $ac_func (); below. |
13531 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
13532 |
< |
<limits.h> exists even on freestanding compilers. */ |
13533 |
< |
|
13534 |
< |
#ifdef __STDC__ |
13535 |
< |
# include <limits.h> |
13536 |
< |
#else |
13537 |
< |
# include <assert.h> |
13538 |
< |
#endif |
13539 |
< |
|
13540 |
< |
#undef $ac_func |
13541 |
< |
|
13542 |
< |
/* Override any GCC internal prototype to avoid an error. |
13543 |
< |
Use char because int might match the return type of a GCC |
13544 |
< |
builtin and then its argument prototype would still apply. */ |
13545 |
< |
#ifdef __cplusplus |
13546 |
< |
extern "C" |
13547 |
< |
#endif |
13548 |
< |
char $ac_func (); |
13549 |
< |
/* The GNU C library defines this for functions which it implements |
13550 |
< |
to always fail with ENOSYS. Some functions are actually named |
13551 |
< |
something starting with __ and the normal name is an alias. */ |
13552 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
13553 |
< |
choke me |
13554 |
< |
#endif |
13555 |
< |
|
13556 |
< |
int |
13557 |
< |
main () |
13558 |
< |
{ |
13559 |
< |
return $ac_func (); |
13560 |
< |
; |
13561 |
< |
return 0; |
13562 |
< |
} |
13563 |
< |
_ACEOF |
13564 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
13565 |
< |
if { (ac_try="$ac_link" |
13566 |
< |
case "(($ac_try" in |
13567 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13568 |
< |
*) ac_try_echo=$ac_try;; |
13569 |
< |
esac |
13570 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13571 |
< |
$as_echo "$ac_try_echo") >&5 |
13572 |
< |
(eval "$ac_link") 2>conftest.er1 |
13573 |
< |
ac_status=$? |
13574 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13575 |
< |
rm -f conftest.er1 |
13576 |
< |
cat conftest.err >&5 |
13577 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13578 |
< |
(exit $ac_status); } && { |
13579 |
< |
test -z "$ac_c_werror_flag" || |
13580 |
< |
test ! -s conftest.err |
13581 |
< |
} && test -s conftest$ac_exeext && { |
13582 |
< |
test "$cross_compiling" = yes || |
13583 |
< |
$as_test_x conftest$ac_exeext |
13584 |
< |
}; then |
13585 |
< |
eval "$as_ac_var=yes" |
13586 |
< |
else |
13587 |
< |
$as_echo "$as_me: failed program was:" >&5 |
13588 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13589 |
< |
|
13590 |
< |
eval "$as_ac_var=no" |
13591 |
< |
fi |
13592 |
< |
|
13593 |
< |
rm -rf conftest.dSYM |
13594 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13595 |
< |
conftest$ac_exeext conftest.$ac_ext |
13596 |
< |
fi |
13597 |
< |
ac_res=`eval 'as_val=${'$as_ac_var'} |
13598 |
< |
$as_echo "$as_val"'` |
13599 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
13600 |
< |
$as_echo "$ac_res" >&6; } |
13601 |
< |
as_val=`eval 'as_val=${'$as_ac_var'} |
13602 |
< |
$as_echo "$as_val"'` |
13603 |
< |
if test "x$as_val" = x""yes; then |
12077 |
> |
do : |
12078 |
> |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12079 |
> |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12080 |
> |
eval as_val=\$$as_ac_var |
12081 |
> |
if test "x$as_val" = x""yes; then : |
12082 |
|
cat >>confdefs.h <<_ACEOF |
12083 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12084 |
|
_ACEOF |
12091 |
|
fi |
12092 |
|
done |
12093 |
|
|
13616 |
– |
|
13617 |
– |
|
12094 |
|
for ac_func in strlcat strlcpy |
12095 |
< |
do |
12096 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12097 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12098 |
< |
$as_echo_n "checking for $ac_func... " >&6; } |
12099 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
13624 |
< |
$as_echo_n "(cached) " >&6 |
13625 |
< |
else |
13626 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13627 |
< |
/* confdefs.h. */ |
13628 |
< |
_ACEOF |
13629 |
< |
cat confdefs.h >>conftest.$ac_ext |
13630 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13631 |
< |
/* end confdefs.h. */ |
13632 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
13633 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
13634 |
< |
#define $ac_func innocuous_$ac_func |
13635 |
< |
|
13636 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
13637 |
< |
which can conflict with char $ac_func (); below. |
13638 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
13639 |
< |
<limits.h> exists even on freestanding compilers. */ |
13640 |
< |
|
13641 |
< |
#ifdef __STDC__ |
13642 |
< |
# include <limits.h> |
13643 |
< |
#else |
13644 |
< |
# include <assert.h> |
13645 |
< |
#endif |
13646 |
< |
|
13647 |
< |
#undef $ac_func |
13648 |
< |
|
13649 |
< |
/* Override any GCC internal prototype to avoid an error. |
13650 |
< |
Use char because int might match the return type of a GCC |
13651 |
< |
builtin and then its argument prototype would still apply. */ |
13652 |
< |
#ifdef __cplusplus |
13653 |
< |
extern "C" |
13654 |
< |
#endif |
13655 |
< |
char $ac_func (); |
13656 |
< |
/* The GNU C library defines this for functions which it implements |
13657 |
< |
to always fail with ENOSYS. Some functions are actually named |
13658 |
< |
something starting with __ and the normal name is an alias. */ |
13659 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
13660 |
< |
choke me |
13661 |
< |
#endif |
13662 |
< |
|
13663 |
< |
int |
13664 |
< |
main () |
13665 |
< |
{ |
13666 |
< |
return $ac_func (); |
13667 |
< |
; |
13668 |
< |
return 0; |
13669 |
< |
} |
13670 |
< |
_ACEOF |
13671 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
13672 |
< |
if { (ac_try="$ac_link" |
13673 |
< |
case "(($ac_try" in |
13674 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13675 |
< |
*) ac_try_echo=$ac_try;; |
13676 |
< |
esac |
13677 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13678 |
< |
$as_echo "$ac_try_echo") >&5 |
13679 |
< |
(eval "$ac_link") 2>conftest.er1 |
13680 |
< |
ac_status=$? |
13681 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13682 |
< |
rm -f conftest.er1 |
13683 |
< |
cat conftest.err >&5 |
13684 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13685 |
< |
(exit $ac_status); } && { |
13686 |
< |
test -z "$ac_c_werror_flag" || |
13687 |
< |
test ! -s conftest.err |
13688 |
< |
} && test -s conftest$ac_exeext && { |
13689 |
< |
test "$cross_compiling" = yes || |
13690 |
< |
$as_test_x conftest$ac_exeext |
13691 |
< |
}; then |
13692 |
< |
eval "$as_ac_var=yes" |
13693 |
< |
else |
13694 |
< |
$as_echo "$as_me: failed program was:" >&5 |
13695 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13696 |
< |
|
13697 |
< |
eval "$as_ac_var=no" |
13698 |
< |
fi |
13699 |
< |
|
13700 |
< |
rm -rf conftest.dSYM |
13701 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13702 |
< |
conftest$ac_exeext conftest.$ac_ext |
13703 |
< |
fi |
13704 |
< |
ac_res=`eval 'as_val=${'$as_ac_var'} |
13705 |
< |
$as_echo "$as_val"'` |
13706 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
13707 |
< |
$as_echo "$ac_res" >&6; } |
13708 |
< |
as_val=`eval 'as_val=${'$as_ac_var'} |
13709 |
< |
$as_echo "$as_val"'` |
13710 |
< |
if test "x$as_val" = x""yes; then |
12095 |
> |
do : |
12096 |
> |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12097 |
> |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12098 |
> |
eval as_val=\$$as_ac_var |
12099 |
> |
if test "x$as_val" = x""yes; then : |
12100 |
|
cat >>confdefs.h <<_ACEOF |
12101 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12102 |
|
_ACEOF |
12134 |
|
|
12135 |
|
# Checks for libraries. |
12136 |
|
|
12137 |
< |
{ $as_echo "$as_me:$LINENO: checking for library containing socket" >&5 |
12137 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
12138 |
|
$as_echo_n "checking for library containing socket... " >&6; } |
12139 |
< |
if test "${ac_cv_search_socket+set}" = set; then |
12139 |
> |
if test "${ac_cv_search_socket+set}" = set; then : |
12140 |
|
$as_echo_n "(cached) " >&6 |
12141 |
|
else |
12142 |
|
ac_func_search_save_LIBS=$LIBS |
12143 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13755 |
< |
/* confdefs.h. */ |
13756 |
< |
_ACEOF |
13757 |
< |
cat confdefs.h >>conftest.$ac_ext |
13758 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12143 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12144 |
|
/* end confdefs.h. */ |
12145 |
|
|
12146 |
|
/* Override any GCC internal prototype to avoid an error. |
12165 |
|
ac_res=-l$ac_lib |
12166 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
12167 |
|
fi |
12168 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
13784 |
< |
if { (ac_try="$ac_link" |
13785 |
< |
case "(($ac_try" in |
13786 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13787 |
< |
*) ac_try_echo=$ac_try;; |
13788 |
< |
esac |
13789 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13790 |
< |
$as_echo "$ac_try_echo") >&5 |
13791 |
< |
(eval "$ac_link") 2>conftest.er1 |
13792 |
< |
ac_status=$? |
13793 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13794 |
< |
rm -f conftest.er1 |
13795 |
< |
cat conftest.err >&5 |
13796 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13797 |
< |
(exit $ac_status); } && { |
13798 |
< |
test -z "$ac_c_werror_flag" || |
13799 |
< |
test ! -s conftest.err |
13800 |
< |
} && test -s conftest$ac_exeext && { |
13801 |
< |
test "$cross_compiling" = yes || |
13802 |
< |
$as_test_x conftest$ac_exeext |
13803 |
< |
}; then |
12168 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
12169 |
|
ac_cv_search_socket=$ac_res |
13805 |
– |
else |
13806 |
– |
$as_echo "$as_me: failed program was:" >&5 |
13807 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
13808 |
– |
|
13809 |
– |
|
12170 |
|
fi |
12171 |
< |
|
12172 |
< |
rm -rf conftest.dSYM |
12173 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13814 |
< |
conftest$ac_exeext |
13815 |
< |
if test "${ac_cv_search_socket+set}" = set; then |
12171 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
12172 |
> |
conftest$ac_exeext |
12173 |
> |
if test "${ac_cv_search_socket+set}" = set; then : |
12174 |
|
break |
12175 |
|
fi |
12176 |
|
done |
12177 |
< |
if test "${ac_cv_search_socket+set}" = set; then |
12178 |
< |
: |
12177 |
> |
if test "${ac_cv_search_socket+set}" = set; then : |
12178 |
> |
|
12179 |
|
else |
12180 |
|
ac_cv_search_socket=no |
12181 |
|
fi |
12182 |
|
rm conftest.$ac_ext |
12183 |
|
LIBS=$ac_func_search_save_LIBS |
12184 |
|
fi |
12185 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5 |
12185 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
12186 |
|
$as_echo "$ac_cv_search_socket" >&6; } |
12187 |
|
ac_res=$ac_cv_search_socket |
12188 |
< |
if test "$ac_res" != no; then |
12188 |
> |
if test "$ac_res" != no; then : |
12189 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
12190 |
|
|
12191 |
|
else |
12192 |
< |
{ { $as_echo "$as_me:$LINENO: error: socket library not found" >&5 |
13835 |
< |
$as_echo "$as_me: error: socket library not found" >&2;} |
13836 |
< |
{ (exit 1); exit 1; }; } |
12192 |
> |
as_fn_error "socket library not found" "$LINENO" 5 |
12193 |
|
fi |
12194 |
|
|
12195 |
< |
|
12196 |
< |
|
12197 |
< |
|
12198 |
< |
for ac_func in inet_aton inet_ntop inet_pton |
12199 |
< |
do |
12200 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13845 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
13846 |
< |
$as_echo_n "checking for $ac_func... " >&6; } |
13847 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
13848 |
< |
$as_echo_n "(cached) " >&6 |
13849 |
< |
else |
13850 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13851 |
< |
/* confdefs.h. */ |
13852 |
< |
_ACEOF |
13853 |
< |
cat confdefs.h >>conftest.$ac_ext |
13854 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13855 |
< |
/* end confdefs.h. */ |
13856 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
13857 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
13858 |
< |
#define $ac_func innocuous_$ac_func |
13859 |
< |
|
13860 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
13861 |
< |
which can conflict with char $ac_func (); below. |
13862 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
13863 |
< |
<limits.h> exists even on freestanding compilers. */ |
13864 |
< |
|
13865 |
< |
#ifdef __STDC__ |
13866 |
< |
# include <limits.h> |
13867 |
< |
#else |
13868 |
< |
# include <assert.h> |
13869 |
< |
#endif |
13870 |
< |
|
13871 |
< |
#undef $ac_func |
13872 |
< |
|
13873 |
< |
/* Override any GCC internal prototype to avoid an error. |
13874 |
< |
Use char because int might match the return type of a GCC |
13875 |
< |
builtin and then its argument prototype would still apply. */ |
13876 |
< |
#ifdef __cplusplus |
13877 |
< |
extern "C" |
13878 |
< |
#endif |
13879 |
< |
char $ac_func (); |
13880 |
< |
/* The GNU C library defines this for functions which it implements |
13881 |
< |
to always fail with ENOSYS. Some functions are actually named |
13882 |
< |
something starting with __ and the normal name is an alias. */ |
13883 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
13884 |
< |
choke me |
13885 |
< |
#endif |
13886 |
< |
|
13887 |
< |
int |
13888 |
< |
main () |
13889 |
< |
{ |
13890 |
< |
return $ac_func (); |
13891 |
< |
; |
13892 |
< |
return 0; |
13893 |
< |
} |
13894 |
< |
_ACEOF |
13895 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
13896 |
< |
if { (ac_try="$ac_link" |
13897 |
< |
case "(($ac_try" in |
13898 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13899 |
< |
*) ac_try_echo=$ac_try;; |
13900 |
< |
esac |
13901 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13902 |
< |
$as_echo "$ac_try_echo") >&5 |
13903 |
< |
(eval "$ac_link") 2>conftest.er1 |
13904 |
< |
ac_status=$? |
13905 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13906 |
< |
rm -f conftest.er1 |
13907 |
< |
cat conftest.err >&5 |
13908 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13909 |
< |
(exit $ac_status); } && { |
13910 |
< |
test -z "$ac_c_werror_flag" || |
13911 |
< |
test ! -s conftest.err |
13912 |
< |
} && test -s conftest$ac_exeext && { |
13913 |
< |
test "$cross_compiling" = yes || |
13914 |
< |
$as_test_x conftest$ac_exeext |
13915 |
< |
}; then |
13916 |
< |
eval "$as_ac_var=yes" |
13917 |
< |
else |
13918 |
< |
$as_echo "$as_me: failed program was:" >&5 |
13919 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
13920 |
< |
|
13921 |
< |
eval "$as_ac_var=no" |
13922 |
< |
fi |
13923 |
< |
|
13924 |
< |
rm -rf conftest.dSYM |
13925 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13926 |
< |
conftest$ac_exeext conftest.$ac_ext |
13927 |
< |
fi |
13928 |
< |
ac_res=`eval 'as_val=${'$as_ac_var'} |
13929 |
< |
$as_echo "$as_val"'` |
13930 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
13931 |
< |
$as_echo "$ac_res" >&6; } |
13932 |
< |
as_val=`eval 'as_val=${'$as_ac_var'} |
13933 |
< |
$as_echo "$as_val"'` |
13934 |
< |
if test "x$as_val" = x""yes; then |
12195 |
> |
for ac_func in inet_aton inet_ntop inet_pton |
12196 |
> |
do : |
12197 |
> |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12198 |
> |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12199 |
> |
eval as_val=\$$as_ac_var |
12200 |
> |
if test "x$as_val" = x""yes; then : |
12201 |
|
cat >>confdefs.h <<_ACEOF |
12202 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12203 |
|
_ACEOF |
12205 |
|
fi |
12206 |
|
done |
12207 |
|
|
12208 |
< |
{ $as_echo "$as_me:$LINENO: checking for struct sockaddr_in" >&5 |
13943 |
< |
$as_echo_n "checking for struct sockaddr_in... " >&6; } |
13944 |
< |
if test "${ac_cv_type_struct_sockaddr_in+set}" = set; then |
13945 |
< |
$as_echo_n "(cached) " >&6 |
13946 |
< |
else |
13947 |
< |
ac_cv_type_struct_sockaddr_in=no |
13948 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13949 |
< |
/* confdefs.h. */ |
13950 |
< |
_ACEOF |
13951 |
< |
cat confdefs.h >>conftest.$ac_ext |
13952 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13953 |
< |
/* end confdefs.h. */ |
13954 |
< |
#include <sys/types.h> |
13955 |
< |
#include <sys/socket.h> |
13956 |
< |
#include <netdb.h> |
13957 |
< |
|
13958 |
< |
|
13959 |
< |
int |
13960 |
< |
main () |
13961 |
< |
{ |
13962 |
< |
if (sizeof (struct sockaddr_in)) |
13963 |
< |
return 0; |
13964 |
< |
; |
13965 |
< |
return 0; |
13966 |
< |
} |
13967 |
< |
_ACEOF |
13968 |
< |
rm -f conftest.$ac_objext |
13969 |
< |
if { (ac_try="$ac_compile" |
13970 |
< |
case "(($ac_try" in |
13971 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13972 |
< |
*) ac_try_echo=$ac_try;; |
13973 |
< |
esac |
13974 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13975 |
< |
$as_echo "$ac_try_echo") >&5 |
13976 |
< |
(eval "$ac_compile") 2>conftest.er1 |
13977 |
< |
ac_status=$? |
13978 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
13979 |
< |
rm -f conftest.er1 |
13980 |
< |
cat conftest.err >&5 |
13981 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13982 |
< |
(exit $ac_status); } && { |
13983 |
< |
test -z "$ac_c_werror_flag" || |
13984 |
< |
test ! -s conftest.err |
13985 |
< |
} && test -s conftest.$ac_objext; then |
13986 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13987 |
< |
/* confdefs.h. */ |
13988 |
< |
_ACEOF |
13989 |
< |
cat confdefs.h >>conftest.$ac_ext |
13990 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13991 |
< |
/* end confdefs.h. */ |
13992 |
< |
#include <sys/types.h> |
12208 |
> |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h> |
12209 |
|
#include <sys/socket.h> |
12210 |
|
#include <netdb.h> |
12211 |
|
|
12212 |
< |
|
12213 |
< |
int |
13998 |
< |
main () |
13999 |
< |
{ |
14000 |
< |
if (sizeof ((struct sockaddr_in))) |
14001 |
< |
return 0; |
14002 |
< |
; |
14003 |
< |
return 0; |
14004 |
< |
} |
14005 |
< |
_ACEOF |
14006 |
< |
rm -f conftest.$ac_objext |
14007 |
< |
if { (ac_try="$ac_compile" |
14008 |
< |
case "(($ac_try" in |
14009 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14010 |
< |
*) ac_try_echo=$ac_try;; |
14011 |
< |
esac |
14012 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14013 |
< |
$as_echo "$ac_try_echo") >&5 |
14014 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14015 |
< |
ac_status=$? |
14016 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14017 |
< |
rm -f conftest.er1 |
14018 |
< |
cat conftest.err >&5 |
14019 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14020 |
< |
(exit $ac_status); } && { |
14021 |
< |
test -z "$ac_c_werror_flag" || |
14022 |
< |
test ! -s conftest.err |
14023 |
< |
} && test -s conftest.$ac_objext; then |
14024 |
< |
: |
14025 |
< |
else |
14026 |
< |
$as_echo "$as_me: failed program was:" >&5 |
14027 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14028 |
< |
|
14029 |
< |
ac_cv_type_struct_sockaddr_in=yes |
14030 |
< |
fi |
14031 |
< |
|
14032 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14033 |
< |
else |
14034 |
< |
$as_echo "$as_me: failed program was:" >&5 |
14035 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14036 |
< |
|
14037 |
< |
|
14038 |
< |
fi |
14039 |
< |
|
14040 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14041 |
< |
fi |
14042 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_in" >&5 |
14043 |
< |
$as_echo "$ac_cv_type_struct_sockaddr_in" >&6; } |
14044 |
< |
if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then |
12212 |
> |
" |
12213 |
> |
if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then : |
12214 |
|
|
12215 |
|
cat >>confdefs.h <<_ACEOF |
12216 |
|
#define HAVE_STRUCT_SOCKADDR_IN 1 |
12218 |
|
|
12219 |
|
|
12220 |
|
fi |
12221 |
< |
{ $as_echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5 |
14053 |
< |
$as_echo_n "checking for struct sockaddr_storage... " >&6; } |
14054 |
< |
if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then |
14055 |
< |
$as_echo_n "(cached) " >&6 |
14056 |
< |
else |
14057 |
< |
ac_cv_type_struct_sockaddr_storage=no |
14058 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14059 |
< |
/* confdefs.h. */ |
14060 |
< |
_ACEOF |
14061 |
< |
cat confdefs.h >>conftest.$ac_ext |
14062 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
14063 |
< |
/* end confdefs.h. */ |
14064 |
< |
#include <sys/types.h> |
12221 |
> |
ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h> |
12222 |
|
#include <sys/socket.h> |
12223 |
|
#include <netdb.h> |
12224 |
|
|
12225 |
< |
|
12226 |
< |
int |
14070 |
< |
main () |
14071 |
< |
{ |
14072 |
< |
if (sizeof (struct sockaddr_storage)) |
14073 |
< |
return 0; |
14074 |
< |
; |
14075 |
< |
return 0; |
14076 |
< |
} |
14077 |
< |
_ACEOF |
14078 |
< |
rm -f conftest.$ac_objext |
14079 |
< |
if { (ac_try="$ac_compile" |
14080 |
< |
case "(($ac_try" in |
14081 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14082 |
< |
*) ac_try_echo=$ac_try;; |
14083 |
< |
esac |
14084 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14085 |
< |
$as_echo "$ac_try_echo") >&5 |
14086 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14087 |
< |
ac_status=$? |
14088 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14089 |
< |
rm -f conftest.er1 |
14090 |
< |
cat conftest.err >&5 |
14091 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14092 |
< |
(exit $ac_status); } && { |
14093 |
< |
test -z "$ac_c_werror_flag" || |
14094 |
< |
test ! -s conftest.err |
14095 |
< |
} && test -s conftest.$ac_objext; then |
14096 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14097 |
< |
/* confdefs.h. */ |
14098 |
< |
_ACEOF |
14099 |
< |
cat confdefs.h >>conftest.$ac_ext |
14100 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
14101 |
< |
/* end confdefs.h. */ |
14102 |
< |
#include <sys/types.h> |
14103 |
< |
#include <sys/socket.h> |
14104 |
< |
#include <netdb.h> |
14105 |
< |
|
14106 |
< |
|
14107 |
< |
int |
14108 |
< |
main () |
14109 |
< |
{ |
14110 |
< |
if (sizeof ((struct sockaddr_storage))) |
14111 |
< |
return 0; |
14112 |
< |
; |
14113 |
< |
return 0; |
14114 |
< |
} |
14115 |
< |
_ACEOF |
14116 |
< |
rm -f conftest.$ac_objext |
14117 |
< |
if { (ac_try="$ac_compile" |
14118 |
< |
case "(($ac_try" in |
14119 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14120 |
< |
*) ac_try_echo=$ac_try;; |
14121 |
< |
esac |
14122 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14123 |
< |
$as_echo "$ac_try_echo") >&5 |
14124 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14125 |
< |
ac_status=$? |
14126 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14127 |
< |
rm -f conftest.er1 |
14128 |
< |
cat conftest.err >&5 |
14129 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14130 |
< |
(exit $ac_status); } && { |
14131 |
< |
test -z "$ac_c_werror_flag" || |
14132 |
< |
test ! -s conftest.err |
14133 |
< |
} && test -s conftest.$ac_objext; then |
14134 |
< |
: |
14135 |
< |
else |
14136 |
< |
$as_echo "$as_me: failed program was:" >&5 |
14137 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14138 |
< |
|
14139 |
< |
ac_cv_type_struct_sockaddr_storage=yes |
14140 |
< |
fi |
14141 |
< |
|
14142 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14143 |
< |
else |
14144 |
< |
$as_echo "$as_me: failed program was:" >&5 |
14145 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14146 |
< |
|
14147 |
< |
|
14148 |
< |
fi |
14149 |
< |
|
14150 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14151 |
< |
fi |
14152 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5 |
14153 |
< |
$as_echo "$ac_cv_type_struct_sockaddr_storage" >&6; } |
14154 |
< |
if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then |
12225 |
> |
" |
12226 |
> |
if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : |
12227 |
|
|
12228 |
|
cat >>confdefs.h <<_ACEOF |
12229 |
|
#define HAVE_STRUCT_SOCKADDR_STORAGE 1 |
12231 |
|
|
12232 |
|
|
12233 |
|
fi |
12234 |
< |
{ $as_echo "$as_me:$LINENO: checking for struct addrinfo" >&5 |
14163 |
< |
$as_echo_n "checking for struct addrinfo... " >&6; } |
14164 |
< |
if test "${ac_cv_type_struct_addrinfo+set}" = set; then |
14165 |
< |
$as_echo_n "(cached) " >&6 |
14166 |
< |
else |
14167 |
< |
ac_cv_type_struct_addrinfo=no |
14168 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14169 |
< |
/* confdefs.h. */ |
14170 |
< |
_ACEOF |
14171 |
< |
cat confdefs.h >>conftest.$ac_ext |
14172 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
14173 |
< |
/* end confdefs.h. */ |
14174 |
< |
#include <sys/types.h> |
14175 |
< |
#include <sys/socket.h> |
14176 |
< |
#include <netdb.h> |
14177 |
< |
|
14178 |
< |
|
14179 |
< |
int |
14180 |
< |
main () |
14181 |
< |
{ |
14182 |
< |
if (sizeof (struct addrinfo)) |
14183 |
< |
return 0; |
14184 |
< |
; |
14185 |
< |
return 0; |
14186 |
< |
} |
14187 |
< |
_ACEOF |
14188 |
< |
rm -f conftest.$ac_objext |
14189 |
< |
if { (ac_try="$ac_compile" |
14190 |
< |
case "(($ac_try" in |
14191 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14192 |
< |
*) ac_try_echo=$ac_try;; |
14193 |
< |
esac |
14194 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14195 |
< |
$as_echo "$ac_try_echo") >&5 |
14196 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14197 |
< |
ac_status=$? |
14198 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14199 |
< |
rm -f conftest.er1 |
14200 |
< |
cat conftest.err >&5 |
14201 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14202 |
< |
(exit $ac_status); } && { |
14203 |
< |
test -z "$ac_c_werror_flag" || |
14204 |
< |
test ! -s conftest.err |
14205 |
< |
} && test -s conftest.$ac_objext; then |
14206 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14207 |
< |
/* confdefs.h. */ |
14208 |
< |
_ACEOF |
14209 |
< |
cat confdefs.h >>conftest.$ac_ext |
14210 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
14211 |
< |
/* end confdefs.h. */ |
14212 |
< |
#include <sys/types.h> |
12234 |
> |
ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h> |
12235 |
|
#include <sys/socket.h> |
12236 |
|
#include <netdb.h> |
12237 |
|
|
12238 |
< |
|
12239 |
< |
int |
14218 |
< |
main () |
14219 |
< |
{ |
14220 |
< |
if (sizeof ((struct addrinfo))) |
14221 |
< |
return 0; |
14222 |
< |
; |
14223 |
< |
return 0; |
14224 |
< |
} |
14225 |
< |
_ACEOF |
14226 |
< |
rm -f conftest.$ac_objext |
14227 |
< |
if { (ac_try="$ac_compile" |
14228 |
< |
case "(($ac_try" in |
14229 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14230 |
< |
*) ac_try_echo=$ac_try;; |
14231 |
< |
esac |
14232 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14233 |
< |
$as_echo "$ac_try_echo") >&5 |
14234 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14235 |
< |
ac_status=$? |
14236 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14237 |
< |
rm -f conftest.er1 |
14238 |
< |
cat conftest.err >&5 |
14239 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14240 |
< |
(exit $ac_status); } && { |
14241 |
< |
test -z "$ac_c_werror_flag" || |
14242 |
< |
test ! -s conftest.err |
14243 |
< |
} && test -s conftest.$ac_objext; then |
14244 |
< |
: |
14245 |
< |
else |
14246 |
< |
$as_echo "$as_me: failed program was:" >&5 |
14247 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14248 |
< |
|
14249 |
< |
ac_cv_type_struct_addrinfo=yes |
14250 |
< |
fi |
14251 |
< |
|
14252 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14253 |
< |
else |
14254 |
< |
$as_echo "$as_me: failed program was:" >&5 |
14255 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14256 |
< |
|
14257 |
< |
|
14258 |
< |
fi |
14259 |
< |
|
14260 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14261 |
< |
fi |
14262 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5 |
14263 |
< |
$as_echo "$ac_cv_type_struct_addrinfo" >&6; } |
14264 |
< |
if test "x$ac_cv_type_struct_addrinfo" = x""yes; then |
12238 |
> |
" |
12239 |
> |
if test "x$ac_cv_type_struct_addrinfo" = x""yes; then : |
12240 |
|
|
12241 |
|
cat >>confdefs.h <<_ACEOF |
12242 |
|
#define HAVE_STRUCT_ADDRINFO 1 |
12245 |
|
|
12246 |
|
fi |
12247 |
|
|
12248 |
< |
{ $as_echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5 |
14274 |
< |
$as_echo_n "checking for struct sockaddr_in.sin_len... " >&6; } |
14275 |
< |
if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then |
14276 |
< |
$as_echo_n "(cached) " >&6 |
14277 |
< |
else |
14278 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14279 |
< |
/* confdefs.h. */ |
14280 |
< |
_ACEOF |
14281 |
< |
cat confdefs.h >>conftest.$ac_ext |
14282 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
14283 |
< |
/* end confdefs.h. */ |
14284 |
< |
#include <sys/types.h> |
12248 |
> |
ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h> |
12249 |
|
<sys/socket.h> |
12250 |
< |
|
12251 |
< |
int |
14288 |
< |
main () |
14289 |
< |
{ |
14290 |
< |
static struct sockaddr_in ac_aggr; |
14291 |
< |
if (ac_aggr.sin_len) |
14292 |
< |
return 0; |
14293 |
< |
; |
14294 |
< |
return 0; |
14295 |
< |
} |
14296 |
< |
_ACEOF |
14297 |
< |
rm -f conftest.$ac_objext |
14298 |
< |
if { (ac_try="$ac_compile" |
14299 |
< |
case "(($ac_try" in |
14300 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14301 |
< |
*) ac_try_echo=$ac_try;; |
14302 |
< |
esac |
14303 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14304 |
< |
$as_echo "$ac_try_echo") >&5 |
14305 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14306 |
< |
ac_status=$? |
14307 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14308 |
< |
rm -f conftest.er1 |
14309 |
< |
cat conftest.err >&5 |
14310 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14311 |
< |
(exit $ac_status); } && { |
14312 |
< |
test -z "$ac_c_werror_flag" || |
14313 |
< |
test ! -s conftest.err |
14314 |
< |
} && test -s conftest.$ac_objext; then |
14315 |
< |
ac_cv_member_struct_sockaddr_in_sin_len=yes |
14316 |
< |
else |
14317 |
< |
$as_echo "$as_me: failed program was:" >&5 |
14318 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14319 |
< |
|
14320 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14321 |
< |
/* confdefs.h. */ |
14322 |
< |
_ACEOF |
14323 |
< |
cat confdefs.h >>conftest.$ac_ext |
14324 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
14325 |
< |
/* end confdefs.h. */ |
14326 |
< |
#include <sys/types.h> |
14327 |
< |
<sys/socket.h> |
14328 |
< |
|
14329 |
< |
int |
14330 |
< |
main () |
14331 |
< |
{ |
14332 |
< |
static struct sockaddr_in ac_aggr; |
14333 |
< |
if (sizeof ac_aggr.sin_len) |
14334 |
< |
return 0; |
14335 |
< |
; |
14336 |
< |
return 0; |
14337 |
< |
} |
14338 |
< |
_ACEOF |
14339 |
< |
rm -f conftest.$ac_objext |
14340 |
< |
if { (ac_try="$ac_compile" |
14341 |
< |
case "(($ac_try" in |
14342 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14343 |
< |
*) ac_try_echo=$ac_try;; |
14344 |
< |
esac |
14345 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14346 |
< |
$as_echo "$ac_try_echo") >&5 |
14347 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14348 |
< |
ac_status=$? |
14349 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14350 |
< |
rm -f conftest.er1 |
14351 |
< |
cat conftest.err >&5 |
14352 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14353 |
< |
(exit $ac_status); } && { |
14354 |
< |
test -z "$ac_c_werror_flag" || |
14355 |
< |
test ! -s conftest.err |
14356 |
< |
} && test -s conftest.$ac_objext; then |
14357 |
< |
ac_cv_member_struct_sockaddr_in_sin_len=yes |
14358 |
< |
else |
14359 |
< |
$as_echo "$as_me: failed program was:" >&5 |
14360 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14361 |
< |
|
14362 |
< |
ac_cv_member_struct_sockaddr_in_sin_len=no |
14363 |
< |
fi |
14364 |
< |
|
14365 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14366 |
< |
fi |
14367 |
< |
|
14368 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14369 |
< |
fi |
14370 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5 |
14371 |
< |
$as_echo "$ac_cv_member_struct_sockaddr_in_sin_len" >&6; } |
14372 |
< |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then |
12250 |
> |
" |
12251 |
> |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then : |
12252 |
|
|
12253 |
|
cat >>confdefs.h <<_ACEOF |
12254 |
|
#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 |
12259 |
|
|
12260 |
|
|
12261 |
|
|
12262 |
< |
{ $as_echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5 |
12263 |
< |
$as_echo_n "checking for struct sockaddr_in6... " >&6; } |
14385 |
< |
if test "${ac_cv_type_struct_sockaddr_in6+set}" = set; then |
14386 |
< |
$as_echo_n "(cached) " >&6 |
14387 |
< |
else |
14388 |
< |
ac_cv_type_struct_sockaddr_in6=no |
14389 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14390 |
< |
/* confdefs.h. */ |
14391 |
< |
_ACEOF |
14392 |
< |
cat confdefs.h >>conftest.$ac_ext |
14393 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
14394 |
< |
/* end confdefs.h. */ |
14395 |
< |
$ac_includes_default |
14396 |
< |
int |
14397 |
< |
main () |
14398 |
< |
{ |
14399 |
< |
if (sizeof (struct sockaddr_in6)) |
14400 |
< |
return 0; |
14401 |
< |
; |
14402 |
< |
return 0; |
14403 |
< |
} |
14404 |
< |
_ACEOF |
14405 |
< |
rm -f conftest.$ac_objext |
14406 |
< |
if { (ac_try="$ac_compile" |
14407 |
< |
case "(($ac_try" in |
14408 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14409 |
< |
*) ac_try_echo=$ac_try;; |
14410 |
< |
esac |
14411 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14412 |
< |
$as_echo "$ac_try_echo") >&5 |
14413 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14414 |
< |
ac_status=$? |
14415 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14416 |
< |
rm -f conftest.er1 |
14417 |
< |
cat conftest.err >&5 |
14418 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14419 |
< |
(exit $ac_status); } && { |
14420 |
< |
test -z "$ac_c_werror_flag" || |
14421 |
< |
test ! -s conftest.err |
14422 |
< |
} && test -s conftest.$ac_objext; then |
14423 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14424 |
< |
/* confdefs.h. */ |
14425 |
< |
_ACEOF |
14426 |
< |
cat confdefs.h >>conftest.$ac_ext |
14427 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
14428 |
< |
/* end confdefs.h. */ |
14429 |
< |
$ac_includes_default |
14430 |
< |
int |
14431 |
< |
main () |
14432 |
< |
{ |
14433 |
< |
if (sizeof ((struct sockaddr_in6))) |
14434 |
< |
return 0; |
14435 |
< |
; |
14436 |
< |
return 0; |
14437 |
< |
} |
14438 |
< |
_ACEOF |
14439 |
< |
rm -f conftest.$ac_objext |
14440 |
< |
if { (ac_try="$ac_compile" |
14441 |
< |
case "(($ac_try" in |
14442 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14443 |
< |
*) ac_try_echo=$ac_try;; |
14444 |
< |
esac |
14445 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14446 |
< |
$as_echo "$ac_try_echo") >&5 |
14447 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14448 |
< |
ac_status=$? |
14449 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14450 |
< |
rm -f conftest.er1 |
14451 |
< |
cat conftest.err >&5 |
14452 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14453 |
< |
(exit $ac_status); } && { |
14454 |
< |
test -z "$ac_c_werror_flag" || |
14455 |
< |
test ! -s conftest.err |
14456 |
< |
} && test -s conftest.$ac_objext; then |
14457 |
< |
: |
14458 |
< |
else |
14459 |
< |
$as_echo "$as_me: failed program was:" >&5 |
14460 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14461 |
< |
|
14462 |
< |
ac_cv_type_struct_sockaddr_in6=yes |
14463 |
< |
fi |
14464 |
< |
|
14465 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14466 |
< |
else |
14467 |
< |
$as_echo "$as_me: failed program was:" >&5 |
14468 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14469 |
< |
|
14470 |
< |
|
14471 |
< |
fi |
14472 |
< |
|
14473 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14474 |
< |
fi |
14475 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_in6" >&5 |
14476 |
< |
$as_echo "$ac_cv_type_struct_sockaddr_in6" >&6; } |
14477 |
< |
if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then |
12262 |
> |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default" |
12263 |
> |
if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then : |
12264 |
|
|
12265 |
|
cat >>confdefs.h <<_ACEOF |
12266 |
|
#define HAVE_STRUCT_SOCKADDR_IN6 1 |
12269 |
|
|
12270 |
|
else |
12271 |
|
|
12272 |
< |
cat >>confdefs.h <<\_ACEOF |
14487 |
< |
#define IPV6 1 |
14488 |
< |
_ACEOF |
12272 |
> |
$as_echo "#define IPV6 1" >>confdefs.h |
12273 |
|
|
12274 |
|
fi |
12275 |
|
|
12277 |
|
|
12278 |
|
|
12279 |
|
# Checks for typedefs, structures, and compiler characteristics. |
12280 |
< |
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
12280 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
12281 |
|
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
12282 |
< |
if test "${ac_cv_c_const+set}" = set; then |
12282 |
> |
if test "${ac_cv_c_const+set}" = set; then : |
12283 |
|
$as_echo_n "(cached) " >&6 |
12284 |
|
else |
12285 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14502 |
< |
/* confdefs.h. */ |
14503 |
< |
_ACEOF |
14504 |
< |
cat confdefs.h >>conftest.$ac_ext |
14505 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12285 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12286 |
|
/* end confdefs.h. */ |
12287 |
|
|
12288 |
|
int |
12342 |
|
return 0; |
12343 |
|
} |
12344 |
|
_ACEOF |
12345 |
< |
rm -f conftest.$ac_objext |
14566 |
< |
if { (ac_try="$ac_compile" |
14567 |
< |
case "(($ac_try" in |
14568 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14569 |
< |
*) ac_try_echo=$ac_try;; |
14570 |
< |
esac |
14571 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14572 |
< |
$as_echo "$ac_try_echo") >&5 |
14573 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14574 |
< |
ac_status=$? |
14575 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14576 |
< |
rm -f conftest.er1 |
14577 |
< |
cat conftest.err >&5 |
14578 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14579 |
< |
(exit $ac_status); } && { |
14580 |
< |
test -z "$ac_c_werror_flag" || |
14581 |
< |
test ! -s conftest.err |
14582 |
< |
} && test -s conftest.$ac_objext; then |
12345 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
12346 |
|
ac_cv_c_const=yes |
12347 |
|
else |
12348 |
< |
$as_echo "$as_me: failed program was:" >&5 |
14586 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14587 |
< |
|
14588 |
< |
ac_cv_c_const=no |
12348 |
> |
ac_cv_c_const=no |
12349 |
|
fi |
14590 |
– |
|
12350 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12351 |
|
fi |
12352 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
12352 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
12353 |
|
$as_echo "$ac_cv_c_const" >&6; } |
12354 |
|
if test $ac_cv_c_const = no; then |
12355 |
|
|
12356 |
< |
cat >>confdefs.h <<\_ACEOF |
14598 |
< |
#define const /**/ |
14599 |
< |
_ACEOF |
12356 |
> |
$as_echo "#define const /**/" >>confdefs.h |
12357 |
|
|
12358 |
|
fi |
12359 |
|
|
12360 |
< |
{ $as_echo "$as_me:$LINENO: checking for inline" >&5 |
12360 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
12361 |
|
$as_echo_n "checking for inline... " >&6; } |
12362 |
< |
if test "${ac_cv_c_inline+set}" = set; then |
12362 |
> |
if test "${ac_cv_c_inline+set}" = set; then : |
12363 |
|
$as_echo_n "(cached) " >&6 |
12364 |
|
else |
12365 |
|
ac_cv_c_inline=no |
12366 |
|
for ac_kw in inline __inline__ __inline; do |
12367 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14611 |
< |
/* confdefs.h. */ |
14612 |
< |
_ACEOF |
14613 |
< |
cat confdefs.h >>conftest.$ac_ext |
14614 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12367 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12368 |
|
/* end confdefs.h. */ |
12369 |
|
#ifndef __cplusplus |
12370 |
|
typedef int foo_t; |
12373 |
|
#endif |
12374 |
|
|
12375 |
|
_ACEOF |
12376 |
< |
rm -f conftest.$ac_objext |
14624 |
< |
if { (ac_try="$ac_compile" |
14625 |
< |
case "(($ac_try" in |
14626 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14627 |
< |
*) ac_try_echo=$ac_try;; |
14628 |
< |
esac |
14629 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14630 |
< |
$as_echo "$ac_try_echo") >&5 |
14631 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14632 |
< |
ac_status=$? |
14633 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14634 |
< |
rm -f conftest.er1 |
14635 |
< |
cat conftest.err >&5 |
14636 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14637 |
< |
(exit $ac_status); } && { |
14638 |
< |
test -z "$ac_c_werror_flag" || |
14639 |
< |
test ! -s conftest.err |
14640 |
< |
} && test -s conftest.$ac_objext; then |
12376 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
12377 |
|
ac_cv_c_inline=$ac_kw |
14642 |
– |
else |
14643 |
– |
$as_echo "$as_me: failed program was:" >&5 |
14644 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
14645 |
– |
|
14646 |
– |
|
12378 |
|
fi |
14648 |
– |
|
12379 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12380 |
|
test "$ac_cv_c_inline" != no && break |
12381 |
|
done |
12382 |
|
|
12383 |
|
fi |
12384 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
12384 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
12385 |
|
$as_echo "$ac_cv_c_inline" >&6; } |
12386 |
|
|
14657 |
– |
|
12387 |
|
case $ac_cv_c_inline in |
12388 |
|
inline | yes) ;; |
12389 |
|
*) |
12399 |
|
;; |
12400 |
|
esac |
12401 |
|
|
12402 |
< |
|
14674 |
< |
{ $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 |
12402 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
12403 |
|
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
12404 |
< |
if test "${ac_cv_c_bigendian+set}" = set; then |
12404 |
> |
if test "${ac_cv_c_bigendian+set}" = set; then : |
12405 |
|
$as_echo_n "(cached) " >&6 |
12406 |
|
else |
12407 |
|
ac_cv_c_bigendian=unknown |
12408 |
|
# See if we're dealing with a universal compiler. |
12409 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14682 |
< |
/* confdefs.h. */ |
14683 |
< |
_ACEOF |
14684 |
< |
cat confdefs.h >>conftest.$ac_ext |
14685 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12409 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12410 |
|
/* end confdefs.h. */ |
12411 |
|
#ifndef __APPLE_CC__ |
12412 |
|
not a universal capable compiler |
12414 |
|
typedef int dummy; |
12415 |
|
|
12416 |
|
_ACEOF |
12417 |
< |
rm -f conftest.$ac_objext |
14694 |
< |
if { (ac_try="$ac_compile" |
14695 |
< |
case "(($ac_try" in |
14696 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14697 |
< |
*) ac_try_echo=$ac_try;; |
14698 |
< |
esac |
14699 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14700 |
< |
$as_echo "$ac_try_echo") >&5 |
14701 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14702 |
< |
ac_status=$? |
14703 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14704 |
< |
rm -f conftest.er1 |
14705 |
< |
cat conftest.err >&5 |
14706 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14707 |
< |
(exit $ac_status); } && { |
14708 |
< |
test -z "$ac_c_werror_flag" || |
14709 |
< |
test ! -s conftest.err |
14710 |
< |
} && test -s conftest.$ac_objext; then |
12417 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
12418 |
|
|
12419 |
|
# Check for potential -arch flags. It is not universal unless |
12420 |
< |
# there are some -arch flags. Note that *ppc* also matches |
12421 |
< |
# ppc64. This check is also rather less than ideal. |
12422 |
< |
case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( |
12423 |
< |
*-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; |
12424 |
< |
esac |
12425 |
< |
else |
12426 |
< |
$as_echo "$as_me: failed program was:" >&5 |
12427 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12428 |
< |
|
12429 |
< |
|
12420 |
> |
# there are at least two -arch flags with different values. |
12421 |
> |
ac_arch= |
12422 |
> |
ac_prev= |
12423 |
> |
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do |
12424 |
> |
if test -n "$ac_prev"; then |
12425 |
> |
case $ac_word in |
12426 |
> |
i?86 | x86_64 | ppc | ppc64) |
12427 |
> |
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then |
12428 |
> |
ac_arch=$ac_word |
12429 |
> |
else |
12430 |
> |
ac_cv_c_bigendian=universal |
12431 |
> |
break |
12432 |
> |
fi |
12433 |
> |
;; |
12434 |
> |
esac |
12435 |
> |
ac_prev= |
12436 |
> |
elif test "x$ac_word" = "x-arch"; then |
12437 |
> |
ac_prev=arch |
12438 |
> |
fi |
12439 |
> |
done |
12440 |
|
fi |
14724 |
– |
|
12441 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12442 |
|
if test $ac_cv_c_bigendian = unknown; then |
12443 |
|
# See if sys/param.h defines the BYTE_ORDER macro. |
12444 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14729 |
< |
/* confdefs.h. */ |
14730 |
< |
_ACEOF |
14731 |
< |
cat confdefs.h >>conftest.$ac_ext |
14732 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12444 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12445 |
|
/* end confdefs.h. */ |
12446 |
|
#include <sys/types.h> |
12447 |
|
#include <sys/param.h> |
12459 |
|
return 0; |
12460 |
|
} |
12461 |
|
_ACEOF |
12462 |
< |
rm -f conftest.$ac_objext |
14751 |
< |
if { (ac_try="$ac_compile" |
14752 |
< |
case "(($ac_try" in |
14753 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14754 |
< |
*) ac_try_echo=$ac_try;; |
14755 |
< |
esac |
14756 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14757 |
< |
$as_echo "$ac_try_echo") >&5 |
14758 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14759 |
< |
ac_status=$? |
14760 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14761 |
< |
rm -f conftest.er1 |
14762 |
< |
cat conftest.err >&5 |
14763 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14764 |
< |
(exit $ac_status); } && { |
14765 |
< |
test -z "$ac_c_werror_flag" || |
14766 |
< |
test ! -s conftest.err |
14767 |
< |
} && test -s conftest.$ac_objext; then |
12462 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
12463 |
|
# It does; now see whether it defined to BIG_ENDIAN or not. |
12464 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14770 |
< |
/* confdefs.h. */ |
14771 |
< |
_ACEOF |
14772 |
< |
cat confdefs.h >>conftest.$ac_ext |
14773 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12464 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12465 |
|
/* end confdefs.h. */ |
12466 |
|
#include <sys/types.h> |
12467 |
|
#include <sys/param.h> |
12477 |
|
return 0; |
12478 |
|
} |
12479 |
|
_ACEOF |
12480 |
< |
rm -f conftest.$ac_objext |
14790 |
< |
if { (ac_try="$ac_compile" |
14791 |
< |
case "(($ac_try" in |
14792 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14793 |
< |
*) ac_try_echo=$ac_try;; |
14794 |
< |
esac |
14795 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14796 |
< |
$as_echo "$ac_try_echo") >&5 |
14797 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14798 |
< |
ac_status=$? |
14799 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14800 |
< |
rm -f conftest.er1 |
14801 |
< |
cat conftest.err >&5 |
14802 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14803 |
< |
(exit $ac_status); } && { |
14804 |
< |
test -z "$ac_c_werror_flag" || |
14805 |
< |
test ! -s conftest.err |
14806 |
< |
} && test -s conftest.$ac_objext; then |
12480 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
12481 |
|
ac_cv_c_bigendian=yes |
12482 |
|
else |
12483 |
< |
$as_echo "$as_me: failed program was:" >&5 |
14810 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14811 |
< |
|
14812 |
< |
ac_cv_c_bigendian=no |
12483 |
> |
ac_cv_c_bigendian=no |
12484 |
|
fi |
14814 |
– |
|
12485 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14816 |
– |
else |
14817 |
– |
$as_echo "$as_me: failed program was:" >&5 |
14818 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
14819 |
– |
|
14820 |
– |
|
12486 |
|
fi |
14822 |
– |
|
12487 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12488 |
|
fi |
12489 |
|
if test $ac_cv_c_bigendian = unknown; then |
12490 |
|
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). |
12491 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14828 |
< |
/* confdefs.h. */ |
14829 |
< |
_ACEOF |
14830 |
< |
cat confdefs.h >>conftest.$ac_ext |
14831 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12491 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12492 |
|
/* end confdefs.h. */ |
12493 |
|
#include <limits.h> |
12494 |
|
|
12503 |
|
return 0; |
12504 |
|
} |
12505 |
|
_ACEOF |
12506 |
< |
rm -f conftest.$ac_objext |
14847 |
< |
if { (ac_try="$ac_compile" |
14848 |
< |
case "(($ac_try" in |
14849 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14850 |
< |
*) ac_try_echo=$ac_try;; |
14851 |
< |
esac |
14852 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14853 |
< |
$as_echo "$ac_try_echo") >&5 |
14854 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14855 |
< |
ac_status=$? |
14856 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14857 |
< |
rm -f conftest.er1 |
14858 |
< |
cat conftest.err >&5 |
14859 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14860 |
< |
(exit $ac_status); } && { |
14861 |
< |
test -z "$ac_c_werror_flag" || |
14862 |
< |
test ! -s conftest.err |
14863 |
< |
} && test -s conftest.$ac_objext; then |
12506 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
12507 |
|
# It does; now see whether it defined to _BIG_ENDIAN or not. |
12508 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14866 |
< |
/* confdefs.h. */ |
14867 |
< |
_ACEOF |
14868 |
< |
cat confdefs.h >>conftest.$ac_ext |
14869 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12508 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12509 |
|
/* end confdefs.h. */ |
12510 |
|
#include <limits.h> |
12511 |
|
|
12520 |
|
return 0; |
12521 |
|
} |
12522 |
|
_ACEOF |
12523 |
< |
rm -f conftest.$ac_objext |
14885 |
< |
if { (ac_try="$ac_compile" |
14886 |
< |
case "(($ac_try" in |
14887 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14888 |
< |
*) ac_try_echo=$ac_try;; |
14889 |
< |
esac |
14890 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14891 |
< |
$as_echo "$ac_try_echo") >&5 |
14892 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14893 |
< |
ac_status=$? |
14894 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14895 |
< |
rm -f conftest.er1 |
14896 |
< |
cat conftest.err >&5 |
14897 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14898 |
< |
(exit $ac_status); } && { |
14899 |
< |
test -z "$ac_c_werror_flag" || |
14900 |
< |
test ! -s conftest.err |
14901 |
< |
} && test -s conftest.$ac_objext; then |
12523 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
12524 |
|
ac_cv_c_bigendian=yes |
12525 |
|
else |
12526 |
< |
$as_echo "$as_me: failed program was:" >&5 |
14905 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
14906 |
< |
|
14907 |
< |
ac_cv_c_bigendian=no |
12526 |
> |
ac_cv_c_bigendian=no |
12527 |
|
fi |
14909 |
– |
|
12528 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14911 |
– |
else |
14912 |
– |
$as_echo "$as_me: failed program was:" >&5 |
14913 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
14914 |
– |
|
14915 |
– |
|
12529 |
|
fi |
14917 |
– |
|
12530 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12531 |
|
fi |
12532 |
|
if test $ac_cv_c_bigendian = unknown; then |
12533 |
|
# Compile a test program. |
12534 |
< |
if test "$cross_compiling" = yes; then |
12534 |
> |
if test "$cross_compiling" = yes; then : |
12535 |
|
# Try to guess by grepping values from an object file. |
12536 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14925 |
< |
/* confdefs.h. */ |
14926 |
< |
_ACEOF |
14927 |
< |
cat confdefs.h >>conftest.$ac_ext |
14928 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12536 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12537 |
|
/* end confdefs.h. */ |
12538 |
|
short int ascii_mm[] = |
12539 |
|
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
12559 |
|
return 0; |
12560 |
|
} |
12561 |
|
_ACEOF |
12562 |
< |
rm -f conftest.$ac_objext |
14955 |
< |
if { (ac_try="$ac_compile" |
14956 |
< |
case "(($ac_try" in |
14957 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14958 |
< |
*) ac_try_echo=$ac_try;; |
14959 |
< |
esac |
14960 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14961 |
< |
$as_echo "$ac_try_echo") >&5 |
14962 |
< |
(eval "$ac_compile") 2>conftest.er1 |
14963 |
< |
ac_status=$? |
14964 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
14965 |
< |
rm -f conftest.er1 |
14966 |
< |
cat conftest.err >&5 |
14967 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14968 |
< |
(exit $ac_status); } && { |
14969 |
< |
test -z "$ac_c_werror_flag" || |
14970 |
< |
test ! -s conftest.err |
14971 |
< |
} && test -s conftest.$ac_objext; then |
12562 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
12563 |
|
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then |
12564 |
|
ac_cv_c_bigendian=yes |
12565 |
|
fi |
12571 |
|
ac_cv_c_bigendian=unknown |
12572 |
|
fi |
12573 |
|
fi |
14983 |
– |
else |
14984 |
– |
$as_echo "$as_me: failed program was:" >&5 |
14985 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
14986 |
– |
|
14987 |
– |
|
12574 |
|
fi |
14989 |
– |
|
12575 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12576 |
|
else |
12577 |
< |
cat >conftest.$ac_ext <<_ACEOF |
14993 |
< |
/* confdefs.h. */ |
14994 |
< |
_ACEOF |
14995 |
< |
cat confdefs.h >>conftest.$ac_ext |
14996 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12577 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12578 |
|
/* end confdefs.h. */ |
12579 |
|
$ac_includes_default |
12580 |
|
int |
12594 |
|
return 0; |
12595 |
|
} |
12596 |
|
_ACEOF |
12597 |
< |
rm -f conftest$ac_exeext |
15017 |
< |
if { (ac_try="$ac_link" |
15018 |
< |
case "(($ac_try" in |
15019 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15020 |
< |
*) ac_try_echo=$ac_try;; |
15021 |
< |
esac |
15022 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15023 |
< |
$as_echo "$ac_try_echo") >&5 |
15024 |
< |
(eval "$ac_link") 2>&5 |
15025 |
< |
ac_status=$? |
15026 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15027 |
< |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15028 |
< |
{ (case "(($ac_try" in |
15029 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15030 |
< |
*) ac_try_echo=$ac_try;; |
15031 |
< |
esac |
15032 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15033 |
< |
$as_echo "$ac_try_echo") >&5 |
15034 |
< |
(eval "$ac_try") 2>&5 |
15035 |
< |
ac_status=$? |
15036 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15037 |
< |
(exit $ac_status); }; }; then |
12597 |
> |
if ac_fn_c_try_run "$LINENO"; then : |
12598 |
|
ac_cv_c_bigendian=no |
12599 |
|
else |
12600 |
< |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
15041 |
< |
$as_echo "$as_me: failed program was:" >&5 |
15042 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
15043 |
< |
|
15044 |
< |
( exit $ac_status ) |
15045 |
< |
ac_cv_c_bigendian=yes |
12600 |
> |
ac_cv_c_bigendian=yes |
12601 |
|
fi |
12602 |
< |
rm -rf conftest.dSYM |
12603 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
12602 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
12603 |
> |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
12604 |
|
fi |
12605 |
|
|
15051 |
– |
|
12606 |
|
fi |
12607 |
|
fi |
12608 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 |
12608 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 |
12609 |
|
$as_echo "$ac_cv_c_bigendian" >&6; } |
12610 |
|
case $ac_cv_c_bigendian in #( |
12611 |
|
yes) |
12612 |
< |
cat >>confdefs.h <<\_ACEOF |
15059 |
< |
#define WORDS_BIGENDIAN 1 |
15060 |
< |
_ACEOF |
12612 |
> |
$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h |
12613 |
|
;; #( |
12614 |
|
no) |
12615 |
|
;; #( |
12616 |
|
universal) |
12617 |
|
|
12618 |
< |
cat >>confdefs.h <<\_ACEOF |
15067 |
< |
#define AC_APPLE_UNIVERSAL_BUILD 1 |
15068 |
< |
_ACEOF |
12618 |
> |
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h |
12619 |
|
|
12620 |
|
;; #( |
12621 |
|
*) |
12622 |
< |
{ { $as_echo "$as_me:$LINENO: error: unknown endianness |
12623 |
< |
presetting ac_cv_c_bigendian=no (or yes) will help" >&5 |
15074 |
< |
$as_echo "$as_me: error: unknown endianness |
15075 |
< |
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} |
15076 |
< |
{ (exit 1); exit 1; }; } ;; |
12622 |
> |
as_fn_error "unknown endianness |
12623 |
> |
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
12624 |
|
esac |
12625 |
|
|
12626 |
|
|
12628 |
|
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
12629 |
|
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
12630 |
|
# This bug is HP SR number 8606223364. |
12631 |
< |
{ $as_echo "$as_me:$LINENO: checking size of int64_t" >&5 |
12631 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5 |
12632 |
|
$as_echo_n "checking size of int64_t... " >&6; } |
12633 |
< |
if test "${ac_cv_sizeof_int64_t+set}" = set; then |
12633 |
> |
if test "${ac_cv_sizeof_int64_t+set}" = set; then : |
12634 |
|
$as_echo_n "(cached) " >&6 |
12635 |
|
else |
12636 |
< |
if test "$cross_compiling" = yes; then |
15090 |
< |
# Depending upon the size, compute the lo and hi bounds. |
15091 |
< |
cat >conftest.$ac_ext <<_ACEOF |
15092 |
< |
/* confdefs.h. */ |
15093 |
< |
_ACEOF |
15094 |
< |
cat confdefs.h >>conftest.$ac_ext |
15095 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
15096 |
< |
/* end confdefs.h. */ |
15097 |
< |
$ac_includes_default |
15098 |
< |
int |
15099 |
< |
main () |
15100 |
< |
{ |
15101 |
< |
static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) >= 0)]; |
15102 |
< |
test_array [0] = 0 |
12636 |
> |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t" "$ac_includes_default"; then : |
12637 |
|
|
15104 |
– |
; |
15105 |
– |
return 0; |
15106 |
– |
} |
15107 |
– |
_ACEOF |
15108 |
– |
rm -f conftest.$ac_objext |
15109 |
– |
if { (ac_try="$ac_compile" |
15110 |
– |
case "(($ac_try" in |
15111 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15112 |
– |
*) ac_try_echo=$ac_try;; |
15113 |
– |
esac |
15114 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15115 |
– |
$as_echo "$ac_try_echo") >&5 |
15116 |
– |
(eval "$ac_compile") 2>conftest.er1 |
15117 |
– |
ac_status=$? |
15118 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
15119 |
– |
rm -f conftest.er1 |
15120 |
– |
cat conftest.err >&5 |
15121 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15122 |
– |
(exit $ac_status); } && { |
15123 |
– |
test -z "$ac_c_werror_flag" || |
15124 |
– |
test ! -s conftest.err |
15125 |
– |
} && test -s conftest.$ac_objext; then |
15126 |
– |
ac_lo=0 ac_mid=0 |
15127 |
– |
while :; do |
15128 |
– |
cat >conftest.$ac_ext <<_ACEOF |
15129 |
– |
/* confdefs.h. */ |
15130 |
– |
_ACEOF |
15131 |
– |
cat confdefs.h >>conftest.$ac_ext |
15132 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
15133 |
– |
/* end confdefs.h. */ |
15134 |
– |
$ac_includes_default |
15135 |
– |
int |
15136 |
– |
main () |
15137 |
– |
{ |
15138 |
– |
static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) <= $ac_mid)]; |
15139 |
– |
test_array [0] = 0 |
15140 |
– |
|
15141 |
– |
; |
15142 |
– |
return 0; |
15143 |
– |
} |
15144 |
– |
_ACEOF |
15145 |
– |
rm -f conftest.$ac_objext |
15146 |
– |
if { (ac_try="$ac_compile" |
15147 |
– |
case "(($ac_try" in |
15148 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15149 |
– |
*) ac_try_echo=$ac_try;; |
15150 |
– |
esac |
15151 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15152 |
– |
$as_echo "$ac_try_echo") >&5 |
15153 |
– |
(eval "$ac_compile") 2>conftest.er1 |
15154 |
– |
ac_status=$? |
15155 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
15156 |
– |
rm -f conftest.er1 |
15157 |
– |
cat conftest.err >&5 |
15158 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15159 |
– |
(exit $ac_status); } && { |
15160 |
– |
test -z "$ac_c_werror_flag" || |
15161 |
– |
test ! -s conftest.err |
15162 |
– |
} && test -s conftest.$ac_objext; then |
15163 |
– |
ac_hi=$ac_mid; break |
15164 |
– |
else |
15165 |
– |
$as_echo "$as_me: failed program was:" >&5 |
15166 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
15167 |
– |
|
15168 |
– |
ac_lo=`expr $ac_mid + 1` |
15169 |
– |
if test $ac_lo -le $ac_mid; then |
15170 |
– |
ac_lo= ac_hi= |
15171 |
– |
break |
15172 |
– |
fi |
15173 |
– |
ac_mid=`expr 2 '*' $ac_mid + 1` |
15174 |
– |
fi |
15175 |
– |
|
15176 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15177 |
– |
done |
15178 |
– |
else |
15179 |
– |
$as_echo "$as_me: failed program was:" >&5 |
15180 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
15181 |
– |
|
15182 |
– |
cat >conftest.$ac_ext <<_ACEOF |
15183 |
– |
/* confdefs.h. */ |
15184 |
– |
_ACEOF |
15185 |
– |
cat confdefs.h >>conftest.$ac_ext |
15186 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
15187 |
– |
/* end confdefs.h. */ |
15188 |
– |
$ac_includes_default |
15189 |
– |
int |
15190 |
– |
main () |
15191 |
– |
{ |
15192 |
– |
static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) < 0)]; |
15193 |
– |
test_array [0] = 0 |
15194 |
– |
|
15195 |
– |
; |
15196 |
– |
return 0; |
15197 |
– |
} |
15198 |
– |
_ACEOF |
15199 |
– |
rm -f conftest.$ac_objext |
15200 |
– |
if { (ac_try="$ac_compile" |
15201 |
– |
case "(($ac_try" in |
15202 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15203 |
– |
*) ac_try_echo=$ac_try;; |
15204 |
– |
esac |
15205 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15206 |
– |
$as_echo "$ac_try_echo") >&5 |
15207 |
– |
(eval "$ac_compile") 2>conftest.er1 |
15208 |
– |
ac_status=$? |
15209 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
15210 |
– |
rm -f conftest.er1 |
15211 |
– |
cat conftest.err >&5 |
15212 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15213 |
– |
(exit $ac_status); } && { |
15214 |
– |
test -z "$ac_c_werror_flag" || |
15215 |
– |
test ! -s conftest.err |
15216 |
– |
} && test -s conftest.$ac_objext; then |
15217 |
– |
ac_hi=-1 ac_mid=-1 |
15218 |
– |
while :; do |
15219 |
– |
cat >conftest.$ac_ext <<_ACEOF |
15220 |
– |
/* confdefs.h. */ |
15221 |
– |
_ACEOF |
15222 |
– |
cat confdefs.h >>conftest.$ac_ext |
15223 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
15224 |
– |
/* end confdefs.h. */ |
15225 |
– |
$ac_includes_default |
15226 |
– |
int |
15227 |
– |
main () |
15228 |
– |
{ |
15229 |
– |
static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) >= $ac_mid)]; |
15230 |
– |
test_array [0] = 0 |
15231 |
– |
|
15232 |
– |
; |
15233 |
– |
return 0; |
15234 |
– |
} |
15235 |
– |
_ACEOF |
15236 |
– |
rm -f conftest.$ac_objext |
15237 |
– |
if { (ac_try="$ac_compile" |
15238 |
– |
case "(($ac_try" in |
15239 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15240 |
– |
*) ac_try_echo=$ac_try;; |
15241 |
– |
esac |
15242 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15243 |
– |
$as_echo "$ac_try_echo") >&5 |
15244 |
– |
(eval "$ac_compile") 2>conftest.er1 |
15245 |
– |
ac_status=$? |
15246 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
15247 |
– |
rm -f conftest.er1 |
15248 |
– |
cat conftest.err >&5 |
15249 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15250 |
– |
(exit $ac_status); } && { |
15251 |
– |
test -z "$ac_c_werror_flag" || |
15252 |
– |
test ! -s conftest.err |
15253 |
– |
} && test -s conftest.$ac_objext; then |
15254 |
– |
ac_lo=$ac_mid; break |
12638 |
|
else |
12639 |
< |
$as_echo "$as_me: failed program was:" >&5 |
12640 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
15258 |
< |
|
15259 |
< |
ac_hi=`expr '(' $ac_mid ')' - 1` |
15260 |
< |
if test $ac_mid -le $ac_hi; then |
15261 |
< |
ac_lo= ac_hi= |
15262 |
< |
break |
15263 |
< |
fi |
15264 |
< |
ac_mid=`expr 2 '*' $ac_mid` |
15265 |
< |
fi |
15266 |
< |
|
15267 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15268 |
< |
done |
15269 |
< |
else |
15270 |
< |
$as_echo "$as_me: failed program was:" >&5 |
15271 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
15272 |
< |
|
15273 |
< |
ac_lo= ac_hi= |
15274 |
< |
fi |
15275 |
< |
|
15276 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15277 |
< |
fi |
15278 |
< |
|
15279 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15280 |
< |
# Binary search between lo and hi bounds. |
15281 |
< |
while test "x$ac_lo" != "x$ac_hi"; do |
15282 |
< |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
15283 |
< |
cat >conftest.$ac_ext <<_ACEOF |
15284 |
< |
/* confdefs.h. */ |
15285 |
< |
_ACEOF |
15286 |
< |
cat confdefs.h >>conftest.$ac_ext |
15287 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
15288 |
< |
/* end confdefs.h. */ |
15289 |
< |
$ac_includes_default |
15290 |
< |
int |
15291 |
< |
main () |
15292 |
< |
{ |
15293 |
< |
static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) <= $ac_mid)]; |
15294 |
< |
test_array [0] = 0 |
15295 |
< |
|
15296 |
< |
; |
15297 |
< |
return 0; |
15298 |
< |
} |
15299 |
< |
_ACEOF |
15300 |
< |
rm -f conftest.$ac_objext |
15301 |
< |
if { (ac_try="$ac_compile" |
15302 |
< |
case "(($ac_try" in |
15303 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15304 |
< |
*) ac_try_echo=$ac_try;; |
15305 |
< |
esac |
15306 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15307 |
< |
$as_echo "$ac_try_echo") >&5 |
15308 |
< |
(eval "$ac_compile") 2>conftest.er1 |
15309 |
< |
ac_status=$? |
15310 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
15311 |
< |
rm -f conftest.er1 |
15312 |
< |
cat conftest.err >&5 |
15313 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15314 |
< |
(exit $ac_status); } && { |
15315 |
< |
test -z "$ac_c_werror_flag" || |
15316 |
< |
test ! -s conftest.err |
15317 |
< |
} && test -s conftest.$ac_objext; then |
15318 |
< |
ac_hi=$ac_mid |
15319 |
< |
else |
15320 |
< |
$as_echo "$as_me: failed program was:" >&5 |
15321 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
15322 |
< |
|
15323 |
< |
ac_lo=`expr '(' $ac_mid ')' + 1` |
15324 |
< |
fi |
15325 |
< |
|
15326 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15327 |
< |
done |
15328 |
< |
case $ac_lo in |
15329 |
< |
?*) ac_cv_sizeof_int64_t=$ac_lo;; |
15330 |
< |
'') if test "$ac_cv_type_int64_t" = yes; then |
15331 |
< |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
12639 |
> |
if test "$ac_cv_type_int64_t" = yes; then |
12640 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
12641 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
12642 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int64_t) |
12643 |
< |
See \`config.log' for more details." >&5 |
12644 |
< |
$as_echo "$as_me: error: cannot compute sizeof (int64_t) |
15336 |
< |
See \`config.log' for more details." >&2;} |
15337 |
< |
{ (exit 77); exit 77; }; }; } |
15338 |
< |
else |
15339 |
< |
ac_cv_sizeof_int64_t=0 |
15340 |
< |
fi ;; |
15341 |
< |
esac |
15342 |
< |
else |
15343 |
< |
cat >conftest.$ac_ext <<_ACEOF |
15344 |
< |
/* confdefs.h. */ |
15345 |
< |
_ACEOF |
15346 |
< |
cat confdefs.h >>conftest.$ac_ext |
15347 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
15348 |
< |
/* end confdefs.h. */ |
15349 |
< |
$ac_includes_default |
15350 |
< |
static long int longval () { return (long int) (sizeof (int64_t)); } |
15351 |
< |
static unsigned long int ulongval () { return (long int) (sizeof (int64_t)); } |
15352 |
< |
#include <stdio.h> |
15353 |
< |
#include <stdlib.h> |
15354 |
< |
int |
15355 |
< |
main () |
15356 |
< |
{ |
15357 |
< |
|
15358 |
< |
FILE *f = fopen ("conftest.val", "w"); |
15359 |
< |
if (! f) |
15360 |
< |
return 1; |
15361 |
< |
if (((long int) (sizeof (int64_t))) < 0) |
15362 |
< |
{ |
15363 |
< |
long int i = longval (); |
15364 |
< |
if (i != ((long int) (sizeof (int64_t)))) |
15365 |
< |
return 1; |
15366 |
< |
fprintf (f, "%ld", i); |
15367 |
< |
} |
15368 |
< |
else |
15369 |
< |
{ |
15370 |
< |
unsigned long int i = ulongval (); |
15371 |
< |
if (i != ((long int) (sizeof (int64_t)))) |
15372 |
< |
return 1; |
15373 |
< |
fprintf (f, "%lu", i); |
15374 |
< |
} |
15375 |
< |
/* Do not output a trailing newline, as this causes \r\n confusion |
15376 |
< |
on some platforms. */ |
15377 |
< |
return ferror (f) || fclose (f) != 0; |
15378 |
< |
|
15379 |
< |
; |
15380 |
< |
return 0; |
15381 |
< |
} |
15382 |
< |
_ACEOF |
15383 |
< |
rm -f conftest$ac_exeext |
15384 |
< |
if { (ac_try="$ac_link" |
15385 |
< |
case "(($ac_try" in |
15386 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15387 |
< |
*) ac_try_echo=$ac_try;; |
15388 |
< |
esac |
15389 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15390 |
< |
$as_echo "$ac_try_echo") >&5 |
15391 |
< |
(eval "$ac_link") 2>&5 |
15392 |
< |
ac_status=$? |
15393 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15394 |
< |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15395 |
< |
{ (case "(($ac_try" in |
15396 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15397 |
< |
*) ac_try_echo=$ac_try;; |
15398 |
< |
esac |
15399 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15400 |
< |
$as_echo "$ac_try_echo") >&5 |
15401 |
< |
(eval "$ac_try") 2>&5 |
15402 |
< |
ac_status=$? |
15403 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15404 |
< |
(exit $ac_status); }; }; then |
15405 |
< |
ac_cv_sizeof_int64_t=`cat conftest.val` |
15406 |
< |
else |
15407 |
< |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
15408 |
< |
$as_echo "$as_me: failed program was:" >&5 |
15409 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
15410 |
< |
|
15411 |
< |
( exit $ac_status ) |
15412 |
< |
if test "$ac_cv_type_int64_t" = yes; then |
15413 |
< |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
15414 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
15415 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int64_t) |
15416 |
< |
See \`config.log' for more details." >&5 |
15417 |
< |
$as_echo "$as_me: error: cannot compute sizeof (int64_t) |
15418 |
< |
See \`config.log' for more details." >&2;} |
15419 |
< |
{ (exit 77); exit 77; }; }; } |
12642 |
> |
{ as_fn_set_status 77 |
12643 |
> |
as_fn_error "cannot compute sizeof (int64_t) |
12644 |
> |
See \`config.log' for more details." "$LINENO" 5; }; } |
12645 |
|
else |
12646 |
|
ac_cv_sizeof_int64_t=0 |
12647 |
|
fi |
12648 |
|
fi |
12649 |
< |
rm -rf conftest.dSYM |
15425 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
15426 |
< |
fi |
15427 |
< |
rm -f conftest.val |
12649 |
> |
|
12650 |
|
fi |
12651 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int64_t" >&5 |
12651 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5 |
12652 |
|
$as_echo "$ac_cv_sizeof_int64_t" >&6; } |
12653 |
|
|
12654 |
|
|
12662 |
|
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
12663 |
|
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
12664 |
|
# This bug is HP SR number 8606223364. |
12665 |
< |
{ $as_echo "$as_me:$LINENO: checking size of long long" >&5 |
12665 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 |
12666 |
|
$as_echo_n "checking size of long long... " >&6; } |
12667 |
< |
if test "${ac_cv_sizeof_long_long+set}" = set; then |
12667 |
> |
if test "${ac_cv_sizeof_long_long+set}" = set; then : |
12668 |
|
$as_echo_n "(cached) " >&6 |
12669 |
|
else |
12670 |
< |
if test "$cross_compiling" = yes; then |
15449 |
< |
# Depending upon the size, compute the lo and hi bounds. |
15450 |
< |
cat >conftest.$ac_ext <<_ACEOF |
15451 |
< |
/* confdefs.h. */ |
15452 |
< |
_ACEOF |
15453 |
< |
cat confdefs.h >>conftest.$ac_ext |
15454 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
15455 |
< |
/* end confdefs.h. */ |
15456 |
< |
$ac_includes_default |
15457 |
< |
int |
15458 |
< |
main () |
15459 |
< |
{ |
15460 |
< |
static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)]; |
15461 |
< |
test_array [0] = 0 |
15462 |
< |
|
15463 |
< |
; |
15464 |
< |
return 0; |
15465 |
< |
} |
15466 |
< |
_ACEOF |
15467 |
< |
rm -f conftest.$ac_objext |
15468 |
< |
if { (ac_try="$ac_compile" |
15469 |
< |
case "(($ac_try" in |
15470 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15471 |
< |
*) ac_try_echo=$ac_try;; |
15472 |
< |
esac |
15473 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15474 |
< |
$as_echo "$ac_try_echo") >&5 |
15475 |
< |
(eval "$ac_compile") 2>conftest.er1 |
15476 |
< |
ac_status=$? |
15477 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
15478 |
< |
rm -f conftest.er1 |
15479 |
< |
cat conftest.err >&5 |
15480 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15481 |
< |
(exit $ac_status); } && { |
15482 |
< |
test -z "$ac_c_werror_flag" || |
15483 |
< |
test ! -s conftest.err |
15484 |
< |
} && test -s conftest.$ac_objext; then |
15485 |
< |
ac_lo=0 ac_mid=0 |
15486 |
< |
while :; do |
15487 |
< |
cat >conftest.$ac_ext <<_ACEOF |
15488 |
< |
/* confdefs.h. */ |
15489 |
< |
_ACEOF |
15490 |
< |
cat confdefs.h >>conftest.$ac_ext |
15491 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
15492 |
< |
/* end confdefs.h. */ |
15493 |
< |
$ac_includes_default |
15494 |
< |
int |
15495 |
< |
main () |
15496 |
< |
{ |
15497 |
< |
static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; |
15498 |
< |
test_array [0] = 0 |
15499 |
< |
|
15500 |
< |
; |
15501 |
< |
return 0; |
15502 |
< |
} |
15503 |
< |
_ACEOF |
15504 |
< |
rm -f conftest.$ac_objext |
15505 |
< |
if { (ac_try="$ac_compile" |
15506 |
< |
case "(($ac_try" in |
15507 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15508 |
< |
*) ac_try_echo=$ac_try;; |
15509 |
< |
esac |
15510 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15511 |
< |
$as_echo "$ac_try_echo") >&5 |
15512 |
< |
(eval "$ac_compile") 2>conftest.er1 |
15513 |
< |
ac_status=$? |
15514 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
15515 |
< |
rm -f conftest.er1 |
15516 |
< |
cat conftest.err >&5 |
15517 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15518 |
< |
(exit $ac_status); } && { |
15519 |
< |
test -z "$ac_c_werror_flag" || |
15520 |
< |
test ! -s conftest.err |
15521 |
< |
} && test -s conftest.$ac_objext; then |
15522 |
< |
ac_hi=$ac_mid; break |
15523 |
< |
else |
15524 |
< |
$as_echo "$as_me: failed program was:" >&5 |
15525 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
15526 |
< |
|
15527 |
< |
ac_lo=`expr $ac_mid + 1` |
15528 |
< |
if test $ac_lo -le $ac_mid; then |
15529 |
< |
ac_lo= ac_hi= |
15530 |
< |
break |
15531 |
< |
fi |
15532 |
< |
ac_mid=`expr 2 '*' $ac_mid + 1` |
15533 |
< |
fi |
15534 |
< |
|
15535 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15536 |
< |
done |
15537 |
< |
else |
15538 |
< |
$as_echo "$as_me: failed program was:" >&5 |
15539 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
15540 |
< |
|
15541 |
< |
cat >conftest.$ac_ext <<_ACEOF |
15542 |
< |
/* confdefs.h. */ |
15543 |
< |
_ACEOF |
15544 |
< |
cat confdefs.h >>conftest.$ac_ext |
15545 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
15546 |
< |
/* end confdefs.h. */ |
15547 |
< |
$ac_includes_default |
15548 |
< |
int |
15549 |
< |
main () |
15550 |
< |
{ |
15551 |
< |
static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)]; |
15552 |
< |
test_array [0] = 0 |
15553 |
< |
|
15554 |
< |
; |
15555 |
< |
return 0; |
15556 |
< |
} |
15557 |
< |
_ACEOF |
15558 |
< |
rm -f conftest.$ac_objext |
15559 |
< |
if { (ac_try="$ac_compile" |
15560 |
< |
case "(($ac_try" in |
15561 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15562 |
< |
*) ac_try_echo=$ac_try;; |
15563 |
< |
esac |
15564 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15565 |
< |
$as_echo "$ac_try_echo") >&5 |
15566 |
< |
(eval "$ac_compile") 2>conftest.er1 |
15567 |
< |
ac_status=$? |
15568 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
15569 |
< |
rm -f conftest.er1 |
15570 |
< |
cat conftest.err >&5 |
15571 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15572 |
< |
(exit $ac_status); } && { |
15573 |
< |
test -z "$ac_c_werror_flag" || |
15574 |
< |
test ! -s conftest.err |
15575 |
< |
} && test -s conftest.$ac_objext; then |
15576 |
< |
ac_hi=-1 ac_mid=-1 |
15577 |
< |
while :; do |
15578 |
< |
cat >conftest.$ac_ext <<_ACEOF |
15579 |
< |
/* confdefs.h. */ |
15580 |
< |
_ACEOF |
15581 |
< |
cat confdefs.h >>conftest.$ac_ext |
15582 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
15583 |
< |
/* end confdefs.h. */ |
15584 |
< |
$ac_includes_default |
15585 |
< |
int |
15586 |
< |
main () |
15587 |
< |
{ |
15588 |
< |
static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)]; |
15589 |
< |
test_array [0] = 0 |
15590 |
< |
|
15591 |
< |
; |
15592 |
< |
return 0; |
15593 |
< |
} |
15594 |
< |
_ACEOF |
15595 |
< |
rm -f conftest.$ac_objext |
15596 |
< |
if { (ac_try="$ac_compile" |
15597 |
< |
case "(($ac_try" in |
15598 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15599 |
< |
*) ac_try_echo=$ac_try;; |
15600 |
< |
esac |
15601 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15602 |
< |
$as_echo "$ac_try_echo") >&5 |
15603 |
< |
(eval "$ac_compile") 2>conftest.er1 |
15604 |
< |
ac_status=$? |
15605 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
15606 |
< |
rm -f conftest.er1 |
15607 |
< |
cat conftest.err >&5 |
15608 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15609 |
< |
(exit $ac_status); } && { |
15610 |
< |
test -z "$ac_c_werror_flag" || |
15611 |
< |
test ! -s conftest.err |
15612 |
< |
} && test -s conftest.$ac_objext; then |
15613 |
< |
ac_lo=$ac_mid; break |
15614 |
< |
else |
15615 |
< |
$as_echo "$as_me: failed program was:" >&5 |
15616 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
15617 |
< |
|
15618 |
< |
ac_hi=`expr '(' $ac_mid ')' - 1` |
15619 |
< |
if test $ac_mid -le $ac_hi; then |
15620 |
< |
ac_lo= ac_hi= |
15621 |
< |
break |
15622 |
< |
fi |
15623 |
< |
ac_mid=`expr 2 '*' $ac_mid` |
15624 |
< |
fi |
15625 |
< |
|
15626 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15627 |
< |
done |
15628 |
< |
else |
15629 |
< |
$as_echo "$as_me: failed program was:" >&5 |
15630 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
15631 |
< |
|
15632 |
< |
ac_lo= ac_hi= |
15633 |
< |
fi |
15634 |
< |
|
15635 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15636 |
< |
fi |
15637 |
< |
|
15638 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15639 |
< |
# Binary search between lo and hi bounds. |
15640 |
< |
while test "x$ac_lo" != "x$ac_hi"; do |
15641 |
< |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
15642 |
< |
cat >conftest.$ac_ext <<_ACEOF |
15643 |
< |
/* confdefs.h. */ |
15644 |
< |
_ACEOF |
15645 |
< |
cat confdefs.h >>conftest.$ac_ext |
15646 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
15647 |
< |
/* end confdefs.h. */ |
15648 |
< |
$ac_includes_default |
15649 |
< |
int |
15650 |
< |
main () |
15651 |
< |
{ |
15652 |
< |
static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; |
15653 |
< |
test_array [0] = 0 |
15654 |
< |
|
15655 |
< |
; |
15656 |
< |
return 0; |
15657 |
< |
} |
15658 |
< |
_ACEOF |
15659 |
< |
rm -f conftest.$ac_objext |
15660 |
< |
if { (ac_try="$ac_compile" |
15661 |
< |
case "(($ac_try" in |
15662 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15663 |
< |
*) ac_try_echo=$ac_try;; |
15664 |
< |
esac |
15665 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15666 |
< |
$as_echo "$ac_try_echo") >&5 |
15667 |
< |
(eval "$ac_compile") 2>conftest.er1 |
15668 |
< |
ac_status=$? |
15669 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
15670 |
< |
rm -f conftest.er1 |
15671 |
< |
cat conftest.err >&5 |
15672 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15673 |
< |
(exit $ac_status); } && { |
15674 |
< |
test -z "$ac_c_werror_flag" || |
15675 |
< |
test ! -s conftest.err |
15676 |
< |
} && test -s conftest.$ac_objext; then |
15677 |
< |
ac_hi=$ac_mid |
15678 |
< |
else |
15679 |
< |
$as_echo "$as_me: failed program was:" >&5 |
15680 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
15681 |
< |
|
15682 |
< |
ac_lo=`expr '(' $ac_mid ')' + 1` |
15683 |
< |
fi |
12670 |
> |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : |
12671 |
|
|
15685 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15686 |
– |
done |
15687 |
– |
case $ac_lo in |
15688 |
– |
?*) ac_cv_sizeof_long_long=$ac_lo;; |
15689 |
– |
'') if test "$ac_cv_type_long_long" = yes; then |
15690 |
– |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
15691 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
15692 |
– |
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
15693 |
– |
See \`config.log' for more details." >&5 |
15694 |
– |
$as_echo "$as_me: error: cannot compute sizeof (long long) |
15695 |
– |
See \`config.log' for more details." >&2;} |
15696 |
– |
{ (exit 77); exit 77; }; }; } |
15697 |
– |
else |
15698 |
– |
ac_cv_sizeof_long_long=0 |
15699 |
– |
fi ;; |
15700 |
– |
esac |
12672 |
|
else |
12673 |
< |
cat >conftest.$ac_ext <<_ACEOF |
12674 |
< |
/* confdefs.h. */ |
15704 |
< |
_ACEOF |
15705 |
< |
cat confdefs.h >>conftest.$ac_ext |
15706 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
15707 |
< |
/* end confdefs.h. */ |
15708 |
< |
$ac_includes_default |
15709 |
< |
static long int longval () { return (long int) (sizeof (long long)); } |
15710 |
< |
static unsigned long int ulongval () { return (long int) (sizeof (long long)); } |
15711 |
< |
#include <stdio.h> |
15712 |
< |
#include <stdlib.h> |
15713 |
< |
int |
15714 |
< |
main () |
15715 |
< |
{ |
15716 |
< |
|
15717 |
< |
FILE *f = fopen ("conftest.val", "w"); |
15718 |
< |
if (! f) |
15719 |
< |
return 1; |
15720 |
< |
if (((long int) (sizeof (long long))) < 0) |
15721 |
< |
{ |
15722 |
< |
long int i = longval (); |
15723 |
< |
if (i != ((long int) (sizeof (long long)))) |
15724 |
< |
return 1; |
15725 |
< |
fprintf (f, "%ld", i); |
15726 |
< |
} |
15727 |
< |
else |
15728 |
< |
{ |
15729 |
< |
unsigned long int i = ulongval (); |
15730 |
< |
if (i != ((long int) (sizeof (long long)))) |
15731 |
< |
return 1; |
15732 |
< |
fprintf (f, "%lu", i); |
15733 |
< |
} |
15734 |
< |
/* Do not output a trailing newline, as this causes \r\n confusion |
15735 |
< |
on some platforms. */ |
15736 |
< |
return ferror (f) || fclose (f) != 0; |
15737 |
< |
|
15738 |
< |
; |
15739 |
< |
return 0; |
15740 |
< |
} |
15741 |
< |
_ACEOF |
15742 |
< |
rm -f conftest$ac_exeext |
15743 |
< |
if { (ac_try="$ac_link" |
15744 |
< |
case "(($ac_try" in |
15745 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15746 |
< |
*) ac_try_echo=$ac_try;; |
15747 |
< |
esac |
15748 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15749 |
< |
$as_echo "$ac_try_echo") >&5 |
15750 |
< |
(eval "$ac_link") 2>&5 |
15751 |
< |
ac_status=$? |
15752 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15753 |
< |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15754 |
< |
{ (case "(($ac_try" in |
15755 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15756 |
< |
*) ac_try_echo=$ac_try;; |
15757 |
< |
esac |
15758 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15759 |
< |
$as_echo "$ac_try_echo") >&5 |
15760 |
< |
(eval "$ac_try") 2>&5 |
15761 |
< |
ac_status=$? |
15762 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15763 |
< |
(exit $ac_status); }; }; then |
15764 |
< |
ac_cv_sizeof_long_long=`cat conftest.val` |
15765 |
< |
else |
15766 |
< |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
15767 |
< |
$as_echo "$as_me: failed program was:" >&5 |
15768 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
15769 |
< |
|
15770 |
< |
( exit $ac_status ) |
15771 |
< |
if test "$ac_cv_type_long_long" = yes; then |
15772 |
< |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
12673 |
> |
if test "$ac_cv_type_long_long" = yes; then |
12674 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
12675 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
12676 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
12677 |
< |
See \`config.log' for more details." >&5 |
12678 |
< |
$as_echo "$as_me: error: cannot compute sizeof (long long) |
15777 |
< |
See \`config.log' for more details." >&2;} |
15778 |
< |
{ (exit 77); exit 77; }; }; } |
12676 |
> |
{ as_fn_set_status 77 |
12677 |
> |
as_fn_error "cannot compute sizeof (long long) |
12678 |
> |
See \`config.log' for more details." "$LINENO" 5; }; } |
12679 |
|
else |
12680 |
|
ac_cv_sizeof_long_long=0 |
12681 |
|
fi |
12682 |
|
fi |
12683 |
< |
rm -rf conftest.dSYM |
15784 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
15785 |
< |
fi |
15786 |
< |
rm -f conftest.val |
12683 |
> |
|
12684 |
|
fi |
12685 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
12685 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 |
12686 |
|
$as_echo "$ac_cv_sizeof_long_long" >&6; } |
12687 |
|
|
12688 |
|
|
12694 |
|
|
12695 |
|
|
12696 |
|
if test "$ac_cv_sizeof_int64_t" = 8; then |
12697 |
< |
{ $as_echo "$as_me:$LINENO: checking for uint64_t" >&5 |
12698 |
< |
$as_echo_n "checking for uint64_t... " >&6; } |
15802 |
< |
if test "${ac_cv_type_uint64_t+set}" = set; then |
15803 |
< |
$as_echo_n "(cached) " >&6 |
15804 |
< |
else |
15805 |
< |
ac_cv_type_uint64_t=no |
15806 |
< |
cat >conftest.$ac_ext <<_ACEOF |
15807 |
< |
/* confdefs.h. */ |
15808 |
< |
_ACEOF |
15809 |
< |
cat confdefs.h >>conftest.$ac_ext |
15810 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
15811 |
< |
/* end confdefs.h. */ |
15812 |
< |
$ac_includes_default |
15813 |
< |
int |
15814 |
< |
main () |
15815 |
< |
{ |
15816 |
< |
if (sizeof (uint64_t)) |
15817 |
< |
return 0; |
15818 |
< |
; |
15819 |
< |
return 0; |
15820 |
< |
} |
15821 |
< |
_ACEOF |
15822 |
< |
rm -f conftest.$ac_objext |
15823 |
< |
if { (ac_try="$ac_compile" |
15824 |
< |
case "(($ac_try" in |
15825 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15826 |
< |
*) ac_try_echo=$ac_try;; |
15827 |
< |
esac |
15828 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15829 |
< |
$as_echo "$ac_try_echo") >&5 |
15830 |
< |
(eval "$ac_compile") 2>conftest.er1 |
15831 |
< |
ac_status=$? |
15832 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
15833 |
< |
rm -f conftest.er1 |
15834 |
< |
cat conftest.err >&5 |
15835 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15836 |
< |
(exit $ac_status); } && { |
15837 |
< |
test -z "$ac_c_werror_flag" || |
15838 |
< |
test ! -s conftest.err |
15839 |
< |
} && test -s conftest.$ac_objext; then |
15840 |
< |
cat >conftest.$ac_ext <<_ACEOF |
15841 |
< |
/* confdefs.h. */ |
15842 |
< |
_ACEOF |
15843 |
< |
cat confdefs.h >>conftest.$ac_ext |
15844 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
15845 |
< |
/* end confdefs.h. */ |
15846 |
< |
$ac_includes_default |
15847 |
< |
int |
15848 |
< |
main () |
15849 |
< |
{ |
15850 |
< |
if (sizeof ((uint64_t))) |
15851 |
< |
return 0; |
15852 |
< |
; |
15853 |
< |
return 0; |
15854 |
< |
} |
15855 |
< |
_ACEOF |
15856 |
< |
rm -f conftest.$ac_objext |
15857 |
< |
if { (ac_try="$ac_compile" |
15858 |
< |
case "(($ac_try" in |
15859 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15860 |
< |
*) ac_try_echo=$ac_try;; |
15861 |
< |
esac |
15862 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15863 |
< |
$as_echo "$ac_try_echo") >&5 |
15864 |
< |
(eval "$ac_compile") 2>conftest.er1 |
15865 |
< |
ac_status=$? |
15866 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
15867 |
< |
rm -f conftest.er1 |
15868 |
< |
cat conftest.err >&5 |
15869 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15870 |
< |
(exit $ac_status); } && { |
15871 |
< |
test -z "$ac_c_werror_flag" || |
15872 |
< |
test ! -s conftest.err |
15873 |
< |
} && test -s conftest.$ac_objext; then |
15874 |
< |
: |
15875 |
< |
else |
15876 |
< |
$as_echo "$as_me: failed program was:" >&5 |
15877 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12697 |
> |
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
12698 |
> |
if test "x$ac_cv_type_uint64_t" = x""yes; then : |
12699 |
|
|
15879 |
– |
ac_cv_type_uint64_t=yes |
12700 |
|
fi |
12701 |
|
|
12702 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12703 |
< |
else |
15884 |
< |
$as_echo "$as_me: failed program was:" >&5 |
15885 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
15886 |
< |
|
12702 |
> |
ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
12703 |
> |
if test "x$ac_cv_type_int64_t" = x""yes; then : |
12704 |
|
|
12705 |
|
fi |
12706 |
|
|
15890 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15891 |
– |
fi |
15892 |
– |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
15893 |
– |
$as_echo "$ac_cv_type_uint64_t" >&6; } |
15894 |
– |
|
15895 |
– |
{ $as_echo "$as_me:$LINENO: checking for int64_t" >&5 |
15896 |
– |
$as_echo_n "checking for int64_t... " >&6; } |
15897 |
– |
if test "${ac_cv_type_int64_t+set}" = set; then |
15898 |
– |
$as_echo_n "(cached) " >&6 |
15899 |
– |
else |
15900 |
– |
ac_cv_type_int64_t=no |
15901 |
– |
cat >conftest.$ac_ext <<_ACEOF |
15902 |
– |
/* confdefs.h. */ |
15903 |
– |
_ACEOF |
15904 |
– |
cat confdefs.h >>conftest.$ac_ext |
15905 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
15906 |
– |
/* end confdefs.h. */ |
15907 |
– |
$ac_includes_default |
15908 |
– |
int |
15909 |
– |
main () |
15910 |
– |
{ |
15911 |
– |
if (sizeof (int64_t)) |
15912 |
– |
return 0; |
15913 |
– |
; |
15914 |
– |
return 0; |
15915 |
– |
} |
15916 |
– |
_ACEOF |
15917 |
– |
rm -f conftest.$ac_objext |
15918 |
– |
if { (ac_try="$ac_compile" |
15919 |
– |
case "(($ac_try" in |
15920 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15921 |
– |
*) ac_try_echo=$ac_try;; |
15922 |
– |
esac |
15923 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15924 |
– |
$as_echo "$ac_try_echo") >&5 |
15925 |
– |
(eval "$ac_compile") 2>conftest.er1 |
15926 |
– |
ac_status=$? |
15927 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
15928 |
– |
rm -f conftest.er1 |
15929 |
– |
cat conftest.err >&5 |
15930 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15931 |
– |
(exit $ac_status); } && { |
15932 |
– |
test -z "$ac_c_werror_flag" || |
15933 |
– |
test ! -s conftest.err |
15934 |
– |
} && test -s conftest.$ac_objext; then |
15935 |
– |
cat >conftest.$ac_ext <<_ACEOF |
15936 |
– |
/* confdefs.h. */ |
15937 |
– |
_ACEOF |
15938 |
– |
cat confdefs.h >>conftest.$ac_ext |
15939 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
15940 |
– |
/* end confdefs.h. */ |
15941 |
– |
$ac_includes_default |
15942 |
– |
int |
15943 |
– |
main () |
15944 |
– |
{ |
15945 |
– |
if (sizeof ((int64_t))) |
15946 |
– |
return 0; |
15947 |
– |
; |
15948 |
– |
return 0; |
15949 |
– |
} |
15950 |
– |
_ACEOF |
15951 |
– |
rm -f conftest.$ac_objext |
15952 |
– |
if { (ac_try="$ac_compile" |
15953 |
– |
case "(($ac_try" in |
15954 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15955 |
– |
*) ac_try_echo=$ac_try;; |
15956 |
– |
esac |
15957 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15958 |
– |
$as_echo "$ac_try_echo") >&5 |
15959 |
– |
(eval "$ac_compile") 2>conftest.er1 |
15960 |
– |
ac_status=$? |
15961 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
15962 |
– |
rm -f conftest.er1 |
15963 |
– |
cat conftest.err >&5 |
15964 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15965 |
– |
(exit $ac_status); } && { |
15966 |
– |
test -z "$ac_c_werror_flag" || |
15967 |
– |
test ! -s conftest.err |
15968 |
– |
} && test -s conftest.$ac_objext; then |
15969 |
– |
: |
15970 |
– |
else |
15971 |
– |
$as_echo "$as_me: failed program was:" >&5 |
15972 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
15973 |
– |
|
15974 |
– |
ac_cv_type_int64_t=yes |
15975 |
– |
fi |
15976 |
– |
|
15977 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15978 |
– |
else |
15979 |
– |
$as_echo "$as_me: failed program was:" >&5 |
15980 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
15981 |
– |
|
15982 |
– |
|
15983 |
– |
fi |
15984 |
– |
|
15985 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15986 |
– |
fi |
15987 |
– |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 |
15988 |
– |
$as_echo "$ac_cv_type_int64_t" >&6; } |
15989 |
– |
|
12707 |
|
elif test "$ac_cv_sizeof_long_long" = 8; then |
12708 |
< |
{ $as_echo "$as_me:$LINENO: checking for uint64_t" >&5 |
12709 |
< |
$as_echo_n "checking for uint64_t... " >&6; } |
15993 |
< |
if test "${ac_cv_type_uint64_t+set}" = set; then |
15994 |
< |
$as_echo_n "(cached) " >&6 |
15995 |
< |
else |
15996 |
< |
ac_cv_type_uint64_t=no |
15997 |
< |
cat >conftest.$ac_ext <<_ACEOF |
15998 |
< |
/* confdefs.h. */ |
15999 |
< |
_ACEOF |
16000 |
< |
cat confdefs.h >>conftest.$ac_ext |
16001 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
16002 |
< |
/* end confdefs.h. */ |
16003 |
< |
$ac_includes_default |
16004 |
< |
int |
16005 |
< |
main () |
16006 |
< |
{ |
16007 |
< |
if (sizeof (uint64_t)) |
16008 |
< |
return 0; |
16009 |
< |
; |
16010 |
< |
return 0; |
16011 |
< |
} |
16012 |
< |
_ACEOF |
16013 |
< |
rm -f conftest.$ac_objext |
16014 |
< |
if { (ac_try="$ac_compile" |
16015 |
< |
case "(($ac_try" in |
16016 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16017 |
< |
*) ac_try_echo=$ac_try;; |
16018 |
< |
esac |
16019 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16020 |
< |
$as_echo "$ac_try_echo") >&5 |
16021 |
< |
(eval "$ac_compile") 2>conftest.er1 |
16022 |
< |
ac_status=$? |
16023 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
16024 |
< |
rm -f conftest.er1 |
16025 |
< |
cat conftest.err >&5 |
16026 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16027 |
< |
(exit $ac_status); } && { |
16028 |
< |
test -z "$ac_c_werror_flag" || |
16029 |
< |
test ! -s conftest.err |
16030 |
< |
} && test -s conftest.$ac_objext; then |
16031 |
< |
cat >conftest.$ac_ext <<_ACEOF |
16032 |
< |
/* confdefs.h. */ |
16033 |
< |
_ACEOF |
16034 |
< |
cat confdefs.h >>conftest.$ac_ext |
16035 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
16036 |
< |
/* end confdefs.h. */ |
16037 |
< |
$ac_includes_default |
16038 |
< |
int |
16039 |
< |
main () |
16040 |
< |
{ |
16041 |
< |
if (sizeof ((uint64_t))) |
16042 |
< |
return 0; |
16043 |
< |
; |
16044 |
< |
return 0; |
16045 |
< |
} |
16046 |
< |
_ACEOF |
16047 |
< |
rm -f conftest.$ac_objext |
16048 |
< |
if { (ac_try="$ac_compile" |
16049 |
< |
case "(($ac_try" in |
16050 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16051 |
< |
*) ac_try_echo=$ac_try;; |
16052 |
< |
esac |
16053 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16054 |
< |
$as_echo "$ac_try_echo") >&5 |
16055 |
< |
(eval "$ac_compile") 2>conftest.er1 |
16056 |
< |
ac_status=$? |
16057 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
16058 |
< |
rm -f conftest.er1 |
16059 |
< |
cat conftest.err >&5 |
16060 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16061 |
< |
(exit $ac_status); } && { |
16062 |
< |
test -z "$ac_c_werror_flag" || |
16063 |
< |
test ! -s conftest.err |
16064 |
< |
} && test -s conftest.$ac_objext; then |
16065 |
< |
: |
16066 |
< |
else |
16067 |
< |
$as_echo "$as_me: failed program was:" >&5 |
16068 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
16069 |
< |
|
16070 |
< |
ac_cv_type_uint64_t=yes |
16071 |
< |
fi |
16072 |
< |
|
16073 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16074 |
< |
else |
16075 |
< |
$as_echo "$as_me: failed program was:" >&5 |
16076 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
16077 |
< |
|
12708 |
> |
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
12709 |
> |
if test "x$ac_cv_type_uint64_t" = x""yes; then : |
12710 |
|
|
16079 |
– |
fi |
16080 |
– |
|
16081 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16082 |
– |
fi |
16083 |
– |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
16084 |
– |
$as_echo "$ac_cv_type_uint64_t" >&6; } |
16085 |
– |
if test "x$ac_cv_type_uint64_t" = x""yes; then |
16086 |
– |
: |
12711 |
|
else |
12712 |
|
|
12713 |
|
cat >>confdefs.h <<_ACEOF |
12716 |
|
|
12717 |
|
fi |
12718 |
|
|
12719 |
< |
{ $as_echo "$as_me:$LINENO: checking for int64_t" >&5 |
12720 |
< |
$as_echo_n "checking for int64_t... " >&6; } |
16097 |
< |
if test "${ac_cv_type_int64_t+set}" = set; then |
16098 |
< |
$as_echo_n "(cached) " >&6 |
16099 |
< |
else |
16100 |
< |
ac_cv_type_int64_t=no |
16101 |
< |
cat >conftest.$ac_ext <<_ACEOF |
16102 |
< |
/* confdefs.h. */ |
16103 |
< |
_ACEOF |
16104 |
< |
cat confdefs.h >>conftest.$ac_ext |
16105 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
16106 |
< |
/* end confdefs.h. */ |
16107 |
< |
$ac_includes_default |
16108 |
< |
int |
16109 |
< |
main () |
16110 |
< |
{ |
16111 |
< |
if (sizeof (int64_t)) |
16112 |
< |
return 0; |
16113 |
< |
; |
16114 |
< |
return 0; |
16115 |
< |
} |
16116 |
< |
_ACEOF |
16117 |
< |
rm -f conftest.$ac_objext |
16118 |
< |
if { (ac_try="$ac_compile" |
16119 |
< |
case "(($ac_try" in |
16120 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16121 |
< |
*) ac_try_echo=$ac_try;; |
16122 |
< |
esac |
16123 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16124 |
< |
$as_echo "$ac_try_echo") >&5 |
16125 |
< |
(eval "$ac_compile") 2>conftest.er1 |
16126 |
< |
ac_status=$? |
16127 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
16128 |
< |
rm -f conftest.er1 |
16129 |
< |
cat conftest.err >&5 |
16130 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16131 |
< |
(exit $ac_status); } && { |
16132 |
< |
test -z "$ac_c_werror_flag" || |
16133 |
< |
test ! -s conftest.err |
16134 |
< |
} && test -s conftest.$ac_objext; then |
16135 |
< |
cat >conftest.$ac_ext <<_ACEOF |
16136 |
< |
/* confdefs.h. */ |
16137 |
< |
_ACEOF |
16138 |
< |
cat confdefs.h >>conftest.$ac_ext |
16139 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
16140 |
< |
/* end confdefs.h. */ |
16141 |
< |
$ac_includes_default |
16142 |
< |
int |
16143 |
< |
main () |
16144 |
< |
{ |
16145 |
< |
if (sizeof ((int64_t))) |
16146 |
< |
return 0; |
16147 |
< |
; |
16148 |
< |
return 0; |
16149 |
< |
} |
16150 |
< |
_ACEOF |
16151 |
< |
rm -f conftest.$ac_objext |
16152 |
< |
if { (ac_try="$ac_compile" |
16153 |
< |
case "(($ac_try" in |
16154 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16155 |
< |
*) ac_try_echo=$ac_try;; |
16156 |
< |
esac |
16157 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16158 |
< |
$as_echo "$ac_try_echo") >&5 |
16159 |
< |
(eval "$ac_compile") 2>conftest.er1 |
16160 |
< |
ac_status=$? |
16161 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
16162 |
< |
rm -f conftest.er1 |
16163 |
< |
cat conftest.err >&5 |
16164 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16165 |
< |
(exit $ac_status); } && { |
16166 |
< |
test -z "$ac_c_werror_flag" || |
16167 |
< |
test ! -s conftest.err |
16168 |
< |
} && test -s conftest.$ac_objext; then |
16169 |
< |
: |
16170 |
< |
else |
16171 |
< |
$as_echo "$as_me: failed program was:" >&5 |
16172 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
12719 |
> |
ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
12720 |
> |
if test "x$ac_cv_type_int64_t" = x""yes; then : |
12721 |
|
|
16174 |
– |
ac_cv_type_int64_t=yes |
16175 |
– |
fi |
16176 |
– |
|
16177 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16178 |
– |
else |
16179 |
– |
$as_echo "$as_me: failed program was:" >&5 |
16180 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
16181 |
– |
|
16182 |
– |
|
16183 |
– |
fi |
16184 |
– |
|
16185 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16186 |
– |
fi |
16187 |
– |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 |
16188 |
– |
$as_echo "$ac_cv_type_int64_t" >&6; } |
16189 |
– |
if test "x$ac_cv_type_int64_t" = x""yes; then |
16190 |
– |
: |
12722 |
|
else |
12723 |
|
|
12724 |
|
cat >>confdefs.h <<_ACEOF |
12728 |
|
fi |
12729 |
|
|
12730 |
|
else |
12731 |
< |
{ { $as_echo "$as_me:$LINENO: error: Your system doesn't appear to have 64 bit integers. Aborting." >&5 |
16201 |
< |
$as_echo "$as_me: error: Your system doesn't appear to have 64 bit integers. Aborting." >&2;} |
16202 |
< |
{ (exit 1); exit 1; }; } |
12731 |
> |
as_fn_error "Your system doesn't appear to have 64 bit integers. Aborting." "$LINENO" 5 |
12732 |
|
fi |
12733 |
|
|
12734 |
|
|
12736 |
|
|
12737 |
|
|
12738 |
|
|
12739 |
< |
|
12740 |
< |
for ac_func in $ac_func_list |
12741 |
< |
do |
12742 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12743 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12744 |
< |
$as_echo_n "checking for $ac_func... " >&6; } |
16216 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
16217 |
< |
$as_echo_n "(cached) " >&6 |
16218 |
< |
else |
16219 |
< |
cat >conftest.$ac_ext <<_ACEOF |
16220 |
< |
/* confdefs.h. */ |
16221 |
< |
_ACEOF |
16222 |
< |
cat confdefs.h >>conftest.$ac_ext |
16223 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
16224 |
< |
/* end confdefs.h. */ |
16225 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
16226 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
16227 |
< |
#define $ac_func innocuous_$ac_func |
16228 |
< |
|
16229 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
16230 |
< |
which can conflict with char $ac_func (); below. |
16231 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
16232 |
< |
<limits.h> exists even on freestanding compilers. */ |
16233 |
< |
|
16234 |
< |
#ifdef __STDC__ |
16235 |
< |
# include <limits.h> |
16236 |
< |
#else |
16237 |
< |
# include <assert.h> |
16238 |
< |
#endif |
16239 |
< |
|
16240 |
< |
#undef $ac_func |
16241 |
< |
|
16242 |
< |
/* Override any GCC internal prototype to avoid an error. |
16243 |
< |
Use char because int might match the return type of a GCC |
16244 |
< |
builtin and then its argument prototype would still apply. */ |
16245 |
< |
#ifdef __cplusplus |
16246 |
< |
extern "C" |
16247 |
< |
#endif |
16248 |
< |
char $ac_func (); |
16249 |
< |
/* The GNU C library defines this for functions which it implements |
16250 |
< |
to always fail with ENOSYS. Some functions are actually named |
16251 |
< |
something starting with __ and the normal name is an alias. */ |
16252 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
16253 |
< |
choke me |
16254 |
< |
#endif |
16255 |
< |
|
16256 |
< |
int |
16257 |
< |
main () |
16258 |
< |
{ |
16259 |
< |
return $ac_func (); |
16260 |
< |
; |
16261 |
< |
return 0; |
16262 |
< |
} |
16263 |
< |
_ACEOF |
16264 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
16265 |
< |
if { (ac_try="$ac_link" |
16266 |
< |
case "(($ac_try" in |
16267 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16268 |
< |
*) ac_try_echo=$ac_try;; |
16269 |
< |
esac |
16270 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16271 |
< |
$as_echo "$ac_try_echo") >&5 |
16272 |
< |
(eval "$ac_link") 2>conftest.er1 |
16273 |
< |
ac_status=$? |
16274 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
16275 |
< |
rm -f conftest.er1 |
16276 |
< |
cat conftest.err >&5 |
16277 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16278 |
< |
(exit $ac_status); } && { |
16279 |
< |
test -z "$ac_c_werror_flag" || |
16280 |
< |
test ! -s conftest.err |
16281 |
< |
} && test -s conftest$ac_exeext && { |
16282 |
< |
test "$cross_compiling" = yes || |
16283 |
< |
$as_test_x conftest$ac_exeext |
16284 |
< |
}; then |
16285 |
< |
eval "$as_ac_var=yes" |
16286 |
< |
else |
16287 |
< |
$as_echo "$as_me: failed program was:" >&5 |
16288 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
16289 |
< |
|
16290 |
< |
eval "$as_ac_var=no" |
16291 |
< |
fi |
16292 |
< |
|
16293 |
< |
rm -rf conftest.dSYM |
16294 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16295 |
< |
conftest$ac_exeext conftest.$ac_ext |
16296 |
< |
fi |
16297 |
< |
ac_res=`eval 'as_val=${'$as_ac_var'} |
16298 |
< |
$as_echo "$as_val"'` |
16299 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
16300 |
< |
$as_echo "$ac_res" >&6; } |
16301 |
< |
as_val=`eval 'as_val=${'$as_ac_var'} |
16302 |
< |
$as_echo "$as_val"'` |
16303 |
< |
if test "x$as_val" = x""yes; then |
12739 |
> |
for ac_func in $ac_func_list |
12740 |
> |
do : |
12741 |
> |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12742 |
> |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12743 |
> |
eval as_val=\$$as_ac_var |
12744 |
> |
if test "x$as_val" = x""yes; then : |
12745 |
|
cat >>confdefs.h <<_ACEOF |
12746 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12747 |
|
_ACEOF |
12771 |
|
|
12772 |
|
|
12773 |
|
|
16333 |
– |
|
16334 |
– |
|
16335 |
– |
|
16336 |
– |
|
16337 |
– |
|
16338 |
– |
|
16339 |
– |
|
16340 |
– |
|
16341 |
– |
|
16342 |
– |
|
16343 |
– |
|
16344 |
– |
|
16345 |
– |
|
16346 |
– |
|
16347 |
– |
|
16348 |
– |
|
16349 |
– |
|
16350 |
– |
|
16351 |
– |
|
16352 |
– |
|
16353 |
– |
|
16354 |
– |
|
16355 |
– |
|
12774 |
|
# Checks for header files. |
12775 |
|
|
12776 |
|
|
12777 |
|
|
12778 |
< |
|
12779 |
< |
for ac_header in $ac_header_list |
12780 |
< |
do |
12781 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12782 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12783 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12784 |
< |
$as_echo_n "checking for $ac_header... " >&6; } |
16367 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
16368 |
< |
$as_echo_n "(cached) " >&6 |
16369 |
< |
fi |
16370 |
< |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
16371 |
< |
$as_echo "$as_val"'` |
16372 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
16373 |
< |
$as_echo "$ac_res" >&6; } |
16374 |
< |
else |
16375 |
< |
# Is the header compilable? |
16376 |
< |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
16377 |
< |
$as_echo_n "checking $ac_header usability... " >&6; } |
16378 |
< |
cat >conftest.$ac_ext <<_ACEOF |
16379 |
< |
/* confdefs.h. */ |
16380 |
< |
_ACEOF |
16381 |
< |
cat confdefs.h >>conftest.$ac_ext |
16382 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
16383 |
< |
/* end confdefs.h. */ |
16384 |
< |
$ac_includes_default |
16385 |
< |
#include <$ac_header> |
16386 |
< |
_ACEOF |
16387 |
< |
rm -f conftest.$ac_objext |
16388 |
< |
if { (ac_try="$ac_compile" |
16389 |
< |
case "(($ac_try" in |
16390 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16391 |
< |
*) ac_try_echo=$ac_try;; |
16392 |
< |
esac |
16393 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16394 |
< |
$as_echo "$ac_try_echo") >&5 |
16395 |
< |
(eval "$ac_compile") 2>conftest.er1 |
16396 |
< |
ac_status=$? |
16397 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
16398 |
< |
rm -f conftest.er1 |
16399 |
< |
cat conftest.err >&5 |
16400 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16401 |
< |
(exit $ac_status); } && { |
16402 |
< |
test -z "$ac_c_werror_flag" || |
16403 |
< |
test ! -s conftest.err |
16404 |
< |
} && test -s conftest.$ac_objext; then |
16405 |
< |
ac_header_compiler=yes |
16406 |
< |
else |
16407 |
< |
$as_echo "$as_me: failed program was:" >&5 |
16408 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
16409 |
< |
|
16410 |
< |
ac_header_compiler=no |
16411 |
< |
fi |
16412 |
< |
|
16413 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16414 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
16415 |
< |
$as_echo "$ac_header_compiler" >&6; } |
16416 |
< |
|
16417 |
< |
# Is the header present? |
16418 |
< |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
16419 |
< |
$as_echo_n "checking $ac_header presence... " >&6; } |
16420 |
< |
cat >conftest.$ac_ext <<_ACEOF |
16421 |
< |
/* confdefs.h. */ |
16422 |
< |
_ACEOF |
16423 |
< |
cat confdefs.h >>conftest.$ac_ext |
16424 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
16425 |
< |
/* end confdefs.h. */ |
16426 |
< |
#include <$ac_header> |
16427 |
< |
_ACEOF |
16428 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
16429 |
< |
case "(($ac_try" in |
16430 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16431 |
< |
*) ac_try_echo=$ac_try;; |
16432 |
< |
esac |
16433 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16434 |
< |
$as_echo "$ac_try_echo") >&5 |
16435 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
16436 |
< |
ac_status=$? |
16437 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
16438 |
< |
rm -f conftest.er1 |
16439 |
< |
cat conftest.err >&5 |
16440 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16441 |
< |
(exit $ac_status); } >/dev/null && { |
16442 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
16443 |
< |
test ! -s conftest.err |
16444 |
< |
}; then |
16445 |
< |
ac_header_preproc=yes |
16446 |
< |
else |
16447 |
< |
$as_echo "$as_me: failed program was:" >&5 |
16448 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
16449 |
< |
|
16450 |
< |
ac_header_preproc=no |
16451 |
< |
fi |
16452 |
< |
|
16453 |
< |
rm -f conftest.err conftest.$ac_ext |
16454 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
16455 |
< |
$as_echo "$ac_header_preproc" >&6; } |
16456 |
< |
|
16457 |
< |
# So? What about this header? |
16458 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
16459 |
< |
yes:no: ) |
16460 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
16461 |
< |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
16462 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
16463 |
< |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
16464 |
< |
ac_header_preproc=yes |
16465 |
< |
;; |
16466 |
< |
no:yes:* ) |
16467 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
16468 |
< |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
16469 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
16470 |
< |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
16471 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
16472 |
< |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
16473 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
16474 |
< |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
16475 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
16476 |
< |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
16477 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
16478 |
< |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
16479 |
< |
|
16480 |
< |
;; |
16481 |
< |
esac |
16482 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
16483 |
< |
$as_echo_n "checking for $ac_header... " >&6; } |
16484 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
16485 |
< |
$as_echo_n "(cached) " >&6 |
16486 |
< |
else |
16487 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
16488 |
< |
fi |
16489 |
< |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
16490 |
< |
$as_echo "$as_val"'` |
16491 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
16492 |
< |
$as_echo "$ac_res" >&6; } |
16493 |
< |
|
16494 |
< |
fi |
16495 |
< |
as_val=`eval 'as_val=${'$as_ac_Header'} |
16496 |
< |
$as_echo "$as_val"'` |
16497 |
< |
if test "x$as_val" = x""yes; then |
12778 |
> |
for ac_header in $ac_header_list |
12779 |
> |
do : |
12780 |
> |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12781 |
> |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
12782 |
> |
" |
12783 |
> |
eval as_val=\$$as_ac_Header |
12784 |
> |
if test "x$as_val" = x""yes; then : |
12785 |
|
cat >>confdefs.h <<_ACEOF |
12786 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12787 |
|
_ACEOF |
12820 |
|
|
12821 |
|
|
12822 |
|
|
12823 |
< |
|
16537 |
< |
|
16538 |
< |
|
16539 |
< |
|
16540 |
< |
|
16541 |
< |
|
16542 |
< |
|
16543 |
< |
|
16544 |
< |
|
16545 |
< |
|
16546 |
< |
|
16547 |
< |
|
16548 |
< |
|
16549 |
< |
|
16550 |
< |
|
16551 |
< |
|
16552 |
< |
|
16553 |
< |
|
16554 |
< |
|
16555 |
< |
|
16556 |
< |
|
16557 |
< |
|
16558 |
< |
|
16559 |
< |
|
16560 |
< |
|
16561 |
< |
|
16562 |
< |
|
16563 |
< |
|
16564 |
< |
|
16565 |
< |
|
16566 |
< |
|
16567 |
< |
{ $as_echo "$as_me:$LINENO: checking for /dev/null" >&5 |
12823 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5 |
12824 |
|
$as_echo_n "checking for /dev/null... " >&6; } |
12825 |
|
if test -c /dev/null ; then |
12826 |
|
|
12827 |
< |
cat >>confdefs.h <<\_ACEOF |
16572 |
< |
#define PATH_DEVNULL "/dev/null" |
16573 |
< |
_ACEOF |
12827 |
> |
$as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h |
12828 |
|
|
12829 |
< |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
12829 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
12830 |
|
$as_echo "yes" >&6; } |
12831 |
|
else |
12832 |
|
|
12833 |
< |
cat >>confdefs.h <<\_ACEOF |
16580 |
< |
#define PATH_DEVNULL "devnull.log" |
16581 |
< |
_ACEOF |
12833 |
> |
$as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h |
12834 |
|
|
12835 |
< |
{ $as_echo "$as_me:$LINENO: result: no - using devnull.log" >&5 |
12835 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5 |
12836 |
|
$as_echo "no - using devnull.log" >&6; } |
12837 |
|
fi |
12838 |
|
|
12839 |
|
|
12840 |
< |
{ $as_echo "$as_me:$LINENO: checking for library containing crypt" >&5 |
12840 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
12841 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
12842 |
< |
if test "${ac_cv_search_crypt+set}" = set; then |
12842 |
> |
if test "${ac_cv_search_crypt+set}" = set; then : |
12843 |
|
$as_echo_n "(cached) " >&6 |
12844 |
|
else |
12845 |
|
ac_func_search_save_LIBS=$LIBS |
12846 |
< |
cat >conftest.$ac_ext <<_ACEOF |
16595 |
< |
/* confdefs.h. */ |
16596 |
< |
_ACEOF |
16597 |
< |
cat confdefs.h >>conftest.$ac_ext |
16598 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12846 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12847 |
|
/* end confdefs.h. */ |
12848 |
|
|
12849 |
|
/* Override any GCC internal prototype to avoid an error. |
12868 |
|
ac_res=-l$ac_lib |
12869 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
12870 |
|
fi |
12871 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
16624 |
< |
if { (ac_try="$ac_link" |
16625 |
< |
case "(($ac_try" in |
16626 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16627 |
< |
*) ac_try_echo=$ac_try;; |
16628 |
< |
esac |
16629 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16630 |
< |
$as_echo "$ac_try_echo") >&5 |
16631 |
< |
(eval "$ac_link") 2>conftest.er1 |
16632 |
< |
ac_status=$? |
16633 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
16634 |
< |
rm -f conftest.er1 |
16635 |
< |
cat conftest.err >&5 |
16636 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16637 |
< |
(exit $ac_status); } && { |
16638 |
< |
test -z "$ac_c_werror_flag" || |
16639 |
< |
test ! -s conftest.err |
16640 |
< |
} && test -s conftest$ac_exeext && { |
16641 |
< |
test "$cross_compiling" = yes || |
16642 |
< |
$as_test_x conftest$ac_exeext |
16643 |
< |
}; then |
12871 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
12872 |
|
ac_cv_search_crypt=$ac_res |
16645 |
– |
else |
16646 |
– |
$as_echo "$as_me: failed program was:" >&5 |
16647 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
16648 |
– |
|
16649 |
– |
|
12873 |
|
fi |
12874 |
< |
|
12875 |
< |
rm -rf conftest.dSYM |
12876 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16654 |
< |
conftest$ac_exeext |
16655 |
< |
if test "${ac_cv_search_crypt+set}" = set; then |
12874 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
12875 |
> |
conftest$ac_exeext |
12876 |
> |
if test "${ac_cv_search_crypt+set}" = set; then : |
12877 |
|
break |
12878 |
|
fi |
12879 |
|
done |
12880 |
< |
if test "${ac_cv_search_crypt+set}" = set; then |
12881 |
< |
: |
12880 |
> |
if test "${ac_cv_search_crypt+set}" = set; then : |
12881 |
> |
|
12882 |
|
else |
12883 |
|
ac_cv_search_crypt=no |
12884 |
|
fi |
12885 |
|
rm conftest.$ac_ext |
12886 |
|
LIBS=$ac_func_search_save_LIBS |
12887 |
|
fi |
12888 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5 |
12888 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5 |
12889 |
|
$as_echo "$ac_cv_search_crypt" >&6; } |
12890 |
|
ac_res=$ac_cv_search_crypt |
12891 |
< |
if test "$ac_res" != no; then |
12891 |
> |
if test "$ac_res" != no; then : |
12892 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
12893 |
|
|
12894 |
|
fi |
12905 |
|
|
12906 |
|
|
12907 |
|
# Check whether --with-zlib-path was given. |
12908 |
< |
if test "${with_zlib_path+set}" = set; then |
12908 |
> |
if test "${with_zlib_path+set}" = set; then : |
12909 |
|
withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS" |
12910 |
|
fi |
12911 |
|
|
12912 |
|
|
12913 |
|
# Check whether --enable-zlib was given. |
12914 |
< |
if test "${enable_zlib+set}" = set; then |
12914 |
> |
if test "${enable_zlib+set}" = set; then : |
12915 |
|
enableval=$enable_zlib; zlib=$enableval |
12916 |
|
else |
12917 |
|
zlib=yes |
12919 |
|
|
12920 |
|
|
12921 |
|
if test "$zlib" = yes; then |
12922 |
< |
if test "${ac_cv_header_zlib_h+set}" = set; then |
12923 |
< |
{ $as_echo "$as_me:$LINENO: checking for zlib.h" >&5 |
12924 |
< |
$as_echo_n "checking for zlib.h... " >&6; } |
16704 |
< |
if test "${ac_cv_header_zlib_h+set}" = set; then |
16705 |
< |
$as_echo_n "(cached) " >&6 |
16706 |
< |
fi |
16707 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
16708 |
< |
$as_echo "$ac_cv_header_zlib_h" >&6; } |
16709 |
< |
else |
16710 |
< |
# Is the header compilable? |
16711 |
< |
{ $as_echo "$as_me:$LINENO: checking zlib.h usability" >&5 |
16712 |
< |
$as_echo_n "checking zlib.h usability... " >&6; } |
16713 |
< |
cat >conftest.$ac_ext <<_ACEOF |
16714 |
< |
/* confdefs.h. */ |
16715 |
< |
_ACEOF |
16716 |
< |
cat confdefs.h >>conftest.$ac_ext |
16717 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
16718 |
< |
/* end confdefs.h. */ |
16719 |
< |
$ac_includes_default |
16720 |
< |
#include <zlib.h> |
16721 |
< |
_ACEOF |
16722 |
< |
rm -f conftest.$ac_objext |
16723 |
< |
if { (ac_try="$ac_compile" |
16724 |
< |
case "(($ac_try" in |
16725 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16726 |
< |
*) ac_try_echo=$ac_try;; |
16727 |
< |
esac |
16728 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16729 |
< |
$as_echo "$ac_try_echo") >&5 |
16730 |
< |
(eval "$ac_compile") 2>conftest.er1 |
16731 |
< |
ac_status=$? |
16732 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
16733 |
< |
rm -f conftest.er1 |
16734 |
< |
cat conftest.err >&5 |
16735 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16736 |
< |
(exit $ac_status); } && { |
16737 |
< |
test -z "$ac_c_werror_flag" || |
16738 |
< |
test ! -s conftest.err |
16739 |
< |
} && test -s conftest.$ac_objext; then |
16740 |
< |
ac_header_compiler=yes |
16741 |
< |
else |
16742 |
< |
$as_echo "$as_me: failed program was:" >&5 |
16743 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
16744 |
< |
|
16745 |
< |
ac_header_compiler=no |
16746 |
< |
fi |
16747 |
< |
|
16748 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16749 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
16750 |
< |
$as_echo "$ac_header_compiler" >&6; } |
16751 |
< |
|
16752 |
< |
# Is the header present? |
16753 |
< |
{ $as_echo "$as_me:$LINENO: checking zlib.h presence" >&5 |
16754 |
< |
$as_echo_n "checking zlib.h presence... " >&6; } |
16755 |
< |
cat >conftest.$ac_ext <<_ACEOF |
16756 |
< |
/* confdefs.h. */ |
16757 |
< |
_ACEOF |
16758 |
< |
cat confdefs.h >>conftest.$ac_ext |
16759 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
16760 |
< |
/* end confdefs.h. */ |
16761 |
< |
#include <zlib.h> |
16762 |
< |
_ACEOF |
16763 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
16764 |
< |
case "(($ac_try" in |
16765 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16766 |
< |
*) ac_try_echo=$ac_try;; |
16767 |
< |
esac |
16768 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16769 |
< |
$as_echo "$ac_try_echo") >&5 |
16770 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
16771 |
< |
ac_status=$? |
16772 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
16773 |
< |
rm -f conftest.er1 |
16774 |
< |
cat conftest.err >&5 |
16775 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16776 |
< |
(exit $ac_status); } >/dev/null && { |
16777 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
16778 |
< |
test ! -s conftest.err |
16779 |
< |
}; then |
16780 |
< |
ac_header_preproc=yes |
16781 |
< |
else |
16782 |
< |
$as_echo "$as_me: failed program was:" >&5 |
16783 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
16784 |
< |
|
16785 |
< |
ac_header_preproc=no |
16786 |
< |
fi |
16787 |
< |
|
16788 |
< |
rm -f conftest.err conftest.$ac_ext |
16789 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
16790 |
< |
$as_echo "$ac_header_preproc" >&6; } |
16791 |
< |
|
16792 |
< |
# So? What about this header? |
16793 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
16794 |
< |
yes:no: ) |
16795 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
16796 |
< |
$as_echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
16797 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 |
16798 |
< |
$as_echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} |
16799 |
< |
ac_header_preproc=yes |
16800 |
< |
;; |
16801 |
< |
no:yes:* ) |
16802 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 |
16803 |
< |
$as_echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} |
16804 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5 |
16805 |
< |
$as_echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;} |
16806 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 |
16807 |
< |
$as_echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} |
16808 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5 |
16809 |
< |
$as_echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;} |
16810 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 |
16811 |
< |
$as_echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} |
16812 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 |
16813 |
< |
$as_echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} |
16814 |
< |
|
16815 |
< |
;; |
16816 |
< |
esac |
16817 |
< |
{ $as_echo "$as_me:$LINENO: checking for zlib.h" >&5 |
16818 |
< |
$as_echo_n "checking for zlib.h... " >&6; } |
16819 |
< |
if test "${ac_cv_header_zlib_h+set}" = set; then |
16820 |
< |
$as_echo_n "(cached) " >&6 |
16821 |
< |
else |
16822 |
< |
ac_cv_header_zlib_h=$ac_header_preproc |
16823 |
< |
fi |
16824 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
16825 |
< |
$as_echo "$ac_cv_header_zlib_h" >&6; } |
16826 |
< |
|
16827 |
< |
fi |
16828 |
< |
if test "x$ac_cv_header_zlib_h" = x""yes; then |
16829 |
< |
{ $as_echo "$as_me:$LINENO: checking for zlibVersion in -lz" >&5 |
12922 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
12923 |
> |
if test "x$ac_cv_header_zlib_h" = x""yes; then : |
12924 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 |
12925 |
|
$as_echo_n "checking for zlibVersion in -lz... " >&6; } |
12926 |
< |
if test "${ac_cv_lib_z_zlibVersion+set}" = set; then |
12926 |
> |
if test "${ac_cv_lib_z_zlibVersion+set}" = set; then : |
12927 |
|
$as_echo_n "(cached) " >&6 |
12928 |
|
else |
12929 |
|
ac_check_lib_save_LIBS=$LIBS |
12930 |
|
LIBS="-lz $LIBS" |
12931 |
< |
cat >conftest.$ac_ext <<_ACEOF |
16837 |
< |
/* confdefs.h. */ |
16838 |
< |
_ACEOF |
16839 |
< |
cat confdefs.h >>conftest.$ac_ext |
16840 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
12931 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12932 |
|
/* end confdefs.h. */ |
12933 |
|
|
12934 |
|
/* Override any GCC internal prototype to avoid an error. |
12946 |
|
return 0; |
12947 |
|
} |
12948 |
|
_ACEOF |
12949 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
16859 |
< |
if { (ac_try="$ac_link" |
16860 |
< |
case "(($ac_try" in |
16861 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16862 |
< |
*) ac_try_echo=$ac_try;; |
16863 |
< |
esac |
16864 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16865 |
< |
$as_echo "$ac_try_echo") >&5 |
16866 |
< |
(eval "$ac_link") 2>conftest.er1 |
16867 |
< |
ac_status=$? |
16868 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
16869 |
< |
rm -f conftest.er1 |
16870 |
< |
cat conftest.err >&5 |
16871 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16872 |
< |
(exit $ac_status); } && { |
16873 |
< |
test -z "$ac_c_werror_flag" || |
16874 |
< |
test ! -s conftest.err |
16875 |
< |
} && test -s conftest$ac_exeext && { |
16876 |
< |
test "$cross_compiling" = yes || |
16877 |
< |
$as_test_x conftest$ac_exeext |
16878 |
< |
}; then |
12949 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
12950 |
|
ac_cv_lib_z_zlibVersion=yes |
12951 |
|
else |
12952 |
< |
$as_echo "$as_me: failed program was:" >&5 |
16882 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
16883 |
< |
|
16884 |
< |
ac_cv_lib_z_zlibVersion=no |
12952 |
> |
ac_cv_lib_z_zlibVersion=no |
12953 |
|
fi |
12954 |
< |
|
12955 |
< |
rm -rf conftest.dSYM |
16888 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16889 |
< |
conftest$ac_exeext conftest.$ac_ext |
12954 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
12955 |
> |
conftest$ac_exeext conftest.$ac_ext |
12956 |
|
LIBS=$ac_check_lib_save_LIBS |
12957 |
|
fi |
12958 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_zlibVersion" >&5 |
12958 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 |
12959 |
|
$as_echo "$ac_cv_lib_z_zlibVersion" >&6; } |
12960 |
< |
if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then |
12960 |
> |
if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then : |
12961 |
|
|
12962 |
|
LIBS="-lz $LIBS" |
12963 |
|
|
12964 |
< |
cat >>confdefs.h <<\_ACEOF |
16899 |
< |
#define HAVE_LIBZ 1 |
16900 |
< |
_ACEOF |
12964 |
> |
$as_echo "#define HAVE_LIBZ 1" >>confdefs.h |
12965 |
|
|
12966 |
|
|
12967 |
|
else |
12978 |
|
|
12979 |
|
|
12980 |
|
# Check whether --enable-openssl was given. |
12981 |
< |
if test "${enable_openssl+set}" = set; then |
12981 |
> |
if test "${enable_openssl+set}" = set; then : |
12982 |
|
enableval=$enable_openssl; cf_enable_openssl=$enableval |
12983 |
|
else |
12984 |
|
cf_enable_openssl="auto" |
12985 |
|
fi |
12986 |
|
|
12987 |
< |
{ $as_echo "$as_me:$LINENO: checking for OpenSSL" >&5 |
12987 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5 |
12988 |
|
$as_echo_n "checking for OpenSSL... " >&6; } |
12989 |
|
if test "$cf_enable_openssl" != "no"; then |
12990 |
|
cf_openssl_basedir="" |
13017 |
|
|
13018 |
|
if test ! -z "$cf_openssl_basedir"; then |
13019 |
|
LIBS="-lcrypto -lssl $LIBS" |
13020 |
< |
{ $as_echo "$as_me:$LINENO: result: $cf_openssl_basedir" >&5 |
13020 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
13021 |
|
$as_echo "$cf_openssl_basedir" >&6; } |
13022 |
|
cf_enable_openssl="yes" |
13023 |
|
|
13024 |
< |
cat >>confdefs.h <<\_ACEOF |
16961 |
< |
#define HAVE_LIBCRYPTO 1 |
16962 |
< |
_ACEOF |
13024 |
> |
$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
13025 |
|
|
13026 |
|
else |
13027 |
< |
{ $as_echo "$as_me:$LINENO: result: not found. Please check your path." >&5 |
13027 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
13028 |
|
$as_echo "not found. Please check your path." >&6; } |
13029 |
|
cf_enable_openssl="no" |
13030 |
|
fi |
13031 |
|
unset cf_openssl_basedir |
13032 |
|
else |
13033 |
< |
{ $as_echo "$as_me:$LINENO: result: disabled" >&5 |
13033 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
13034 |
|
$as_echo "disabled" >&6; } |
13035 |
|
fi |
13036 |
|
if test "$cf_enable_openssl" = yes; then |
13044 |
|
|
13045 |
|
|
13046 |
|
# Check whether --enable-assert was given. |
13047 |
< |
if test "${enable_assert+set}" = set; then |
13047 |
> |
if test "${enable_assert+set}" = set; then : |
13048 |
|
enableval=$enable_assert; assert=$enableval |
13049 |
|
else |
13050 |
|
assert=no |
13052 |
|
|
13053 |
|
if test "$assert" = no; then |
13054 |
|
|
13055 |
< |
cat >>confdefs.h <<\_ACEOF |
16994 |
< |
#define NDEBUG 1 |
16995 |
< |
_ACEOF |
13055 |
> |
$as_echo "#define NDEBUG 1" >>confdefs.h |
13056 |
|
|
13057 |
|
fi |
13058 |
|
|
13059 |
|
|
13060 |
|
# Check whether --enable-small-net was given. |
13061 |
< |
if test "${enable_small_net+set}" = set; then |
13061 |
> |
if test "${enable_small_net+set}" = set; then : |
13062 |
|
enableval=$enable_small_net; small_net=$enableval |
13063 |
|
else |
13064 |
|
small_net=no |
13067 |
|
|
13068 |
|
if test "$small_net" = yes; then |
13069 |
|
|
13070 |
< |
cat >>confdefs.h <<\_ACEOF |
17011 |
< |
#define NICKNAMEHISTORYLENGTH 1500 |
17012 |
< |
_ACEOF |
13070 |
> |
$as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h |
13071 |
|
|
13072 |
|
|
13073 |
< |
cat >>confdefs.h <<\_ACEOF |
17016 |
< |
#define CHANNEL_HEAP_SIZE 256 |
17017 |
< |
_ACEOF |
13073 |
> |
$as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h |
13074 |
|
|
13075 |
|
|
13076 |
< |
cat >>confdefs.h <<\_ACEOF |
17021 |
< |
#define BAN_HEAP_SIZE 128 |
17022 |
< |
_ACEOF |
13076 |
> |
$as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h |
13077 |
|
|
13078 |
|
|
13079 |
< |
cat >>confdefs.h <<\_ACEOF |
17026 |
< |
#define CLIENT_HEAP_SIZE 256 |
17027 |
< |
_ACEOF |
13079 |
> |
$as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h |
13080 |
|
|
13081 |
|
|
13082 |
< |
cat >>confdefs.h <<\_ACEOF |
17031 |
< |
#define LCLIENT_HEAP_SIZE 128 |
17032 |
< |
_ACEOF |
13082 |
> |
$as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h |
13083 |
|
|
13084 |
|
|
13085 |
< |
cat >>confdefs.h <<\_ACEOF |
17036 |
< |
#define DNODE_HEAP_SIZE 256 |
17037 |
< |
_ACEOF |
13085 |
> |
$as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h |
13086 |
|
|
13087 |
|
|
13088 |
< |
cat >>confdefs.h <<\_ACEOF |
17041 |
< |
#define TOPIC_HEAP_SIZE 256 |
17042 |
< |
_ACEOF |
13088 |
> |
$as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h |
13089 |
|
|
13090 |
|
|
13091 |
< |
cat >>confdefs.h <<\_ACEOF |
17046 |
< |
#define DBUF_HEAP_SIZE 64 |
17047 |
< |
_ACEOF |
13091 |
> |
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
13092 |
|
|
13093 |
|
else |
13094 |
|
|
13095 |
< |
cat >>confdefs.h <<\_ACEOF |
17052 |
< |
#define NICKNAMEHISTORYLENGTH 15000 |
17053 |
< |
_ACEOF |
13095 |
> |
$as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h |
13096 |
|
|
13097 |
|
|
13098 |
< |
cat >>confdefs.h <<\_ACEOF |
17057 |
< |
#define CHANNEL_HEAP_SIZE 1024 |
17058 |
< |
_ACEOF |
13098 |
> |
$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h |
13099 |
|
|
13100 |
|
|
13101 |
< |
cat >>confdefs.h <<\_ACEOF |
17062 |
< |
#define BAN_HEAP_SIZE 1024 |
17063 |
< |
_ACEOF |
13101 |
> |
$as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h |
13102 |
|
|
13103 |
|
|
13104 |
< |
cat >>confdefs.h <<\_ACEOF |
17067 |
< |
#define CLIENT_HEAP_SIZE 1024 |
17068 |
< |
_ACEOF |
13104 |
> |
$as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h |
13105 |
|
|
13106 |
|
|
13107 |
< |
cat >>confdefs.h <<\_ACEOF |
17072 |
< |
#define LCLIENT_HEAP_SIZE 512 |
17073 |
< |
_ACEOF |
13107 |
> |
$as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h |
13108 |
|
|
13109 |
|
|
13110 |
< |
cat >>confdefs.h <<\_ACEOF |
17077 |
< |
#define DNODE_HEAP_SIZE 1024 |
17078 |
< |
_ACEOF |
13110 |
> |
$as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h |
13111 |
|
|
13112 |
|
|
13113 |
< |
cat >>confdefs.h <<\_ACEOF |
17082 |
< |
#define TOPIC_HEAP_SIZE 1024 |
17083 |
< |
_ACEOF |
13113 |
> |
$as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h |
13114 |
|
|
13115 |
|
|
13116 |
< |
cat >>confdefs.h <<\_ACEOF |
17087 |
< |
#define DBUF_HEAP_SIZE 512 |
17088 |
< |
_ACEOF |
13116 |
> |
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
13117 |
|
|
13118 |
|
fi |
13119 |
|
|
13122 |
|
|
13123 |
|
desired_iopoll_mechanism="none" |
13124 |
|
# Check whether --enable-kqueue was given. |
13125 |
< |
if test "${enable_kqueue+set}" = set; then |
13125 |
> |
if test "${enable_kqueue+set}" = set; then : |
13126 |
|
enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue" |
13127 |
|
fi |
13128 |
|
|
13129 |
|
# Check whether --enable-epoll was given. |
13130 |
< |
if test "${enable_epoll+set}" = set; then |
13130 |
> |
if test "${enable_epoll+set}" = set; then : |
13131 |
|
enableval=$enable_epoll; desired_iopoll_mechanism="epoll" |
13132 |
|
fi |
13133 |
|
|
13134 |
|
# Check whether --enable-devpoll was given. |
13135 |
< |
if test "${enable_devpoll+set}" = set; then |
13135 |
> |
if test "${enable_devpoll+set}" = set; then : |
13136 |
|
enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" |
13137 |
|
fi |
13138 |
|
|
13139 |
|
# Check whether --enable-rtsigio was given. |
13140 |
< |
if test "${enable_rtsigio+set}" = set; then |
13140 |
> |
if test "${enable_rtsigio+set}" = set; then : |
13141 |
|
enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio" |
13142 |
|
fi |
13143 |
|
|
13144 |
|
# Check whether --enable-poll was given. |
13145 |
< |
if test "${enable_poll+set}" = set; then |
13145 |
> |
if test "${enable_poll+set}" = set; then : |
13146 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
13147 |
|
fi |
13148 |
|
|
13149 |
|
# Check whether --enable-select was given. |
13150 |
< |
if test "${enable_select+set}" = set; then |
13150 |
> |
if test "${enable_select+set}" = set; then : |
13151 |
|
enableval=$enable_select; desired_iopoll_mechanism="select" |
13152 |
|
fi |
13153 |
|
|
13154 |
< |
{ $as_echo "$as_me:$LINENO: checking for optimal/desired iopoll mechanism" >&5 |
13154 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5 |
13155 |
|
$as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; } |
13156 |
|
iopoll_mechanism_none=0 |
13157 |
|
|
13165 |
|
#define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue |
13166 |
|
_ACEOF |
13167 |
|
|
13168 |
< |
cat >conftest.$ac_ext <<_ACEOF |
17141 |
< |
/* confdefs.h. */ |
17142 |
< |
_ACEOF |
17143 |
< |
cat confdefs.h >>conftest.$ac_ext |
17144 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13168 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13169 |
|
/* end confdefs.h. */ |
13170 |
|
/* Define kevent to an innocuous variant, in case <limits.h> declares kevent. |
13171 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
13206 |
|
return 0; |
13207 |
|
} |
13208 |
|
_ACEOF |
13209 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
17186 |
< |
if { (ac_try="$ac_link" |
17187 |
< |
case "(($ac_try" in |
17188 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17189 |
< |
*) ac_try_echo=$ac_try;; |
17190 |
< |
esac |
17191 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17192 |
< |
$as_echo "$ac_try_echo") >&5 |
17193 |
< |
(eval "$ac_link") 2>conftest.er1 |
17194 |
< |
ac_status=$? |
17195 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
17196 |
< |
rm -f conftest.er1 |
17197 |
< |
cat conftest.err >&5 |
17198 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17199 |
< |
(exit $ac_status); } && { |
17200 |
< |
test -z "$ac_c_werror_flag" || |
17201 |
< |
test ! -s conftest.err |
17202 |
< |
} && test -s conftest$ac_exeext && { |
17203 |
< |
test "$cross_compiling" = yes || |
17204 |
< |
$as_test_x conftest$ac_exeext |
17205 |
< |
}; then |
13209 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
13210 |
|
is_kqueue_mechanism_available="yes" |
13211 |
|
else |
13212 |
< |
$as_echo "$as_me: failed program was:" >&5 |
17209 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
17210 |
< |
|
17211 |
< |
is_kqueue_mechanism_available="no" |
13212 |
> |
is_kqueue_mechanism_available="no" |
13213 |
|
fi |
13214 |
< |
|
13215 |
< |
rm -rf conftest.dSYM |
17215 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17216 |
< |
conftest$ac_exeext conftest.$ac_ext |
13214 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
13215 |
> |
conftest$ac_exeext conftest.$ac_ext |
13216 |
|
iopoll_mechanism_epoll=2 |
13217 |
|
|
13218 |
|
cat >>confdefs.h <<_ACEOF |
13219 |
|
#define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll |
13220 |
|
_ACEOF |
13221 |
|
|
13222 |
< |
if test "$cross_compiling" = yes; then |
13223 |
< |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
13222 |
> |
if test "$cross_compiling" = yes; then : |
13223 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
13224 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
13225 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
13226 |
< |
See \`config.log' for more details." >&5 |
17228 |
< |
$as_echo "$as_me: error: cannot run test program while cross compiling |
17229 |
< |
See \`config.log' for more details." >&2;} |
17230 |
< |
{ (exit 1); exit 1; }; }; } |
13225 |
> |
as_fn_error "cannot run test program while cross compiling |
13226 |
> |
See \`config.log' for more details." "$LINENO" 5; } |
13227 |
|
else |
13228 |
< |
cat >conftest.$ac_ext <<_ACEOF |
13228 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13229 |
> |
/* end confdefs.h. */ |
13230 |
|
|
13231 |
|
#include <sys/epoll.h> |
13232 |
|
#include <sys/syscall.h> |
13259 |
|
main() { return epoll_create(256) == -1 ? 1 : 0; } |
13260 |
|
|
13261 |
|
_ACEOF |
13262 |
< |
rm -f conftest$ac_exeext |
17266 |
< |
if { (ac_try="$ac_link" |
17267 |
< |
case "(($ac_try" in |
17268 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17269 |
< |
*) ac_try_echo=$ac_try;; |
17270 |
< |
esac |
17271 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17272 |
< |
$as_echo "$ac_try_echo") >&5 |
17273 |
< |
(eval "$ac_link") 2>&5 |
17274 |
< |
ac_status=$? |
17275 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17276 |
< |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
17277 |
< |
{ (case "(($ac_try" in |
17278 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17279 |
< |
*) ac_try_echo=$ac_try;; |
17280 |
< |
esac |
17281 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17282 |
< |
$as_echo "$ac_try_echo") >&5 |
17283 |
< |
(eval "$ac_try") 2>&5 |
17284 |
< |
ac_status=$? |
17285 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17286 |
< |
(exit $ac_status); }; }; then |
13262 |
> |
if ac_fn_c_try_run "$LINENO"; then : |
13263 |
|
is_epoll_mechanism_available="yes" |
13264 |
|
else |
13265 |
< |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
17290 |
< |
$as_echo "$as_me: failed program was:" >&5 |
17291 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
17292 |
< |
|
17293 |
< |
( exit $ac_status ) |
17294 |
< |
is_epoll_mechanism_available="no" |
13265 |
> |
is_epoll_mechanism_available="no" |
13266 |
|
fi |
13267 |
< |
rm -rf conftest.dSYM |
13268 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
13267 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
13268 |
> |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
13269 |
|
fi |
13270 |
|
|
17300 |
– |
|
13271 |
|
iopoll_mechanism_devpoll=3 |
13272 |
|
|
13273 |
|
cat >>confdefs.h <<_ACEOF |
13274 |
|
#define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll |
13275 |
|
_ACEOF |
13276 |
|
|
13277 |
< |
cat >conftest.$ac_ext <<_ACEOF |
17308 |
< |
/* confdefs.h. */ |
17309 |
< |
_ACEOF |
17310 |
< |
cat confdefs.h >>conftest.$ac_ext |
17311 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13277 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13278 |
|
/* end confdefs.h. */ |
13279 |
|
#include <devpoll.h> |
13280 |
|
int |
13285 |
|
return 0; |
13286 |
|
} |
13287 |
|
_ACEOF |
13288 |
< |
rm -f conftest.$ac_objext |
17323 |
< |
if { (ac_try="$ac_compile" |
17324 |
< |
case "(($ac_try" in |
17325 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17326 |
< |
*) ac_try_echo=$ac_try;; |
17327 |
< |
esac |
17328 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17329 |
< |
$as_echo "$ac_try_echo") >&5 |
17330 |
< |
(eval "$ac_compile") 2>conftest.er1 |
17331 |
< |
ac_status=$? |
17332 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
17333 |
< |
rm -f conftest.er1 |
17334 |
< |
cat conftest.err >&5 |
17335 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17336 |
< |
(exit $ac_status); } && { |
17337 |
< |
test -z "$ac_c_werror_flag" || |
17338 |
< |
test ! -s conftest.err |
17339 |
< |
} && test -s conftest.$ac_objext; then |
13288 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
13289 |
|
is_devpoll_mechanism_available="yes" |
13290 |
|
else |
13291 |
< |
$as_echo "$as_me: failed program was:" >&5 |
17343 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
17344 |
< |
|
17345 |
< |
is_devpoll_mechanism_available="no" |
13291 |
> |
is_devpoll_mechanism_available="no" |
13292 |
|
fi |
17347 |
– |
|
13293 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13294 |
|
if test "$is_devpoll_mechanism_available" = "yes" ; then |
13295 |
|
|
13296 |
< |
cat >>confdefs.h <<\_ACEOF |
17352 |
< |
#define HAVE_DEVPOLL_H 1 |
17353 |
< |
_ACEOF |
13296 |
> |
$as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h |
13297 |
|
|
13298 |
|
fi |
13299 |
< |
cat >conftest.$ac_ext <<_ACEOF |
17357 |
< |
/* confdefs.h. */ |
17358 |
< |
_ACEOF |
17359 |
< |
cat confdefs.h >>conftest.$ac_ext |
17360 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13299 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13300 |
|
/* end confdefs.h. */ |
13301 |
|
#include <sys/devpoll.h> |
13302 |
|
int |
13307 |
|
return 0; |
13308 |
|
} |
13309 |
|
_ACEOF |
13310 |
< |
rm -f conftest.$ac_objext |
17372 |
< |
if { (ac_try="$ac_compile" |
17373 |
< |
case "(($ac_try" in |
17374 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17375 |
< |
*) ac_try_echo=$ac_try;; |
17376 |
< |
esac |
17377 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17378 |
< |
$as_echo "$ac_try_echo") >&5 |
17379 |
< |
(eval "$ac_compile") 2>conftest.er1 |
17380 |
< |
ac_status=$? |
17381 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
17382 |
< |
rm -f conftest.er1 |
17383 |
< |
cat conftest.err >&5 |
17384 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17385 |
< |
(exit $ac_status); } && { |
17386 |
< |
test -z "$ac_c_werror_flag" || |
17387 |
< |
test ! -s conftest.err |
17388 |
< |
} && test -s conftest.$ac_objext; then |
13310 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
13311 |
|
is_devpoll_mechanism_available="yes" |
13312 |
|
else |
13313 |
< |
$as_echo "$as_me: failed program was:" >&5 |
17392 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
17393 |
< |
|
17394 |
< |
is_devpoll_mechanism_available="no" |
13313 |
> |
is_devpoll_mechanism_available="no" |
13314 |
|
fi |
17396 |
– |
|
13315 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13316 |
|
if test "$is_devpoll_mechanism_available" = "yes" ; then |
13317 |
|
|
13318 |
< |
cat >>confdefs.h <<\_ACEOF |
17401 |
< |
#define HAVE_SYS_DEVPOLL_H 1 |
17402 |
< |
_ACEOF |
13318 |
> |
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
13319 |
|
|
13320 |
|
fi |
13321 |
|
iopoll_mechanism_rtsigio=4 |
13324 |
|
#define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio |
13325 |
|
_ACEOF |
13326 |
|
|
13327 |
< |
if test "$cross_compiling" = yes; then |
13328 |
< |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
13327 |
> |
if test "$cross_compiling" = yes; then : |
13328 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
13329 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
13330 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
13331 |
< |
See \`config.log' for more details." >&5 |
17416 |
< |
$as_echo "$as_me: error: cannot run test program while cross compiling |
17417 |
< |
See \`config.log' for more details." >&2;} |
17418 |
< |
{ (exit 1); exit 1; }; }; } |
13330 |
> |
as_fn_error "cannot run test program while cross compiling |
13331 |
> |
See \`config.log' for more details." "$LINENO" 5; } |
13332 |
|
else |
13333 |
< |
cat >conftest.$ac_ext <<_ACEOF |
17421 |
< |
/* confdefs.h. */ |
17422 |
< |
_ACEOF |
17423 |
< |
cat confdefs.h >>conftest.$ac_ext |
17424 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13333 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13334 |
|
/* end confdefs.h. */ |
13335 |
|
|
13336 |
|
#include <fcntl.h> |
13348 |
|
return 0; |
13349 |
|
} |
13350 |
|
_ACEOF |
13351 |
< |
rm -f conftest$ac_exeext |
17443 |
< |
if { (ac_try="$ac_link" |
17444 |
< |
case "(($ac_try" in |
17445 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17446 |
< |
*) ac_try_echo=$ac_try;; |
17447 |
< |
esac |
17448 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17449 |
< |
$as_echo "$ac_try_echo") >&5 |
17450 |
< |
(eval "$ac_link") 2>&5 |
17451 |
< |
ac_status=$? |
17452 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17453 |
< |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
17454 |
< |
{ (case "(($ac_try" in |
17455 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17456 |
< |
*) ac_try_echo=$ac_try;; |
17457 |
< |
esac |
17458 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17459 |
< |
$as_echo "$ac_try_echo") >&5 |
17460 |
< |
(eval "$ac_try") 2>&5 |
17461 |
< |
ac_status=$? |
17462 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17463 |
< |
(exit $ac_status); }; }; then |
13351 |
> |
if ac_fn_c_try_run "$LINENO"; then : |
13352 |
|
is_rtsigio_mechanism_available="yes" |
13353 |
|
else |
13354 |
< |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
17467 |
< |
$as_echo "$as_me: failed program was:" >&5 |
17468 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
17469 |
< |
|
17470 |
< |
( exit $ac_status ) |
17471 |
< |
is_rtsigio_mechanism_available="no" |
13354 |
> |
is_rtsigio_mechanism_available="no" |
13355 |
|
fi |
13356 |
< |
rm -rf conftest.dSYM |
13357 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
13356 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
13357 |
> |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
13358 |
|
fi |
13359 |
|
|
17477 |
– |
|
13360 |
|
iopoll_mechanism_poll=5 |
13361 |
|
|
13362 |
|
cat >>confdefs.h <<_ACEOF |
13363 |
|
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
13364 |
|
_ACEOF |
13365 |
|
|
13366 |
< |
cat >conftest.$ac_ext <<_ACEOF |
17485 |
< |
/* confdefs.h. */ |
17486 |
< |
_ACEOF |
17487 |
< |
cat confdefs.h >>conftest.$ac_ext |
17488 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13366 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13367 |
|
/* end confdefs.h. */ |
13368 |
|
/* Define poll to an innocuous variant, in case <limits.h> declares poll. |
13369 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
13404 |
|
return 0; |
13405 |
|
} |
13406 |
|
_ACEOF |
13407 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
17530 |
< |
if { (ac_try="$ac_link" |
17531 |
< |
case "(($ac_try" in |
17532 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17533 |
< |
*) ac_try_echo=$ac_try;; |
17534 |
< |
esac |
17535 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17536 |
< |
$as_echo "$ac_try_echo") >&5 |
17537 |
< |
(eval "$ac_link") 2>conftest.er1 |
17538 |
< |
ac_status=$? |
17539 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
17540 |
< |
rm -f conftest.er1 |
17541 |
< |
cat conftest.err >&5 |
17542 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17543 |
< |
(exit $ac_status); } && { |
17544 |
< |
test -z "$ac_c_werror_flag" || |
17545 |
< |
test ! -s conftest.err |
17546 |
< |
} && test -s conftest$ac_exeext && { |
17547 |
< |
test "$cross_compiling" = yes || |
17548 |
< |
$as_test_x conftest$ac_exeext |
17549 |
< |
}; then |
13407 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
13408 |
|
is_poll_mechanism_available="yes" |
13409 |
|
else |
13410 |
< |
$as_echo "$as_me: failed program was:" >&5 |
17553 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
17554 |
< |
|
17555 |
< |
is_poll_mechanism_available="no" |
13410 |
> |
is_poll_mechanism_available="no" |
13411 |
|
fi |
13412 |
< |
|
13413 |
< |
rm -rf conftest.dSYM |
17559 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17560 |
< |
conftest$ac_exeext conftest.$ac_ext |
13412 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
13413 |
> |
conftest$ac_exeext conftest.$ac_ext |
13414 |
|
iopoll_mechanism_select=6 |
13415 |
|
|
13416 |
|
cat >>confdefs.h <<_ACEOF |
13417 |
|
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
13418 |
|
_ACEOF |
13419 |
|
|
13420 |
< |
cat >conftest.$ac_ext <<_ACEOF |
17568 |
< |
/* confdefs.h. */ |
17569 |
< |
_ACEOF |
17570 |
< |
cat confdefs.h >>conftest.$ac_ext |
17571 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
13420 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13421 |
|
/* end confdefs.h. */ |
13422 |
|
/* Define select to an innocuous variant, in case <limits.h> declares select. |
13423 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
13458 |
|
return 0; |
13459 |
|
} |
13460 |
|
_ACEOF |
13461 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
17613 |
< |
if { (ac_try="$ac_link" |
17614 |
< |
case "(($ac_try" in |
17615 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17616 |
< |
*) ac_try_echo=$ac_try;; |
17617 |
< |
esac |
17618 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17619 |
< |
$as_echo "$ac_try_echo") >&5 |
17620 |
< |
(eval "$ac_link") 2>conftest.er1 |
17621 |
< |
ac_status=$? |
17622 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
17623 |
< |
rm -f conftest.er1 |
17624 |
< |
cat conftest.err >&5 |
17625 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17626 |
< |
(exit $ac_status); } && { |
17627 |
< |
test -z "$ac_c_werror_flag" || |
17628 |
< |
test ! -s conftest.err |
17629 |
< |
} && test -s conftest$ac_exeext && { |
17630 |
< |
test "$cross_compiling" = yes || |
17631 |
< |
$as_test_x conftest$ac_exeext |
17632 |
< |
}; then |
13461 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
13462 |
|
is_select_mechanism_available="yes" |
13463 |
|
else |
13464 |
< |
$as_echo "$as_me: failed program was:" >&5 |
17636 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
17637 |
< |
|
17638 |
< |
is_select_mechanism_available="no" |
13464 |
> |
is_select_mechanism_available="no" |
13465 |
|
fi |
13466 |
< |
|
13467 |
< |
rm -rf conftest.dSYM |
17642 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17643 |
< |
conftest$ac_exeext conftest.$ac_ext |
13466 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
13467 |
> |
conftest$ac_exeext conftest.$ac_ext |
13468 |
|
optimal_iopoll_mechanism="none" |
13469 |
|
for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important |
13470 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
13475 |
|
done |
13476 |
|
if test "$desired_iopoll_mechanism" = "none" ; then |
13477 |
|
if test "$optimal_iopoll_mechanism" = "none" ; then |
13478 |
< |
{ $as_echo "$as_me:$LINENO: result: none" >&5 |
13478 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
13479 |
|
$as_echo "none" >&6; } |
13480 |
< |
{ { $as_echo "$as_me:$LINENO: error: no iopoll mechanism found!" >&5 |
17657 |
< |
$as_echo "$as_me: error: no iopoll mechanism found!" >&2;} |
17658 |
< |
{ (exit 1); exit 1; }; } |
13480 |
> |
as_fn_error "no iopoll mechanism found!" "$LINENO" 5 |
13481 |
|
else |
13482 |
|
selected_iopoll_mechanism=$optimal_iopoll_mechanism |
13483 |
< |
{ $as_echo "$as_me:$LINENO: result: $selected_iopoll_mechanism" >&5 |
13483 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5 |
13484 |
|
$as_echo "$selected_iopoll_mechanism" >&6; } |
13485 |
|
fi |
13486 |
|
else |
13487 |
|
eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available" |
13488 |
|
if test "$is_desired_iopoll_mechanism_available" = "yes" ; then |
13489 |
|
selected_iopoll_mechanism=$desired_iopoll_mechanism |
13490 |
< |
{ $as_echo "$as_me:$LINENO: result: $selected_iopoll_mechanism" >&5 |
13490 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5 |
13491 |
|
$as_echo "$selected_iopoll_mechanism" >&6; } |
13492 |
|
else |
13493 |
< |
{ $as_echo "$as_me:$LINENO: result: none" >&5 |
13493 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
13494 |
|
$as_echo "none" >&6; } |
13495 |
< |
{ { $as_echo "$as_me:$LINENO: error: desired iopoll mechanism, $desired_iopoll_mechanism, is not available" >&5 |
17674 |
< |
$as_echo "$as_me: error: desired iopoll mechanism, $desired_iopoll_mechanism, is not available" >&2;} |
17675 |
< |
{ (exit 1); exit 1; }; } |
13495 |
> |
as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
13496 |
|
fi |
13497 |
|
fi |
13498 |
|
eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}" |
13505 |
|
|
13506 |
|
|
13507 |
|
# Check whether --with-nicklen was given. |
13508 |
< |
if test "${with_nicklen+set}" = set; then |
13508 |
> |
if test "${with_nicklen+set}" = set; then : |
13509 |
|
withval=$with_nicklen; nicklen="$withval" |
13510 |
|
else |
13511 |
|
nicklen="9" |
13520 |
|
|
13521 |
|
|
13522 |
|
# Check whether --with-topiclen was given. |
13523 |
< |
if test "${with_topiclen+set}" = set; then |
13523 |
> |
if test "${with_topiclen+set}" = set; then : |
13524 |
|
withval=$with_topiclen; topiclen="$withval" |
13525 |
|
else |
13526 |
|
topiclen="160" |
13535 |
|
|
13536 |
|
|
13537 |
|
# Check whether --with-syslog-facility was given. |
13538 |
< |
if test "${with_syslog_facility+set}" = set; then |
13538 |
> |
if test "${with_syslog_facility+set}" = set; then : |
13539 |
|
withval=$with_syslog_facility; syslog_facility="$withval" |
13540 |
|
else |
13541 |
|
syslog_facility="LOG_LOCAL4" |
13549 |
|
|
13550 |
|
|
13551 |
|
# Check whether --enable-efnet was given. |
13552 |
< |
if test "${enable_efnet+set}" = set; then |
13552 |
> |
if test "${enable_efnet+set}" = set; then : |
13553 |
|
enableval=$enable_efnet; efnet="$enableval" |
13554 |
|
else |
13555 |
|
efnet="no" |
13558 |
|
if test "$efnet" = "yes" ; then |
13559 |
|
use_efnet="yes" |
13560 |
|
|
13561 |
< |
cat >>confdefs.h <<\_ACEOF |
17742 |
< |
#define EFNET 1 |
17743 |
< |
_ACEOF |
13561 |
> |
$as_echo "#define EFNET 1" >>confdefs.h |
13562 |
|
|
13563 |
|
|
13564 |
< |
cat >>confdefs.h <<\_ACEOF |
17747 |
< |
#define TS5_ONLY 1 |
17748 |
< |
_ACEOF |
13564 |
> |
$as_echo "#define TS5_ONLY 1" >>confdefs.h |
13565 |
|
|
13566 |
|
else |
13567 |
|
|
13568 |
< |
cat >>confdefs.h <<\_ACEOF |
17753 |
< |
#define INVARIANTS 1 |
17754 |
< |
_ACEOF |
13568 |
> |
$as_echo "#define INVARIANTS 1" >>confdefs.h |
13569 |
|
|
13570 |
|
use_efnet="no" |
13571 |
|
fi |
13580 |
|
|
13581 |
|
|
13582 |
|
# Check whether --enable-halfops was given. |
13583 |
< |
if test "${enable_halfops+set}" = set; then |
13583 |
> |
if test "${enable_halfops+set}" = set; then : |
13584 |
|
enableval=$enable_halfops; halfops="$enableval" |
13585 |
|
else |
13586 |
|
halfops="no" |
13588 |
|
|
13589 |
|
if test "$halfops" = "yes" ; then |
13590 |
|
|
13591 |
< |
cat >>confdefs.h <<\_ACEOF |
17778 |
< |
#define HALFOPS 1 |
17779 |
< |
_ACEOF |
13591 |
> |
$as_echo "#define HALFOPS 1" >>confdefs.h |
13592 |
|
|
13593 |
|
fi |
13594 |
|
|
13595 |
|
|
13596 |
|
# Check whether --enable-debugging was given. |
13597 |
< |
if test "${enable_debugging+set}" = set; then |
13597 |
> |
if test "${enable_debugging+set}" = set; then : |
13598 |
|
enableval=$enable_debugging; debugging="$enableval" |
13599 |
|
else |
13600 |
|
debugging="no" |
13602 |
|
|
13603 |
|
if test "$debugging" = "yes" ; then |
13604 |
|
|
13605 |
< |
cat >>confdefs.h <<\_ACEOF |
17794 |
< |
#define DEBUG 1 |
17795 |
< |
_ACEOF |
13605 |
> |
$as_echo "#define DEBUG 1" >>confdefs.h |
13606 |
|
|
13607 |
|
CFLAGS="$CFLAGS -Wall -Werror -g -O0" |
13608 |
|
else |
13609 |
|
|
13610 |
< |
cat >>confdefs.h <<\_ACEOF |
17801 |
< |
#define NDEBUG 1 |
17802 |
< |
_ACEOF |
13610 |
> |
$as_echo "#define NDEBUG 1" >>confdefs.h |
13611 |
|
|
13612 |
|
fi |
13613 |
|
|
13614 |
|
|
13615 |
|
# Check whether --enable-warnings was given. |
13616 |
< |
if test "${enable_warnings+set}" = set; then |
13616 |
> |
if test "${enable_warnings+set}" = set; then : |
13617 |
|
enableval=$enable_warnings; warnings="$enableval" |
13618 |
|
else |
13619 |
|
warnings="no" |
13624 |
|
fi |
13625 |
|
|
13626 |
|
|
13627 |
< |
|
13628 |
< |
|
13629 |
< |
for ac_header in syslog.h sys/syslog.h |
13630 |
< |
do |
13631 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13632 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17825 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
17826 |
< |
$as_echo_n "checking for $ac_header... " >&6; } |
17827 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17828 |
< |
$as_echo_n "(cached) " >&6 |
17829 |
< |
fi |
17830 |
< |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
17831 |
< |
$as_echo "$as_val"'` |
17832 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
17833 |
< |
$as_echo "$ac_res" >&6; } |
17834 |
< |
else |
17835 |
< |
# Is the header compilable? |
17836 |
< |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
17837 |
< |
$as_echo_n "checking $ac_header usability... " >&6; } |
17838 |
< |
cat >conftest.$ac_ext <<_ACEOF |
17839 |
< |
/* confdefs.h. */ |
17840 |
< |
_ACEOF |
17841 |
< |
cat confdefs.h >>conftest.$ac_ext |
17842 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
17843 |
< |
/* end confdefs.h. */ |
17844 |
< |
$ac_includes_default |
17845 |
< |
#include <$ac_header> |
17846 |
< |
_ACEOF |
17847 |
< |
rm -f conftest.$ac_objext |
17848 |
< |
if { (ac_try="$ac_compile" |
17849 |
< |
case "(($ac_try" in |
17850 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17851 |
< |
*) ac_try_echo=$ac_try;; |
17852 |
< |
esac |
17853 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17854 |
< |
$as_echo "$ac_try_echo") >&5 |
17855 |
< |
(eval "$ac_compile") 2>conftest.er1 |
17856 |
< |
ac_status=$? |
17857 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
17858 |
< |
rm -f conftest.er1 |
17859 |
< |
cat conftest.err >&5 |
17860 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17861 |
< |
(exit $ac_status); } && { |
17862 |
< |
test -z "$ac_c_werror_flag" || |
17863 |
< |
test ! -s conftest.err |
17864 |
< |
} && test -s conftest.$ac_objext; then |
17865 |
< |
ac_header_compiler=yes |
17866 |
< |
else |
17867 |
< |
$as_echo "$as_me: failed program was:" >&5 |
17868 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
17869 |
< |
|
17870 |
< |
ac_header_compiler=no |
17871 |
< |
fi |
17872 |
< |
|
17873 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
17874 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
17875 |
< |
$as_echo "$ac_header_compiler" >&6; } |
17876 |
< |
|
17877 |
< |
# Is the header present? |
17878 |
< |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
17879 |
< |
$as_echo_n "checking $ac_header presence... " >&6; } |
17880 |
< |
cat >conftest.$ac_ext <<_ACEOF |
17881 |
< |
/* confdefs.h. */ |
17882 |
< |
_ACEOF |
17883 |
< |
cat confdefs.h >>conftest.$ac_ext |
17884 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
17885 |
< |
/* end confdefs.h. */ |
17886 |
< |
#include <$ac_header> |
17887 |
< |
_ACEOF |
17888 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
17889 |
< |
case "(($ac_try" in |
17890 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17891 |
< |
*) ac_try_echo=$ac_try;; |
17892 |
< |
esac |
17893 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17894 |
< |
$as_echo "$ac_try_echo") >&5 |
17895 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
17896 |
< |
ac_status=$? |
17897 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
17898 |
< |
rm -f conftest.er1 |
17899 |
< |
cat conftest.err >&5 |
17900 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17901 |
< |
(exit $ac_status); } >/dev/null && { |
17902 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
17903 |
< |
test ! -s conftest.err |
17904 |
< |
}; then |
17905 |
< |
ac_header_preproc=yes |
17906 |
< |
else |
17907 |
< |
$as_echo "$as_me: failed program was:" >&5 |
17908 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
17909 |
< |
|
17910 |
< |
ac_header_preproc=no |
17911 |
< |
fi |
17912 |
< |
|
17913 |
< |
rm -f conftest.err conftest.$ac_ext |
17914 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
17915 |
< |
$as_echo "$ac_header_preproc" >&6; } |
17916 |
< |
|
17917 |
< |
# So? What about this header? |
17918 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
17919 |
< |
yes:no: ) |
17920 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
17921 |
< |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
17922 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
17923 |
< |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
17924 |
< |
ac_header_preproc=yes |
17925 |
< |
;; |
17926 |
< |
no:yes:* ) |
17927 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
17928 |
< |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
17929 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
17930 |
< |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
17931 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
17932 |
< |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
17933 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
17934 |
< |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
17935 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
17936 |
< |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
17937 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
17938 |
< |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
17939 |
< |
|
17940 |
< |
;; |
17941 |
< |
esac |
17942 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
17943 |
< |
$as_echo_n "checking for $ac_header... " >&6; } |
17944 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17945 |
< |
$as_echo_n "(cached) " >&6 |
17946 |
< |
else |
17947 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
17948 |
< |
fi |
17949 |
< |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
17950 |
< |
$as_echo "$as_val"'` |
17951 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
17952 |
< |
$as_echo "$ac_res" >&6; } |
17953 |
< |
|
17954 |
< |
fi |
17955 |
< |
as_val=`eval 'as_val=${'$as_ac_Header'} |
17956 |
< |
$as_echo "$as_val"'` |
17957 |
< |
if test "x$as_val" = x""yes; then |
13627 |
> |
for ac_header in syslog.h sys/syslog.h |
13628 |
> |
do : |
13629 |
> |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13630 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
13631 |
> |
eval as_val=\$$as_ac_Header |
13632 |
> |
if test "x$as_val" = x""yes; then : |
13633 |
|
cat >>confdefs.h <<_ACEOF |
13634 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13635 |
|
_ACEOF |
13639 |
|
done |
13640 |
|
|
13641 |
|
# Check whether --enable-syslog was given. |
13642 |
< |
if test "${enable_syslog+set}" = set; then |
13642 |
> |
if test "${enable_syslog+set}" = set; then : |
13643 |
|
enableval=$enable_syslog; syslog="$enableval" |
13644 |
|
else |
13645 |
|
syslog="no" |
13649 |
|
for option in $enableval ; do |
13650 |
|
case "$option" in |
13651 |
|
users) |
13652 |
< |
cat >>confdefs.h <<\_ACEOF |
17978 |
< |
#define SYSLOG_USERS 1 |
17979 |
< |
_ACEOF |
13652 |
> |
$as_echo "#define SYSLOG_USERS 1" >>confdefs.h |
13653 |
|
;; |
13654 |
|
oper) |
13655 |
< |
cat >>confdefs.h <<\_ACEOF |
17983 |
< |
#define SYSLOG_OPER 1 |
17984 |
< |
_ACEOF |
13655 |
> |
$as_echo "#define SYSLOG_OPER 1" >>confdefs.h |
13656 |
|
;; |
13657 |
|
yes) : ;; |
13658 |
< |
*) { { $as_echo "$as_me:$LINENO: error: invalid value for --enable-syslog: $option" >&5 |
17988 |
< |
$as_echo "$as_me: error: invalid value for --enable-syslog: $option" >&2;} |
17989 |
< |
{ (exit 1); exit 1; }; } ;; |
13658 |
> |
*) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;; |
13659 |
|
esac |
13660 |
|
done |
13661 |
|
|
13662 |
< |
cat >>confdefs.h <<\_ACEOF |
17994 |
< |
#define USE_SYSLOG 1 |
17995 |
< |
_ACEOF |
13662 |
> |
$as_echo "#define USE_SYSLOG 1" >>confdefs.h |
13663 |
|
|
13664 |
|
fi |
13665 |
|
|
13780 |
|
case $ac_val in #( |
13781 |
|
*${as_nl}*) |
13782 |
|
case $ac_var in #( |
13783 |
< |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
13783 |
> |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
13784 |
|
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
13785 |
|
esac |
13786 |
|
case $ac_var in #( |
13787 |
|
_ | IFS | as_nl) ;; #( |
13788 |
|
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
13789 |
< |
*) $as_unset $ac_var ;; |
13789 |
> |
*) { eval $ac_var=; unset $ac_var;} ;; |
13790 |
|
esac ;; |
13791 |
|
esac |
13792 |
|
done |
13794 |
|
(set) 2>&1 | |
13795 |
|
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
13796 |
|
*${as_nl}ac_space=\ *) |
13797 |
< |
# `set' does not quote correctly, so add quotes (double-quote |
13798 |
< |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
13797 |
> |
# `set' does not quote correctly, so add quotes: double-quote |
13798 |
> |
# substitution turns \\\\ into \\, and sed turns \\ into \. |
13799 |
|
sed -n \ |
13800 |
|
"s/'/'\\\\''/g; |
13801 |
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
13818 |
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
13819 |
|
if test -w "$cache_file"; then |
13820 |
|
test "x$cache_file" != "x/dev/null" && |
13821 |
< |
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
13821 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
13822 |
|
$as_echo "$as_me: updating cache $cache_file" >&6;} |
13823 |
|
cat confcache >$cache_file |
13824 |
|
else |
13825 |
< |
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
13825 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
13826 |
|
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
13827 |
|
fi |
13828 |
|
fi |
13842 |
|
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
13843 |
|
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
13844 |
|
# will be set to the directory where LIBOBJS objects are built. |
13845 |
< |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
13846 |
< |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
13845 |
> |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
13846 |
> |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
13847 |
|
done |
13848 |
|
LIBOBJS=$ac_libobjs |
13849 |
|
|
13859 |
|
fi |
13860 |
|
|
13861 |
|
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
13862 |
< |
{ { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. |
13863 |
< |
Usually this means the macro was only invoked conditionally." >&5 |
18197 |
< |
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. |
18198 |
< |
Usually this means the macro was only invoked conditionally." >&2;} |
18199 |
< |
{ (exit 1); exit 1; }; } |
13862 |
> |
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. |
13863 |
> |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13864 |
|
fi |
13865 |
|
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
13866 |
< |
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
13867 |
< |
Usually this means the macro was only invoked conditionally." >&5 |
18204 |
< |
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. |
18205 |
< |
Usually this means the macro was only invoked conditionally." >&2;} |
18206 |
< |
{ (exit 1); exit 1; }; } |
13866 |
> |
as_fn_error "conditional \"AMDEP\" was never defined. |
13867 |
> |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13868 |
|
fi |
13869 |
|
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
13870 |
< |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
13871 |
< |
Usually this means the macro was only invoked conditionally." >&5 |
18211 |
< |
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
18212 |
< |
Usually this means the macro was only invoked conditionally." >&2;} |
18213 |
< |
{ (exit 1); exit 1; }; } |
13870 |
> |
as_fn_error "conditional \"am__fastdepCC\" was never defined. |
13871 |
> |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13872 |
|
fi |
13873 |
|
if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then |
13874 |
< |
{ { $as_echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined. |
13875 |
< |
Usually this means the macro was only invoked conditionally." >&5 |
18218 |
< |
$as_echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined. |
18219 |
< |
Usually this means the macro was only invoked conditionally." >&2;} |
18220 |
< |
{ (exit 1); exit 1; }; } |
13874 |
> |
as_fn_error "conditional \"INSTALL_LTDL\" was never defined. |
13875 |
> |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13876 |
|
fi |
13877 |
|
if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then |
13878 |
< |
{ { $as_echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined. |
13879 |
< |
Usually this means the macro was only invoked conditionally." >&5 |
18225 |
< |
$as_echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined. |
18226 |
< |
Usually this means the macro was only invoked conditionally." >&2;} |
18227 |
< |
{ (exit 1); exit 1; }; } |
13878 |
> |
as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined. |
13879 |
> |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13880 |
|
fi |
13881 |
|
LT_CONFIG_H=config.h |
13882 |
|
|
13897 |
|
|
13898 |
|
|
13899 |
|
if test -z "${HAVE_CRYPT_TRUE}" && test -z "${HAVE_CRYPT_FALSE}"; then |
13900 |
< |
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CRYPT\" was never defined. |
13901 |
< |
Usually this means the macro was only invoked conditionally." >&5 |
18250 |
< |
$as_echo "$as_me: error: conditional \"HAVE_CRYPT\" was never defined. |
18251 |
< |
Usually this means the macro was only invoked conditionally." >&2;} |
18252 |
< |
{ (exit 1); exit 1; }; } |
13900 |
> |
as_fn_error "conditional \"HAVE_CRYPT\" was never defined. |
13901 |
> |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13902 |
|
fi |
13903 |
|
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
13904 |
< |
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SSL\" was never defined. |
13905 |
< |
Usually this means the macro was only invoked conditionally." >&5 |
18257 |
< |
$as_echo "$as_me: error: conditional \"ENABLE_SSL\" was never defined. |
18258 |
< |
Usually this means the macro was only invoked conditionally." >&2;} |
18259 |
< |
{ (exit 1); exit 1; }; } |
13904 |
> |
as_fn_error "conditional \"ENABLE_SSL\" was never defined. |
13905 |
> |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13906 |
|
fi |
13907 |
|
if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then |
13908 |
< |
{ { $as_echo "$as_me:$LINENO: error: conditional \"EFNET\" was never defined. |
13909 |
< |
Usually this means the macro was only invoked conditionally." >&5 |
18264 |
< |
$as_echo "$as_me: error: conditional \"EFNET\" was never defined. |
18265 |
< |
Usually this means the macro was only invoked conditionally." >&2;} |
18266 |
< |
{ (exit 1); exit 1; }; } |
13908 |
> |
as_fn_error "conditional \"EFNET\" was never defined. |
13909 |
> |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13910 |
|
fi |
13911 |
|
|
13912 |
|
: ${CONFIG_STATUS=./config.status} |
13913 |
|
ac_write_fail=0 |
13914 |
|
ac_clean_files_save=$ac_clean_files |
13915 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
13916 |
< |
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
13916 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
13917 |
|
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
13918 |
< |
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
13918 |
> |
as_write_fail=0 |
13919 |
> |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
13920 |
|
#! $SHELL |
13921 |
|
# Generated by $as_me. |
13922 |
|
# Run this file to recreate the current configuration. |
13926 |
|
debug=false |
13927 |
|
ac_cs_recheck=false |
13928 |
|
ac_cs_silent=false |
18285 |
– |
SHELL=\${CONFIG_SHELL-$SHELL} |
18286 |
– |
_ACEOF |
13929 |
|
|
13930 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
13931 |
< |
## --------------------- ## |
13932 |
< |
## M4sh Initialization. ## |
13933 |
< |
## --------------------- ## |
13930 |
> |
SHELL=\${CONFIG_SHELL-$SHELL} |
13931 |
> |
export SHELL |
13932 |
> |
_ASEOF |
13933 |
> |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
13934 |
> |
## -------------------- ## |
13935 |
> |
## M4sh Initialization. ## |
13936 |
> |
## -------------------- ## |
13937 |
|
|
13938 |
|
# Be more Bourne compatible |
13939 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
13940 |
< |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
13940 |
> |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
13941 |
|
emulate sh |
13942 |
|
NULLCMD=: |
13943 |
|
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
13945 |
|
alias -g '${1+"$@"}'='"$@"' |
13946 |
|
setopt NO_GLOB_SUBST |
13947 |
|
else |
13948 |
< |
case `(set -o) 2>/dev/null` in |
13949 |
< |
*posix*) set -o posix ;; |
13948 |
> |
case `(set -o) 2>/dev/null` in #( |
13949 |
> |
*posix*) : |
13950 |
> |
set -o posix ;; #( |
13951 |
> |
*) : |
13952 |
> |
;; |
13953 |
|
esac |
18306 |
– |
|
13954 |
|
fi |
13955 |
|
|
13956 |
|
|
18310 |
– |
|
18311 |
– |
|
18312 |
– |
# PATH needs CR |
18313 |
– |
# Avoid depending upon Character Ranges. |
18314 |
– |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
18315 |
– |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
18316 |
– |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
18317 |
– |
as_cr_digits='0123456789' |
18318 |
– |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
18319 |
– |
|
13957 |
|
as_nl=' |
13958 |
|
' |
13959 |
|
export as_nl |
13961 |
|
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
13962 |
|
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
13963 |
|
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
13964 |
< |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
13964 |
> |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
13965 |
> |
# but without wasting forks for bash or zsh. |
13966 |
> |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
13967 |
> |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
13968 |
> |
as_echo='print -r --' |
13969 |
> |
as_echo_n='print -rn --' |
13970 |
> |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
13971 |
|
as_echo='printf %s\n' |
13972 |
|
as_echo_n='printf %s' |
13973 |
|
else |
13978 |
|
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
13979 |
|
as_echo_n_body='eval |
13980 |
|
arg=$1; |
13981 |
< |
case $arg in |
13981 |
> |
case $arg in #( |
13982 |
|
*"$as_nl"*) |
13983 |
|
expr "X$arg" : "X\\(.*\\)$as_nl"; |
13984 |
|
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
14001 |
|
} |
14002 |
|
fi |
14003 |
|
|
18361 |
– |
# Support unset when possible. |
18362 |
– |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
18363 |
– |
as_unset=unset |
18364 |
– |
else |
18365 |
– |
as_unset=false |
18366 |
– |
fi |
18367 |
– |
|
14004 |
|
|
14005 |
|
# IFS |
14006 |
|
# We need space, tab and new line, in precisely that order. Quoting is |
14010 |
|
IFS=" "" $as_nl" |
14011 |
|
|
14012 |
|
# Find who we are. Look in the path if we contain no directory separator. |
14013 |
< |
case $0 in |
14013 |
> |
case $0 in #(( |
14014 |
|
*[\\/]* ) as_myself=$0 ;; |
14015 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
14016 |
|
for as_dir in $PATH |
14017 |
|
do |
14018 |
|
IFS=$as_save_IFS |
14019 |
|
test -z "$as_dir" && as_dir=. |
14020 |
< |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
14021 |
< |
done |
14020 |
> |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
14021 |
> |
done |
14022 |
|
IFS=$as_save_IFS |
14023 |
|
|
14024 |
|
;; |
14030 |
|
fi |
14031 |
|
if test ! -f "$as_myself"; then |
14032 |
|
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
14033 |
< |
{ (exit 1); exit 1; } |
14033 |
> |
exit 1 |
14034 |
|
fi |
14035 |
|
|
14036 |
< |
# Work around bugs in pre-3.0 UWIN ksh. |
14037 |
< |
for as_var in ENV MAIL MAILPATH |
14038 |
< |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
14036 |
> |
# Unset variables that we do not need and which cause bugs (e.g. in |
14037 |
> |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
14038 |
> |
# suppresses any "Segmentation fault" message there. '((' could |
14039 |
> |
# trigger a bug in pdksh 5.2.14. |
14040 |
> |
for as_var in BASH_ENV ENV MAIL MAILPATH |
14041 |
> |
do eval test x\${$as_var+set} = xset \ |
14042 |
> |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
14043 |
|
done |
14044 |
|
PS1='$ ' |
14045 |
|
PS2='> ' |
14051 |
|
LANGUAGE=C |
14052 |
|
export LANGUAGE |
14053 |
|
|
14054 |
< |
# Required to use basename. |
14054 |
> |
# CDPATH. |
14055 |
> |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
14056 |
> |
|
14057 |
> |
|
14058 |
> |
# as_fn_error ERROR [LINENO LOG_FD] |
14059 |
> |
# --------------------------------- |
14060 |
> |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
14061 |
> |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
14062 |
> |
# script with status $?, using 1 if that was 0. |
14063 |
> |
as_fn_error () |
14064 |
> |
{ |
14065 |
> |
as_status=$?; test $as_status -eq 0 && as_status=1 |
14066 |
> |
if test "$3"; then |
14067 |
> |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
14068 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
14069 |
> |
fi |
14070 |
> |
$as_echo "$as_me: error: $1" >&2 |
14071 |
> |
as_fn_exit $as_status |
14072 |
> |
} # as_fn_error |
14073 |
> |
|
14074 |
> |
|
14075 |
> |
# as_fn_set_status STATUS |
14076 |
> |
# ----------------------- |
14077 |
> |
# Set $? to STATUS, without forking. |
14078 |
> |
as_fn_set_status () |
14079 |
> |
{ |
14080 |
> |
return $1 |
14081 |
> |
} # as_fn_set_status |
14082 |
> |
|
14083 |
> |
# as_fn_exit STATUS |
14084 |
> |
# ----------------- |
14085 |
> |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
14086 |
> |
as_fn_exit () |
14087 |
> |
{ |
14088 |
> |
set +e |
14089 |
> |
as_fn_set_status $1 |
14090 |
> |
exit $1 |
14091 |
> |
} # as_fn_exit |
14092 |
> |
|
14093 |
> |
# as_fn_unset VAR |
14094 |
> |
# --------------- |
14095 |
> |
# Portably unset VAR. |
14096 |
> |
as_fn_unset () |
14097 |
> |
{ |
14098 |
> |
{ eval $1=; unset $1;} |
14099 |
> |
} |
14100 |
> |
as_unset=as_fn_unset |
14101 |
> |
# as_fn_append VAR VALUE |
14102 |
> |
# ---------------------- |
14103 |
> |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
14104 |
> |
# advantage of any shell optimizations that allow amortized linear growth over |
14105 |
> |
# repeated appends, instead of the typical quadratic growth present in naive |
14106 |
> |
# implementations. |
14107 |
> |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
14108 |
> |
eval 'as_fn_append () |
14109 |
> |
{ |
14110 |
> |
eval $1+=\$2 |
14111 |
> |
}' |
14112 |
> |
else |
14113 |
> |
as_fn_append () |
14114 |
> |
{ |
14115 |
> |
eval $1=\$$1\$2 |
14116 |
> |
} |
14117 |
> |
fi # as_fn_append |
14118 |
> |
|
14119 |
> |
# as_fn_arith ARG... |
14120 |
> |
# ------------------ |
14121 |
> |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
14122 |
> |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
14123 |
> |
# must be portable across $(()) and expr. |
14124 |
> |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
14125 |
> |
eval 'as_fn_arith () |
14126 |
> |
{ |
14127 |
> |
as_val=$(( $* )) |
14128 |
> |
}' |
14129 |
> |
else |
14130 |
> |
as_fn_arith () |
14131 |
> |
{ |
14132 |
> |
as_val=`expr "$@" || test $? -eq 1` |
14133 |
> |
} |
14134 |
> |
fi # as_fn_arith |
14135 |
> |
|
14136 |
> |
|
14137 |
|
if expr a : '\(a\)' >/dev/null 2>&1 && |
14138 |
|
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
14139 |
|
as_expr=expr |
14147 |
|
as_basename=false |
14148 |
|
fi |
14149 |
|
|
14150 |
+ |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
14151 |
+ |
as_dirname=dirname |
14152 |
+ |
else |
14153 |
+ |
as_dirname=false |
14154 |
+ |
fi |
14155 |
|
|
18429 |
– |
# Name of the executable. |
14156 |
|
as_me=`$as_basename -- "$0" || |
14157 |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
14158 |
|
X"$0" : 'X\(//\)$' \| \ |
14172 |
|
} |
14173 |
|
s/.*/./; q'` |
14174 |
|
|
14175 |
< |
# CDPATH. |
14176 |
< |
$as_unset CDPATH |
14177 |
< |
|
14178 |
< |
|
14179 |
< |
|
14180 |
< |
as_lineno_1=$LINENO |
18455 |
< |
as_lineno_2=$LINENO |
18456 |
< |
test "x$as_lineno_1" != "x$as_lineno_2" && |
18457 |
< |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
18458 |
< |
|
18459 |
< |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
18460 |
< |
# uniformly replaced by the line number. The first 'sed' inserts a |
18461 |
< |
# line-number line after each line using $LINENO; the second 'sed' |
18462 |
< |
# does the real work. The second script uses 'N' to pair each |
18463 |
< |
# line-number line with the line containing $LINENO, and appends |
18464 |
< |
# trailing '-' during substitution so that $LINENO is not a special |
18465 |
< |
# case at line end. |
18466 |
< |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
18467 |
< |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
18468 |
< |
# E. McMahon (1931-1989) for sed's syntax. :-) |
18469 |
< |
sed -n ' |
18470 |
< |
p |
18471 |
< |
/[$]LINENO/= |
18472 |
< |
' <$as_myself | |
18473 |
< |
sed ' |
18474 |
< |
s/[$]LINENO.*/&-/ |
18475 |
< |
t lineno |
18476 |
< |
b |
18477 |
< |
:lineno |
18478 |
< |
N |
18479 |
< |
:loop |
18480 |
< |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
18481 |
< |
t loop |
18482 |
< |
s/-\n.*// |
18483 |
< |
' >$as_me.lineno && |
18484 |
< |
chmod +x "$as_me.lineno" || |
18485 |
< |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
18486 |
< |
{ (exit 1); exit 1; }; } |
18487 |
< |
|
18488 |
< |
# Don't try to exec as it changes $[0], causing all sort of problems |
18489 |
< |
# (the dirname of $[0] is not the place where we might find the |
18490 |
< |
# original and so on. Autoconf is especially sensitive to this). |
18491 |
< |
. "./$as_me.lineno" |
18492 |
< |
# Exit status is that of the last command. |
18493 |
< |
exit |
18494 |
< |
} |
18495 |
< |
|
18496 |
< |
|
18497 |
< |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
18498 |
< |
as_dirname=dirname |
18499 |
< |
else |
18500 |
< |
as_dirname=false |
18501 |
< |
fi |
14175 |
> |
# Avoid depending upon Character Ranges. |
14176 |
> |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
14177 |
> |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
14178 |
> |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
14179 |
> |
as_cr_digits='0123456789' |
14180 |
> |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
14181 |
|
|
14182 |
|
ECHO_C= ECHO_N= ECHO_T= |
14183 |
< |
case `echo -n x` in |
14183 |
> |
case `echo -n x` in #((((( |
14184 |
|
-n*) |
14185 |
< |
case `echo 'x\c'` in |
14185 |
> |
case `echo 'xy\c'` in |
14186 |
|
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
14187 |
< |
*) ECHO_C='\c';; |
14187 |
> |
xy) ECHO_C='\c';; |
14188 |
> |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
14189 |
> |
ECHO_T=' ';; |
14190 |
|
esac;; |
14191 |
|
*) |
14192 |
|
ECHO_N='-n';; |
14193 |
|
esac |
18513 |
– |
if expr a : '\(a\)' >/dev/null 2>&1 && |
18514 |
– |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
18515 |
– |
as_expr=expr |
18516 |
– |
else |
18517 |
– |
as_expr=false |
18518 |
– |
fi |
14194 |
|
|
14195 |
|
rm -f conf$$ conf$$.exe conf$$.file |
14196 |
|
if test -d conf$$.dir; then |
14219 |
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
14220 |
|
rmdir conf$$.dir 2>/dev/null |
14221 |
|
|
14222 |
+ |
|
14223 |
+ |
# as_fn_mkdir_p |
14224 |
+ |
# ------------- |
14225 |
+ |
# Create "$as_dir" as a directory, including parents if necessary. |
14226 |
+ |
as_fn_mkdir_p () |
14227 |
+ |
{ |
14228 |
+ |
|
14229 |
+ |
case $as_dir in #( |
14230 |
+ |
-*) as_dir=./$as_dir;; |
14231 |
+ |
esac |
14232 |
+ |
test -d "$as_dir" || eval $as_mkdir_p || { |
14233 |
+ |
as_dirs= |
14234 |
+ |
while :; do |
14235 |
+ |
case $as_dir in #( |
14236 |
+ |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
14237 |
+ |
*) as_qdir=$as_dir;; |
14238 |
+ |
esac |
14239 |
+ |
as_dirs="'$as_qdir' $as_dirs" |
14240 |
+ |
as_dir=`$as_dirname -- "$as_dir" || |
14241 |
+ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
14242 |
+ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
14243 |
+ |
X"$as_dir" : 'X\(//\)$' \| \ |
14244 |
+ |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
14245 |
+ |
$as_echo X"$as_dir" | |
14246 |
+ |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
14247 |
+ |
s//\1/ |
14248 |
+ |
q |
14249 |
+ |
} |
14250 |
+ |
/^X\(\/\/\)[^/].*/{ |
14251 |
+ |
s//\1/ |
14252 |
+ |
q |
14253 |
+ |
} |
14254 |
+ |
/^X\(\/\/\)$/{ |
14255 |
+ |
s//\1/ |
14256 |
+ |
q |
14257 |
+ |
} |
14258 |
+ |
/^X\(\/\).*/{ |
14259 |
+ |
s//\1/ |
14260 |
+ |
q |
14261 |
+ |
} |
14262 |
+ |
s/.*/./; q'` |
14263 |
+ |
test -d "$as_dir" && break |
14264 |
+ |
done |
14265 |
+ |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
14266 |
+ |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
14267 |
+ |
|
14268 |
+ |
|
14269 |
+ |
} # as_fn_mkdir_p |
14270 |
|
if mkdir -p . 2>/dev/null; then |
14271 |
< |
as_mkdir_p=: |
14271 |
> |
as_mkdir_p='mkdir -p "$as_dir"' |
14272 |
|
else |
14273 |
|
test -d ./-p && rmdir ./-p |
14274 |
|
as_mkdir_p=false |
14287 |
|
if test -d "$1"; then |
14288 |
|
test -d "$1/."; |
14289 |
|
else |
14290 |
< |
case $1 in |
14290 |
> |
case $1 in #( |
14291 |
|
-*)set "./$1";; |
14292 |
|
esac; |
14293 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
14293 |
> |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
14294 |
|
???[sx]*):;;*)false;;esac;fi |
14295 |
|
'\'' sh |
14296 |
|
' |
14305 |
|
|
14306 |
|
|
14307 |
|
exec 6>&1 |
14308 |
+ |
## ----------------------------------- ## |
14309 |
+ |
## Main body of $CONFIG_STATUS script. ## |
14310 |
+ |
## ----------------------------------- ## |
14311 |
+ |
_ASEOF |
14312 |
+ |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
14313 |
|
|
14314 |
< |
# Save the log message, to keep $[0] and so on meaningful, and to |
14314 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14315 |
> |
# Save the log message, to keep $0 and so on meaningful, and to |
14316 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
14317 |
|
# values after options handling. |
14318 |
|
ac_log=" |
14319 |
|
This file was extended by ircd-hybrid $as_me 7.2.4, which was |
14320 |
< |
generated by GNU Autoconf 2.63. Invocation command line was |
14320 |
> |
generated by GNU Autoconf 2.64. Invocation command line was |
14321 |
|
|
14322 |
|
CONFIG_FILES = $CONFIG_FILES |
14323 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
14341 |
|
|
14342 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14343 |
|
# Files that config.status was made for. |
14344 |
< |
config_files="`echo $ac_config_files`" |
14345 |
< |
config_headers="`echo $ac_config_headers`" |
14346 |
< |
config_commands="`echo $ac_config_commands`" |
14344 |
> |
config_files="$ac_config_files" |
14345 |
> |
config_headers="$ac_config_headers" |
14346 |
> |
config_commands="$ac_config_commands" |
14347 |
|
|
14348 |
|
_ACEOF |
14349 |
|
|
14350 |
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14351 |
|
ac_cs_usage="\ |
14352 |
< |
\`$as_me' instantiates files from templates according to the |
14353 |
< |
current configuration. |
14352 |
> |
\`$as_me' instantiates files and other configuration actions |
14353 |
> |
from templates according to the current configuration. Unless the files |
14354 |
> |
and actions are specified as TAGs, all are instantiated by default. |
14355 |
|
|
14356 |
< |
Usage: $0 [OPTION]... [FILE]... |
14356 |
> |
Usage: $0 [OPTION]... [TAG]... |
14357 |
|
|
14358 |
|
-h, --help print this help, then exit |
14359 |
|
-V, --version print version number and configuration settings, then exit |
14375 |
|
Configuration commands: |
14376 |
|
$config_commands |
14377 |
|
|
14378 |
< |
Report bugs to <bug-autoconf@gnu.org>." |
14378 |
> |
Report bugs to the package provider." |
14379 |
|
|
14380 |
|
_ACEOF |
14381 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14382 |
|
ac_cs_version="\\ |
14383 |
|
ircd-hybrid config.status 7.2.4 |
14384 |
< |
configured by $0, generated by GNU Autoconf 2.63, |
14384 |
> |
configured by $0, generated by GNU Autoconf 2.64, |
14385 |
|
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
14386 |
|
|
14387 |
< |
Copyright (C) 2008 Free Software Foundation, Inc. |
14387 |
> |
Copyright (C) 2009 Free Software Foundation, Inc. |
14388 |
|
This config.status script is free software; the Free Software Foundation |
14389 |
|
gives unlimited permission to copy, distribute and modify it." |
14390 |
|
|
14427 |
|
case $ac_optarg in |
14428 |
|
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
14429 |
|
esac |
14430 |
< |
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
14430 |
> |
as_fn_append CONFIG_FILES " '$ac_optarg'" |
14431 |
|
ac_need_defaults=false;; |
14432 |
|
--header | --heade | --head | --hea ) |
14433 |
|
$ac_shift |
14434 |
|
case $ac_optarg in |
14435 |
|
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
14436 |
|
esac |
14437 |
< |
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
14437 |
> |
as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
14438 |
|
ac_need_defaults=false;; |
14439 |
|
--he | --h) |
14440 |
|
# Conflict between --help and --header |
14441 |
< |
{ $as_echo "$as_me: error: ambiguous option: $1 |
14442 |
< |
Try \`$0 --help' for more information." >&2 |
18713 |
< |
{ (exit 1); exit 1; }; };; |
14441 |
> |
as_fn_error "ambiguous option: \`$1' |
14442 |
> |
Try \`$0 --help' for more information.";; |
14443 |
|
--help | --hel | -h ) |
14444 |
|
$as_echo "$ac_cs_usage"; exit ;; |
14445 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
14447 |
|
ac_cs_silent=: ;; |
14448 |
|
|
14449 |
|
# This is an error. |
14450 |
< |
-*) { $as_echo "$as_me: error: unrecognized option: $1 |
14451 |
< |
Try \`$0 --help' for more information." >&2 |
18723 |
< |
{ (exit 1); exit 1; }; } ;; |
14450 |
> |
-*) as_fn_error "unrecognized option: \`$1' |
14451 |
> |
Try \`$0 --help' for more information." ;; |
14452 |
|
|
14453 |
< |
*) ac_config_targets="$ac_config_targets $1" |
14453 |
> |
*) as_fn_append ac_config_targets " $1" |
14454 |
|
ac_need_defaults=false ;; |
14455 |
|
|
14456 |
|
esac |
14779 |
|
"lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;; |
14780 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
14781 |
|
|
14782 |
< |
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
19055 |
< |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
19056 |
< |
{ (exit 1); exit 1; }; };; |
14782 |
> |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
14783 |
|
esac |
14784 |
|
done |
14785 |
|
|
14806 |
|
trap 'exit_status=$? |
14807 |
|
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
14808 |
|
' 0 |
14809 |
< |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
14809 |
> |
trap 'as_fn_exit 1' 1 2 13 15 |
14810 |
|
} |
14811 |
|
# Create a (secure) tmp directory for tmp files. |
14812 |
|
|
14817 |
|
{ |
14818 |
|
tmp=./conf$$-$RANDOM |
14819 |
|
(umask 077 && mkdir "$tmp") |
14820 |
< |
} || |
19095 |
< |
{ |
19096 |
< |
$as_echo "$as_me: cannot create a temporary directory in ." >&2 |
19097 |
< |
{ (exit 1); exit 1; } |
19098 |
< |
} |
14820 |
> |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
14821 |
|
|
14822 |
|
# Set up the scripts for CONFIG_FILES section. |
14823 |
|
# No need to generate them if there are no CONFIG_FILES. |
14825 |
|
if test -n "$CONFIG_FILES"; then |
14826 |
|
|
14827 |
|
|
19106 |
– |
ac_cr=' |
14828 |
|
|
14829 |
+ |
ac_cr=`echo X | tr X '\015'` |
14830 |
+ |
# On cygwin, bash can eat \r inside `` if the user requested igncr. |
14831 |
+ |
# But we know of no other shell where ac_cr would be empty at this |
14832 |
+ |
# point, so we can use a bashism as a fallback. |
14833 |
+ |
if test "x$ac_cr" = x; then |
14834 |
+ |
eval ac_cr=\$\'\\r\' |
14835 |
+ |
fi |
14836 |
|
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
14837 |
|
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
14838 |
< |
ac_cs_awk_cr='\\r' |
14838 |
> |
ac_cs_awk_cr='\r' |
14839 |
|
else |
14840 |
|
ac_cs_awk_cr=$ac_cr |
14841 |
|
fi |
14848 |
|
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
14849 |
|
echo "_ACEOF" |
14850 |
|
} >conf$$subs.sh || |
14851 |
< |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
19124 |
< |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
19125 |
< |
{ (exit 1); exit 1; }; } |
14851 |
> |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
14852 |
|
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
14853 |
|
ac_delim='%!_!# ' |
14854 |
|
for ac_last_try in false false false false false :; do |
14855 |
|
. ./conf$$subs.sh || |
14856 |
< |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
19131 |
< |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
19132 |
< |
{ (exit 1); exit 1; }; } |
14856 |
> |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
14857 |
|
|
14858 |
|
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
14859 |
|
if test $ac_delim_n = $ac_delim_num; then |
14860 |
|
break |
14861 |
|
elif $ac_last_try; then |
14862 |
< |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
19139 |
< |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
19140 |
< |
{ (exit 1); exit 1; }; } |
14862 |
> |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
14863 |
|
else |
14864 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
14865 |
|
fi |
14948 |
|
else |
14949 |
|
cat |
14950 |
|
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
14951 |
< |
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
19230 |
< |
$as_echo "$as_me: error: could not setup config files machinery" >&2;} |
19231 |
< |
{ (exit 1); exit 1; }; } |
14951 |
> |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5 |
14952 |
|
_ACEOF |
14953 |
|
|
14954 |
|
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
14989 |
|
if test -z "$ac_t"; then |
14990 |
|
break |
14991 |
|
elif $ac_last_try; then |
14992 |
< |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
19273 |
< |
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} |
19274 |
< |
{ (exit 1); exit 1; }; } |
14992 |
> |
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
14993 |
|
else |
14994 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
14995 |
|
fi |
15074 |
|
_ACAWK |
15075 |
|
_ACEOF |
15076 |
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15077 |
< |
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 |
19360 |
< |
$as_echo "$as_me: error: could not setup config headers machinery" >&2;} |
19361 |
< |
{ (exit 1); exit 1; }; } |
15077 |
> |
as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
15078 |
|
fi # test -n "$CONFIG_HEADERS" |
15079 |
|
|
15080 |
|
|
15087 |
|
esac |
15088 |
|
case $ac_mode$ac_tag in |
15089 |
|
:[FHL]*:*);; |
15090 |
< |
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 |
19375 |
< |
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} |
19376 |
< |
{ (exit 1); exit 1; }; };; |
15090 |
> |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
15091 |
|
:[FH]-) ac_tag=-:-;; |
15092 |
|
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
15093 |
|
esac |
15115 |
|
[\\/$]*) false;; |
15116 |
|
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
15117 |
|
esac || |
15118 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
19405 |
< |
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
19406 |
< |
{ (exit 1); exit 1; }; };; |
15118 |
> |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
15119 |
|
esac |
15120 |
|
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
15121 |
< |
ac_file_inputs="$ac_file_inputs '$ac_f'" |
15121 |
> |
as_fn_append ac_file_inputs " '$ac_f'" |
15122 |
|
done |
15123 |
|
|
15124 |
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
15129 |
|
`' by configure.' |
15130 |
|
if test x"$ac_file" != x-; then |
15131 |
|
configure_input="$ac_file. $configure_input" |
15132 |
< |
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
15132 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
15133 |
|
$as_echo "$as_me: creating $ac_file" >&6;} |
15134 |
|
fi |
15135 |
|
# Neutralize special characters interpreted by sed in replacement strings. |
15142 |
|
|
15143 |
|
case $ac_tag in |
15144 |
|
*:-:* | *:-) cat >"$tmp/stdin" \ |
15145 |
< |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
19434 |
< |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
19435 |
< |
{ (exit 1); exit 1; }; } ;; |
15145 |
> |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
15146 |
|
esac |
15147 |
|
;; |
15148 |
|
esac |
15170 |
|
q |
15171 |
|
} |
15172 |
|
s/.*/./; q'` |
15173 |
< |
{ as_dir="$ac_dir" |
19464 |
< |
case $as_dir in #( |
19465 |
< |
-*) as_dir=./$as_dir;; |
19466 |
< |
esac |
19467 |
< |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
19468 |
< |
as_dirs= |
19469 |
< |
while :; do |
19470 |
< |
case $as_dir in #( |
19471 |
< |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
19472 |
< |
*) as_qdir=$as_dir;; |
19473 |
< |
esac |
19474 |
< |
as_dirs="'$as_qdir' $as_dirs" |
19475 |
< |
as_dir=`$as_dirname -- "$as_dir" || |
19476 |
< |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
19477 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
19478 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
19479 |
< |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
19480 |
< |
$as_echo X"$as_dir" | |
19481 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
19482 |
< |
s//\1/ |
19483 |
< |
q |
19484 |
< |
} |
19485 |
< |
/^X\(\/\/\)[^/].*/{ |
19486 |
< |
s//\1/ |
19487 |
< |
q |
19488 |
< |
} |
19489 |
< |
/^X\(\/\/\)$/{ |
19490 |
< |
s//\1/ |
19491 |
< |
q |
19492 |
< |
} |
19493 |
< |
/^X\(\/\).*/{ |
19494 |
< |
s//\1/ |
19495 |
< |
q |
19496 |
< |
} |
19497 |
< |
s/.*/./; q'` |
19498 |
< |
test -d "$as_dir" && break |
19499 |
< |
done |
19500 |
< |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
19501 |
< |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
19502 |
< |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
19503 |
< |
{ (exit 1); exit 1; }; }; } |
15173 |
> |
as_dir="$ac_dir"; as_fn_mkdir_p |
15174 |
|
ac_builddir=. |
15175 |
|
|
15176 |
|
case "$ac_dir" in |
15227 |
|
# If the template does not know about datarootdir, expand it. |
15228 |
|
# FIXME: This hack should be removed a few years after 2.60. |
15229 |
|
ac_datarootdir_hack=; ac_datarootdir_seen= |
19560 |
– |
|
15230 |
|
ac_sed_dataroot=' |
15231 |
|
/datarootdir/ { |
15232 |
|
p |
15236 |
|
/@docdir@/p |
15237 |
|
/@infodir@/p |
15238 |
|
/@localedir@/p |
15239 |
< |
/@mandir@/p |
19571 |
< |
' |
15239 |
> |
/@mandir@/p' |
15240 |
|
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
15241 |
|
*datarootdir*) ac_datarootdir_seen=yes;; |
15242 |
|
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
15243 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
15243 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
15244 |
|
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
15245 |
|
_ACEOF |
15246 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15250 |
|
s&@infodir@&$infodir&g |
15251 |
|
s&@localedir@&$localedir&g |
15252 |
|
s&@mandir@&$mandir&g |
15253 |
< |
s&\\\${datarootdir}&$datarootdir&g' ;; |
15253 |
> |
s&\\\${datarootdir}&$datarootdir&g' ;; |
15254 |
|
esac |
15255 |
|
_ACEOF |
15256 |
|
|
15279 |
|
$ac_datarootdir_hack |
15280 |
|
" |
15281 |
|
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
15282 |
< |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
19615 |
< |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
19616 |
< |
{ (exit 1); exit 1; }; } |
15282 |
> |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
15283 |
|
|
15284 |
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
15285 |
|
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
15286 |
|
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
15287 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15287 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15288 |
|
which seems to be undefined. Please make sure it is defined." >&5 |
15289 |
|
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15290 |
|
which seems to be undefined. Please make sure it is defined." >&2;} |
15294 |
|
-) cat "$tmp/out" && rm -f "$tmp/out";; |
15295 |
|
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
15296 |
|
esac \ |
15297 |
< |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
19632 |
< |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
19633 |
< |
{ (exit 1); exit 1; }; } |
15297 |
> |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
15298 |
|
;; |
15299 |
|
:H) |
15300 |
|
# |
15305 |
|
$as_echo "/* $configure_input */" \ |
15306 |
|
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
15307 |
|
} >"$tmp/config.h" \ |
15308 |
< |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
19645 |
< |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
19646 |
< |
{ (exit 1); exit 1; }; } |
15308 |
> |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
15309 |
|
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
15310 |
< |
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
15310 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
15311 |
|
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
15312 |
|
else |
15313 |
|
rm -f "$ac_file" |
15314 |
|
mv "$tmp/config.h" "$ac_file" \ |
15315 |
< |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
19654 |
< |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
19655 |
< |
{ (exit 1); exit 1; }; } |
15315 |
> |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
15316 |
|
fi |
15317 |
|
else |
15318 |
|
$as_echo "/* $configure_input */" \ |
15319 |
|
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
15320 |
< |
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 |
19661 |
< |
$as_echo "$as_me: error: could not create -" >&2;} |
19662 |
< |
{ (exit 1); exit 1; }; } |
15320 |
> |
|| as_fn_error "could not create -" "$LINENO" 5 |
15321 |
|
fi |
15322 |
|
# Compute "$ac_file"'s index in $config_headers. |
15323 |
|
_am_arg="$ac_file" |
15355 |
|
s/.*/./; q'`/stamp-h$_am_stamp_count |
15356 |
|
;; |
15357 |
|
|
15358 |
< |
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
15358 |
> |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
15359 |
|
$as_echo "$as_me: executing $ac_file commands" >&6;} |
15360 |
|
;; |
15361 |
|
esac |
15450 |
|
q |
15451 |
|
} |
15452 |
|
s/.*/./; q'` |
15453 |
< |
{ as_dir=$dirpart/$fdir |
19796 |
< |
case $as_dir in #( |
19797 |
< |
-*) as_dir=./$as_dir;; |
19798 |
< |
esac |
19799 |
< |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
19800 |
< |
as_dirs= |
19801 |
< |
while :; do |
19802 |
< |
case $as_dir in #( |
19803 |
< |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
19804 |
< |
*) as_qdir=$as_dir;; |
19805 |
< |
esac |
19806 |
< |
as_dirs="'$as_qdir' $as_dirs" |
19807 |
< |
as_dir=`$as_dirname -- "$as_dir" || |
19808 |
< |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
19809 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
19810 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
19811 |
< |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
19812 |
< |
$as_echo X"$as_dir" | |
19813 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
19814 |
< |
s//\1/ |
19815 |
< |
q |
19816 |
< |
} |
19817 |
< |
/^X\(\/\/\)[^/].*/{ |
19818 |
< |
s//\1/ |
19819 |
< |
q |
19820 |
< |
} |
19821 |
< |
/^X\(\/\/\)$/{ |
19822 |
< |
s//\1/ |
19823 |
< |
q |
19824 |
< |
} |
19825 |
< |
/^X\(\/\).*/{ |
19826 |
< |
s//\1/ |
19827 |
< |
q |
19828 |
< |
} |
19829 |
< |
s/.*/./; q'` |
19830 |
< |
test -d "$as_dir" && break |
19831 |
< |
done |
19832 |
< |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
19833 |
< |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
19834 |
< |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
19835 |
< |
{ (exit 1); exit 1; }; }; } |
15453 |
> |
as_dir=$dirpart/$fdir; as_fn_mkdir_p |
15454 |
|
# echo "creating $dirpart/$file" |
15455 |
|
echo '# dummy' > "$dirpart/$file" |
15456 |
|
done |
16097 |
|
done # for ac_tag |
16098 |
|
|
16099 |
|
|
16100 |
< |
{ (exit 0); exit 0; } |
16100 |
> |
as_fn_exit 0 |
16101 |
|
_ACEOF |
20484 |
– |
chmod +x $CONFIG_STATUS |
16102 |
|
ac_clean_files=$ac_clean_files_save |
16103 |
|
|
16104 |
|
test $ac_write_fail = 0 || |
16105 |
< |
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
20489 |
< |
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} |
20490 |
< |
{ (exit 1); exit 1; }; } |
16105 |
> |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
16106 |
|
|
16107 |
|
|
16108 |
|
# configure is writing to config.log, and then calls config.status. |
16123 |
|
exec 5>>config.log |
16124 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
16125 |
|
# would make configure fail if this is the last instruction. |
16126 |
< |
$ac_cs_success || { (exit 1); exit 1; } |
16126 |
> |
$ac_cs_success || as_fn_exit $? |
16127 |
|
fi |
16128 |
|
|
16129 |
|
# |
16167 |
|
case $ac_arg in |
16168 |
|
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
16169 |
|
esac |
16170 |
< |
ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; |
16170 |
> |
as_fn_append ac_sub_configure_args " '$ac_arg'" ;; |
16171 |
|
esac |
16172 |
|
done |
16173 |
|
|
16196 |
|
test -d "$srcdir/$ac_dir" || continue |
16197 |
|
|
16198 |
|
ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" |
16199 |
< |
$as_echo "$as_me:$LINENO: $ac_msg" >&5 |
16199 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 |
16200 |
|
$as_echo "$ac_msg" >&6 |
16201 |
< |
{ as_dir="$ac_dir" |
20587 |
< |
case $as_dir in #( |
20588 |
< |
-*) as_dir=./$as_dir;; |
20589 |
< |
esac |
20590 |
< |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
20591 |
< |
as_dirs= |
20592 |
< |
while :; do |
20593 |
< |
case $as_dir in #( |
20594 |
< |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
20595 |
< |
*) as_qdir=$as_dir;; |
20596 |
< |
esac |
20597 |
< |
as_dirs="'$as_qdir' $as_dirs" |
20598 |
< |
as_dir=`$as_dirname -- "$as_dir" || |
20599 |
< |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
20600 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
20601 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
20602 |
< |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
20603 |
< |
$as_echo X"$as_dir" | |
20604 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
20605 |
< |
s//\1/ |
20606 |
< |
q |
20607 |
< |
} |
20608 |
< |
/^X\(\/\/\)[^/].*/{ |
20609 |
< |
s//\1/ |
20610 |
< |
q |
20611 |
< |
} |
20612 |
< |
/^X\(\/\/\)$/{ |
20613 |
< |
s//\1/ |
20614 |
< |
q |
20615 |
< |
} |
20616 |
< |
/^X\(\/\).*/{ |
20617 |
< |
s//\1/ |
20618 |
< |
q |
20619 |
< |
} |
20620 |
< |
s/.*/./; q'` |
20621 |
< |
test -d "$as_dir" && break |
20622 |
< |
done |
20623 |
< |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
20624 |
< |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
20625 |
< |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
20626 |
< |
{ (exit 1); exit 1; }; }; } |
16201 |
> |
as_dir="$ac_dir"; as_fn_mkdir_p |
16202 |
|
ac_builddir=. |
16203 |
|
|
16204 |
|
case "$ac_dir" in |
16245 |
|
# This should be Cygnus configure. |
16246 |
|
ac_sub_configure=$ac_aux_dir/configure |
16247 |
|
else |
16248 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 |
16248 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 |
16249 |
|
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
16250 |
|
ac_sub_configure= |
16251 |
|
fi |
16259 |
|
ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; |
16260 |
|
esac |
16261 |
|
|
16262 |
< |
{ $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
16262 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
16263 |
|
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
16264 |
|
# The eval makes quoting arguments work. |
16265 |
|
eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
16266 |
|
--cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
16267 |
< |
{ { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 |
20693 |
< |
$as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} |
20694 |
< |
{ (exit 1); exit 1; }; } |
16267 |
> |
as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 |
16268 |
|
fi |
16269 |
|
|
16270 |
|
cd "$ac_popdir" |
16271 |
|
done |
16272 |
|
fi |
16273 |
|
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
16274 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
16274 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
16275 |
|
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
16276 |
|
fi |
16277 |
|
|