31 |
kaklik |
1 |
@%:@! /bin/sh |
|
|
2 |
@%:@ Guess values for system-dependent variables and create Makefiles. |
|
|
3 |
@%:@ Generated by GNU Autoconf 2.63. |
|
|
4 |
@%:@ |
|
|
5 |
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|
|
6 |
@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
|
|
7 |
@%:@ This configure script is free software; the Free Software Foundation |
|
|
8 |
@%:@ gives unlimited permission to copy, distribute and modify it. |
|
|
9 |
## --------------------- ## |
|
|
10 |
## M4sh Initialization. ## |
|
|
11 |
## --------------------- ## |
|
|
12 |
|
|
|
13 |
# Be more Bourne compatible |
|
|
14 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
|
15 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
|
16 |
emulate sh |
|
|
17 |
NULLCMD=: |
|
|
18 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
|
19 |
# is contrary to our usage. Disable this feature. |
|
|
20 |
alias -g '${1+"$@"}'='"$@"' |
|
|
21 |
setopt NO_GLOB_SUBST |
|
|
22 |
else |
|
|
23 |
case `(set -o) 2>/dev/null` in |
|
|
24 |
*posix*) set -o posix ;; |
|
|
25 |
esac |
|
|
26 |
|
|
|
27 |
fi |
|
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
# PATH needs CR |
|
|
33 |
# Avoid depending upon Character Ranges. |
|
|
34 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
|
35 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
|
36 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
|
37 |
as_cr_digits='0123456789' |
|
|
38 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
|
39 |
|
|
|
40 |
as_nl=' |
|
|
41 |
' |
|
|
42 |
export as_nl |
|
|
43 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
|
44 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
|
45 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
|
46 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
|
47 |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
|
48 |
as_echo='printf %s\n' |
|
|
49 |
as_echo_n='printf %s' |
|
|
50 |
else |
|
|
51 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
|
52 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
|
53 |
as_echo_n='/usr/ucb/echo -n' |
|
|
54 |
else |
|
|
55 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
|
56 |
as_echo_n_body='eval |
|
|
57 |
arg=$1; |
|
|
58 |
case $arg in |
|
|
59 |
*"$as_nl"*) |
|
|
60 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
|
61 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
|
62 |
esac; |
|
|
63 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
|
64 |
' |
|
|
65 |
export as_echo_n_body |
|
|
66 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
|
67 |
fi |
|
|
68 |
export as_echo_body |
|
|
69 |
as_echo='sh -c $as_echo_body as_echo' |
|
|
70 |
fi |
|
|
71 |
|
|
|
72 |
# The user is always right. |
|
|
73 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
|
74 |
PATH_SEPARATOR=: |
|
|
75 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
|
76 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
|
77 |
PATH_SEPARATOR=';' |
|
|
78 |
} |
|
|
79 |
fi |
|
|
80 |
|
|
|
81 |
# Support unset when possible. |
|
|
82 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
83 |
as_unset=unset |
|
|
84 |
else |
|
|
85 |
as_unset=false |
|
|
86 |
fi |
|
|
87 |
|
|
|
88 |
|
|
|
89 |
# IFS |
|
|
90 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
|
91 |
# there to prevent editors from complaining about space-tab. |
|
|
92 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
|
93 |
# splitting by setting IFS to empty value.) |
|
|
94 |
IFS=" "" $as_nl" |
|
|
95 |
|
|
|
96 |
# Find who we are. Look in the path if we contain no directory separator. |
|
|
97 |
case $0 in |
|
|
98 |
*[\\/]* ) as_myself=$0 ;; |
|
|
99 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
100 |
for as_dir in $PATH |
|
|
101 |
do |
|
|
102 |
IFS=$as_save_IFS |
|
|
103 |
test -z "$as_dir" && as_dir=. |
|
|
104 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
|
105 |
done |
|
|
106 |
IFS=$as_save_IFS |
|
|
107 |
|
|
|
108 |
;; |
|
|
109 |
esac |
|
|
110 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
|
111 |
# in which case we are not to be found in the path. |
|
|
112 |
if test "x$as_myself" = x; then |
|
|
113 |
as_myself=$0 |
|
|
114 |
fi |
|
|
115 |
if test ! -f "$as_myself"; then |
|
|
116 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
|
117 |
{ (exit 1); exit 1; } |
|
|
118 |
fi |
|
|
119 |
|
|
|
120 |
# Work around bugs in pre-3.0 UWIN ksh. |
|
|
121 |
for as_var in ENV MAIL MAILPATH |
|
|
122 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
|
123 |
done |
|
|
124 |
PS1='$ ' |
|
|
125 |
PS2='> ' |
|
|
126 |
PS4='+ ' |
|
|
127 |
|
|
|
128 |
# NLS nuisances. |
|
|
129 |
LC_ALL=C |
|
|
130 |
export LC_ALL |
|
|
131 |
LANGUAGE=C |
|
|
132 |
export LANGUAGE |
|
|
133 |
|
|
|
134 |
# Required to use basename. |
|
|
135 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
|
136 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
|
137 |
as_expr=expr |
|
|
138 |
else |
|
|
139 |
as_expr=false |
|
|
140 |
fi |
|
|
141 |
|
|
|
142 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
|
143 |
as_basename=basename |
|
|
144 |
else |
|
|
145 |
as_basename=false |
|
|
146 |
fi |
|
|
147 |
|
|
|
148 |
|
|
|
149 |
# Name of the executable. |
|
|
150 |
as_me=`$as_basename -- "$0" || |
|
|
151 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
|
152 |
X"$0" : 'X\(//\)$' \| \ |
|
|
153 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
|
154 |
$as_echo X/"$0" | |
|
|
155 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
|
156 |
s//\1/ |
|
|
157 |
q |
|
|
158 |
} |
|
|
159 |
/^X\/\(\/\/\)$/{ |
|
|
160 |
s//\1/ |
|
|
161 |
q |
|
|
162 |
} |
|
|
163 |
/^X\/\(\/\).*/{ |
|
|
164 |
s//\1/ |
|
|
165 |
q |
|
|
166 |
} |
|
|
167 |
s/.*/./; q'` |
|
|
168 |
|
|
|
169 |
# CDPATH. |
|
|
170 |
$as_unset CDPATH |
|
|
171 |
|
|
|
172 |
|
|
|
173 |
if test "x$CONFIG_SHELL" = x; then |
|
|
174 |
if (eval ":") 2>/dev/null; then |
|
|
175 |
as_have_required=yes |
|
|
176 |
else |
|
|
177 |
as_have_required=no |
|
|
178 |
fi |
|
|
179 |
|
|
|
180 |
if test $as_have_required = yes && (eval ": |
|
|
181 |
(as_func_return () { |
|
|
182 |
(exit \$1) |
|
|
183 |
} |
|
|
184 |
as_func_success () { |
|
|
185 |
as_func_return 0 |
|
|
186 |
} |
|
|
187 |
as_func_failure () { |
|
|
188 |
as_func_return 1 |
|
|
189 |
} |
|
|
190 |
as_func_ret_success () { |
|
|
191 |
return 0 |
|
|
192 |
} |
|
|
193 |
as_func_ret_failure () { |
|
|
194 |
return 1 |
|
|
195 |
} |
|
|
196 |
|
|
|
197 |
exitcode=0 |
|
|
198 |
if as_func_success; then |
|
|
199 |
: |
|
|
200 |
else |
|
|
201 |
exitcode=1 |
|
|
202 |
echo as_func_success failed. |
|
|
203 |
fi |
|
|
204 |
|
|
|
205 |
if as_func_failure; then |
|
|
206 |
exitcode=1 |
|
|
207 |
echo as_func_failure succeeded. |
|
|
208 |
fi |
|
|
209 |
|
|
|
210 |
if as_func_ret_success; then |
|
|
211 |
: |
|
|
212 |
else |
|
|
213 |
exitcode=1 |
|
|
214 |
echo as_func_ret_success failed. |
|
|
215 |
fi |
|
|
216 |
|
|
|
217 |
if as_func_ret_failure; then |
|
|
218 |
exitcode=1 |
|
|
219 |
echo as_func_ret_failure succeeded. |
|
|
220 |
fi |
|
|
221 |
|
|
|
222 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|
|
223 |
: |
|
|
224 |
else |
|
|
225 |
exitcode=1 |
|
|
226 |
echo positional parameters were not saved. |
|
|
227 |
fi |
|
|
228 |
|
|
|
229 |
test \$exitcode = 0) || { (exit 1); exit 1; } |
|
|
230 |
|
|
|
231 |
( |
|
|
232 |
as_lineno_1=\$LINENO |
|
|
233 |
as_lineno_2=\$LINENO |
|
|
234 |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
|
|
235 |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
|
|
236 |
") 2> /dev/null; then |
|
|
237 |
: |
|
|
238 |
else |
|
|
239 |
as_candidate_shells= |
|
|
240 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
241 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
|
242 |
do |
|
|
243 |
IFS=$as_save_IFS |
|
|
244 |
test -z "$as_dir" && as_dir=. |
|
|
245 |
case $as_dir in |
|
|
246 |
/*) |
|
|
247 |
for as_base in sh bash ksh sh5; do |
|
|
248 |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
|
|
249 |
done;; |
|
|
250 |
esac |
|
|
251 |
done |
|
|
252 |
IFS=$as_save_IFS |
|
|
253 |
|
|
|
254 |
|
|
|
255 |
for as_shell in $as_candidate_shells $SHELL; do |
|
|
256 |
# Try only shells that exist, to save several forks. |
|
|
257 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
|
258 |
{ ("$as_shell") 2> /dev/null <<\_ASEOF |
|
|
259 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
|
260 |
emulate sh |
|
|
261 |
NULLCMD=: |
|
|
262 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
|
263 |
# is contrary to our usage. Disable this feature. |
|
|
264 |
alias -g '${1+"$@"}'='"$@"' |
|
|
265 |
setopt NO_GLOB_SUBST |
|
|
266 |
else |
|
|
267 |
case `(set -o) 2>/dev/null` in |
|
|
268 |
*posix*) set -o posix ;; |
|
|
269 |
esac |
|
|
270 |
|
|
|
271 |
fi |
|
|
272 |
|
|
|
273 |
|
|
|
274 |
: |
|
|
275 |
_ASEOF |
|
|
276 |
}; then |
|
|
277 |
CONFIG_SHELL=$as_shell |
|
|
278 |
as_have_required=yes |
|
|
279 |
if { "$as_shell" 2> /dev/null <<\_ASEOF |
|
|
280 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
|
281 |
emulate sh |
|
|
282 |
NULLCMD=: |
|
|
283 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
|
284 |
# is contrary to our usage. Disable this feature. |
|
|
285 |
alias -g '${1+"$@"}'='"$@"' |
|
|
286 |
setopt NO_GLOB_SUBST |
|
|
287 |
else |
|
|
288 |
case `(set -o) 2>/dev/null` in |
|
|
289 |
*posix*) set -o posix ;; |
|
|
290 |
esac |
|
|
291 |
|
|
|
292 |
fi |
|
|
293 |
|
|
|
294 |
|
|
|
295 |
: |
|
|
296 |
(as_func_return () { |
|
|
297 |
(exit $1) |
|
|
298 |
} |
|
|
299 |
as_func_success () { |
|
|
300 |
as_func_return 0 |
|
|
301 |
} |
|
|
302 |
as_func_failure () { |
|
|
303 |
as_func_return 1 |
|
|
304 |
} |
|
|
305 |
as_func_ret_success () { |
|
|
306 |
return 0 |
|
|
307 |
} |
|
|
308 |
as_func_ret_failure () { |
|
|
309 |
return 1 |
|
|
310 |
} |
|
|
311 |
|
|
|
312 |
exitcode=0 |
|
|
313 |
if as_func_success; then |
|
|
314 |
: |
|
|
315 |
else |
|
|
316 |
exitcode=1 |
|
|
317 |
echo as_func_success failed. |
|
|
318 |
fi |
|
|
319 |
|
|
|
320 |
if as_func_failure; then |
|
|
321 |
exitcode=1 |
|
|
322 |
echo as_func_failure succeeded. |
|
|
323 |
fi |
|
|
324 |
|
|
|
325 |
if as_func_ret_success; then |
|
|
326 |
: |
|
|
327 |
else |
|
|
328 |
exitcode=1 |
|
|
329 |
echo as_func_ret_success failed. |
|
|
330 |
fi |
|
|
331 |
|
|
|
332 |
if as_func_ret_failure; then |
|
|
333 |
exitcode=1 |
|
|
334 |
echo as_func_ret_failure succeeded. |
|
|
335 |
fi |
|
|
336 |
|
|
|
337 |
if ( set x; as_func_ret_success y && test x = "$1" ); then |
|
|
338 |
: |
|
|
339 |
else |
|
|
340 |
exitcode=1 |
|
|
341 |
echo positional parameters were not saved. |
|
|
342 |
fi |
|
|
343 |
|
|
|
344 |
test $exitcode = 0) || { (exit 1); exit 1; } |
|
|
345 |
|
|
|
346 |
( |
|
|
347 |
as_lineno_1=$LINENO |
|
|
348 |
as_lineno_2=$LINENO |
|
|
349 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
|
350 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
|
|
351 |
|
|
|
352 |
_ASEOF |
|
|
353 |
}; then |
|
|
354 |
break |
|
|
355 |
fi |
|
|
356 |
|
|
|
357 |
fi |
|
|
358 |
|
|
|
359 |
done |
|
|
360 |
|
|
|
361 |
if test "x$CONFIG_SHELL" != x; then |
|
|
362 |
for as_var in BASH_ENV ENV |
|
|
363 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
|
364 |
done |
|
|
365 |
export CONFIG_SHELL |
|
|
366 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
|
|
367 |
fi |
|
|
368 |
|
|
|
369 |
|
|
|
370 |
if test $as_have_required = no; then |
|
|
371 |
echo This script requires a shell more modern than all the |
|
|
372 |
echo shells that I found on your system. Please install a |
|
|
373 |
echo modern shell, or manually run the script under such a |
|
|
374 |
echo shell if you do have one. |
|
|
375 |
{ (exit 1); exit 1; } |
|
|
376 |
fi |
|
|
377 |
|
|
|
378 |
|
|
|
379 |
fi |
|
|
380 |
|
|
|
381 |
fi |
|
|
382 |
|
|
|
383 |
|
|
|
384 |
|
|
|
385 |
(eval "as_func_return () { |
|
|
386 |
(exit \$1) |
|
|
387 |
} |
|
|
388 |
as_func_success () { |
|
|
389 |
as_func_return 0 |
|
|
390 |
} |
|
|
391 |
as_func_failure () { |
|
|
392 |
as_func_return 1 |
|
|
393 |
} |
|
|
394 |
as_func_ret_success () { |
|
|
395 |
return 0 |
|
|
396 |
} |
|
|
397 |
as_func_ret_failure () { |
|
|
398 |
return 1 |
|
|
399 |
} |
|
|
400 |
|
|
|
401 |
exitcode=0 |
|
|
402 |
if as_func_success; then |
|
|
403 |
: |
|
|
404 |
else |
|
|
405 |
exitcode=1 |
|
|
406 |
echo as_func_success failed. |
|
|
407 |
fi |
|
|
408 |
|
|
|
409 |
if as_func_failure; then |
|
|
410 |
exitcode=1 |
|
|
411 |
echo as_func_failure succeeded. |
|
|
412 |
fi |
|
|
413 |
|
|
|
414 |
if as_func_ret_success; then |
|
|
415 |
: |
|
|
416 |
else |
|
|
417 |
exitcode=1 |
|
|
418 |
echo as_func_ret_success failed. |
|
|
419 |
fi |
|
|
420 |
|
|
|
421 |
if as_func_ret_failure; then |
|
|
422 |
exitcode=1 |
|
|
423 |
echo as_func_ret_failure succeeded. |
|
|
424 |
fi |
|
|
425 |
|
|
|
426 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|
|
427 |
: |
|
|
428 |
else |
|
|
429 |
exitcode=1 |
|
|
430 |
echo positional parameters were not saved. |
|
|
431 |
fi |
|
|
432 |
|
|
|
433 |
test \$exitcode = 0") || { |
|
|
434 |
echo No shell found that supports shell functions. |
|
|
435 |
echo Please tell bug-autoconf@gnu.org about your system, |
|
|
436 |
echo including any error possibly output before this message. |
|
|
437 |
echo This can help us improve future autoconf versions. |
|
|
438 |
echo Configuration will now proceed without shell functions. |
|
|
439 |
} |
|
|
440 |
|
|
|
441 |
|
|
|
442 |
|
|
|
443 |
as_lineno_1=$LINENO |
|
|
444 |
as_lineno_2=$LINENO |
|
|
445 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
|
446 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|
|
447 |
|
|
|
448 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
|
449 |
# uniformly replaced by the line number. The first 'sed' inserts a |
|
|
450 |
# line-number line after each line using $LINENO; the second 'sed' |
|
|
451 |
# does the real work. The second script uses 'N' to pair each |
|
|
452 |
# line-number line with the line containing $LINENO, and appends |
|
|
453 |
# trailing '-' during substitution so that $LINENO is not a special |
|
|
454 |
# case at line end. |
|
|
455 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|
|
456 |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
|
|
457 |
# E. McMahon (1931-1989) for sed's syntax. :-) |
|
|
458 |
sed -n ' |
|
|
459 |
p |
|
|
460 |
/[$]LINENO/= |
|
|
461 |
' <$as_myself | |
|
|
462 |
sed ' |
|
|
463 |
s/[$]LINENO.*/&-/ |
|
|
464 |
t lineno |
|
|
465 |
b |
|
|
466 |
:lineno |
|
|
467 |
N |
|
|
468 |
:loop |
|
|
469 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
|
470 |
t loop |
|
|
471 |
s/-\n.*// |
|
|
472 |
' >$as_me.lineno && |
|
|
473 |
chmod +x "$as_me.lineno" || |
|
|
474 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|
|
475 |
{ (exit 1); exit 1; }; } |
|
|
476 |
|
|
|
477 |
# Don't try to exec as it changes $[0], causing all sort of problems |
|
|
478 |
# (the dirname of $[0] is not the place where we might find the |
|
|
479 |
# original and so on. Autoconf is especially sensitive to this). |
|
|
480 |
. "./$as_me.lineno" |
|
|
481 |
# Exit status is that of the last command. |
|
|
482 |
exit |
|
|
483 |
} |
|
|
484 |
|
|
|
485 |
|
|
|
486 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
|
487 |
as_dirname=dirname |
|
|
488 |
else |
|
|
489 |
as_dirname=false |
|
|
490 |
fi |
|
|
491 |
|
|
|
492 |
ECHO_C= ECHO_N= ECHO_T= |
|
|
493 |
case `echo -n x` in |
|
|
494 |
-n*) |
|
|
495 |
case `echo 'x\c'` in |
|
|
496 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
|
497 |
*) ECHO_C='\c';; |
|
|
498 |
esac;; |
|
|
499 |
*) |
|
|
500 |
ECHO_N='-n';; |
|
|
501 |
esac |
|
|
502 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
|
503 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
|
504 |
as_expr=expr |
|
|
505 |
else |
|
|
506 |
as_expr=false |
|
|
507 |
fi |
|
|
508 |
|
|
|
509 |
rm -f conf$$ conf$$.exe conf$$.file |
|
|
510 |
if test -d conf$$.dir; then |
|
|
511 |
rm -f conf$$.dir/conf$$.file |
|
|
512 |
else |
|
|
513 |
rm -f conf$$.dir |
|
|
514 |
mkdir conf$$.dir 2>/dev/null |
|
|
515 |
fi |
|
|
516 |
if (echo >conf$$.file) 2>/dev/null; then |
|
|
517 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
|
518 |
as_ln_s='ln -s' |
|
|
519 |
# ... but there are two gotchas: |
|
|
520 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
|
521 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
|
522 |
# In both cases, we have to default to `cp -p'. |
|
|
523 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
|
524 |
as_ln_s='cp -p' |
|
|
525 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
|
526 |
as_ln_s=ln |
|
|
527 |
else |
|
|
528 |
as_ln_s='cp -p' |
|
|
529 |
fi |
|
|
530 |
else |
|
|
531 |
as_ln_s='cp -p' |
|
|
532 |
fi |
|
|
533 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
|
534 |
rmdir conf$$.dir 2>/dev/null |
|
|
535 |
|
|
|
536 |
if mkdir -p . 2>/dev/null; then |
|
|
537 |
as_mkdir_p=: |
|
|
538 |
else |
|
|
539 |
test -d ./-p && rmdir ./-p |
|
|
540 |
as_mkdir_p=false |
|
|
541 |
fi |
|
|
542 |
|
|
|
543 |
if test -x / >/dev/null 2>&1; then |
|
|
544 |
as_test_x='test -x' |
|
|
545 |
else |
|
|
546 |
if ls -dL / >/dev/null 2>&1; then |
|
|
547 |
as_ls_L_option=L |
|
|
548 |
else |
|
|
549 |
as_ls_L_option= |
|
|
550 |
fi |
|
|
551 |
as_test_x=' |
|
|
552 |
eval sh -c '\'' |
|
|
553 |
if test -d "$1"; then |
|
|
554 |
test -d "$1/."; |
|
|
555 |
else |
|
|
556 |
case $1 in |
|
|
557 |
-*)set "./$1";; |
|
|
558 |
esac; |
|
|
559 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
|
560 |
???[sx]*):;;*)false;;esac;fi |
|
|
561 |
'\'' sh |
|
|
562 |
' |
|
|
563 |
fi |
|
|
564 |
as_executable_p=$as_test_x |
|
|
565 |
|
|
|
566 |
# Sed expression to map a string onto a valid CPP name. |
|
|
567 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
568 |
|
|
|
569 |
# Sed expression to map a string onto a valid variable name. |
|
|
570 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
|
571 |
|
|
|
572 |
|
|
|
573 |
|
|
|
574 |
|
|
|
575 |
# Check that we are running under the correct shell. |
|
|
576 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
577 |
|
|
|
578 |
case X$lt_ECHO in |
|
|
579 |
X*--fallback-echo) |
|
|
580 |
# Remove one level of quotation (which was required for Make). |
|
|
581 |
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` |
|
|
582 |
;; |
|
|
583 |
esac |
|
|
584 |
|
|
|
585 |
ECHO=${lt_ECHO-echo} |
|
|
586 |
if test "X$1" = X--no-reexec; then |
|
|
587 |
# Discard the --no-reexec flag, and continue. |
|
|
588 |
shift |
|
|
589 |
elif test "X$1" = X--fallback-echo; then |
|
|
590 |
# Avoid inline document here, it may be left over |
|
|
591 |
: |
|
|
592 |
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then |
|
|
593 |
# Yippee, $ECHO works! |
|
|
594 |
: |
|
|
595 |
else |
|
|
596 |
# Restart under the correct shell. |
|
|
597 |
exec $SHELL "$0" --no-reexec ${1+"$@"} |
|
|
598 |
fi |
|
|
599 |
|
|
|
600 |
if test "X$1" = X--fallback-echo; then |
|
|
601 |
# used as fallback echo |
|
|
602 |
shift |
|
|
603 |
cat <<_LT_EOF |
|
|
604 |
$* |
|
|
605 |
_LT_EOF |
|
|
606 |
exit 0 |
|
|
607 |
fi |
|
|
608 |
|
|
|
609 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
|
|
610 |
# if CDPATH is set. |
|
|
611 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
|
612 |
|
|
|
613 |
if test -z "$lt_ECHO"; then |
|
|
614 |
if test "X${echo_test_string+set}" != Xset; then |
|
|
615 |
# find a string as large as possible, as long as the shell can cope with it |
|
|
616 |
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
|
|
617 |
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
|
|
618 |
if { echo_test_string=`eval $cmd`; } 2>/dev/null && |
|
|
619 |
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null |
|
|
620 |
then |
|
|
621 |
break |
|
|
622 |
fi |
|
|
623 |
done |
|
|
624 |
fi |
|
|
625 |
|
|
|
626 |
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
|
|
627 |
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
|
|
628 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
|
629 |
: |
|
|
630 |
else |
|
|
631 |
# The Solaris, AIX, and Digital Unix default echo programs unquote |
|
|
632 |
# backslashes. This makes it impossible to quote backslashes using |
|
|
633 |
# echo "$something" | sed 's/\\/\\\\/g' |
|
|
634 |
# |
|
|
635 |
# So, first we look for a working echo in the user's PATH. |
|
|
636 |
|
|
|
637 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
|
638 |
for dir in $PATH /usr/ucb; do |
|
|
639 |
IFS="$lt_save_ifs" |
|
|
640 |
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
|
|
641 |
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
|
|
642 |
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
|
|
643 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
|
644 |
ECHO="$dir/echo" |
|
|
645 |
break |
|
|
646 |
fi |
|
|
647 |
done |
|
|
648 |
IFS="$lt_save_ifs" |
|
|
649 |
|
|
|
650 |
if test "X$ECHO" = Xecho; then |
|
|
651 |
# We didn't find a better echo, so look for alternatives. |
|
|
652 |
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && |
|
|
653 |
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && |
|
|
654 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
|
655 |
# This shell has a builtin print -r that does the trick. |
|
|
656 |
ECHO='print -r' |
|
|
657 |
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && |
|
|
658 |
test "X$CONFIG_SHELL" != X/bin/ksh; then |
|
|
659 |
# If we have ksh, try running configure again with it. |
|
|
660 |
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
661 |
export ORIGINAL_CONFIG_SHELL |
|
|
662 |
CONFIG_SHELL=/bin/ksh |
|
|
663 |
export CONFIG_SHELL |
|
|
664 |
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} |
|
|
665 |
else |
|
|
666 |
# Try using printf. |
|
|
667 |
ECHO='printf %s\n' |
|
|
668 |
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
|
|
669 |
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
|
|
670 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
|
671 |
# Cool, printf works |
|
|
672 |
: |
|
|
673 |
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
|
|
674 |
test "X$echo_testing_string" = 'X\t' && |
|
|
675 |
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
|
|
676 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
|
677 |
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
|
|
678 |
export CONFIG_SHELL |
|
|
679 |
SHELL="$CONFIG_SHELL" |
|
|
680 |
export SHELL |
|
|
681 |
ECHO="$CONFIG_SHELL $0 --fallback-echo" |
|
|
682 |
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
|
|
683 |
test "X$echo_testing_string" = 'X\t' && |
|
|
684 |
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
|
|
685 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
|
686 |
ECHO="$CONFIG_SHELL $0 --fallback-echo" |
|
|
687 |
else |
|
|
688 |
# maybe with a smaller string... |
|
|
689 |
prev=: |
|
|
690 |
|
|
|
691 |
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do |
|
|
692 |
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null |
|
|
693 |
then |
|
|
694 |
break |
|
|
695 |
fi |
|
|
696 |
prev="$cmd" |
|
|
697 |
done |
|
|
698 |
|
|
|
699 |
if test "$prev" != 'sed 50q "$0"'; then |
|
|
700 |
echo_test_string=`eval $prev` |
|
|
701 |
export echo_test_string |
|
|
702 |
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} |
|
|
703 |
else |
|
|
704 |
# Oops. We lost completely, so just stick with echo. |
|
|
705 |
ECHO=echo |
|
|
706 |
fi |
|
|
707 |
fi |
|
|
708 |
fi |
|
|
709 |
fi |
|
|
710 |
fi |
|
|
711 |
fi |
|
|
712 |
|
|
|
713 |
# Copy echo and quote the copy suitably for passing to libtool from |
|
|
714 |
# the Makefile, instead of quoting the original, which is used later. |
|
|
715 |
lt_ECHO=$ECHO |
|
|
716 |
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then |
|
|
717 |
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
|
|
718 |
fi |
|
|
719 |
|
|
|
720 |
|
|
|
721 |
|
|
|
722 |
|
|
|
723 |
exec 7<&0 </dev/null 6>&1 |
|
|
724 |
|
|
|
725 |
# Name of the host. |
|
|
726 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
|
|
727 |
# so uname gets run too. |
|
|
728 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
|
729 |
|
|
|
730 |
# |
|
|
731 |
# Initializations. |
|
|
732 |
# |
|
|
733 |
ac_default_prefix=/usr/local |
|
|
734 |
ac_clean_files= |
|
|
735 |
ac_config_libobj_dir=. |
|
|
736 |
LIB@&t@OBJS= |
|
|
737 |
cross_compiling=no |
|
|
738 |
subdirs= |
|
|
739 |
MFLAGS= |
|
|
740 |
MAKEFLAGS= |
|
|
741 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
742 |
|
|
|
743 |
# Identity of this package. |
|
|
744 |
PACKAGE_NAME= |
|
|
745 |
PACKAGE_TARNAME= |
|
|
746 |
PACKAGE_VERSION= |
|
|
747 |
PACKAGE_STRING= |
|
|
748 |
PACKAGE_BUGREPORT= |
|
|
749 |
|
|
|
750 |
ac_unique_file="configure.in" |
|
|
751 |
# Factoring default headers for most tests. |
|
|
752 |
ac_includes_default="\ |
|
|
753 |
#include <stdio.h> |
|
|
754 |
#ifdef HAVE_SYS_TYPES_H |
|
|
755 |
# include <sys/types.h> |
|
|
756 |
#endif |
|
|
757 |
#ifdef HAVE_SYS_STAT_H |
|
|
758 |
# include <sys/stat.h> |
|
|
759 |
#endif |
|
|
760 |
#ifdef STDC_HEADERS |
|
|
761 |
# include <stdlib.h> |
|
|
762 |
# include <stddef.h> |
|
|
763 |
#else |
|
|
764 |
# ifdef HAVE_STDLIB_H |
|
|
765 |
# include <stdlib.h> |
|
|
766 |
# endif |
|
|
767 |
#endif |
|
|
768 |
#ifdef HAVE_STRING_H |
|
|
769 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
|
|
770 |
# include <memory.h> |
|
|
771 |
# endif |
|
|
772 |
# include <string.h> |
|
|
773 |
#endif |
|
|
774 |
#ifdef HAVE_STRINGS_H |
|
|
775 |
# include <strings.h> |
|
|
776 |
#endif |
|
|
777 |
#ifdef HAVE_INTTYPES_H |
|
|
778 |
# include <inttypes.h> |
|
|
779 |
#endif |
|
|
780 |
#ifdef HAVE_STDINT_H |
|
|
781 |
# include <stdint.h> |
|
|
782 |
#endif |
|
|
783 |
#ifdef HAVE_UNISTD_H |
|
|
784 |
# include <unistd.h> |
|
|
785 |
#endif" |
|
|
786 |
|
|
|
787 |
ac_subst_vars='LTLIBOBJS |
|
|
788 |
LIB@&t@OBJS |
|
|
789 |
CPP |
|
|
790 |
OTOOL64 |
|
|
791 |
OTOOL |
|
|
792 |
LIPO |
|
|
793 |
NMEDIT |
|
|
794 |
DSYMUTIL |
|
|
795 |
lt_ECHO |
|
|
796 |
RANLIB |
|
|
797 |
AR |
|
|
798 |
OBJDUMP |
|
|
799 |
LN_S |
|
|
800 |
NM |
|
|
801 |
ac_ct_DUMPBIN |
|
|
802 |
DUMPBIN |
|
|
803 |
LD |
|
|
804 |
FGREP |
|
|
805 |
EGREP |
|
|
806 |
GREP |
|
|
807 |
SED |
|
|
808 |
host_os |
|
|
809 |
host_vendor |
|
|
810 |
host_cpu |
|
|
811 |
host |
|
|
812 |
build_os |
|
|
813 |
build_vendor |
|
|
814 |
build_cpu |
|
|
815 |
build |
|
|
816 |
LIBTOOL |
|
|
817 |
am__fastdepCC_FALSE |
|
|
818 |
am__fastdepCC_TRUE |
|
|
819 |
CCDEPMODE |
|
|
820 |
AMDEPBACKSLASH |
|
|
821 |
AMDEP_FALSE |
|
|
822 |
AMDEP_TRUE |
|
|
823 |
am__quote |
|
|
824 |
am__include |
|
|
825 |
DEPDIR |
|
|
826 |
OBJEXT |
|
|
827 |
EXEEXT |
|
|
828 |
ac_ct_CC |
|
|
829 |
CPPFLAGS |
|
|
830 |
LDFLAGS |
|
|
831 |
CFLAGS |
|
|
832 |
CC |
|
|
833 |
am__untar |
|
|
834 |
am__tar |
|
|
835 |
AMTAR |
|
|
836 |
am__leading_dot |
|
|
837 |
SET_MAKE |
|
|
838 |
AWK |
|
|
839 |
mkdir_p |
|
|
840 |
MKDIR_P |
|
|
841 |
INSTALL_STRIP_PROGRAM |
|
|
842 |
STRIP |
|
|
843 |
install_sh |
|
|
844 |
MAKEINFO |
|
|
845 |
AUTOHEADER |
|
|
846 |
AUTOMAKE |
|
|
847 |
AUTOCONF |
|
|
848 |
ACLOCAL |
|
|
849 |
VERSION |
|
|
850 |
PACKAGE |
|
|
851 |
CYGPATH_W |
|
|
852 |
am__isrc |
|
|
853 |
INSTALL_DATA |
|
|
854 |
INSTALL_SCRIPT |
|
|
855 |
INSTALL_PROGRAM |
|
|
856 |
target_alias |
|
|
857 |
host_alias |
|
|
858 |
build_alias |
|
|
859 |
LIBS |
|
|
860 |
ECHO_T |
|
|
861 |
ECHO_N |
|
|
862 |
ECHO_C |
|
|
863 |
DEFS |
|
|
864 |
mandir |
|
|
865 |
localedir |
|
|
866 |
libdir |
|
|
867 |
psdir |
|
|
868 |
pdfdir |
|
|
869 |
dvidir |
|
|
870 |
htmldir |
|
|
871 |
infodir |
|
|
872 |
docdir |
|
|
873 |
oldincludedir |
|
|
874 |
includedir |
|
|
875 |
localstatedir |
|
|
876 |
sharedstatedir |
|
|
877 |
sysconfdir |
|
|
878 |
datadir |
|
|
879 |
datarootdir |
|
|
880 |
libexecdir |
|
|
881 |
sbindir |
|
|
882 |
bindir |
|
|
883 |
program_transform_name |
|
|
884 |
prefix |
|
|
885 |
exec_prefix |
|
|
886 |
PACKAGE_BUGREPORT |
|
|
887 |
PACKAGE_STRING |
|
|
888 |
PACKAGE_VERSION |
|
|
889 |
PACKAGE_TARNAME |
|
|
890 |
PACKAGE_NAME |
|
|
891 |
PATH_SEPARATOR |
|
|
892 |
SHELL' |
|
|
893 |
ac_subst_files='' |
|
|
894 |
ac_user_opts=' |
|
|
895 |
enable_option_checking |
|
|
896 |
enable_dependency_tracking |
|
|
897 |
enable_shared |
|
|
898 |
enable_static |
|
|
899 |
with_pic |
|
|
900 |
enable_fast_install |
|
|
901 |
with_gnu_ld |
|
|
902 |
enable_libtool_lock |
|
|
903 |
' |
|
|
904 |
ac_precious_vars='build_alias |
|
|
905 |
host_alias |
|
|
906 |
target_alias |
|
|
907 |
CC |
|
|
908 |
CFLAGS |
|
|
909 |
LDFLAGS |
|
|
910 |
LIBS |
|
|
911 |
CPPFLAGS |
|
|
912 |
CPP' |
|
|
913 |
|
|
|
914 |
|
|
|
915 |
# Initialize some variables set by options. |
|
|
916 |
ac_init_help= |
|
|
917 |
ac_init_version=false |
|
|
918 |
ac_unrecognized_opts= |
|
|
919 |
ac_unrecognized_sep= |
|
|
920 |
# The variables have the same names as the options, with |
|
|
921 |
# dashes changed to underlines. |
|
|
922 |
cache_file=/dev/null |
|
|
923 |
exec_prefix=NONE |
|
|
924 |
no_create= |
|
|
925 |
no_recursion= |
|
|
926 |
prefix=NONE |
|
|
927 |
program_prefix=NONE |
|
|
928 |
program_suffix=NONE |
|
|
929 |
program_transform_name=s,x,x, |
|
|
930 |
silent= |
|
|
931 |
site= |
|
|
932 |
srcdir= |
|
|
933 |
verbose= |
|
|
934 |
x_includes=NONE |
|
|
935 |
x_libraries=NONE |
|
|
936 |
|
|
|
937 |
# Installation directory options. |
|
|
938 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
|
|
939 |
# and all the variables that are supposed to be based on exec_prefix |
|
|
940 |
# by default will actually change. |
|
|
941 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
|
|
942 |
# (The list follows the same order as the GNU Coding Standards.) |
|
|
943 |
bindir='${exec_prefix}/bin' |
|
|
944 |
sbindir='${exec_prefix}/sbin' |
|
|
945 |
libexecdir='${exec_prefix}/libexec' |
|
|
946 |
datarootdir='${prefix}/share' |
|
|
947 |
datadir='${datarootdir}' |
|
|
948 |
sysconfdir='${prefix}/etc' |
|
|
949 |
sharedstatedir='${prefix}/com' |
|
|
950 |
localstatedir='${prefix}/var' |
|
|
951 |
includedir='${prefix}/include' |
|
|
952 |
oldincludedir='/usr/include' |
|
|
953 |
docdir='${datarootdir}/doc/${PACKAGE}' |
|
|
954 |
infodir='${datarootdir}/info' |
|
|
955 |
htmldir='${docdir}' |
|
|
956 |
dvidir='${docdir}' |
|
|
957 |
pdfdir='${docdir}' |
|
|
958 |
psdir='${docdir}' |
|
|
959 |
libdir='${exec_prefix}/lib' |
|
|
960 |
localedir='${datarootdir}/locale' |
|
|
961 |
mandir='${datarootdir}/man' |
|
|
962 |
|
|
|
963 |
ac_prev= |
|
|
964 |
ac_dashdash= |
|
|
965 |
for ac_option |
|
|
966 |
do |
|
|
967 |
# If the previous option needs an argument, assign it. |
|
|
968 |
if test -n "$ac_prev"; then |
|
|
969 |
eval $ac_prev=\$ac_option |
|
|
970 |
ac_prev= |
|
|
971 |
continue |
|
|
972 |
fi |
|
|
973 |
|
|
|
974 |
case $ac_option in |
|
|
975 |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
|
976 |
*) ac_optarg=yes ;; |
|
|
977 |
esac |
|
|
978 |
|
|
|
979 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
|
|
980 |
|
|
|
981 |
case $ac_dashdash$ac_option in |
|
|
982 |
--) |
|
|
983 |
ac_dashdash=yes ;; |
|
|
984 |
|
|
|
985 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
|
986 |
ac_prev=bindir ;; |
|
|
987 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
|
988 |
bindir=$ac_optarg ;; |
|
|
989 |
|
|
|
990 |
-build | --build | --buil | --bui | --bu) |
|
|
991 |
ac_prev=build_alias ;; |
|
|
992 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|
|
993 |
build_alias=$ac_optarg ;; |
|
|
994 |
|
|
|
995 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
|
996 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
|
997 |
ac_prev=cache_file ;; |
|
|
998 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
|
999 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
|
1000 |
cache_file=$ac_optarg ;; |
|
|
1001 |
|
|
|
1002 |
--config-cache | -C) |
|
|
1003 |
cache_file=config.cache ;; |
|
|
1004 |
|
|
|
1005 |
-datadir | --datadir | --datadi | --datad) |
|
|
1006 |
ac_prev=datadir ;; |
|
|
1007 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
|
|
1008 |
datadir=$ac_optarg ;; |
|
|
1009 |
|
|
|
1010 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
|
|
1011 |
| --dataroo | --dataro | --datar) |
|
|
1012 |
ac_prev=datarootdir ;; |
|
|
1013 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
|
1014 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
|
1015 |
datarootdir=$ac_optarg ;; |
|
|
1016 |
|
|
|
1017 |
-disable-* | --disable-*) |
|
|
1018 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
|
|
1019 |
# Reject names that are not valid shell variable names. |
|
|
1020 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
|
1021 |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
|
|
1022 |
{ (exit 1); exit 1; }; } |
|
|
1023 |
ac_useropt_orig=$ac_useropt |
|
|
1024 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
|
1025 |
case $ac_user_opts in |
|
|
1026 |
*" |
|
|
1027 |
"enable_$ac_useropt" |
|
|
1028 |
"*) ;; |
|
|
1029 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
|
1030 |
ac_unrecognized_sep=', ';; |
|
|
1031 |
esac |
|
|
1032 |
eval enable_$ac_useropt=no ;; |
|
|
1033 |
|
|
|
1034 |
-docdir | --docdir | --docdi | --doc | --do) |
|
|
1035 |
ac_prev=docdir ;; |
|
|
1036 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
|
1037 |
docdir=$ac_optarg ;; |
|
|
1038 |
|
|
|
1039 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
|
1040 |
ac_prev=dvidir ;; |
|
|
1041 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
|
1042 |
dvidir=$ac_optarg ;; |
|
|
1043 |
|
|
|
1044 |
-enable-* | --enable-*) |
|
|
1045 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
|
|
1046 |
# Reject names that are not valid shell variable names. |
|
|
1047 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
|
1048 |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
|
|
1049 |
{ (exit 1); exit 1; }; } |
|
|
1050 |
ac_useropt_orig=$ac_useropt |
|
|
1051 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
|
1052 |
case $ac_user_opts in |
|
|
1053 |
*" |
|
|
1054 |
"enable_$ac_useropt" |
|
|
1055 |
"*) ;; |
|
|
1056 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
|
1057 |
ac_unrecognized_sep=', ';; |
|
|
1058 |
esac |
|
|
1059 |
eval enable_$ac_useropt=\$ac_optarg ;; |
|
|
1060 |
|
|
|
1061 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
|
1062 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
|
1063 |
| --exec | --exe | --ex) |
|
|
1064 |
ac_prev=exec_prefix ;; |
|
|
1065 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
|
1066 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
|
1067 |
| --exec=* | --exe=* | --ex=*) |
|
|
1068 |
exec_prefix=$ac_optarg ;; |
|
|
1069 |
|
|
|
1070 |
-gas | --gas | --ga | --g) |
|
|
1071 |
# Obsolete; use --with-gas. |
|
|
1072 |
with_gas=yes ;; |
|
|
1073 |
|
|
|
1074 |
-help | --help | --hel | --he | -h) |
|
|
1075 |
ac_init_help=long ;; |
|
|
1076 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
|
1077 |
ac_init_help=recursive ;; |
|
|
1078 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
|
1079 |
ac_init_help=short ;; |
|
|
1080 |
|
|
|
1081 |
-host | --host | --hos | --ho) |
|
|
1082 |
ac_prev=host_alias ;; |
|
|
1083 |
-host=* | --host=* | --hos=* | --ho=*) |
|
|
1084 |
host_alias=$ac_optarg ;; |
|
|
1085 |
|
|
|
1086 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
|
|
1087 |
ac_prev=htmldir ;; |
|
|
1088 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
|
1089 |
| --ht=*) |
|
|
1090 |
htmldir=$ac_optarg ;; |
|
|
1091 |
|
|
|
1092 |
-includedir | --includedir | --includedi | --included | --include \ |
|
|
1093 |
| --includ | --inclu | --incl | --inc) |
|
|
1094 |
ac_prev=includedir ;; |
|
|
1095 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
|
1096 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
|
|
1097 |
includedir=$ac_optarg ;; |
|
|
1098 |
|
|
|
1099 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
|
|
1100 |
ac_prev=infodir ;; |
|
|
1101 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
|
1102 |
infodir=$ac_optarg ;; |
|
|
1103 |
|
|
|
1104 |
-libdir | --libdir | --libdi | --libd) |
|
|
1105 |
ac_prev=libdir ;; |
|
|
1106 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
|
1107 |
libdir=$ac_optarg ;; |
|
|
1108 |
|
|
|
1109 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
|
1110 |
| --libexe | --libex | --libe) |
|
|
1111 |
ac_prev=libexecdir ;; |
|
|
1112 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
|
1113 |
| --libexe=* | --libex=* | --libe=*) |
|
|
1114 |
libexecdir=$ac_optarg ;; |
|
|
1115 |
|
|
|
1116 |
-localedir | --localedir | --localedi | --localed | --locale) |
|
|
1117 |
ac_prev=localedir ;; |
|
|
1118 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
|
1119 |
localedir=$ac_optarg ;; |
|
|
1120 |
|
|
|
1121 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
|
|
1122 |
| --localstate | --localstat | --localsta | --localst | --locals) |
|
|
1123 |
ac_prev=localstatedir ;; |
|
|
1124 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
|
1125 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
|
|
1126 |
localstatedir=$ac_optarg ;; |
|
|
1127 |
|
|
|
1128 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
|
1129 |
ac_prev=mandir ;; |
|
|
1130 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
|
1131 |
mandir=$ac_optarg ;; |
|
|
1132 |
|
|
|
1133 |
-nfp | --nfp | --nf) |
|
|
1134 |
# Obsolete; use --without-fp. |
|
|
1135 |
with_fp=no ;; |
|
|
1136 |
|
|
|
1137 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
|
1138 |
| --no-cr | --no-c | -n) |
|
|
1139 |
no_create=yes ;; |
|
|
1140 |
|
|
|
1141 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
|
1142 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
|
1143 |
no_recursion=yes ;; |
|
|
1144 |
|
|
|
1145 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
|
1146 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
|
1147 |
| --oldin | --oldi | --old | --ol | --o) |
|
|
1148 |
ac_prev=oldincludedir ;; |
|
|
1149 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
|
1150 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
|
1151 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
|
1152 |
oldincludedir=$ac_optarg ;; |
|
|
1153 |
|
|
|
1154 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
|
1155 |
ac_prev=prefix ;; |
|
|
1156 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
|
1157 |
prefix=$ac_optarg ;; |
|
|
1158 |
|
|
|
1159 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
|
1160 |
| --program-pre | --program-pr | --program-p) |
|
|
1161 |
ac_prev=program_prefix ;; |
|
|
1162 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
|
1163 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
|
1164 |
program_prefix=$ac_optarg ;; |
|
|
1165 |
|
|
|
1166 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
|
1167 |
| --program-suf | --program-su | --program-s) |
|
|
1168 |
ac_prev=program_suffix ;; |
|
|
1169 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
|
1170 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
|
1171 |
program_suffix=$ac_optarg ;; |
|
|
1172 |
|
|
|
1173 |
-program-transform-name | --program-transform-name \ |
|
|
1174 |
| --program-transform-nam | --program-transform-na \ |
|
|
1175 |
| --program-transform-n | --program-transform- \ |
|
|
1176 |
| --program-transform | --program-transfor \ |
|
|
1177 |
| --program-transfo | --program-transf \ |
|
|
1178 |
| --program-trans | --program-tran \ |
|
|
1179 |
| --progr-tra | --program-tr | --program-t) |
|
|
1180 |
ac_prev=program_transform_name ;; |
|
|
1181 |
-program-transform-name=* | --program-transform-name=* \ |
|
|
1182 |
| --program-transform-nam=* | --program-transform-na=* \ |
|
|
1183 |
| --program-transform-n=* | --program-transform-=* \ |
|
|
1184 |
| --program-transform=* | --program-transfor=* \ |
|
|
1185 |
| --program-transfo=* | --program-transf=* \ |
|
|
1186 |
| --program-trans=* | --program-tran=* \ |
|
|
1187 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
|
|
1188 |
program_transform_name=$ac_optarg ;; |
|
|
1189 |
|
|
|
1190 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
|
|
1191 |
ac_prev=pdfdir ;; |
|
|
1192 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
|
1193 |
pdfdir=$ac_optarg ;; |
|
|
1194 |
|
|
|
1195 |
-psdir | --psdir | --psdi | --psd | --ps) |
|
|
1196 |
ac_prev=psdir ;; |
|
|
1197 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
|
1198 |
psdir=$ac_optarg ;; |
|
|
1199 |
|
|
|
1200 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
|
1201 |
| -silent | --silent | --silen | --sile | --sil) |
|
|
1202 |
silent=yes ;; |
|
|
1203 |
|
|
|
1204 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
|
1205 |
ac_prev=sbindir ;; |
|
|
1206 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
|
1207 |
| --sbi=* | --sb=*) |
|
|
1208 |
sbindir=$ac_optarg ;; |
|
|
1209 |
|
|
|
1210 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
|
1211 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
|
1212 |
| --sharedst | --shareds | --shared | --share | --shar \ |
|
|
1213 |
| --sha | --sh) |
|
|
1214 |
ac_prev=sharedstatedir ;; |
|
|
1215 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
|
1216 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
|
1217 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
|
1218 |
| --sha=* | --sh=*) |
|
|
1219 |
sharedstatedir=$ac_optarg ;; |
|
|
1220 |
|
|
|
1221 |
-site | --site | --sit) |
|
|
1222 |
ac_prev=site ;; |
|
|
1223 |
-site=* | --site=* | --sit=*) |
|
|
1224 |
site=$ac_optarg ;; |
|
|
1225 |
|
|
|
1226 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
|
1227 |
ac_prev=srcdir ;; |
|
|
1228 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
|
1229 |
srcdir=$ac_optarg ;; |
|
|
1230 |
|
|
|
1231 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
|
1232 |
| --syscon | --sysco | --sysc | --sys | --sy) |
|
|
1233 |
ac_prev=sysconfdir ;; |
|
|
1234 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
|
1235 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
|
1236 |
sysconfdir=$ac_optarg ;; |
|
|
1237 |
|
|
|
1238 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
|
|
1239 |
ac_prev=target_alias ;; |
|
|
1240 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|
|
1241 |
target_alias=$ac_optarg ;; |
|
|
1242 |
|
|
|
1243 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
|
1244 |
verbose=yes ;; |
|
|
1245 |
|
|
|
1246 |
-version | --version | --versio | --versi | --vers | -V) |
|
|
1247 |
ac_init_version=: ;; |
|
|
1248 |
|
|
|
1249 |
-with-* | --with-*) |
|
|
1250 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
|
|
1251 |
# Reject names that are not valid shell variable names. |
|
|
1252 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
|
1253 |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
|
|
1254 |
{ (exit 1); exit 1; }; } |
|
|
1255 |
ac_useropt_orig=$ac_useropt |
|
|
1256 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
|
1257 |
case $ac_user_opts in |
|
|
1258 |
*" |
|
|
1259 |
"with_$ac_useropt" |
|
|
1260 |
"*) ;; |
|
|
1261 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
|
1262 |
ac_unrecognized_sep=', ';; |
|
|
1263 |
esac |
|
|
1264 |
eval with_$ac_useropt=\$ac_optarg ;; |
|
|
1265 |
|
|
|
1266 |
-without-* | --without-*) |
|
|
1267 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
|
|
1268 |
# Reject names that are not valid shell variable names. |
|
|
1269 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
|
1270 |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
|
|
1271 |
{ (exit 1); exit 1; }; } |
|
|
1272 |
ac_useropt_orig=$ac_useropt |
|
|
1273 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
|
1274 |
case $ac_user_opts in |
|
|
1275 |
*" |
|
|
1276 |
"with_$ac_useropt" |
|
|
1277 |
"*) ;; |
|
|
1278 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
|
1279 |
ac_unrecognized_sep=', ';; |
|
|
1280 |
esac |
|
|
1281 |
eval with_$ac_useropt=no ;; |
|
|
1282 |
|
|
|
1283 |
--x) |
|
|
1284 |
# Obsolete; use --with-x. |
|
|
1285 |
with_x=yes ;; |
|
|
1286 |
|
|
|
1287 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
|
1288 |
| --x-incl | --x-inc | --x-in | --x-i) |
|
|
1289 |
ac_prev=x_includes ;; |
|
|
1290 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
|
1291 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
|
1292 |
x_includes=$ac_optarg ;; |
|
|
1293 |
|
|
|
1294 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
|
1295 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
|
1296 |
ac_prev=x_libraries ;; |
|
|
1297 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
|
1298 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
|
1299 |
x_libraries=$ac_optarg ;; |
|
|
1300 |
|
|
|
1301 |
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
|
|
1302 |
Try \`$0 --help' for more information." >&2 |
|
|
1303 |
{ (exit 1); exit 1; }; } |
|
|
1304 |
;; |
|
|
1305 |
|
|
|
1306 |
*=*) |
|
|
1307 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
|
1308 |
# Reject names that are not valid shell variable names. |
|
|
1309 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
|
|
1310 |
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
|
|
1311 |
{ (exit 1); exit 1; }; } |
|
|
1312 |
eval $ac_envvar=\$ac_optarg |
|
|
1313 |
export $ac_envvar ;; |
|
|
1314 |
|
|
|
1315 |
*) |
|
|
1316 |
# FIXME: should be removed in autoconf 3.0. |
|
|
1317 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
|
|
1318 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|
|
1319 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
|
|
1320 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
|
|
1321 |
;; |
|
|
1322 |
|
|
|
1323 |
esac |
|
|
1324 |
done |
|
|
1325 |
|
|
|
1326 |
if test -n "$ac_prev"; then |
|
|
1327 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|
|
1328 |
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
|
|
1329 |
{ (exit 1); exit 1; }; } |
|
|
1330 |
fi |
|
|
1331 |
|
|
|
1332 |
if test -n "$ac_unrecognized_opts"; then |
|
|
1333 |
case $enable_option_checking in |
|
|
1334 |
no) ;; |
|
|
1335 |
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 |
|
|
1336 |
{ (exit 1); exit 1; }; } ;; |
|
|
1337 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
|
|
1338 |
esac |
|
|
1339 |
fi |
|
|
1340 |
|
|
|
1341 |
# Check all directory arguments for consistency. |
|
|
1342 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
|
|
1343 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
|
|
1344 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
|
|
1345 |
libdir localedir mandir |
|
|
1346 |
do |
|
|
1347 |
eval ac_val=\$$ac_var |
|
|
1348 |
# Remove trailing slashes. |
|
|
1349 |
case $ac_val in |
|
|
1350 |
*/ ) |
|
|
1351 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
|
1352 |
eval $ac_var=\$ac_val;; |
|
|
1353 |
esac |
|
|
1354 |
# Be sure to have absolute directory names. |
|
|
1355 |
case $ac_val in |
|
|
1356 |
[\\/$]* | ?:[\\/]* ) continue;; |
|
|
1357 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|
|
1358 |
esac |
|
|
1359 |
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
|
|
1360 |
{ (exit 1); exit 1; }; } |
|
|
1361 |
done |
|
|
1362 |
|
|
|
1363 |
# There might be people who depend on the old broken behavior: `$host' |
|
|
1364 |
# used to hold the argument of --host etc. |
|
|
1365 |
# FIXME: To remove some day. |
|
|
1366 |
build=$build_alias |
|
|
1367 |
host=$host_alias |
|
|
1368 |
target=$target_alias |
|
|
1369 |
|
|
|
1370 |
# FIXME: To remove some day. |
|
|
1371 |
if test "x$host_alias" != x; then |
|
|
1372 |
if test "x$build_alias" = x; then |
|
|
1373 |
cross_compiling=maybe |
|
|
1374 |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
|
|
1375 |
If a cross compiler is detected then cross compile mode will be used." >&2 |
|
|
1376 |
elif test "x$build_alias" != "x$host_alias"; then |
|
|
1377 |
cross_compiling=yes |
|
|
1378 |
fi |
|
|
1379 |
fi |
|
|
1380 |
|
|
|
1381 |
ac_tool_prefix= |
|
|
1382 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
|
1383 |
|
|
|
1384 |
test "$silent" = yes && exec 6>/dev/null |
|
|
1385 |
|
|
|
1386 |
|
|
|
1387 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
|
|
1388 |
ac_ls_di=`ls -di .` && |
|
|
1389 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
|
1390 |
{ $as_echo "$as_me: error: working directory cannot be determined" >&2 |
|
|
1391 |
{ (exit 1); exit 1; }; } |
|
|
1392 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|
|
1393 |
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
|
|
1394 |
{ (exit 1); exit 1; }; } |
|
|
1395 |
|
|
|
1396 |
|
|
|
1397 |
# Find the source files, if location was not specified. |
|
|
1398 |
if test -z "$srcdir"; then |
|
|
1399 |
ac_srcdir_defaulted=yes |
|
|
1400 |
# Try the directory containing this script, then the parent directory. |
|
|
1401 |
ac_confdir=`$as_dirname -- "$as_myself" || |
|
|
1402 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
1403 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
|
|
1404 |
X"$as_myself" : 'X\(//\)$' \| \ |
|
|
1405 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
|
|
1406 |
$as_echo X"$as_myself" | |
|
|
1407 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
1408 |
s//\1/ |
|
|
1409 |
q |
|
|
1410 |
} |
|
|
1411 |
/^X\(\/\/\)[^/].*/{ |
|
|
1412 |
s//\1/ |
|
|
1413 |
q |
|
|
1414 |
} |
|
|
1415 |
/^X\(\/\/\)$/{ |
|
|
1416 |
s//\1/ |
|
|
1417 |
q |
|
|
1418 |
} |
|
|
1419 |
/^X\(\/\).*/{ |
|
|
1420 |
s//\1/ |
|
|
1421 |
q |
|
|
1422 |
} |
|
|
1423 |
s/.*/./; q'` |
|
|
1424 |
srcdir=$ac_confdir |
|
|
1425 |
if test ! -r "$srcdir/$ac_unique_file"; then |
|
|
1426 |
srcdir=.. |
|
|
1427 |
fi |
|
|
1428 |
else |
|
|
1429 |
ac_srcdir_defaulted=no |
|
|
1430 |
fi |
|
|
1431 |
if test ! -r "$srcdir/$ac_unique_file"; then |
|
|
1432 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|
|
1433 |
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
|
|
1434 |
{ (exit 1); exit 1; }; } |
|
|
1435 |
fi |
|
|
1436 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
|
1437 |
ac_abs_confdir=`( |
|
|
1438 |
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
|
|
1439 |
{ (exit 1); exit 1; }; } |
|
|
1440 |
pwd)` |
|
|
1441 |
# When building in place, set srcdir=. |
|
|
1442 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
|
1443 |
srcdir=. |
|
|
1444 |
fi |
|
|
1445 |
# Remove unnecessary trailing slashes from srcdir. |
|
|
1446 |
# Double slashes in file names in object file debugging info |
|
|
1447 |
# mess up M-x gdb in Emacs. |
|
|
1448 |
case $srcdir in |
|
|
1449 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|
|
1450 |
esac |
|
|
1451 |
for ac_var in $ac_precious_vars; do |
|
|
1452 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|
|
1453 |
eval ac_env_${ac_var}_value=\$${ac_var} |
|
|
1454 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|
|
1455 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|
|
1456 |
done |
|
|
1457 |
|
|
|
1458 |
# |
|
|
1459 |
# Report the --help message. |
|
|
1460 |
# |
|
|
1461 |
if test "$ac_init_help" = "long"; then |
|
|
1462 |
# Omit some internal or obsolete options to make the list less imposing. |
|
|
1463 |
# This message is too long to be a string in the A/UX 3.1 sh. |
|
|
1464 |
cat <<_ACEOF |
|
|
1465 |
\`configure' configures this package to adapt to many kinds of systems. |
|
|
1466 |
|
|
|
1467 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
1468 |
|
|
|
1469 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|
|
1470 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
|
|
1471 |
|
|
|
1472 |
Defaults for the options are specified in brackets. |
|
|
1473 |
|
|
|
1474 |
Configuration: |
|
|
1475 |
-h, --help display this help and exit |
|
|
1476 |
--help=short display options specific to this package |
|
|
1477 |
--help=recursive display the short help of all the included packages |
|
|
1478 |
-V, --version display version information and exit |
|
|
1479 |
-q, --quiet, --silent do not print \`checking...' messages |
|
|
1480 |
--cache-file=FILE cache test results in FILE [disabled] |
|
|
1481 |
-C, --config-cache alias for \`--cache-file=config.cache' |
|
|
1482 |
-n, --no-create do not create output files |
|
|
1483 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|
|
1484 |
|
|
|
1485 |
Installation directories: |
|
|
1486 |
--prefix=PREFIX install architecture-independent files in PREFIX |
|
|
1487 |
[$ac_default_prefix] |
|
|
1488 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
|
1489 |
[PREFIX] |
|
|
1490 |
|
|
|
1491 |
By default, \`make install' will install all the files in |
|
|
1492 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|
|
1493 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|
|
1494 |
for instance \`--prefix=\$HOME'. |
|
|
1495 |
|
|
|
1496 |
For better control, use the options below. |
|
|
1497 |
|
|
|
1498 |
Fine tuning of the installation directories: |
|
|
1499 |
--bindir=DIR user executables [EPREFIX/bin] |
|
|
1500 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
|
|
1501 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
|
|
1502 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|
|
1503 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|
|
1504 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
|
1505 |
--libdir=DIR object code libraries [EPREFIX/lib] |
|
|
1506 |
--includedir=DIR C header files [PREFIX/include] |
|
|
1507 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
|
1508 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
|
|
1509 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
|
|
1510 |
--infodir=DIR info documentation [DATAROOTDIR/info] |
|
|
1511 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
|
|
1512 |
--mandir=DIR man documentation [DATAROOTDIR/man] |
|
|
1513 |
--docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@ |
|
|
1514 |
--htmldir=DIR html documentation [DOCDIR] |
|
|
1515 |
--dvidir=DIR dvi documentation [DOCDIR] |
|
|
1516 |
--pdfdir=DIR pdf documentation [DOCDIR] |
|
|
1517 |
--psdir=DIR ps documentation [DOCDIR] |
|
|
1518 |
_ACEOF |
|
|
1519 |
|
|
|
1520 |
cat <<\_ACEOF |
|
|
1521 |
|
|
|
1522 |
Program names: |
|
|
1523 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
|
|
1524 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
|
|
1525 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|
|
1526 |
|
|
|
1527 |
System types: |
|
|
1528 |
--build=BUILD configure for building on BUILD [guessed] |
|
|
1529 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
|
|
1530 |
_ACEOF |
|
|
1531 |
fi |
|
|
1532 |
|
|
|
1533 |
if test -n "$ac_init_help"; then |
|
|
1534 |
|
|
|
1535 |
cat <<\_ACEOF |
|
|
1536 |
|
|
|
1537 |
Optional Features: |
|
|
1538 |
--disable-option-checking ignore unrecognized --enable/--with options |
|
|
1539 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
|
1540 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
|
1541 |
--disable-dependency-tracking speeds up one-time build |
|
|
1542 |
--enable-dependency-tracking do not reject slow dependency extractors |
|
|
1543 |
--enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@ |
|
|
1544 |
--enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@ |
|
|
1545 |
--enable-fast-install@<:@=PKGS@:>@ |
|
|
1546 |
optimize for fast installation @<:@default=yes@:>@ |
|
|
1547 |
--disable-libtool-lock avoid locking (might break parallel builds) |
|
|
1548 |
|
|
|
1549 |
Optional Packages: |
|
|
1550 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
|
1551 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
|
1552 |
--with-pic try to use only PIC/non-PIC objects @<:@default=use |
|
|
1553 |
both@:>@ |
|
|
1554 |
--with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@ |
|
|
1555 |
|
|
|
1556 |
Some influential environment variables: |
|
|
1557 |
CC C compiler command |
|
|
1558 |
CFLAGS C compiler flags |
|
|
1559 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
|
|
1560 |
nonstandard directory <lib dir> |
|
|
1561 |
LIBS libraries to pass to the linker, e.g. -l<library> |
|
|
1562 |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
|
|
1563 |
you have headers in a nonstandard directory <include dir> |
|
|
1564 |
CPP C preprocessor |
|
|
1565 |
|
|
|
1566 |
Use these variables to override the choices made by `configure' or to help |
|
|
1567 |
it to find libraries and programs with nonstandard names/locations. |
|
|
1568 |
|
|
|
1569 |
_ACEOF |
|
|
1570 |
ac_status=$? |
|
|
1571 |
fi |
|
|
1572 |
|
|
|
1573 |
if test "$ac_init_help" = "recursive"; then |
|
|
1574 |
# If there are subdirs, report their specific --help. |
|
|
1575 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
|
1576 |
test -d "$ac_dir" || |
|
|
1577 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
|
1578 |
continue |
|
|
1579 |
ac_builddir=. |
|
|
1580 |
|
|
|
1581 |
case "$ac_dir" in |
|
|
1582 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
|
1583 |
*) |
|
|
1584 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
|
1585 |
# A ".." for each directory in $ac_dir_suffix. |
|
|
1586 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
|
1587 |
case $ac_top_builddir_sub in |
|
|
1588 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
|
1589 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
|
1590 |
esac ;; |
|
|
1591 |
esac |
|
|
1592 |
ac_abs_top_builddir=$ac_pwd |
|
|
1593 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
|
1594 |
# for backward compatibility: |
|
|
1595 |
ac_top_builddir=$ac_top_build_prefix |
|
|
1596 |
|
|
|
1597 |
case $srcdir in |
|
|
1598 |
.) # We are building in place. |
|
|
1599 |
ac_srcdir=. |
|
|
1600 |
ac_top_srcdir=$ac_top_builddir_sub |
|
|
1601 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
|
1602 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
|
1603 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
|
1604 |
ac_top_srcdir=$srcdir |
|
|
1605 |
ac_abs_top_srcdir=$srcdir ;; |
|
|
1606 |
*) # Relative name. |
|
|
1607 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
|
1608 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
|
1609 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
|
1610 |
esac |
|
|
1611 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
|
1612 |
|
|
|
1613 |
cd "$ac_dir" || { ac_status=$?; continue; } |
|
|
1614 |
# Check for guested configure. |
|
|
1615 |
if test -f "$ac_srcdir/configure.gnu"; then |
|
|
1616 |
echo && |
|
|
1617 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|
|
1618 |
elif test -f "$ac_srcdir/configure"; then |
|
|
1619 |
echo && |
|
|
1620 |
$SHELL "$ac_srcdir/configure" --help=recursive |
|
|
1621 |
else |
|
|
1622 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
|
|
1623 |
fi || ac_status=$? |
|
|
1624 |
cd "$ac_pwd" || { ac_status=$?; break; } |
|
|
1625 |
done |
|
|
1626 |
fi |
|
|
1627 |
|
|
|
1628 |
test -n "$ac_init_help" && exit $ac_status |
|
|
1629 |
if $ac_init_version; then |
|
|
1630 |
cat <<\_ACEOF |
|
|
1631 |
configure |
|
|
1632 |
generated by GNU Autoconf 2.63 |
|
|
1633 |
|
|
|
1634 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|
|
1635 |
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
|
|
1636 |
This configure script is free software; the Free Software Foundation |
|
|
1637 |
gives unlimited permission to copy, distribute and modify it. |
|
|
1638 |
_ACEOF |
|
|
1639 |
exit |
|
|
1640 |
fi |
|
|
1641 |
cat >config.log <<_ACEOF |
|
|
1642 |
This file contains any messages produced by compilers while |
|
|
1643 |
running configure, to aid debugging if configure makes a mistake. |
|
|
1644 |
|
|
|
1645 |
It was created by $as_me, which was |
|
|
1646 |
generated by GNU Autoconf 2.63. Invocation command line was |
|
|
1647 |
|
|
|
1648 |
$ $0 $@ |
|
|
1649 |
|
|
|
1650 |
_ACEOF |
|
|
1651 |
exec 5>>config.log |
|
|
1652 |
{ |
|
|
1653 |
cat <<_ASUNAME |
|
|
1654 |
@%:@@%:@ --------- @%:@@%:@ |
|
|
1655 |
@%:@@%:@ Platform. @%:@@%:@ |
|
|
1656 |
@%:@@%:@ --------- @%:@@%:@ |
|
|
1657 |
|
|
|
1658 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
|
1659 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
|
1660 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|
|
1661 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|
|
1662 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|
|
1663 |
|
|
|
1664 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|
|
1665 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|
|
1666 |
|
|
|
1667 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|
|
1668 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|
|
1669 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|
|
1670 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
|
|
1671 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
|
|
1672 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|
|
1673 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
|
1674 |
|
|
|
1675 |
_ASUNAME |
|
|
1676 |
|
|
|
1677 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
1678 |
for as_dir in $PATH |
|
|
1679 |
do |
|
|
1680 |
IFS=$as_save_IFS |
|
|
1681 |
test -z "$as_dir" && as_dir=. |
|
|
1682 |
$as_echo "PATH: $as_dir" |
|
|
1683 |
done |
|
|
1684 |
IFS=$as_save_IFS |
|
|
1685 |
|
|
|
1686 |
} >&5 |
|
|
1687 |
|
|
|
1688 |
cat >&5 <<_ACEOF |
|
|
1689 |
|
|
|
1690 |
|
|
|
1691 |
@%:@@%:@ ----------- @%:@@%:@ |
|
|
1692 |
@%:@@%:@ Core tests. @%:@@%:@ |
|
|
1693 |
@%:@@%:@ ----------- @%:@@%:@ |
|
|
1694 |
|
|
|
1695 |
_ACEOF |
|
|
1696 |
|
|
|
1697 |
|
|
|
1698 |
# Keep a trace of the command line. |
|
|
1699 |
# Strip out --no-create and --no-recursion so they do not pile up. |
|
|
1700 |
# Strip out --silent because we don't want to record it for future runs. |
|
|
1701 |
# Also quote any args containing shell meta-characters. |
|
|
1702 |
# Make two passes to allow for proper duplicate-argument suppression. |
|
|
1703 |
ac_configure_args= |
|
|
1704 |
ac_configure_args0= |
|
|
1705 |
ac_configure_args1= |
|
|
1706 |
ac_must_keep_next=false |
|
|
1707 |
for ac_pass in 1 2 |
|
|
1708 |
do |
|
|
1709 |
for ac_arg |
|
|
1710 |
do |
|
|
1711 |
case $ac_arg in |
|
|
1712 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
|
1713 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
|
1714 |
| -silent | --silent | --silen | --sile | --sil) |
|
|
1715 |
continue ;; |
|
|
1716 |
*\'*) |
|
|
1717 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
|
1718 |
esac |
|
|
1719 |
case $ac_pass in |
|
|
1720 |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
|
|
1721 |
2) |
|
|
1722 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
|
|
1723 |
if test $ac_must_keep_next = true; then |
|
|
1724 |
ac_must_keep_next=false # Got value, back to normal. |
|
|
1725 |
else |
|
|
1726 |
case $ac_arg in |
|
|
1727 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
|
1728 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
|
1729 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
|
1730 |
| -with-* | --with-* | -without-* | --without-* | --x) |
|
|
1731 |
case "$ac_configure_args0 " in |
|
|
1732 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
|
1733 |
esac |
|
|
1734 |
;; |
|
|
1735 |
-* ) ac_must_keep_next=true ;; |
|
|
1736 |
esac |
|
|
1737 |
fi |
|
|
1738 |
ac_configure_args="$ac_configure_args '$ac_arg'" |
|
|
1739 |
;; |
|
|
1740 |
esac |
|
|
1741 |
done |
|
|
1742 |
done |
|
|
1743 |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
|
|
1744 |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
|
|
1745 |
|
|
|
1746 |
# When interrupted or exit'd, cleanup temporary files, and complete |
|
|
1747 |
# config.log. We remove comments because anyway the quotes in there |
|
|
1748 |
# would cause problems or look ugly. |
|
|
1749 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
|
|
1750 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
|
|
1751 |
trap 'exit_status=$? |
|
|
1752 |
# Save into config.log some information that might help in debugging. |
|
|
1753 |
{ |
|
|
1754 |
echo |
|
|
1755 |
|
|
|
1756 |
cat <<\_ASBOX |
|
|
1757 |
@%:@@%:@ ---------------- @%:@@%:@ |
|
|
1758 |
@%:@@%:@ Cache variables. @%:@@%:@ |
|
|
1759 |
@%:@@%:@ ---------------- @%:@@%:@ |
|
|
1760 |
_ASBOX |
|
|
1761 |
echo |
|
|
1762 |
# The following way of writing the cache mishandles newlines in values, |
|
|
1763 |
( |
|
|
1764 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
|
1765 |
eval ac_val=\$$ac_var |
|
|
1766 |
case $ac_val in #( |
|
|
1767 |
*${as_nl}*) |
|
|
1768 |
case $ac_var in #( |
|
|
1769 |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
|
|
1770 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
|
1771 |
esac |
|
|
1772 |
case $ac_var in #( |
|
|
1773 |
_ | IFS | as_nl) ;; #( |
|
|
1774 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
|
1775 |
*) $as_unset $ac_var ;; |
|
|
1776 |
esac ;; |
|
|
1777 |
esac |
|
|
1778 |
done |
|
|
1779 |
(set) 2>&1 | |
|
|
1780 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
|
|
1781 |
*${as_nl}ac_space=\ *) |
|
|
1782 |
sed -n \ |
|
|
1783 |
"s/'\''/'\''\\\\'\'''\''/g; |
|
|
1784 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|
|
1785 |
;; #( |
|
|
1786 |
*) |
|
|
1787 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
|
1788 |
;; |
|
|
1789 |
esac | |
|
|
1790 |
sort |
|
|
1791 |
) |
|
|
1792 |
echo |
|
|
1793 |
|
|
|
1794 |
cat <<\_ASBOX |
|
|
1795 |
@%:@@%:@ ----------------- @%:@@%:@ |
|
|
1796 |
@%:@@%:@ Output variables. @%:@@%:@ |
|
|
1797 |
@%:@@%:@ ----------------- @%:@@%:@ |
|
|
1798 |
_ASBOX |
|
|
1799 |
echo |
|
|
1800 |
for ac_var in $ac_subst_vars |
|
|
1801 |
do |
|
|
1802 |
eval ac_val=\$$ac_var |
|
|
1803 |
case $ac_val in |
|
|
1804 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
|
1805 |
esac |
|
|
1806 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
|
1807 |
done | sort |
|
|
1808 |
echo |
|
|
1809 |
|
|
|
1810 |
if test -n "$ac_subst_files"; then |
|
|
1811 |
cat <<\_ASBOX |
|
|
1812 |
@%:@@%:@ ------------------- @%:@@%:@ |
|
|
1813 |
@%:@@%:@ File substitutions. @%:@@%:@ |
|
|
1814 |
@%:@@%:@ ------------------- @%:@@%:@ |
|
|
1815 |
_ASBOX |
|
|
1816 |
echo |
|
|
1817 |
for ac_var in $ac_subst_files |
|
|
1818 |
do |
|
|
1819 |
eval ac_val=\$$ac_var |
|
|
1820 |
case $ac_val in |
|
|
1821 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
|
1822 |
esac |
|
|
1823 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
|
1824 |
done | sort |
|
|
1825 |
echo |
|
|
1826 |
fi |
|
|
1827 |
|
|
|
1828 |
if test -s confdefs.h; then |
|
|
1829 |
cat <<\_ASBOX |
|
|
1830 |
@%:@@%:@ ----------- @%:@@%:@ |
|
|
1831 |
@%:@@%:@ confdefs.h. @%:@@%:@ |
|
|
1832 |
@%:@@%:@ ----------- @%:@@%:@ |
|
|
1833 |
_ASBOX |
|
|
1834 |
echo |
|
|
1835 |
cat confdefs.h |
|
|
1836 |
echo |
|
|
1837 |
fi |
|
|
1838 |
test "$ac_signal" != 0 && |
|
|
1839 |
$as_echo "$as_me: caught signal $ac_signal" |
|
|
1840 |
$as_echo "$as_me: exit $exit_status" |
|
|
1841 |
} >&5 |
|
|
1842 |
rm -f core *.core core.conftest.* && |
|
|
1843 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
|
|
1844 |
exit $exit_status |
|
|
1845 |
' 0 |
|
|
1846 |
for ac_signal in 1 2 13 15; do |
|
|
1847 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
|
|
1848 |
done |
|
|
1849 |
ac_signal=0 |
|
|
1850 |
|
|
|
1851 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
|
1852 |
rm -f -r conftest* confdefs.h |
|
|
1853 |
|
|
|
1854 |
# Predefined preprocessor variables. |
|
|
1855 |
|
|
|
1856 |
cat >>confdefs.h <<_ACEOF |
|
|
1857 |
@%:@define PACKAGE_NAME "$PACKAGE_NAME" |
|
|
1858 |
_ACEOF |
|
|
1859 |
|
|
|
1860 |
|
|
|
1861 |
cat >>confdefs.h <<_ACEOF |
|
|
1862 |
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
|
1863 |
_ACEOF |
|
|
1864 |
|
|
|
1865 |
|
|
|
1866 |
cat >>confdefs.h <<_ACEOF |
|
|
1867 |
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
|
1868 |
_ACEOF |
|
|
1869 |
|
|
|
1870 |
|
|
|
1871 |
cat >>confdefs.h <<_ACEOF |
|
|
1872 |
@%:@define PACKAGE_STRING "$PACKAGE_STRING" |
|
|
1873 |
_ACEOF |
|
|
1874 |
|
|
|
1875 |
|
|
|
1876 |
cat >>confdefs.h <<_ACEOF |
|
|
1877 |
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
|
1878 |
_ACEOF |
|
|
1879 |
|
|
|
1880 |
|
|
|
1881 |
# Let the site file select an alternate cache file if it wants to. |
|
|
1882 |
# Prefer an explicitly selected file to automatically selected ones. |
|
|
1883 |
ac_site_file1=NONE |
|
|
1884 |
ac_site_file2=NONE |
|
|
1885 |
if test -n "$CONFIG_SITE"; then |
|
|
1886 |
ac_site_file1=$CONFIG_SITE |
|
|
1887 |
elif test "x$prefix" != xNONE; then |
|
|
1888 |
ac_site_file1=$prefix/share/config.site |
|
|
1889 |
ac_site_file2=$prefix/etc/config.site |
|
|
1890 |
else |
|
|
1891 |
ac_site_file1=$ac_default_prefix/share/config.site |
|
|
1892 |
ac_site_file2=$ac_default_prefix/etc/config.site |
|
|
1893 |
fi |
|
|
1894 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
|
|
1895 |
do |
|
|
1896 |
test "x$ac_site_file" = xNONE && continue |
|
|
1897 |
if test -r "$ac_site_file"; then |
|
|
1898 |
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
|
|
1899 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
|
|
1900 |
sed 's/^/| /' "$ac_site_file" >&5 |
|
|
1901 |
. "$ac_site_file" |
|
|
1902 |
fi |
|
|
1903 |
done |
|
|
1904 |
|
|
|
1905 |
if test -r "$cache_file"; then |
|
|
1906 |
# Some versions of bash will fail to source /dev/null (special |
|
|
1907 |
# files actually), so we avoid doing that. |
|
|
1908 |
if test -f "$cache_file"; then |
|
|
1909 |
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
|
|
1910 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
|
|
1911 |
case $cache_file in |
|
|
1912 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
|
|
1913 |
*) . "./$cache_file";; |
|
|
1914 |
esac |
|
|
1915 |
fi |
|
|
1916 |
else |
|
|
1917 |
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
|
|
1918 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
|
|
1919 |
>$cache_file |
|
|
1920 |
fi |
|
|
1921 |
|
|
|
1922 |
# Check that the precious variables saved in the cache have kept the same |
|
|
1923 |
# value. |
|
|
1924 |
ac_cache_corrupted=false |
|
|
1925 |
for ac_var in $ac_precious_vars; do |
|
|
1926 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
|
|
1927 |
eval ac_new_set=\$ac_env_${ac_var}_set |
|
|
1928 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
|
|
1929 |
eval ac_new_val=\$ac_env_${ac_var}_value |
|
|
1930 |
case $ac_old_set,$ac_new_set in |
|
|
1931 |
set,) |
|
|
1932 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
|
|
1933 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
|
1934 |
ac_cache_corrupted=: ;; |
|
|
1935 |
,set) |
|
|
1936 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
|
|
1937 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
|
1938 |
ac_cache_corrupted=: ;; |
|
|
1939 |
,);; |
|
|
1940 |
*) |
|
|
1941 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
|
|
1942 |
# differences in whitespace do not lead to failure. |
|
|
1943 |
ac_old_val_w=`echo x $ac_old_val` |
|
|
1944 |
ac_new_val_w=`echo x $ac_new_val` |
|
|
1945 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
|
|
1946 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
|
|
1947 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|
|
1948 |
ac_cache_corrupted=: |
|
|
1949 |
else |
|
|
1950 |
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
|
|
1951 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
|
|
1952 |
eval $ac_var=\$ac_old_val |
|
|
1953 |
fi |
|
|
1954 |
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
|
|
1955 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
|
|
1956 |
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
|
|
1957 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
|
|
1958 |
fi;; |
|
|
1959 |
esac |
|
|
1960 |
# Pass precious variables to config.status. |
|
|
1961 |
if test "$ac_new_set" = set; then |
|
|
1962 |
case $ac_new_val in |
|
|
1963 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
|
1964 |
*) ac_arg=$ac_var=$ac_new_val ;; |
|
|
1965 |
esac |
|
|
1966 |
case " $ac_configure_args " in |
|
|
1967 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
|
1968 |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|
|
1969 |
esac |
|
|
1970 |
fi |
|
|
1971 |
done |
|
|
1972 |
if $ac_cache_corrupted; then |
|
|
1973 |
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
|
|
1974 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
1975 |
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
|
|
1976 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
|
1977 |
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
|
|
1978 |
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
|
|
1979 |
{ (exit 1); exit 1; }; } |
|
|
1980 |
fi |
|
|
1981 |
|
|
|
1982 |
|
|
|
1983 |
|
|
|
1984 |
|
|
|
1985 |
|
|
|
1986 |
|
|
|
1987 |
|
|
|
1988 |
|
|
|
1989 |
|
|
|
1990 |
|
|
|
1991 |
|
|
|
1992 |
|
|
|
1993 |
|
|
|
1994 |
|
|
|
1995 |
|
|
|
1996 |
|
|
|
1997 |
|
|
|
1998 |
ac_ext=c |
|
|
1999 |
ac_cpp='$CPP $CPPFLAGS' |
|
|
2000 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
2001 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
2002 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
2003 |
|
|
|
2004 |
|
|
|
2005 |
|
|
|
2006 |
ac_config_headers="$ac_config_headers config.h" |
|
|
2007 |
|
|
|
2008 |
am__api_version='1.10' |
|
|
2009 |
|
|
|
2010 |
ac_aux_dir= |
|
|
2011 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
|
|
2012 |
if test -f "$ac_dir/install-sh"; then |
|
|
2013 |
ac_aux_dir=$ac_dir |
|
|
2014 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
|
2015 |
break |
|
|
2016 |
elif test -f "$ac_dir/install.sh"; then |
|
|
2017 |
ac_aux_dir=$ac_dir |
|
|
2018 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
|
2019 |
break |
|
|
2020 |
elif test -f "$ac_dir/shtool"; then |
|
|
2021 |
ac_aux_dir=$ac_dir |
|
|
2022 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
|
2023 |
break |
|
|
2024 |
fi |
|
|
2025 |
done |
|
|
2026 |
if test -z "$ac_aux_dir"; then |
|
|
2027 |
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
|
|
2028 |
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
|
|
2029 |
{ (exit 1); exit 1; }; } |
|
|
2030 |
fi |
|
|
2031 |
|
|
|
2032 |
# These three variables are undocumented and unsupported, |
|
|
2033 |
# and are intended to be withdrawn in a future Autoconf release. |
|
|
2034 |
# They can cause serious problems if a builder's source tree is in a directory |
|
|
2035 |
# whose full name contains unusual characters. |
|
|
2036 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
|
2037 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
|
2038 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
|
2039 |
|
|
|
2040 |
|
|
|
2041 |
# Find a good install program. We prefer a C program (faster), |
|
|
2042 |
# so one script is as good as another. But avoid the broken or |
|
|
2043 |
# incompatible versions: |
|
|
2044 |
# SysV /etc/install, /usr/sbin/install |
|
|
2045 |
# SunOS /usr/etc/install |
|
|
2046 |
# IRIX /sbin/install |
|
|
2047 |
# AIX /bin/install |
|
|
2048 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
|
|
2049 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
|
2050 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
|
2051 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
|
2052 |
# OS/2's system install, which has a completely different semantic |
|
|
2053 |
# ./install, which can be erroneously created by make from ./install.sh. |
|
|
2054 |
# Reject install programs that cannot install multiple files. |
|
|
2055 |
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
|
|
2056 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
|
|
2057 |
if test -z "$INSTALL"; then |
|
|
2058 |
if test "${ac_cv_path_install+set}" = set; then |
|
|
2059 |
$as_echo_n "(cached) " >&6 |
|
|
2060 |
else |
|
|
2061 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2062 |
for as_dir in $PATH |
|
|
2063 |
do |
|
|
2064 |
IFS=$as_save_IFS |
|
|
2065 |
test -z "$as_dir" && as_dir=. |
|
|
2066 |
# Account for people who put trailing slashes in PATH elements. |
|
|
2067 |
case $as_dir/ in |
|
|
2068 |
./ | .// | /cC/* | \ |
|
|
2069 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
|
2070 |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
|
|
2071 |
/usr/ucb/* ) ;; |
|
|
2072 |
*) |
|
|
2073 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
|
|
2074 |
# Don't use installbsd from OSF since it installs stuff as root |
|
|
2075 |
# by default. |
|
|
2076 |
for ac_prog in ginstall scoinst install; do |
|
|
2077 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2078 |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
|
|
2079 |
if test $ac_prog = install && |
|
|
2080 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
|
2081 |
# AIX install. It has an incompatible calling convention. |
|
|
2082 |
: |
|
|
2083 |
elif test $ac_prog = install && |
|
|
2084 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
|
2085 |
# program-specific install script used by HP pwplus--don't use. |
|
|
2086 |
: |
|
|
2087 |
else |
|
|
2088 |
rm -rf conftest.one conftest.two conftest.dir |
|
|
2089 |
echo one > conftest.one |
|
|
2090 |
echo two > conftest.two |
|
|
2091 |
mkdir conftest.dir |
|
|
2092 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|
|
2093 |
test -s conftest.one && test -s conftest.two && |
|
|
2094 |
test -s conftest.dir/conftest.one && |
|
|
2095 |
test -s conftest.dir/conftest.two |
|
|
2096 |
then |
|
|
2097 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
|
2098 |
break 3 |
|
|
2099 |
fi |
|
|
2100 |
fi |
|
|
2101 |
fi |
|
|
2102 |
done |
|
|
2103 |
done |
|
|
2104 |
;; |
|
|
2105 |
esac |
|
|
2106 |
|
|
|
2107 |
done |
|
|
2108 |
IFS=$as_save_IFS |
|
|
2109 |
|
|
|
2110 |
rm -rf conftest.one conftest.two conftest.dir |
|
|
2111 |
|
|
|
2112 |
fi |
|
|
2113 |
if test "${ac_cv_path_install+set}" = set; then |
|
|
2114 |
INSTALL=$ac_cv_path_install |
|
|
2115 |
else |
|
|
2116 |
# As a last resort, use the slow shell script. Don't cache a |
|
|
2117 |
# value for INSTALL within a source directory, because that will |
|
|
2118 |
# break other packages using the cache if that directory is |
|
|
2119 |
# removed, or if the value is a relative name. |
|
|
2120 |
INSTALL=$ac_install_sh |
|
|
2121 |
fi |
|
|
2122 |
fi |
|
|
2123 |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
|
|
2124 |
$as_echo "$INSTALL" >&6; } |
|
|
2125 |
|
|
|
2126 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
|
2127 |
# It thinks the first close brace ends the variable substitution. |
|
|
2128 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
|
2129 |
|
|
|
2130 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
|
2131 |
|
|
|
2132 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
|
2133 |
|
|
|
2134 |
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
|
|
2135 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
|
|
2136 |
# Just in case |
|
|
2137 |
sleep 1 |
|
|
2138 |
echo timestamp > conftest.file |
|
|
2139 |
# Do `set' in a subshell so we don't clobber the current shell's |
|
|
2140 |
# arguments. Must try -L first in case configure is actually a |
|
|
2141 |
# symlink; some systems play weird games with the mod time of symlinks |
|
|
2142 |
# (eg FreeBSD returns the mod time of the symlink's containing |
|
|
2143 |
# directory). |
|
|
2144 |
if ( |
|
|
2145 |
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
|
|
2146 |
if test "$*" = "X"; then |
|
|
2147 |
# -L didn't work. |
|
|
2148 |
set X `ls -t $srcdir/configure conftest.file` |
|
|
2149 |
fi |
|
|
2150 |
rm -f conftest.file |
|
|
2151 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
|
|
2152 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
|
|
2153 |
|
|
|
2154 |
# If neither matched, then we have a broken ls. This can happen |
|
|
2155 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
|
|
2156 |
# broken ls alias from the environment. This has actually |
|
|
2157 |
# happened. Such a system could not be considered "sane". |
|
|
2158 |
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
|
|
2159 |
alias in your environment" >&5 |
|
|
2160 |
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
|
|
2161 |
alias in your environment" >&2;} |
|
|
2162 |
{ (exit 1); exit 1; }; } |
|
|
2163 |
fi |
|
|
2164 |
|
|
|
2165 |
test "$2" = conftest.file |
|
|
2166 |
) |
|
|
2167 |
then |
|
|
2168 |
# Ok. |
|
|
2169 |
: |
|
|
2170 |
else |
|
|
2171 |
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
|
|
2172 |
Check your system clock" >&5 |
|
|
2173 |
$as_echo "$as_me: error: newly created file is older than distributed files! |
|
|
2174 |
Check your system clock" >&2;} |
|
|
2175 |
{ (exit 1); exit 1; }; } |
|
|
2176 |
fi |
|
|
2177 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
|
|
2178 |
$as_echo "yes" >&6; } |
|
|
2179 |
test "$program_prefix" != NONE && |
|
|
2180 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
|
|
2181 |
# Use a double $ so make ignores it. |
|
|
2182 |
test "$program_suffix" != NONE && |
|
|
2183 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
|
|
2184 |
# Double any \ or $. |
|
|
2185 |
# By default was `s,x,x', remove it if useless. |
|
|
2186 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
|
|
2187 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
|
2188 |
|
|
|
2189 |
# expand $ac_aux_dir to an absolute path |
|
|
2190 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
|
|
2191 |
|
|
|
2192 |
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
|
|
2193 |
# Use eval to expand $SHELL |
|
|
2194 |
if eval "$MISSING --run true"; then |
|
|
2195 |
am_missing_run="$MISSING --run " |
|
|
2196 |
else |
|
|
2197 |
am_missing_run= |
|
|
2198 |
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
|
|
2199 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
|
|
2200 |
fi |
|
|
2201 |
|
|
|
2202 |
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 |
|
|
2203 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|
|
2204 |
if test -z "$MKDIR_P"; then |
|
|
2205 |
if test "${ac_cv_path_mkdir+set}" = set; then |
|
|
2206 |
$as_echo_n "(cached) " >&6 |
|
|
2207 |
else |
|
|
2208 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2209 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
|
2210 |
do |
|
|
2211 |
IFS=$as_save_IFS |
|
|
2212 |
test -z "$as_dir" && as_dir=. |
|
|
2213 |
for ac_prog in mkdir gmkdir; do |
|
|
2214 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2215 |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
|
|
2216 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
|
2217 |
'mkdir (GNU coreutils) '* | \ |
|
|
2218 |
'mkdir (coreutils) '* | \ |
|
|
2219 |
'mkdir (fileutils) '4.1*) |
|
|
2220 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
|
2221 |
break 3;; |
|
|
2222 |
esac |
|
|
2223 |
done |
|
|
2224 |
done |
|
|
2225 |
done |
|
|
2226 |
IFS=$as_save_IFS |
|
|
2227 |
|
|
|
2228 |
fi |
|
|
2229 |
|
|
|
2230 |
if test "${ac_cv_path_mkdir+set}" = set; then |
|
|
2231 |
MKDIR_P="$ac_cv_path_mkdir -p" |
|
|
2232 |
else |
|
|
2233 |
# As a last resort, use the slow shell script. Don't cache a |
|
|
2234 |
# value for MKDIR_P within a source directory, because that will |
|
|
2235 |
# break other packages using the cache if that directory is |
|
|
2236 |
# removed, or if the value is a relative name. |
|
|
2237 |
test -d ./--version && rmdir ./--version |
|
|
2238 |
MKDIR_P="$ac_install_sh -d" |
|
|
2239 |
fi |
|
|
2240 |
fi |
|
|
2241 |
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 |
|
|
2242 |
$as_echo "$MKDIR_P" >&6; } |
|
|
2243 |
|
|
|
2244 |
mkdir_p="$MKDIR_P" |
|
|
2245 |
case $mkdir_p in |
|
|
2246 |
[\\/$]* | ?:[\\/]*) ;; |
|
|
2247 |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|
|
2248 |
esac |
|
|
2249 |
|
|
|
2250 |
for ac_prog in gawk mawk nawk awk |
|
|
2251 |
do |
|
|
2252 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
2253 |
set dummy $ac_prog; ac_word=$2 |
|
|
2254 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
2255 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
2256 |
if test "${ac_cv_prog_AWK+set}" = set; then |
|
|
2257 |
$as_echo_n "(cached) " >&6 |
|
|
2258 |
else |
|
|
2259 |
if test -n "$AWK"; then |
|
|
2260 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
|
2261 |
else |
|
|
2262 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2263 |
for as_dir in $PATH |
|
|
2264 |
do |
|
|
2265 |
IFS=$as_save_IFS |
|
|
2266 |
test -z "$as_dir" && as_dir=. |
|
|
2267 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2268 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
2269 |
ac_cv_prog_AWK="$ac_prog" |
|
|
2270 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
2271 |
break 2 |
|
|
2272 |
fi |
|
|
2273 |
done |
|
|
2274 |
done |
|
|
2275 |
IFS=$as_save_IFS |
|
|
2276 |
|
|
|
2277 |
fi |
|
|
2278 |
fi |
|
|
2279 |
AWK=$ac_cv_prog_AWK |
|
|
2280 |
if test -n "$AWK"; then |
|
|
2281 |
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5 |
|
|
2282 |
$as_echo "$AWK" >&6; } |
|
|
2283 |
else |
|
|
2284 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
2285 |
$as_echo "no" >&6; } |
|
|
2286 |
fi |
|
|
2287 |
|
|
|
2288 |
|
|
|
2289 |
test -n "$AWK" && break |
|
|
2290 |
done |
|
|
2291 |
|
|
|
2292 |
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
|
2293 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
|
2294 |
set x ${MAKE-make} |
|
|
2295 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
|
2296 |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
2297 |
$as_echo_n "(cached) " >&6 |
|
|
2298 |
else |
|
|
2299 |
cat >conftest.make <<\_ACEOF |
|
|
2300 |
SHELL = /bin/sh |
|
|
2301 |
all: |
|
|
2302 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
|
|
2303 |
_ACEOF |
|
|
2304 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
|
|
2305 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|
|
2306 |
*@@@%%%=?*=@@@%%%*) |
|
|
2307 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
|
2308 |
*) |
|
|
2309 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
|
|
2310 |
esac |
|
|
2311 |
rm -f conftest.make |
|
|
2312 |
fi |
|
|
2313 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
|
|
2314 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
|
|
2315 |
$as_echo "yes" >&6; } |
|
|
2316 |
SET_MAKE= |
|
|
2317 |
else |
|
|
2318 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
2319 |
$as_echo "no" >&6; } |
|
|
2320 |
SET_MAKE="MAKE=${MAKE-make}" |
|
|
2321 |
fi |
|
|
2322 |
|
|
|
2323 |
rm -rf .tst 2>/dev/null |
|
|
2324 |
mkdir .tst 2>/dev/null |
|
|
2325 |
if test -d .tst; then |
|
|
2326 |
am__leading_dot=. |
|
|
2327 |
else |
|
|
2328 |
am__leading_dot=_ |
|
|
2329 |
fi |
|
|
2330 |
rmdir .tst 2>/dev/null |
|
|
2331 |
|
|
|
2332 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|
|
2333 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
|
2334 |
# is not polluted with repeated "-I." |
|
|
2335 |
am__isrc=' -I$(srcdir)' |
|
|
2336 |
# test to see if srcdir already configured |
|
|
2337 |
if test -f $srcdir/config.status; then |
|
|
2338 |
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
|
|
2339 |
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
|
|
2340 |
{ (exit 1); exit 1; }; } |
|
|
2341 |
fi |
|
|
2342 |
fi |
|
|
2343 |
|
|
|
2344 |
# test whether we have cygpath |
|
|
2345 |
if test -z "$CYGPATH_W"; then |
|
|
2346 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
|
|
2347 |
CYGPATH_W='cygpath -w' |
|
|
2348 |
else |
|
|
2349 |
CYGPATH_W=echo |
|
|
2350 |
fi |
|
|
2351 |
fi |
|
|
2352 |
|
|
|
2353 |
|
|
|
2354 |
# Define the identity of the package. |
|
|
2355 |
PACKAGE=sidd |
|
|
2356 |
VERSION=0.1 |
|
|
2357 |
|
|
|
2358 |
|
|
|
2359 |
cat >>confdefs.h <<_ACEOF |
|
|
2360 |
@%:@define PACKAGE "$PACKAGE" |
|
|
2361 |
_ACEOF |
|
|
2362 |
|
|
|
2363 |
|
|
|
2364 |
cat >>confdefs.h <<_ACEOF |
|
|
2365 |
@%:@define VERSION "$VERSION" |
|
|
2366 |
_ACEOF |
|
|
2367 |
|
|
|
2368 |
# Some tools Automake needs. |
|
|
2369 |
|
|
|
2370 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
|
2371 |
|
|
|
2372 |
|
|
|
2373 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
|
2374 |
|
|
|
2375 |
|
|
|
2376 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
|
2377 |
|
|
|
2378 |
|
|
|
2379 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
|
2380 |
|
|
|
2381 |
|
|
|
2382 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
|
2383 |
|
|
|
2384 |
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} |
|
|
2385 |
|
|
|
2386 |
# Installed binaries are usually stripped using `strip' when the user |
|
|
2387 |
# run `make install-strip'. However `strip' might not be the right |
|
|
2388 |
# tool to use in cross-compilation environments, therefore Automake |
|
|
2389 |
# will honor the `STRIP' environment variable to overrule this program. |
|
|
2390 |
if test "$cross_compiling" != no; then |
|
|
2391 |
if test -n "$ac_tool_prefix"; then |
|
|
2392 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
|
2393 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
|
2394 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
2395 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
2396 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
|
|
2397 |
$as_echo_n "(cached) " >&6 |
|
|
2398 |
else |
|
|
2399 |
if test -n "$STRIP"; then |
|
|
2400 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
|
2401 |
else |
|
|
2402 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2403 |
for as_dir in $PATH |
|
|
2404 |
do |
|
|
2405 |
IFS=$as_save_IFS |
|
|
2406 |
test -z "$as_dir" && as_dir=. |
|
|
2407 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2408 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
2409 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
|
2410 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
2411 |
break 2 |
|
|
2412 |
fi |
|
|
2413 |
done |
|
|
2414 |
done |
|
|
2415 |
IFS=$as_save_IFS |
|
|
2416 |
|
|
|
2417 |
fi |
|
|
2418 |
fi |
|
|
2419 |
STRIP=$ac_cv_prog_STRIP |
|
|
2420 |
if test -n "$STRIP"; then |
|
|
2421 |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5 |
|
|
2422 |
$as_echo "$STRIP" >&6; } |
|
|
2423 |
else |
|
|
2424 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
2425 |
$as_echo "no" >&6; } |
|
|
2426 |
fi |
|
|
2427 |
|
|
|
2428 |
|
|
|
2429 |
fi |
|
|
2430 |
if test -z "$ac_cv_prog_STRIP"; then |
|
|
2431 |
ac_ct_STRIP=$STRIP |
|
|
2432 |
# Extract the first word of "strip", so it can be a program name with args. |
|
|
2433 |
set dummy strip; ac_word=$2 |
|
|
2434 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
2435 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
2436 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
|
|
2437 |
$as_echo_n "(cached) " >&6 |
|
|
2438 |
else |
|
|
2439 |
if test -n "$ac_ct_STRIP"; then |
|
|
2440 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
|
2441 |
else |
|
|
2442 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2443 |
for as_dir in $PATH |
|
|
2444 |
do |
|
|
2445 |
IFS=$as_save_IFS |
|
|
2446 |
test -z "$as_dir" && as_dir=. |
|
|
2447 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2448 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
2449 |
ac_cv_prog_ac_ct_STRIP="strip" |
|
|
2450 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
2451 |
break 2 |
|
|
2452 |
fi |
|
|
2453 |
done |
|
|
2454 |
done |
|
|
2455 |
IFS=$as_save_IFS |
|
|
2456 |
|
|
|
2457 |
fi |
|
|
2458 |
fi |
|
|
2459 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
|
2460 |
if test -n "$ac_ct_STRIP"; then |
|
|
2461 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
|
|
2462 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
|
2463 |
else |
|
|
2464 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
2465 |
$as_echo "no" >&6; } |
|
|
2466 |
fi |
|
|
2467 |
|
|
|
2468 |
if test "x$ac_ct_STRIP" = x; then |
|
|
2469 |
STRIP=":" |
|
|
2470 |
else |
|
|
2471 |
case $cross_compiling:$ac_tool_warned in |
|
|
2472 |
yes:) |
|
|
2473 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
2474 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
2475 |
ac_tool_warned=yes ;; |
|
|
2476 |
esac |
|
|
2477 |
STRIP=$ac_ct_STRIP |
|
|
2478 |
fi |
|
|
2479 |
else |
|
|
2480 |
STRIP="$ac_cv_prog_STRIP" |
|
|
2481 |
fi |
|
|
2482 |
|
|
|
2483 |
fi |
|
|
2484 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
|
2485 |
|
|
|
2486 |
# We need awk for the "check" target. The system "awk" is bad on |
|
|
2487 |
# some platforms. |
|
|
2488 |
# Always define AMTAR for backward compatibility. |
|
|
2489 |
|
|
|
2490 |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
|
2491 |
|
|
|
2492 |
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
|
|
2493 |
|
|
|
2494 |
|
|
|
2495 |
|
|
|
2496 |
|
|
|
2497 |
|
|
|
2498 |
|
|
|
2499 |
ac_ext=c |
|
|
2500 |
ac_cpp='$CPP $CPPFLAGS' |
|
|
2501 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
2502 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
2503 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
2504 |
|
|
|
2505 |
ac_ext=c |
|
|
2506 |
ac_cpp='$CPP $CPPFLAGS' |
|
|
2507 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
2508 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
2509 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
2510 |
if test -n "$ac_tool_prefix"; then |
|
|
2511 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
|
2512 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
|
2513 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
2514 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
2515 |
if test "${ac_cv_prog_CC+set}" = set; then |
|
|
2516 |
$as_echo_n "(cached) " >&6 |
|
|
2517 |
else |
|
|
2518 |
if test -n "$CC"; then |
|
|
2519 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
2520 |
else |
|
|
2521 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2522 |
for as_dir in $PATH |
|
|
2523 |
do |
|
|
2524 |
IFS=$as_save_IFS |
|
|
2525 |
test -z "$as_dir" && as_dir=. |
|
|
2526 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2527 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
2528 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
|
2529 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
2530 |
break 2 |
|
|
2531 |
fi |
|
|
2532 |
done |
|
|
2533 |
done |
|
|
2534 |
IFS=$as_save_IFS |
|
|
2535 |
|
|
|
2536 |
fi |
|
|
2537 |
fi |
|
|
2538 |
CC=$ac_cv_prog_CC |
|
|
2539 |
if test -n "$CC"; then |
|
|
2540 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
2541 |
$as_echo "$CC" >&6; } |
|
|
2542 |
else |
|
|
2543 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
2544 |
$as_echo "no" >&6; } |
|
|
2545 |
fi |
|
|
2546 |
|
|
|
2547 |
|
|
|
2548 |
fi |
|
|
2549 |
if test -z "$ac_cv_prog_CC"; then |
|
|
2550 |
ac_ct_CC=$CC |
|
|
2551 |
# Extract the first word of "gcc", so it can be a program name with args. |
|
|
2552 |
set dummy gcc; ac_word=$2 |
|
|
2553 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
2554 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
2555 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
|
2556 |
$as_echo_n "(cached) " >&6 |
|
|
2557 |
else |
|
|
2558 |
if test -n "$ac_ct_CC"; then |
|
|
2559 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
2560 |
else |
|
|
2561 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2562 |
for as_dir in $PATH |
|
|
2563 |
do |
|
|
2564 |
IFS=$as_save_IFS |
|
|
2565 |
test -z "$as_dir" && as_dir=. |
|
|
2566 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2567 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
2568 |
ac_cv_prog_ac_ct_CC="gcc" |
|
|
2569 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
2570 |
break 2 |
|
|
2571 |
fi |
|
|
2572 |
done |
|
|
2573 |
done |
|
|
2574 |
IFS=$as_save_IFS |
|
|
2575 |
|
|
|
2576 |
fi |
|
|
2577 |
fi |
|
|
2578 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
2579 |
if test -n "$ac_ct_CC"; then |
|
|
2580 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
|
2581 |
$as_echo "$ac_ct_CC" >&6; } |
|
|
2582 |
else |
|
|
2583 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
2584 |
$as_echo "no" >&6; } |
|
|
2585 |
fi |
|
|
2586 |
|
|
|
2587 |
if test "x$ac_ct_CC" = x; then |
|
|
2588 |
CC="" |
|
|
2589 |
else |
|
|
2590 |
case $cross_compiling:$ac_tool_warned in |
|
|
2591 |
yes:) |
|
|
2592 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
2593 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
2594 |
ac_tool_warned=yes ;; |
|
|
2595 |
esac |
|
|
2596 |
CC=$ac_ct_CC |
|
|
2597 |
fi |
|
|
2598 |
else |
|
|
2599 |
CC="$ac_cv_prog_CC" |
|
|
2600 |
fi |
|
|
2601 |
|
|
|
2602 |
if test -z "$CC"; then |
|
|
2603 |
if test -n "$ac_tool_prefix"; then |
|
|
2604 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
|
2605 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
|
2606 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
2607 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
2608 |
if test "${ac_cv_prog_CC+set}" = set; then |
|
|
2609 |
$as_echo_n "(cached) " >&6 |
|
|
2610 |
else |
|
|
2611 |
if test -n "$CC"; then |
|
|
2612 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
2613 |
else |
|
|
2614 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2615 |
for as_dir in $PATH |
|
|
2616 |
do |
|
|
2617 |
IFS=$as_save_IFS |
|
|
2618 |
test -z "$as_dir" && as_dir=. |
|
|
2619 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2620 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
2621 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
|
2622 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
2623 |
break 2 |
|
|
2624 |
fi |
|
|
2625 |
done |
|
|
2626 |
done |
|
|
2627 |
IFS=$as_save_IFS |
|
|
2628 |
|
|
|
2629 |
fi |
|
|
2630 |
fi |
|
|
2631 |
CC=$ac_cv_prog_CC |
|
|
2632 |
if test -n "$CC"; then |
|
|
2633 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
2634 |
$as_echo "$CC" >&6; } |
|
|
2635 |
else |
|
|
2636 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
2637 |
$as_echo "no" >&6; } |
|
|
2638 |
fi |
|
|
2639 |
|
|
|
2640 |
|
|
|
2641 |
fi |
|
|
2642 |
fi |
|
|
2643 |
if test -z "$CC"; then |
|
|
2644 |
# Extract the first word of "cc", so it can be a program name with args. |
|
|
2645 |
set dummy cc; ac_word=$2 |
|
|
2646 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
2647 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
2648 |
if test "${ac_cv_prog_CC+set}" = set; then |
|
|
2649 |
$as_echo_n "(cached) " >&6 |
|
|
2650 |
else |
|
|
2651 |
if test -n "$CC"; then |
|
|
2652 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
2653 |
else |
|
|
2654 |
ac_prog_rejected=no |
|
|
2655 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2656 |
for as_dir in $PATH |
|
|
2657 |
do |
|
|
2658 |
IFS=$as_save_IFS |
|
|
2659 |
test -z "$as_dir" && as_dir=. |
|
|
2660 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2661 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
2662 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
|
2663 |
ac_prog_rejected=yes |
|
|
2664 |
continue |
|
|
2665 |
fi |
|
|
2666 |
ac_cv_prog_CC="cc" |
|
|
2667 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
2668 |
break 2 |
|
|
2669 |
fi |
|
|
2670 |
done |
|
|
2671 |
done |
|
|
2672 |
IFS=$as_save_IFS |
|
|
2673 |
|
|
|
2674 |
if test $ac_prog_rejected = yes; then |
|
|
2675 |
# We found a bogon in the path, so make sure we never use it. |
|
|
2676 |
set dummy $ac_cv_prog_CC |
|
|
2677 |
shift |
|
|
2678 |
if test $@%:@ != 0; then |
|
|
2679 |
# We chose a different compiler from the bogus one. |
|
|
2680 |
# However, it has the same basename, so the bogon will be chosen |
|
|
2681 |
# first if we set CC to just the basename; use the full file name. |
|
|
2682 |
shift |
|
|
2683 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
|
2684 |
fi |
|
|
2685 |
fi |
|
|
2686 |
fi |
|
|
2687 |
fi |
|
|
2688 |
CC=$ac_cv_prog_CC |
|
|
2689 |
if test -n "$CC"; then |
|
|
2690 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
2691 |
$as_echo "$CC" >&6; } |
|
|
2692 |
else |
|
|
2693 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
2694 |
$as_echo "no" >&6; } |
|
|
2695 |
fi |
|
|
2696 |
|
|
|
2697 |
|
|
|
2698 |
fi |
|
|
2699 |
if test -z "$CC"; then |
|
|
2700 |
if test -n "$ac_tool_prefix"; then |
|
|
2701 |
for ac_prog in cl.exe |
|
|
2702 |
do |
|
|
2703 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
|
2704 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
|
2705 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
2706 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
2707 |
if test "${ac_cv_prog_CC+set}" = set; then |
|
|
2708 |
$as_echo_n "(cached) " >&6 |
|
|
2709 |
else |
|
|
2710 |
if test -n "$CC"; then |
|
|
2711 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
2712 |
else |
|
|
2713 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2714 |
for as_dir in $PATH |
|
|
2715 |
do |
|
|
2716 |
IFS=$as_save_IFS |
|
|
2717 |
test -z "$as_dir" && as_dir=. |
|
|
2718 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2719 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
2720 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
|
2721 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
2722 |
break 2 |
|
|
2723 |
fi |
|
|
2724 |
done |
|
|
2725 |
done |
|
|
2726 |
IFS=$as_save_IFS |
|
|
2727 |
|
|
|
2728 |
fi |
|
|
2729 |
fi |
|
|
2730 |
CC=$ac_cv_prog_CC |
|
|
2731 |
if test -n "$CC"; then |
|
|
2732 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
2733 |
$as_echo "$CC" >&6; } |
|
|
2734 |
else |
|
|
2735 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
2736 |
$as_echo "no" >&6; } |
|
|
2737 |
fi |
|
|
2738 |
|
|
|
2739 |
|
|
|
2740 |
test -n "$CC" && break |
|
|
2741 |
done |
|
|
2742 |
fi |
|
|
2743 |
if test -z "$CC"; then |
|
|
2744 |
ac_ct_CC=$CC |
|
|
2745 |
for ac_prog in cl.exe |
|
|
2746 |
do |
|
|
2747 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
2748 |
set dummy $ac_prog; ac_word=$2 |
|
|
2749 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
2750 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
2751 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
|
2752 |
$as_echo_n "(cached) " >&6 |
|
|
2753 |
else |
|
|
2754 |
if test -n "$ac_ct_CC"; then |
|
|
2755 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
2756 |
else |
|
|
2757 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2758 |
for as_dir in $PATH |
|
|
2759 |
do |
|
|
2760 |
IFS=$as_save_IFS |
|
|
2761 |
test -z "$as_dir" && as_dir=. |
|
|
2762 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2763 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
2764 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
|
|
2765 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
2766 |
break 2 |
|
|
2767 |
fi |
|
|
2768 |
done |
|
|
2769 |
done |
|
|
2770 |
IFS=$as_save_IFS |
|
|
2771 |
|
|
|
2772 |
fi |
|
|
2773 |
fi |
|
|
2774 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
2775 |
if test -n "$ac_ct_CC"; then |
|
|
2776 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
|
2777 |
$as_echo "$ac_ct_CC" >&6; } |
|
|
2778 |
else |
|
|
2779 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
2780 |
$as_echo "no" >&6; } |
|
|
2781 |
fi |
|
|
2782 |
|
|
|
2783 |
|
|
|
2784 |
test -n "$ac_ct_CC" && break |
|
|
2785 |
done |
|
|
2786 |
|
|
|
2787 |
if test "x$ac_ct_CC" = x; then |
|
|
2788 |
CC="" |
|
|
2789 |
else |
|
|
2790 |
case $cross_compiling:$ac_tool_warned in |
|
|
2791 |
yes:) |
|
|
2792 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
2793 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
2794 |
ac_tool_warned=yes ;; |
|
|
2795 |
esac |
|
|
2796 |
CC=$ac_ct_CC |
|
|
2797 |
fi |
|
|
2798 |
fi |
|
|
2799 |
|
|
|
2800 |
fi |
|
|
2801 |
|
|
|
2802 |
|
|
|
2803 |
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
|
|
2804 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
2805 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
|
|
2806 |
See \`config.log' for more details." >&5 |
|
|
2807 |
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
|
|
2808 |
See \`config.log' for more details." >&2;} |
|
|
2809 |
{ (exit 1); exit 1; }; }; } |
|
|
2810 |
|
|
|
2811 |
# Provide some information about the compiler. |
|
|
2812 |
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
|
|
2813 |
set X $ac_compile |
|
|
2814 |
ac_compiler=$2 |
|
|
2815 |
{ (ac_try="$ac_compiler --version >&5" |
|
|
2816 |
case "(($ac_try" in |
|
|
2817 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2818 |
*) ac_try_echo=$ac_try;; |
|
|
2819 |
esac |
|
|
2820 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
2821 |
$as_echo "$ac_try_echo") >&5 |
|
|
2822 |
(eval "$ac_compiler --version >&5") 2>&5 |
|
|
2823 |
ac_status=$? |
|
|
2824 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2825 |
(exit $ac_status); } |
|
|
2826 |
{ (ac_try="$ac_compiler -v >&5" |
|
|
2827 |
case "(($ac_try" in |
|
|
2828 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2829 |
*) ac_try_echo=$ac_try;; |
|
|
2830 |
esac |
|
|
2831 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
2832 |
$as_echo "$ac_try_echo") >&5 |
|
|
2833 |
(eval "$ac_compiler -v >&5") 2>&5 |
|
|
2834 |
ac_status=$? |
|
|
2835 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2836 |
(exit $ac_status); } |
|
|
2837 |
{ (ac_try="$ac_compiler -V >&5" |
|
|
2838 |
case "(($ac_try" in |
|
|
2839 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2840 |
*) ac_try_echo=$ac_try;; |
|
|
2841 |
esac |
|
|
2842 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
2843 |
$as_echo "$ac_try_echo") >&5 |
|
|
2844 |
(eval "$ac_compiler -V >&5") 2>&5 |
|
|
2845 |
ac_status=$? |
|
|
2846 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2847 |
(exit $ac_status); } |
|
|
2848 |
|
|
|
2849 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
2850 |
/* confdefs.h. */ |
|
|
2851 |
_ACEOF |
|
|
2852 |
cat confdefs.h >>conftest.$ac_ext |
|
|
2853 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
2854 |
/* end confdefs.h. */ |
|
|
2855 |
|
|
|
2856 |
int |
|
|
2857 |
main () |
|
|
2858 |
{ |
|
|
2859 |
|
|
|
2860 |
; |
|
|
2861 |
return 0; |
|
|
2862 |
} |
|
|
2863 |
_ACEOF |
|
|
2864 |
ac_clean_files_save=$ac_clean_files |
|
|
2865 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
|
|
2866 |
# Try to create an executable without -o first, disregard a.out. |
|
|
2867 |
# It will help us diagnose broken compilers, and finding out an intuition |
|
|
2868 |
# of exeext. |
|
|
2869 |
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
|
|
2870 |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
|
|
2871 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
|
2872 |
|
|
|
2873 |
# The possible output files: |
|
|
2874 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
|
2875 |
|
|
|
2876 |
ac_rmfiles= |
|
|
2877 |
for ac_file in $ac_files |
|
|
2878 |
do |
|
|
2879 |
case $ac_file in |
|
|
2880 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
|
2881 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
|
2882 |
esac |
|
|
2883 |
done |
|
|
2884 |
rm -f $ac_rmfiles |
|
|
2885 |
|
|
|
2886 |
if { (ac_try="$ac_link_default" |
|
|
2887 |
case "(($ac_try" in |
|
|
2888 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2889 |
*) ac_try_echo=$ac_try;; |
|
|
2890 |
esac |
|
|
2891 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
2892 |
$as_echo "$ac_try_echo") >&5 |
|
|
2893 |
(eval "$ac_link_default") 2>&5 |
|
|
2894 |
ac_status=$? |
|
|
2895 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2896 |
(exit $ac_status); }; then |
|
|
2897 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
|
|
2898 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
|
|
2899 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
|
|
2900 |
# so that the user can short-circuit this test for compilers unknown to |
|
|
2901 |
# Autoconf. |
|
|
2902 |
for ac_file in $ac_files '' |
|
|
2903 |
do |
|
|
2904 |
test -f "$ac_file" || continue |
|
|
2905 |
case $ac_file in |
|
|
2906 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
|
|
2907 |
;; |
|
|
2908 |
[ab].out ) |
|
|
2909 |
# We found the default executable, but exeext='' is most |
|
|
2910 |
# certainly right. |
|
|
2911 |
break;; |
|
|
2912 |
*.* ) |
|
|
2913 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
|
|
2914 |
then :; else |
|
|
2915 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
|
2916 |
fi |
|
|
2917 |
# We set ac_cv_exeext here because the later test for it is not |
|
|
2918 |
# safe: cross compilers may not add the suffix if given an `-o' |
|
|
2919 |
# argument, so we may need to know it at that point already. |
|
|
2920 |
# Even if this section looks crufty: it has the advantage of |
|
|
2921 |
# actually working. |
|
|
2922 |
break;; |
|
|
2923 |
* ) |
|
|
2924 |
break;; |
|
|
2925 |
esac |
|
|
2926 |
done |
|
|
2927 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
|
|
2928 |
|
|
|
2929 |
else |
|
|
2930 |
ac_file='' |
|
|
2931 |
fi |
|
|
2932 |
|
|
|
2933 |
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
|
|
2934 |
$as_echo "$ac_file" >&6; } |
|
|
2935 |
if test -z "$ac_file"; then |
|
|
2936 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
2937 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2938 |
|
|
|
2939 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
|
|
2940 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
2941 |
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
|
|
2942 |
See \`config.log' for more details." >&5 |
|
|
2943 |
$as_echo "$as_me: error: C compiler cannot create executables |
|
|
2944 |
See \`config.log' for more details." >&2;} |
|
|
2945 |
{ (exit 77); exit 77; }; }; } |
|
|
2946 |
fi |
|
|
2947 |
|
|
|
2948 |
ac_exeext=$ac_cv_exeext |
|
|
2949 |
|
|
|
2950 |
# Check that the compiler produces executables we can run. If not, either |
|
|
2951 |
# the compiler is broken, or we cross compile. |
|
|
2952 |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
|
|
2953 |
$as_echo_n "checking whether the C compiler works... " >&6; } |
|
|
2954 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
|
|
2955 |
# If not cross compiling, check that we can run a simple program. |
|
|
2956 |
if test "$cross_compiling" != yes; then |
|
|
2957 |
if { ac_try='./$ac_file' |
|
|
2958 |
{ (case "(($ac_try" in |
|
|
2959 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2960 |
*) ac_try_echo=$ac_try;; |
|
|
2961 |
esac |
|
|
2962 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
2963 |
$as_echo "$ac_try_echo") >&5 |
|
|
2964 |
(eval "$ac_try") 2>&5 |
|
|
2965 |
ac_status=$? |
|
|
2966 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2967 |
(exit $ac_status); }; }; then |
|
|
2968 |
cross_compiling=no |
|
|
2969 |
else |
|
|
2970 |
if test "$cross_compiling" = maybe; then |
|
|
2971 |
cross_compiling=yes |
|
|
2972 |
else |
|
|
2973 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
|
|
2974 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
2975 |
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. |
|
|
2976 |
If you meant to cross compile, use \`--host'. |
|
|
2977 |
See \`config.log' for more details." >&5 |
|
|
2978 |
$as_echo "$as_me: error: cannot run C compiled programs. |
|
|
2979 |
If you meant to cross compile, use \`--host'. |
|
|
2980 |
See \`config.log' for more details." >&2;} |
|
|
2981 |
{ (exit 1); exit 1; }; }; } |
|
|
2982 |
fi |
|
|
2983 |
fi |
|
|
2984 |
fi |
|
|
2985 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
|
|
2986 |
$as_echo "yes" >&6; } |
|
|
2987 |
|
|
|
2988 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
|
|
2989 |
ac_clean_files=$ac_clean_files_save |
|
|
2990 |
# Check that the compiler produces executables we can run. If not, either |
|
|
2991 |
# the compiler is broken, or we cross compile. |
|
|
2992 |
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
|
|
2993 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
|
|
2994 |
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
|
|
2995 |
$as_echo "$cross_compiling" >&6; } |
|
|
2996 |
|
|
|
2997 |
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
|
|
2998 |
$as_echo_n "checking for suffix of executables... " >&6; } |
|
|
2999 |
if { (ac_try="$ac_link" |
|
|
3000 |
case "(($ac_try" in |
|
|
3001 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3002 |
*) ac_try_echo=$ac_try;; |
|
|
3003 |
esac |
|
|
3004 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
3005 |
$as_echo "$ac_try_echo") >&5 |
|
|
3006 |
(eval "$ac_link") 2>&5 |
|
|
3007 |
ac_status=$? |
|
|
3008 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3009 |
(exit $ac_status); }; then |
|
|
3010 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
|
|
3011 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|
|
3012 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
|
|
3013 |
# `rm'. |
|
|
3014 |
for ac_file in conftest.exe conftest conftest.*; do |
|
|
3015 |
test -f "$ac_file" || continue |
|
|
3016 |
case $ac_file in |
|
|
3017 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
|
3018 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
|
3019 |
break;; |
|
|
3020 |
* ) break;; |
|
|
3021 |
esac |
|
|
3022 |
done |
|
|
3023 |
else |
|
|
3024 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
|
|
3025 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
3026 |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
|
|
3027 |
See \`config.log' for more details." >&5 |
|
|
3028 |
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
|
|
3029 |
See \`config.log' for more details." >&2;} |
|
|
3030 |
{ (exit 1); exit 1; }; }; } |
|
|
3031 |
fi |
|
|
3032 |
|
|
|
3033 |
rm -f conftest$ac_cv_exeext |
|
|
3034 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
|
|
3035 |
$as_echo "$ac_cv_exeext" >&6; } |
|
|
3036 |
|
|
|
3037 |
rm -f conftest.$ac_ext |
|
|
3038 |
EXEEXT=$ac_cv_exeext |
|
|
3039 |
ac_exeext=$EXEEXT |
|
|
3040 |
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
|
|
3041 |
$as_echo_n "checking for suffix of object files... " >&6; } |
|
|
3042 |
if test "${ac_cv_objext+set}" = set; then |
|
|
3043 |
$as_echo_n "(cached) " >&6 |
|
|
3044 |
else |
|
|
3045 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
3046 |
/* confdefs.h. */ |
|
|
3047 |
_ACEOF |
|
|
3048 |
cat confdefs.h >>conftest.$ac_ext |
|
|
3049 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
3050 |
/* end confdefs.h. */ |
|
|
3051 |
|
|
|
3052 |
int |
|
|
3053 |
main () |
|
|
3054 |
{ |
|
|
3055 |
|
|
|
3056 |
; |
|
|
3057 |
return 0; |
|
|
3058 |
} |
|
|
3059 |
_ACEOF |
|
|
3060 |
rm -f conftest.o conftest.obj |
|
|
3061 |
if { (ac_try="$ac_compile" |
|
|
3062 |
case "(($ac_try" in |
|
|
3063 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3064 |
*) ac_try_echo=$ac_try;; |
|
|
3065 |
esac |
|
|
3066 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
3067 |
$as_echo "$ac_try_echo") >&5 |
|
|
3068 |
(eval "$ac_compile") 2>&5 |
|
|
3069 |
ac_status=$? |
|
|
3070 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3071 |
(exit $ac_status); }; then |
|
|
3072 |
for ac_file in conftest.o conftest.obj conftest.*; do |
|
|
3073 |
test -f "$ac_file" || continue; |
|
|
3074 |
case $ac_file in |
|
|
3075 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
|
|
3076 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
|
|
3077 |
break;; |
|
|
3078 |
esac |
|
|
3079 |
done |
|
|
3080 |
else |
|
|
3081 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
3082 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3083 |
|
|
|
3084 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
|
|
3085 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
3086 |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
|
|
3087 |
See \`config.log' for more details." >&5 |
|
|
3088 |
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
|
|
3089 |
See \`config.log' for more details." >&2;} |
|
|
3090 |
{ (exit 1); exit 1; }; }; } |
|
|
3091 |
fi |
|
|
3092 |
|
|
|
3093 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
|
3094 |
fi |
|
|
3095 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
|
|
3096 |
$as_echo "$ac_cv_objext" >&6; } |
|
|
3097 |
OBJEXT=$ac_cv_objext |
|
|
3098 |
ac_objext=$OBJEXT |
|
|
3099 |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
|
|
3100 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
|
3101 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
|
|
3102 |
$as_echo_n "(cached) " >&6 |
|
|
3103 |
else |
|
|
3104 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
3105 |
/* confdefs.h. */ |
|
|
3106 |
_ACEOF |
|
|
3107 |
cat confdefs.h >>conftest.$ac_ext |
|
|
3108 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
3109 |
/* end confdefs.h. */ |
|
|
3110 |
|
|
|
3111 |
int |
|
|
3112 |
main () |
|
|
3113 |
{ |
|
|
3114 |
#ifndef __GNUC__ |
|
|
3115 |
choke me |
|
|
3116 |
#endif |
|
|
3117 |
|
|
|
3118 |
; |
|
|
3119 |
return 0; |
|
|
3120 |
} |
|
|
3121 |
_ACEOF |
|
|
3122 |
rm -f conftest.$ac_objext |
|
|
3123 |
if { (ac_try="$ac_compile" |
|
|
3124 |
case "(($ac_try" in |
|
|
3125 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3126 |
*) ac_try_echo=$ac_try;; |
|
|
3127 |
esac |
|
|
3128 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
3129 |
$as_echo "$ac_try_echo") >&5 |
|
|
3130 |
(eval "$ac_compile") 2>conftest.er1 |
|
|
3131 |
ac_status=$? |
|
|
3132 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3133 |
rm -f conftest.er1 |
|
|
3134 |
cat conftest.err >&5 |
|
|
3135 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3136 |
(exit $ac_status); } && { |
|
|
3137 |
test -z "$ac_c_werror_flag" || |
|
|
3138 |
test ! -s conftest.err |
|
|
3139 |
} && test -s conftest.$ac_objext; then |
|
|
3140 |
ac_compiler_gnu=yes |
|
|
3141 |
else |
|
|
3142 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
3143 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3144 |
|
|
|
3145 |
ac_compiler_gnu=no |
|
|
3146 |
fi |
|
|
3147 |
|
|
|
3148 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3149 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
|
3150 |
|
|
|
3151 |
fi |
|
|
3152 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
|
|
3153 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
|
3154 |
if test $ac_compiler_gnu = yes; then |
|
|
3155 |
GCC=yes |
|
|
3156 |
else |
|
|
3157 |
GCC= |
|
|
3158 |
fi |
|
|
3159 |
ac_test_CFLAGS=${CFLAGS+set} |
|
|
3160 |
ac_save_CFLAGS=$CFLAGS |
|
|
3161 |
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
|
|
3162 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
|
3163 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
|
|
3164 |
$as_echo_n "(cached) " >&6 |
|
|
3165 |
else |
|
|
3166 |
ac_save_c_werror_flag=$ac_c_werror_flag |
|
|
3167 |
ac_c_werror_flag=yes |
|
|
3168 |
ac_cv_prog_cc_g=no |
|
|
3169 |
CFLAGS="-g" |
|
|
3170 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
3171 |
/* confdefs.h. */ |
|
|
3172 |
_ACEOF |
|
|
3173 |
cat confdefs.h >>conftest.$ac_ext |
|
|
3174 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
3175 |
/* end confdefs.h. */ |
|
|
3176 |
|
|
|
3177 |
int |
|
|
3178 |
main () |
|
|
3179 |
{ |
|
|
3180 |
|
|
|
3181 |
; |
|
|
3182 |
return 0; |
|
|
3183 |
} |
|
|
3184 |
_ACEOF |
|
|
3185 |
rm -f conftest.$ac_objext |
|
|
3186 |
if { (ac_try="$ac_compile" |
|
|
3187 |
case "(($ac_try" in |
|
|
3188 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3189 |
*) ac_try_echo=$ac_try;; |
|
|
3190 |
esac |
|
|
3191 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
3192 |
$as_echo "$ac_try_echo") >&5 |
|
|
3193 |
(eval "$ac_compile") 2>conftest.er1 |
|
|
3194 |
ac_status=$? |
|
|
3195 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3196 |
rm -f conftest.er1 |
|
|
3197 |
cat conftest.err >&5 |
|
|
3198 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3199 |
(exit $ac_status); } && { |
|
|
3200 |
test -z "$ac_c_werror_flag" || |
|
|
3201 |
test ! -s conftest.err |
|
|
3202 |
} && test -s conftest.$ac_objext; then |
|
|
3203 |
ac_cv_prog_cc_g=yes |
|
|
3204 |
else |
|
|
3205 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
3206 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3207 |
|
|
|
3208 |
CFLAGS="" |
|
|
3209 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
3210 |
/* confdefs.h. */ |
|
|
3211 |
_ACEOF |
|
|
3212 |
cat confdefs.h >>conftest.$ac_ext |
|
|
3213 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
3214 |
/* end confdefs.h. */ |
|
|
3215 |
|
|
|
3216 |
int |
|
|
3217 |
main () |
|
|
3218 |
{ |
|
|
3219 |
|
|
|
3220 |
; |
|
|
3221 |
return 0; |
|
|
3222 |
} |
|
|
3223 |
_ACEOF |
|
|
3224 |
rm -f conftest.$ac_objext |
|
|
3225 |
if { (ac_try="$ac_compile" |
|
|
3226 |
case "(($ac_try" in |
|
|
3227 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3228 |
*) ac_try_echo=$ac_try;; |
|
|
3229 |
esac |
|
|
3230 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
3231 |
$as_echo "$ac_try_echo") >&5 |
|
|
3232 |
(eval "$ac_compile") 2>conftest.er1 |
|
|
3233 |
ac_status=$? |
|
|
3234 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3235 |
rm -f conftest.er1 |
|
|
3236 |
cat conftest.err >&5 |
|
|
3237 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3238 |
(exit $ac_status); } && { |
|
|
3239 |
test -z "$ac_c_werror_flag" || |
|
|
3240 |
test ! -s conftest.err |
|
|
3241 |
} && test -s conftest.$ac_objext; then |
|
|
3242 |
: |
|
|
3243 |
else |
|
|
3244 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
3245 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3246 |
|
|
|
3247 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
|
3248 |
CFLAGS="-g" |
|
|
3249 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
3250 |
/* confdefs.h. */ |
|
|
3251 |
_ACEOF |
|
|
3252 |
cat confdefs.h >>conftest.$ac_ext |
|
|
3253 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
3254 |
/* end confdefs.h. */ |
|
|
3255 |
|
|
|
3256 |
int |
|
|
3257 |
main () |
|
|
3258 |
{ |
|
|
3259 |
|
|
|
3260 |
; |
|
|
3261 |
return 0; |
|
|
3262 |
} |
|
|
3263 |
_ACEOF |
|
|
3264 |
rm -f conftest.$ac_objext |
|
|
3265 |
if { (ac_try="$ac_compile" |
|
|
3266 |
case "(($ac_try" in |
|
|
3267 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3268 |
*) ac_try_echo=$ac_try;; |
|
|
3269 |
esac |
|
|
3270 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
3271 |
$as_echo "$ac_try_echo") >&5 |
|
|
3272 |
(eval "$ac_compile") 2>conftest.er1 |
|
|
3273 |
ac_status=$? |
|
|
3274 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3275 |
rm -f conftest.er1 |
|
|
3276 |
cat conftest.err >&5 |
|
|
3277 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3278 |
(exit $ac_status); } && { |
|
|
3279 |
test -z "$ac_c_werror_flag" || |
|
|
3280 |
test ! -s conftest.err |
|
|
3281 |
} && test -s conftest.$ac_objext; then |
|
|
3282 |
ac_cv_prog_cc_g=yes |
|
|
3283 |
else |
|
|
3284 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
3285 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3286 |
|
|
|
3287 |
|
|
|
3288 |
fi |
|
|
3289 |
|
|
|
3290 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3291 |
fi |
|
|
3292 |
|
|
|
3293 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3294 |
fi |
|
|
3295 |
|
|
|
3296 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3297 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
|
3298 |
fi |
|
|
3299 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
|
|
3300 |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
|
|
3301 |
if test "$ac_test_CFLAGS" = set; then |
|
|
3302 |
CFLAGS=$ac_save_CFLAGS |
|
|
3303 |
elif test $ac_cv_prog_cc_g = yes; then |
|
|
3304 |
if test "$GCC" = yes; then |
|
|
3305 |
CFLAGS="-g -O2" |
|
|
3306 |
else |
|
|
3307 |
CFLAGS="-g" |
|
|
3308 |
fi |
|
|
3309 |
else |
|
|
3310 |
if test "$GCC" = yes; then |
|
|
3311 |
CFLAGS="-O2" |
|
|
3312 |
else |
|
|
3313 |
CFLAGS= |
|
|
3314 |
fi |
|
|
3315 |
fi |
|
|
3316 |
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
|
|
3317 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
|
3318 |
if test "${ac_cv_prog_cc_c89+set}" = set; then |
|
|
3319 |
$as_echo_n "(cached) " >&6 |
|
|
3320 |
else |
|
|
3321 |
ac_cv_prog_cc_c89=no |
|
|
3322 |
ac_save_CC=$CC |
|
|
3323 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
3324 |
/* confdefs.h. */ |
|
|
3325 |
_ACEOF |
|
|
3326 |
cat confdefs.h >>conftest.$ac_ext |
|
|
3327 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
3328 |
/* end confdefs.h. */ |
|
|
3329 |
#include <stdarg.h> |
|
|
3330 |
#include <stdio.h> |
|
|
3331 |
#include <sys/types.h> |
|
|
3332 |
#include <sys/stat.h> |
|
|
3333 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
|
3334 |
struct buf { int x; }; |
|
|
3335 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
|
3336 |
static char *e (p, i) |
|
|
3337 |
char **p; |
|
|
3338 |
int i; |
|
|
3339 |
{ |
|
|
3340 |
return p[i]; |
|
|
3341 |
} |
|
|
3342 |
static char *f (char * (*g) (char **, int), char **p, ...) |
|
|
3343 |
{ |
|
|
3344 |
char *s; |
|
|
3345 |
va_list v; |
|
|
3346 |
va_start (v,p); |
|
|
3347 |
s = g (p, va_arg (v,int)); |
|
|
3348 |
va_end (v); |
|
|
3349 |
return s; |
|
|
3350 |
} |
|
|
3351 |
|
|
|
3352 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
|
3353 |
function prototypes and stuff, but not '\xHH' hex character constants. |
|
|
3354 |
These don't provoke an error unfortunately, instead are silently treated |
|
|
3355 |
as 'x'. The following induces an error, until -std is added to get |
|
|
3356 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
|
3357 |
array size at least. It's necessary to write '\x00'==0 to get something |
|
|
3358 |
that's true only with -std. */ |
|
|
3359 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
3360 |
|
|
|
3361 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
|
3362 |
inside strings and character constants. */ |
|
|
3363 |
#define FOO(x) 'x' |
|
|
3364 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
|
3365 |
|
|
|
3366 |
int test (int i, double x); |
|
|
3367 |
struct s1 {int (*f) (int a);}; |
|
|
3368 |
struct s2 {int (*f) (double a);}; |
|
|
3369 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
|
3370 |
int argc; |
|
|
3371 |
char **argv; |
|
|
3372 |
int |
|
|
3373 |
main () |
|
|
3374 |
{ |
|
|
3375 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
|
3376 |
; |
|
|
3377 |
return 0; |
|
|
3378 |
} |
|
|
3379 |
_ACEOF |
|
|
3380 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
|
3381 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
|
3382 |
do |
|
|
3383 |
CC="$ac_save_CC $ac_arg" |
|
|
3384 |
rm -f conftest.$ac_objext |
|
|
3385 |
if { (ac_try="$ac_compile" |
|
|
3386 |
case "(($ac_try" in |
|
|
3387 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3388 |
*) ac_try_echo=$ac_try;; |
|
|
3389 |
esac |
|
|
3390 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
3391 |
$as_echo "$ac_try_echo") >&5 |
|
|
3392 |
(eval "$ac_compile") 2>conftest.er1 |
|
|
3393 |
ac_status=$? |
|
|
3394 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3395 |
rm -f conftest.er1 |
|
|
3396 |
cat conftest.err >&5 |
|
|
3397 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3398 |
(exit $ac_status); } && { |
|
|
3399 |
test -z "$ac_c_werror_flag" || |
|
|
3400 |
test ! -s conftest.err |
|
|
3401 |
} && test -s conftest.$ac_objext; then |
|
|
3402 |
ac_cv_prog_cc_c89=$ac_arg |
|
|
3403 |
else |
|
|
3404 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
3405 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3406 |
|
|
|
3407 |
|
|
|
3408 |
fi |
|
|
3409 |
|
|
|
3410 |
rm -f core conftest.err conftest.$ac_objext |
|
|
3411 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
|
3412 |
done |
|
|
3413 |
rm -f conftest.$ac_ext |
|
|
3414 |
CC=$ac_save_CC |
|
|
3415 |
|
|
|
3416 |
fi |
|
|
3417 |
# AC_CACHE_VAL |
|
|
3418 |
case "x$ac_cv_prog_cc_c89" in |
|
|
3419 |
x) |
|
|
3420 |
{ $as_echo "$as_me:$LINENO: result: none needed" >&5 |
|
|
3421 |
$as_echo "none needed" >&6; } ;; |
|
|
3422 |
xno) |
|
|
3423 |
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
|
|
3424 |
$as_echo "unsupported" >&6; } ;; |
|
|
3425 |
*) |
|
|
3426 |
CC="$CC $ac_cv_prog_cc_c89" |
|
|
3427 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
|
|
3428 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
|
3429 |
esac |
|
|
3430 |
|
|
|
3431 |
|
|
|
3432 |
ac_ext=c |
|
|
3433 |
ac_cpp='$CPP $CPPFLAGS' |
|
|
3434 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3435 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3436 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3437 |
DEPDIR="${am__leading_dot}deps" |
|
|
3438 |
|
|
|
3439 |
ac_config_commands="$ac_config_commands depfiles" |
|
|
3440 |
|
|
|
3441 |
|
|
|
3442 |
am_make=${MAKE-make} |
|
|
3443 |
cat > confinc << 'END' |
|
|
3444 |
am__doit: |
|
|
3445 |
@echo done |
|
|
3446 |
.PHONY: am__doit |
|
|
3447 |
END |
|
|
3448 |
# If we don't find an include directive, just comment out the code. |
|
|
3449 |
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
|
|
3450 |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
|
|
3451 |
am__include="#" |
|
|
3452 |
am__quote= |
|
|
3453 |
_am_result=none |
|
|
3454 |
# First try GNU make style include. |
|
|
3455 |
echo "include confinc" > confmf |
|
|
3456 |
# We grep out `Entering directory' and `Leaving directory' |
|
|
3457 |
# messages which can occur if `w' ends up in MAKEFLAGS. |
|
|
3458 |
# In particular we don't look at `^make:' because GNU make might |
|
|
3459 |
# be invoked under some other name (usually "gmake"), in which |
|
|
3460 |
# case it prints its new name instead of `make'. |
|
|
3461 |
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
|
|
3462 |
am__include=include |
|
|
3463 |
am__quote= |
|
|
3464 |
_am_result=GNU |
|
|
3465 |
fi |
|
|
3466 |
# Now try BSD make style include. |
|
|
3467 |
if test "$am__include" = "#"; then |
|
|
3468 |
echo '.include "confinc"' > confmf |
|
|
3469 |
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
|
|
3470 |
am__include=.include |
|
|
3471 |
am__quote="\"" |
|
|
3472 |
_am_result=BSD |
|
|
3473 |
fi |
|
|
3474 |
fi |
|
|
3475 |
|
|
|
3476 |
|
|
|
3477 |
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 |
|
|
3478 |
$as_echo "$_am_result" >&6; } |
|
|
3479 |
rm -f confinc confmf |
|
|
3480 |
|
|
|
3481 |
@%:@ Check whether --enable-dependency-tracking was given. |
|
|
3482 |
if test "${enable_dependency_tracking+set}" = set; then |
|
|
3483 |
enableval=$enable_dependency_tracking; |
|
|
3484 |
fi |
|
|
3485 |
|
|
|
3486 |
if test "x$enable_dependency_tracking" != xno; then |
|
|
3487 |
am_depcomp="$ac_aux_dir/depcomp" |
|
|
3488 |
AMDEPBACKSLASH='\' |
|
|
3489 |
fi |
|
|
3490 |
if test "x$enable_dependency_tracking" != xno; then |
|
|
3491 |
AMDEP_TRUE= |
|
|
3492 |
AMDEP_FALSE='#' |
|
|
3493 |
else |
|
|
3494 |
AMDEP_TRUE='#' |
|
|
3495 |
AMDEP_FALSE= |
|
|
3496 |
fi |
|
|
3497 |
|
|
|
3498 |
|
|
|
3499 |
|
|
|
3500 |
depcc="$CC" am_compiler_list= |
|
|
3501 |
|
|
|
3502 |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
|
|
3503 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
|
3504 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
|
|
3505 |
$as_echo_n "(cached) " >&6 |
|
|
3506 |
else |
|
|
3507 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
|
3508 |
# We make a subdir and do the tests there. Otherwise we can end up |
|
|
3509 |
# making bogus files that we don't know about and never remove. For |
|
|
3510 |
# instance it was reported that on HP-UX the gcc test will end up |
|
|
3511 |
# making a dummy file named `D' -- because `-MD' means `put the output |
|
|
3512 |
# in D'. |
|
|
3513 |
mkdir conftest.dir |
|
|
3514 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
|
3515 |
# using a relative directory. |
|
|
3516 |
cp "$am_depcomp" conftest.dir |
|
|
3517 |
cd conftest.dir |
|
|
3518 |
# We will build objects and dependencies in a subdirectory because |
|
|
3519 |
# it helps to detect inapplicable dependency modes. For instance |
|
|
3520 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
|
3521 |
# side effect of compilation, but ICC will put the dependencies in |
|
|
3522 |
# the current directory while Tru64 will put them in the object |
|
|
3523 |
# directory. |
|
|
3524 |
mkdir sub |
|
|
3525 |
|
|
|
3526 |
am_cv_CC_dependencies_compiler_type=none |
|
|
3527 |
if test "$am_compiler_list" = ""; then |
|
|
3528 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
|
3529 |
fi |
|
|
3530 |
for depmode in $am_compiler_list; do |
|
|
3531 |
# Setup a source with many dependencies, because some compilers |
|
|
3532 |
# like to wrap large dependency lists on column 80 (with \), and |
|
|
3533 |
# we should not choose a depcomp mode which is confused by this. |
|
|
3534 |
# |
|
|
3535 |
# We need to recreate these files for each test, as the compiler may |
|
|
3536 |
# overwrite some of them when testing with obscure command lines. |
|
|
3537 |
# This happens at least with the AIX C compiler. |
|
|
3538 |
: > sub/conftest.c |
|
|
3539 |
for i in 1 2 3 4 5 6; do |
|
|
3540 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
|
3541 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
|
3542 |
# Solaris 8's {/usr,}/bin/sh. |
|
|
3543 |
touch sub/conftst$i.h |
|
|
3544 |
done |
|
|
3545 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
|
3546 |
|
|
|
3547 |
case $depmode in |
|
|
3548 |
nosideeffect) |
|
|
3549 |
# after this tag, mechanisms are not by side-effect, so they'll |
|
|
3550 |
# only be used when explicitly requested |
|
|
3551 |
if test "x$enable_dependency_tracking" = xyes; then |
|
|
3552 |
continue |
|
|
3553 |
else |
|
|
3554 |
break |
|
|
3555 |
fi |
|
|
3556 |
;; |
|
|
3557 |
none) break ;; |
|
|
3558 |
esac |
|
|
3559 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
|
3560 |
# mode. It turns out that the SunPro C++ compiler does not properly |
|
|
3561 |
# handle `-M -o', and we need to detect this. |
|
|
3562 |
if depmode=$depmode \ |
|
|
3563 |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
|
|
3564 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
|
3565 |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
|
|
3566 |
>/dev/null 2>conftest.err && |
|
|
3567 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
|
3568 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
|
3569 |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
|
|
3570 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
|
3571 |
# icc doesn't choke on unknown options, it will just issue warnings |
|
|
3572 |
# or remarks (even with -Werror). So we grep stderr for any message |
|
|
3573 |
# that says an option was ignored or not supported. |
|
|
3574 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
|
3575 |
# icc: Command line warning: ignoring option '-M'; no argument required |
|
|
3576 |
# The diagnosis changed in icc 8.0: |
|
|
3577 |
# icc: Command line remark: option '-MP' not supported |
|
|
3578 |
if (grep 'ignoring option' conftest.err || |
|
|
3579 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
|
3580 |
am_cv_CC_dependencies_compiler_type=$depmode |
|
|
3581 |
break |
|
|
3582 |
fi |
|
|
3583 |
fi |
|
|
3584 |
done |
|
|
3585 |
|
|
|
3586 |
cd .. |
|
|
3587 |
rm -rf conftest.dir |
|
|
3588 |
else |
|
|
3589 |
am_cv_CC_dependencies_compiler_type=none |
|
|
3590 |
fi |
|
|
3591 |
|
|
|
3592 |
fi |
|
|
3593 |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
|
|
3594 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
|
|
3595 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|
|
3596 |
|
|
|
3597 |
if |
|
|
3598 |
test "x$enable_dependency_tracking" != xno \ |
|
|
3599 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
|
3600 |
am__fastdepCC_TRUE= |
|
|
3601 |
am__fastdepCC_FALSE='#' |
|
|
3602 |
else |
|
|
3603 |
am__fastdepCC_TRUE='#' |
|
|
3604 |
am__fastdepCC_FALSE= |
|
|
3605 |
fi |
|
|
3606 |
|
|
|
3607 |
|
|
|
3608 |
case `pwd` in |
|
|
3609 |
*\ * | *\ *) |
|
|
3610 |
{ $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
|
|
3611 |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
|
|
3612 |
esac |
|
|
3613 |
|
|
|
3614 |
|
|
|
3615 |
|
|
|
3616 |
macro_version='2.2.6' |
|
|
3617 |
macro_revision='1.3012' |
|
|
3618 |
|
|
|
3619 |
|
|
|
3620 |
|
|
|
3621 |
|
|
|
3622 |
|
|
|
3623 |
|
|
|
3624 |
|
|
|
3625 |
|
|
|
3626 |
|
|
|
3627 |
|
|
|
3628 |
|
|
|
3629 |
|
|
|
3630 |
|
|
|
3631 |
ltmain="$ac_aux_dir/ltmain.sh" |
|
|
3632 |
|
|
|
3633 |
# Make sure we can run config.sub. |
|
|
3634 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
|
|
3635 |
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
|
|
3636 |
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
|
|
3637 |
{ (exit 1); exit 1; }; } |
|
|
3638 |
|
|
|
3639 |
{ $as_echo "$as_me:$LINENO: checking build system type" >&5 |
|
|
3640 |
$as_echo_n "checking build system type... " >&6; } |
|
|
3641 |
if test "${ac_cv_build+set}" = set; then |
|
|
3642 |
$as_echo_n "(cached) " >&6 |
|
|
3643 |
else |
|
|
3644 |
ac_build_alias=$build_alias |
|
|
3645 |
test "x$ac_build_alias" = x && |
|
|
3646 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
|
|
3647 |
test "x$ac_build_alias" = x && |
|
|
3648 |
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
|
|
3649 |
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
|
|
3650 |
{ (exit 1); exit 1; }; } |
|
|
3651 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
|
|
3652 |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
|
|
3653 |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
|
|
3654 |
{ (exit 1); exit 1; }; } |
|
|
3655 |
|
|
|
3656 |
fi |
|
|
3657 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
|
|
3658 |
$as_echo "$ac_cv_build" >&6; } |
|
|
3659 |
case $ac_cv_build in |
|
|
3660 |
*-*-*) ;; |
|
|
3661 |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
|
|
3662 |
$as_echo "$as_me: error: invalid value of canonical build" >&2;} |
|
|
3663 |
{ (exit 1); exit 1; }; };; |
|
|
3664 |
esac |
|
|
3665 |
build=$ac_cv_build |
|
|
3666 |
ac_save_IFS=$IFS; IFS='-' |
|
|
3667 |
set x $ac_cv_build |
|
|
3668 |
shift |
|
|
3669 |
build_cpu=$1 |
|
|
3670 |
build_vendor=$2 |
|
|
3671 |
shift; shift |
|
|
3672 |
# Remember, the first character of IFS is used to create $*, |
|
|
3673 |
# except with old shells: |
|
|
3674 |
build_os=$* |
|
|
3675 |
IFS=$ac_save_IFS |
|
|
3676 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
|
|
3677 |
|
|
|
3678 |
|
|
|
3679 |
{ $as_echo "$as_me:$LINENO: checking host system type" >&5 |
|
|
3680 |
$as_echo_n "checking host system type... " >&6; } |
|
|
3681 |
if test "${ac_cv_host+set}" = set; then |
|
|
3682 |
$as_echo_n "(cached) " >&6 |
|
|
3683 |
else |
|
|
3684 |
if test "x$host_alias" = x; then |
|
|
3685 |
ac_cv_host=$ac_cv_build |
|
|
3686 |
else |
|
|
3687 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
|
|
3688 |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
|
|
3689 |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
|
|
3690 |
{ (exit 1); exit 1; }; } |
|
|
3691 |
fi |
|
|
3692 |
|
|
|
3693 |
fi |
|
|
3694 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
|
|
3695 |
$as_echo "$ac_cv_host" >&6; } |
|
|
3696 |
case $ac_cv_host in |
|
|
3697 |
*-*-*) ;; |
|
|
3698 |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
|
|
3699 |
$as_echo "$as_me: error: invalid value of canonical host" >&2;} |
|
|
3700 |
{ (exit 1); exit 1; }; };; |
|
|
3701 |
esac |
|
|
3702 |
host=$ac_cv_host |
|
|
3703 |
ac_save_IFS=$IFS; IFS='-' |
|
|
3704 |
set x $ac_cv_host |
|
|
3705 |
shift |
|
|
3706 |
host_cpu=$1 |
|
|
3707 |
host_vendor=$2 |
|
|
3708 |
shift; shift |
|
|
3709 |
# Remember, the first character of IFS is used to create $*, |
|
|
3710 |
# except with old shells: |
|
|
3711 |
host_os=$* |
|
|
3712 |
IFS=$ac_save_IFS |
|
|
3713 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|
|
3714 |
|
|
|
3715 |
|
|
|
3716 |
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 |
|
|
3717 |
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
|
|
3718 |
if test "${ac_cv_path_SED+set}" = set; then |
|
|
3719 |
$as_echo_n "(cached) " >&6 |
|
|
3720 |
else |
|
|
3721 |
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
|
|
3722 |
for ac_i in 1 2 3 4 5 6 7; do |
|
|
3723 |
ac_script="$ac_script$as_nl$ac_script" |
|
|
3724 |
done |
|
|
3725 |
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
|
|
3726 |
$as_unset ac_script || ac_script= |
|
|
3727 |
if test -z "$SED"; then |
|
|
3728 |
ac_path_SED_found=false |
|
|
3729 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
|
3730 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3731 |
for as_dir in $PATH |
|
|
3732 |
do |
|
|
3733 |
IFS=$as_save_IFS |
|
|
3734 |
test -z "$as_dir" && as_dir=. |
|
|
3735 |
for ac_prog in sed gsed; do |
|
|
3736 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3737 |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
|
|
3738 |
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
|
|
3739 |
# Check for GNU ac_path_SED and select it if it is found. |
|
|
3740 |
# Check for GNU $ac_path_SED |
|
|
3741 |
case `"$ac_path_SED" --version 2>&1` in |
|
|
3742 |
*GNU*) |
|
|
3743 |
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
|
|
3744 |
*) |
|
|
3745 |
ac_count=0 |
|
|
3746 |
$as_echo_n 0123456789 >"conftest.in" |
|
|
3747 |
while : |
|
|
3748 |
do |
|
|
3749 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
|
3750 |
mv "conftest.tmp" "conftest.in" |
|
|
3751 |
cp "conftest.in" "conftest.nl" |
|
|
3752 |
$as_echo '' >> "conftest.nl" |
|
|
3753 |
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
|
3754 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
|
3755 |
ac_count=`expr $ac_count + 1` |
|
|
3756 |
if test $ac_count -gt ${ac_path_SED_max-0}; then |
|
|
3757 |
# Best one so far, save it but keep looking for a better one |
|
|
3758 |
ac_cv_path_SED="$ac_path_SED" |
|
|
3759 |
ac_path_SED_max=$ac_count |
|
|
3760 |
fi |
|
|
3761 |
# 10*(2^10) chars as input seems more than enough |
|
|
3762 |
test $ac_count -gt 10 && break |
|
|
3763 |
done |
|
|
3764 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
|
3765 |
esac |
|
|
3766 |
|
|
|
3767 |
$ac_path_SED_found && break 3 |
|
|
3768 |
done |
|
|
3769 |
done |
|
|
3770 |
done |
|
|
3771 |
IFS=$as_save_IFS |
|
|
3772 |
if test -z "$ac_cv_path_SED"; then |
|
|
3773 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 |
|
|
3774 |
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} |
|
|
3775 |
{ (exit 1); exit 1; }; } |
|
|
3776 |
fi |
|
|
3777 |
else |
|
|
3778 |
ac_cv_path_SED=$SED |
|
|
3779 |
fi |
|
|
3780 |
|
|
|
3781 |
fi |
|
|
3782 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 |
|
|
3783 |
$as_echo "$ac_cv_path_SED" >&6; } |
|
|
3784 |
SED="$ac_cv_path_SED" |
|
|
3785 |
rm -f conftest.sed |
|
|
3786 |
|
|
|
3787 |
test -z "$SED" && SED=sed |
|
|
3788 |
Xsed="$SED -e 1s/^X//" |
|
|
3789 |
|
|
|
3790 |
|
|
|
3791 |
|
|
|
3792 |
|
|
|
3793 |
|
|
|
3794 |
|
|
|
3795 |
|
|
|
3796 |
|
|
|
3797 |
|
|
|
3798 |
|
|
|
3799 |
|
|
|
3800 |
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
|
|
3801 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
|
|
3802 |
if test "${ac_cv_path_GREP+set}" = set; then |
|
|
3803 |
$as_echo_n "(cached) " >&6 |
|
|
3804 |
else |
|
|
3805 |
if test -z "$GREP"; then |
|
|
3806 |
ac_path_GREP_found=false |
|
|
3807 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
|
3808 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3809 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
|
3810 |
do |
|
|
3811 |
IFS=$as_save_IFS |
|
|
3812 |
test -z "$as_dir" && as_dir=. |
|
|
3813 |
for ac_prog in grep ggrep; do |
|
|
3814 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3815 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
|
3816 |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
|
|
3817 |
# Check for GNU ac_path_GREP and select it if it is found. |
|
|
3818 |
# Check for GNU $ac_path_GREP |
|
|
3819 |
case `"$ac_path_GREP" --version 2>&1` in |
|
|
3820 |
*GNU*) |
|
|
3821 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
|
3822 |
*) |
|
|
3823 |
ac_count=0 |
|
|
3824 |
$as_echo_n 0123456789 >"conftest.in" |
|
|
3825 |
while : |
|
|
3826 |
do |
|
|
3827 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
|
3828 |
mv "conftest.tmp" "conftest.in" |
|
|
3829 |
cp "conftest.in" "conftest.nl" |
|
|
3830 |
$as_echo 'GREP' >> "conftest.nl" |
|
|
3831 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
|
3832 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
|
3833 |
ac_count=`expr $ac_count + 1` |
|
|
3834 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
|
3835 |
# Best one so far, save it but keep looking for a better one |
|
|
3836 |
ac_cv_path_GREP="$ac_path_GREP" |
|
|
3837 |
ac_path_GREP_max=$ac_count |
|
|
3838 |
fi |
|
|
3839 |
# 10*(2^10) chars as input seems more than enough |
|
|
3840 |
test $ac_count -gt 10 && break |
|
|
3841 |
done |
|
|
3842 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
|
3843 |
esac |
|
|
3844 |
|
|
|
3845 |
$ac_path_GREP_found && break 3 |
|
|
3846 |
done |
|
|
3847 |
done |
|
|
3848 |
done |
|
|
3849 |
IFS=$as_save_IFS |
|
|
3850 |
if test -z "$ac_cv_path_GREP"; then |
|
|
3851 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
|
3852 |
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
|
3853 |
{ (exit 1); exit 1; }; } |
|
|
3854 |
fi |
|
|
3855 |
else |
|
|
3856 |
ac_cv_path_GREP=$GREP |
|
|
3857 |
fi |
|
|
3858 |
|
|
|
3859 |
fi |
|
|
3860 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
|
|
3861 |
$as_echo "$ac_cv_path_GREP" >&6; } |
|
|
3862 |
GREP="$ac_cv_path_GREP" |
|
|
3863 |
|
|
|
3864 |
|
|
|
3865 |
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
|
|
3866 |
$as_echo_n "checking for egrep... " >&6; } |
|
|
3867 |
if test "${ac_cv_path_EGREP+set}" = set; then |
|
|
3868 |
$as_echo_n "(cached) " >&6 |
|
|
3869 |
else |
|
|
3870 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
|
3871 |
then ac_cv_path_EGREP="$GREP -E" |
|
|
3872 |
else |
|
|
3873 |
if test -z "$EGREP"; then |
|
|
3874 |
ac_path_EGREP_found=false |
|
|
3875 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
|
3876 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3877 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
|
3878 |
do |
|
|
3879 |
IFS=$as_save_IFS |
|
|
3880 |
test -z "$as_dir" && as_dir=. |
|
|
3881 |
for ac_prog in egrep; do |
|
|
3882 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3883 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
|
3884 |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
|
|
3885 |
# Check for GNU ac_path_EGREP and select it if it is found. |
|
|
3886 |
# Check for GNU $ac_path_EGREP |
|
|
3887 |
case `"$ac_path_EGREP" --version 2>&1` in |
|
|
3888 |
*GNU*) |
|
|
3889 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
|
3890 |
*) |
|
|
3891 |
ac_count=0 |
|
|
3892 |
$as_echo_n 0123456789 >"conftest.in" |
|
|
3893 |
while : |
|
|
3894 |
do |
|
|
3895 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
|
3896 |
mv "conftest.tmp" "conftest.in" |
|
|
3897 |
cp "conftest.in" "conftest.nl" |
|
|
3898 |
$as_echo 'EGREP' >> "conftest.nl" |
|
|
3899 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
|
3900 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
|
3901 |
ac_count=`expr $ac_count + 1` |
|
|
3902 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
|
3903 |
# Best one so far, save it but keep looking for a better one |
|
|
3904 |
ac_cv_path_EGREP="$ac_path_EGREP" |
|
|
3905 |
ac_path_EGREP_max=$ac_count |
|
|
3906 |
fi |
|
|
3907 |
# 10*(2^10) chars as input seems more than enough |
|
|
3908 |
test $ac_count -gt 10 && break |
|
|
3909 |
done |
|
|
3910 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
|
3911 |
esac |
|
|
3912 |
|
|
|
3913 |
$ac_path_EGREP_found && break 3 |
|
|
3914 |
done |
|
|
3915 |
done |
|
|
3916 |
done |
|
|
3917 |
IFS=$as_save_IFS |
|
|
3918 |
if test -z "$ac_cv_path_EGREP"; then |
|
|
3919 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
|
3920 |
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
|
3921 |
{ (exit 1); exit 1; }; } |
|
|
3922 |
fi |
|
|
3923 |
else |
|
|
3924 |
ac_cv_path_EGREP=$EGREP |
|
|
3925 |
fi |
|
|
3926 |
|
|
|
3927 |
fi |
|
|
3928 |
fi |
|
|
3929 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
|
|
3930 |
$as_echo "$ac_cv_path_EGREP" >&6; } |
|
|
3931 |
EGREP="$ac_cv_path_EGREP" |
|
|
3932 |
|
|
|
3933 |
|
|
|
3934 |
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 |
|
|
3935 |
$as_echo_n "checking for fgrep... " >&6; } |
|
|
3936 |
if test "${ac_cv_path_FGREP+set}" = set; then |
|
|
3937 |
$as_echo_n "(cached) " >&6 |
|
|
3938 |
else |
|
|
3939 |
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
|
|
3940 |
then ac_cv_path_FGREP="$GREP -F" |
|
|
3941 |
else |
|
|
3942 |
if test -z "$FGREP"; then |
|
|
3943 |
ac_path_FGREP_found=false |
|
|
3944 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
|
3945 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3946 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
|
3947 |
do |
|
|
3948 |
IFS=$as_save_IFS |
|
|
3949 |
test -z "$as_dir" && as_dir=. |
|
|
3950 |
for ac_prog in fgrep; do |
|
|
3951 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3952 |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
|
3953 |
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue |
|
|
3954 |
# Check for GNU ac_path_FGREP and select it if it is found. |
|
|
3955 |
# Check for GNU $ac_path_FGREP |
|
|
3956 |
case `"$ac_path_FGREP" --version 2>&1` in |
|
|
3957 |
*GNU*) |
|
|
3958 |
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; |
|
|
3959 |
*) |
|
|
3960 |
ac_count=0 |
|
|
3961 |
$as_echo_n 0123456789 >"conftest.in" |
|
|
3962 |
while : |
|
|
3963 |
do |
|
|
3964 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
|
3965 |
mv "conftest.tmp" "conftest.in" |
|
|
3966 |
cp "conftest.in" "conftest.nl" |
|
|
3967 |
$as_echo 'FGREP' >> "conftest.nl" |
|
|
3968 |
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
|
3969 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
|
3970 |
ac_count=`expr $ac_count + 1` |
|
|
3971 |
if test $ac_count -gt ${ac_path_FGREP_max-0}; then |
|
|
3972 |
# Best one so far, save it but keep looking for a better one |
|
|
3973 |
ac_cv_path_FGREP="$ac_path_FGREP" |
|
|
3974 |
ac_path_FGREP_max=$ac_count |
|
|
3975 |
fi |
|
|
3976 |
# 10*(2^10) chars as input seems more than enough |
|
|
3977 |
test $ac_count -gt 10 && break |
|
|
3978 |
done |
|
|
3979 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
|
3980 |
esac |
|
|
3981 |
|
|
|
3982 |
$ac_path_FGREP_found && break 3 |
|
|
3983 |
done |
|
|
3984 |
done |
|
|
3985 |
done |
|
|
3986 |
IFS=$as_save_IFS |
|
|
3987 |
if test -z "$ac_cv_path_FGREP"; then |
|
|
3988 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
|
3989 |
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
|
3990 |
{ (exit 1); exit 1; }; } |
|
|
3991 |
fi |
|
|
3992 |
else |
|
|
3993 |
ac_cv_path_FGREP=$FGREP |
|
|
3994 |
fi |
|
|
3995 |
|
|
|
3996 |
fi |
|
|
3997 |
fi |
|
|
3998 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 |
|
|
3999 |
$as_echo "$ac_cv_path_FGREP" >&6; } |
|
|
4000 |
FGREP="$ac_cv_path_FGREP" |
|
|
4001 |
|
|
|
4002 |
|
|
|
4003 |
test -z "$GREP" && GREP=grep |
|
|
4004 |
|
|
|
4005 |
|
|
|
4006 |
|
|
|
4007 |
|
|
|
4008 |
|
|
|
4009 |
|
|
|
4010 |
|
|
|
4011 |
|
|
|
4012 |
|
|
|
4013 |
|
|
|
4014 |
|
|
|
4015 |
|
|
|
4016 |
|
|
|
4017 |
|
|
|
4018 |
|
|
|
4019 |
|
|
|
4020 |
|
|
|
4021 |
|
|
|
4022 |
|
|
|
4023 |
@%:@ Check whether --with-gnu-ld was given. |
|
|
4024 |
if test "${with_gnu_ld+set}" = set; then |
|
|
4025 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
|
|
4026 |
else |
|
|
4027 |
with_gnu_ld=no |
|
|
4028 |
fi |
|
|
4029 |
|
|
|
4030 |
ac_prog=ld |
|
|
4031 |
if test "$GCC" = yes; then |
|
|
4032 |
# Check if gcc -print-prog-name=ld gives a path. |
|
|
4033 |
{ $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
|
|
4034 |
$as_echo_n "checking for ld used by $CC... " >&6; } |
|
|
4035 |
case $host in |
|
|
4036 |
*-*-mingw*) |
|
|
4037 |
# gcc leaves a trailing carriage return which upsets mingw |
|
|
4038 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
|
|
4039 |
*) |
|
|
4040 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
|
|
4041 |
esac |
|
|
4042 |
case $ac_prog in |
|
|
4043 |
# Accept absolute paths. |
|
|
4044 |
[\\/]* | ?:[\\/]*) |
|
|
4045 |
re_direlt='/[^/][^/]*/\.\./' |
|
|
4046 |
# Canonicalize the pathname of ld |
|
|
4047 |
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
|
|
4048 |
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
|
|
4049 |
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
|
|
4050 |
done |
|
|
4051 |
test -z "$LD" && LD="$ac_prog" |
|
|
4052 |
;; |
|
|
4053 |
"") |
|
|
4054 |
# If it fails, then pretend we aren't using GCC. |
|
|
4055 |
ac_prog=ld |
|
|
4056 |
;; |
|
|
4057 |
*) |
|
|
4058 |
# If it is relative, then search for the first ld in PATH. |
|
|
4059 |
with_gnu_ld=unknown |
|
|
4060 |
;; |
|
|
4061 |
esac |
|
|
4062 |
elif test "$with_gnu_ld" = yes; then |
|
|
4063 |
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 |
|
|
4064 |
$as_echo_n "checking for GNU ld... " >&6; } |
|
|
4065 |
else |
|
|
4066 |
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
|
|
4067 |
$as_echo_n "checking for non-GNU ld... " >&6; } |
|
|
4068 |
fi |
|
|
4069 |
if test "${lt_cv_path_LD+set}" = set; then |
|
|
4070 |
$as_echo_n "(cached) " >&6 |
|
|
4071 |
else |
|
|
4072 |
if test -z "$LD"; then |
|
|
4073 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
|
4074 |
for ac_dir in $PATH; do |
|
|
4075 |
IFS="$lt_save_ifs" |
|
|
4076 |
test -z "$ac_dir" && ac_dir=. |
|
|
4077 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
|
|
4078 |
lt_cv_path_LD="$ac_dir/$ac_prog" |
|
|
4079 |
# Check to see if the program is GNU ld. I'd rather use --version, |
|
|
4080 |
# but apparently some variants of GNU ld only accept -v. |
|
|
4081 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
|
|
4082 |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
|
|
4083 |
*GNU* | *'with BFD'*) |
|
|
4084 |
test "$with_gnu_ld" != no && break |
|
|
4085 |
;; |
|
|
4086 |
*) |
|
|
4087 |
test "$with_gnu_ld" != yes && break |
|
|
4088 |
;; |
|
|
4089 |
esac |
|
|
4090 |
fi |
|
|
4091 |
done |
|
|
4092 |
IFS="$lt_save_ifs" |
|
|
4093 |
else |
|
|
4094 |
lt_cv_path_LD="$LD" # Let the user override the test with a path. |
|
|
4095 |
fi |
|
|
4096 |
fi |
|
|
4097 |
|
|
|
4098 |
LD="$lt_cv_path_LD" |
|
|
4099 |
if test -n "$LD"; then |
|
|
4100 |
{ $as_echo "$as_me:$LINENO: result: $LD" >&5 |
|
|
4101 |
$as_echo "$LD" >&6; } |
|
|
4102 |
else |
|
|
4103 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
4104 |
$as_echo "no" >&6; } |
|
|
4105 |
fi |
|
|
4106 |
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
|
|
4107 |
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
|
|
4108 |
{ (exit 1); exit 1; }; } |
|
|
4109 |
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
|
|
4110 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
|
|
4111 |
if test "${lt_cv_prog_gnu_ld+set}" = set; then |
|
|
4112 |
$as_echo_n "(cached) " >&6 |
|
|
4113 |
else |
|
|
4114 |
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
|
|
4115 |
case `$LD -v 2>&1 </dev/null` in |
|
|
4116 |
*GNU* | *'with BFD'*) |
|
|
4117 |
lt_cv_prog_gnu_ld=yes |
|
|
4118 |
;; |
|
|
4119 |
*) |
|
|
4120 |
lt_cv_prog_gnu_ld=no |
|
|
4121 |
;; |
|
|
4122 |
esac |
|
|
4123 |
fi |
|
|
4124 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
|
|
4125 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; } |
|
|
4126 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
|
|
4127 |
|
|
|
4128 |
|
|
|
4129 |
|
|
|
4130 |
|
|
|
4131 |
|
|
|
4132 |
|
|
|
4133 |
|
|
|
4134 |
|
|
|
4135 |
|
|
|
4136 |
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 |
|
|
4137 |
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
|
|
4138 |
if test "${lt_cv_path_NM+set}" = set; then |
|
|
4139 |
$as_echo_n "(cached) " >&6 |
|
|
4140 |
else |
|
|
4141 |
if test -n "$NM"; then |
|
|
4142 |
# Let the user override the test. |
|
|
4143 |
lt_cv_path_NM="$NM" |
|
|
4144 |
else |
|
|
4145 |
lt_nm_to_check="${ac_tool_prefix}nm" |
|
|
4146 |
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
|
|
4147 |
lt_nm_to_check="$lt_nm_to_check nm" |
|
|
4148 |
fi |
|
|
4149 |
for lt_tmp_nm in $lt_nm_to_check; do |
|
|
4150 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
|
4151 |
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
|
|
4152 |
IFS="$lt_save_ifs" |
|
|
4153 |
test -z "$ac_dir" && ac_dir=. |
|
|
4154 |
tmp_nm="$ac_dir/$lt_tmp_nm" |
|
|
4155 |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
|
|
4156 |
# Check to see if the nm accepts a BSD-compat flag. |
|
|
4157 |
# Adding the `sed 1q' prevents false positives on HP-UX, which says: |
|
|
4158 |
# nm: unknown option "B" ignored |
|
|
4159 |
# Tru64's nm complains that /dev/null is an invalid object file |
|
|
4160 |
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
|
|
4161 |
*/dev/null* | *'Invalid file or object type'*) |
|
|
4162 |
lt_cv_path_NM="$tmp_nm -B" |
|
|
4163 |
break |
|
|
4164 |
;; |
|
|
4165 |
*) |
|
|
4166 |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
|
|
4167 |
*/dev/null*) |
|
|
4168 |
lt_cv_path_NM="$tmp_nm -p" |
|
|
4169 |
break |
|
|
4170 |
;; |
|
|
4171 |
*) |
|
|
4172 |
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
|
|
4173 |
continue # so that we can try to find one that supports BSD flags |
|
|
4174 |
;; |
|
|
4175 |
esac |
|
|
4176 |
;; |
|
|
4177 |
esac |
|
|
4178 |
fi |
|
|
4179 |
done |
|
|
4180 |
IFS="$lt_save_ifs" |
|
|
4181 |
done |
|
|
4182 |
: ${lt_cv_path_NM=no} |
|
|
4183 |
fi |
|
|
4184 |
fi |
|
|
4185 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 |
|
|
4186 |
$as_echo "$lt_cv_path_NM" >&6; } |
|
|
4187 |
if test "$lt_cv_path_NM" != "no"; then |
|
|
4188 |
NM="$lt_cv_path_NM" |
|
|
4189 |
else |
|
|
4190 |
# Didn't find any BSD compatible name lister, look for dumpbin. |
|
|
4191 |
if test -n "$ac_tool_prefix"; then |
|
|
4192 |
for ac_prog in "dumpbin -symbols" "link -dump -symbols" |
|
|
4193 |
do |
|
|
4194 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
|
4195 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
|
4196 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4197 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
4198 |
if test "${ac_cv_prog_DUMPBIN+set}" = set; then |
|
|
4199 |
$as_echo_n "(cached) " >&6 |
|
|
4200 |
else |
|
|
4201 |
if test -n "$DUMPBIN"; then |
|
|
4202 |
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. |
|
|
4203 |
else |
|
|
4204 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4205 |
for as_dir in $PATH |
|
|
4206 |
do |
|
|
4207 |
IFS=$as_save_IFS |
|
|
4208 |
test -z "$as_dir" && as_dir=. |
|
|
4209 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4210 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
4211 |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
|
|
4212 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4213 |
break 2 |
|
|
4214 |
fi |
|
|
4215 |
done |
|
|
4216 |
done |
|
|
4217 |
IFS=$as_save_IFS |
|
|
4218 |
|
|
|
4219 |
fi |
|
|
4220 |
fi |
|
|
4221 |
DUMPBIN=$ac_cv_prog_DUMPBIN |
|
|
4222 |
if test -n "$DUMPBIN"; then |
|
|
4223 |
{ $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 |
|
|
4224 |
$as_echo "$DUMPBIN" >&6; } |
|
|
4225 |
else |
|
|
4226 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
4227 |
$as_echo "no" >&6; } |
|
|
4228 |
fi |
|
|
4229 |
|
|
|
4230 |
|
|
|
4231 |
test -n "$DUMPBIN" && break |
|
|
4232 |
done |
|
|
4233 |
fi |
|
|
4234 |
if test -z "$DUMPBIN"; then |
|
|
4235 |
ac_ct_DUMPBIN=$DUMPBIN |
|
|
4236 |
for ac_prog in "dumpbin -symbols" "link -dump -symbols" |
|
|
4237 |
do |
|
|
4238 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
4239 |
set dummy $ac_prog; ac_word=$2 |
|
|
4240 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4241 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
4242 |
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then |
|
|
4243 |
$as_echo_n "(cached) " >&6 |
|
|
4244 |
else |
|
|
4245 |
if test -n "$ac_ct_DUMPBIN"; then |
|
|
4246 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. |
|
|
4247 |
else |
|
|
4248 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4249 |
for as_dir in $PATH |
|
|
4250 |
do |
|
|
4251 |
IFS=$as_save_IFS |
|
|
4252 |
test -z "$as_dir" && as_dir=. |
|
|
4253 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4254 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
4255 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
|
|
4256 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4257 |
break 2 |
|
|
4258 |
fi |
|
|
4259 |
done |
|
|
4260 |
done |
|
|
4261 |
IFS=$as_save_IFS |
|
|
4262 |
|
|
|
4263 |
fi |
|
|
4264 |
fi |
|
|
4265 |
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
|
|
4266 |
if test -n "$ac_ct_DUMPBIN"; then |
|
|
4267 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 |
|
|
4268 |
$as_echo "$ac_ct_DUMPBIN" >&6; } |
|
|
4269 |
else |
|
|
4270 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
4271 |
$as_echo "no" >&6; } |
|
|
4272 |
fi |
|
|
4273 |
|
|
|
4274 |
|
|
|
4275 |
test -n "$ac_ct_DUMPBIN" && break |
|
|
4276 |
done |
|
|
4277 |
|
|
|
4278 |
if test "x$ac_ct_DUMPBIN" = x; then |
|
|
4279 |
DUMPBIN=":" |
|
|
4280 |
else |
|
|
4281 |
case $cross_compiling:$ac_tool_warned in |
|
|
4282 |
yes:) |
|
|
4283 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
4284 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
4285 |
ac_tool_warned=yes ;; |
|
|
4286 |
esac |
|
|
4287 |
DUMPBIN=$ac_ct_DUMPBIN |
|
|
4288 |
fi |
|
|
4289 |
fi |
|
|
4290 |
|
|
|
4291 |
|
|
|
4292 |
if test "$DUMPBIN" != ":"; then |
|
|
4293 |
NM="$DUMPBIN" |
|
|
4294 |
fi |
|
|
4295 |
fi |
|
|
4296 |
test -z "$NM" && NM=nm |
|
|
4297 |
|
|
|
4298 |
|
|
|
4299 |
|
|
|
4300 |
|
|
|
4301 |
|
|
|
4302 |
|
|
|
4303 |
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 |
|
|
4304 |
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
|
|
4305 |
if test "${lt_cv_nm_interface+set}" = set; then |
|
|
4306 |
$as_echo_n "(cached) " >&6 |
|
|
4307 |
else |
|
|
4308 |
lt_cv_nm_interface="BSD nm" |
|
|
4309 |
echo "int some_variable = 0;" > conftest.$ac_ext |
|
|
4310 |
(eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5) |
|
|
4311 |
(eval "$ac_compile" 2>conftest.err) |
|
|
4312 |
cat conftest.err >&5 |
|
|
4313 |
(eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
|
|
4314 |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
|
|
4315 |
cat conftest.err >&5 |
|
|
4316 |
(eval echo "\"\$as_me:__oline__: output\"" >&5) |
|
|
4317 |
cat conftest.out >&5 |
|
|
4318 |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
|
|
4319 |
lt_cv_nm_interface="MS dumpbin" |
|
|
4320 |
fi |
|
|
4321 |
rm -f conftest* |
|
|
4322 |
fi |
|
|
4323 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 |
|
|
4324 |
$as_echo "$lt_cv_nm_interface" >&6; } |
|
|
4325 |
|
|
|
4326 |
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
|
|
4327 |
$as_echo_n "checking whether ln -s works... " >&6; } |
|
|
4328 |
LN_S=$as_ln_s |
|
|
4329 |
if test "$LN_S" = "ln -s"; then |
|
|
4330 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
|
|
4331 |
$as_echo "yes" >&6; } |
|
|
4332 |
else |
|
|
4333 |
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
|
|
4334 |
$as_echo "no, using $LN_S" >&6; } |
|
|
4335 |
fi |
|
|
4336 |
|
|
|
4337 |
# find the maximum length of command line arguments |
|
|
4338 |
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 |
|
|
4339 |
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
|
|
4340 |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then |
|
|
4341 |
$as_echo_n "(cached) " >&6 |
|
|
4342 |
else |
|
|
4343 |
i=0 |
|
|
4344 |
teststring="ABCD" |
|
|
4345 |
|
|
|
4346 |
case $build_os in |
|
|
4347 |
msdosdjgpp*) |
|
|
4348 |
# On DJGPP, this test can blow up pretty badly due to problems in libc |
|
|
4349 |
# (any single argument exceeding 2000 bytes causes a buffer overrun |
|
|
4350 |
# during glob expansion). Even if it were fixed, the result of this |
|
|
4351 |
# check would be larger than it should be. |
|
|
4352 |
lt_cv_sys_max_cmd_len=12288; # 12K is about right |
|
|
4353 |
;; |
|
|
4354 |
|
|
|
4355 |
gnu*) |
|
|
4356 |
# Under GNU Hurd, this test is not required because there is |
|
|
4357 |
# no limit to the length of command line arguments. |
|
|
4358 |
# Libtool will interpret -1 as no limit whatsoever |
|
|
4359 |
lt_cv_sys_max_cmd_len=-1; |
|
|
4360 |
;; |
|
|
4361 |
|
|
|
4362 |
cygwin* | mingw* | cegcc*) |
|
|
4363 |
# On Win9x/ME, this test blows up -- it succeeds, but takes |
|
|
4364 |
# about 5 minutes as the teststring grows exponentially. |
|
|
4365 |
# Worse, since 9x/ME are not pre-emptively multitasking, |
|
|
4366 |
# you end up with a "frozen" computer, even though with patience |
|
|
4367 |
# the test eventually succeeds (with a max line length of 256k). |
|
|
4368 |
# Instead, let's just punt: use the minimum linelength reported by |
|
|
4369 |
# all of the supported platforms: 8192 (on NT/2K/XP). |
|
|
4370 |
lt_cv_sys_max_cmd_len=8192; |
|
|
4371 |
;; |
|
|
4372 |
|
|
|
4373 |
amigaos*) |
|
|
4374 |
# On AmigaOS with pdksh, this test takes hours, literally. |
|
|
4375 |
# So we just punt and use a minimum line length of 8192. |
|
|
4376 |
lt_cv_sys_max_cmd_len=8192; |
|
|
4377 |
;; |
|
|
4378 |
|
|
|
4379 |
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
|
|
4380 |
# This has been around since 386BSD, at least. Likely further. |
|
|
4381 |
if test -x /sbin/sysctl; then |
|
|
4382 |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
|
|
4383 |
elif test -x /usr/sbin/sysctl; then |
|
|
4384 |
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
|
|
4385 |
else |
|
|
4386 |
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
|
|
4387 |
fi |
|
|
4388 |
# And add a safety zone |
|
|
4389 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
|
4390 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
|
4391 |
;; |
|
|
4392 |
|
|
|
4393 |
interix*) |
|
|
4394 |
# We know the value 262144 and hardcode it with a safety zone (like BSD) |
|
|
4395 |
lt_cv_sys_max_cmd_len=196608 |
|
|
4396 |
;; |
|
|
4397 |
|
|
|
4398 |
osf*) |
|
|
4399 |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
|
|
4400 |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
|
|
4401 |
# nice to cause kernel panics so lets avoid the loop below. |
|
|
4402 |
# First set a reasonable default. |
|
|
4403 |
lt_cv_sys_max_cmd_len=16384 |
|
|
4404 |
# |
|
|
4405 |
if test -x /sbin/sysconfig; then |
|
|
4406 |
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
|
|
4407 |
*1*) lt_cv_sys_max_cmd_len=-1 ;; |
|
|
4408 |
esac |
|
|
4409 |
fi |
|
|
4410 |
;; |
|
|
4411 |
sco3.2v5*) |
|
|
4412 |
lt_cv_sys_max_cmd_len=102400 |
|
|
4413 |
;; |
|
|
4414 |
sysv5* | sco5v6* | sysv4.2uw2*) |
|
|
4415 |
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
|
|
4416 |
if test -n "$kargmax"; then |
|
|
4417 |
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
|
|
4418 |
else |
|
|
4419 |
lt_cv_sys_max_cmd_len=32768 |
|
|
4420 |
fi |
|
|
4421 |
;; |
|
|
4422 |
*) |
|
|
4423 |
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
|
|
4424 |
if test -n "$lt_cv_sys_max_cmd_len"; then |
|
|
4425 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
|
4426 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
|
4427 |
else |
|
|
4428 |
# Make teststring a little bigger before we do anything with it. |
|
|
4429 |
# a 1K string should be a reasonable start. |
|
|
4430 |
for i in 1 2 3 4 5 6 7 8 ; do |
|
|
4431 |
teststring=$teststring$teststring |
|
|
4432 |
done |
|
|
4433 |
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
|
|
4434 |
# If test is not a shell built-in, we'll probably end up computing a |
|
|
4435 |
# maximum length that is only half of the actual maximum length, but |
|
|
4436 |
# we can't tell. |
|
|
4437 |
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ |
|
|
4438 |
= "XX$teststring$teststring"; } >/dev/null 2>&1 && |
|
|
4439 |
test $i != 17 # 1/2 MB should be enough |
|
|
4440 |
do |
|
|
4441 |
i=`expr $i + 1` |
|
|
4442 |
teststring=$teststring$teststring |
|
|
4443 |
done |
|
|
4444 |
# Only check the string length outside the loop. |
|
|
4445 |
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
|
|
4446 |
teststring= |
|
|
4447 |
# Add a significant safety factor because C++ compilers can tack on |
|
|
4448 |
# massive amounts of additional arguments before passing them to the |
|
|
4449 |
# linker. It appears as though 1/2 is a usable value. |
|
|
4450 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
|
|
4451 |
fi |
|
|
4452 |
;; |
|
|
4453 |
esac |
|
|
4454 |
|
|
|
4455 |
fi |
|
|
4456 |
|
|
|
4457 |
if test -n $lt_cv_sys_max_cmd_len ; then |
|
|
4458 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 |
|
|
4459 |
$as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
|
|
4460 |
else |
|
|
4461 |
{ $as_echo "$as_me:$LINENO: result: none" >&5 |
|
|
4462 |
$as_echo "none" >&6; } |
|
|
4463 |
fi |
|
|
4464 |
max_cmd_len=$lt_cv_sys_max_cmd_len |
|
|
4465 |
|
|
|
4466 |
|
|
|
4467 |
|
|
|
4468 |
|
|
|
4469 |
|
|
|
4470 |
|
|
|
4471 |
: ${CP="cp -f"} |
|
|
4472 |
: ${MV="mv -f"} |
|
|
4473 |
: ${RM="rm -f"} |
|
|
4474 |
|
|
|
4475 |
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 |
|
|
4476 |
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } |
|
|
4477 |
# Try some XSI features |
|
|
4478 |
xsi_shell=no |
|
|
4479 |
( _lt_dummy="a/b/c" |
|
|
4480 |
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ |
|
|
4481 |
= c,a/b,, \ |
|
|
4482 |
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
|
|
4483 |
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
|
|
4484 |
&& xsi_shell=yes |
|
|
4485 |
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 |
|
|
4486 |
$as_echo "$xsi_shell" >&6; } |
|
|
4487 |
|
|
|
4488 |
|
|
|
4489 |
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 |
|
|
4490 |
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } |
|
|
4491 |
lt_shell_append=no |
|
|
4492 |
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ |
|
|
4493 |
>/dev/null 2>&1 \ |
|
|
4494 |
&& lt_shell_append=yes |
|
|
4495 |
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 |
|
|
4496 |
$as_echo "$lt_shell_append" >&6; } |
|
|
4497 |
|
|
|
4498 |
|
|
|
4499 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
4500 |
lt_unset=unset |
|
|
4501 |
else |
|
|
4502 |
lt_unset=false |
|
|
4503 |
fi |
|
|
4504 |
|
|
|
4505 |
|
|
|
4506 |
|
|
|
4507 |
|
|
|
4508 |
|
|
|
4509 |
# test EBCDIC or ASCII |
|
|
4510 |
case `echo X|tr X '\101'` in |
|
|
4511 |
A) # ASCII based system |
|
|
4512 |
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr |
|
|
4513 |
lt_SP2NL='tr \040 \012' |
|
|
4514 |
lt_NL2SP='tr \015\012 \040\040' |
|
|
4515 |
;; |
|
|
4516 |
*) # EBCDIC based system |
|
|
4517 |
lt_SP2NL='tr \100 \n' |
|
|
4518 |
lt_NL2SP='tr \r\n \100\100' |
|
|
4519 |
;; |
|
|
4520 |
esac |
|
|
4521 |
|
|
|
4522 |
|
|
|
4523 |
|
|
|
4524 |
|
|
|
4525 |
|
|
|
4526 |
|
|
|
4527 |
|
|
|
4528 |
|
|
|
4529 |
|
|
|
4530 |
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
|
|
4531 |
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
|
|
4532 |
if test "${lt_cv_ld_reload_flag+set}" = set; then |
|
|
4533 |
$as_echo_n "(cached) " >&6 |
|
|
4534 |
else |
|
|
4535 |
lt_cv_ld_reload_flag='-r' |
|
|
4536 |
fi |
|
|
4537 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
|
|
4538 |
$as_echo "$lt_cv_ld_reload_flag" >&6; } |
|
|
4539 |
reload_flag=$lt_cv_ld_reload_flag |
|
|
4540 |
case $reload_flag in |
|
|
4541 |
"" | " "*) ;; |
|
|
4542 |
*) reload_flag=" $reload_flag" ;; |
|
|
4543 |
esac |
|
|
4544 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
|
4545 |
case $host_os in |
|
|
4546 |
darwin*) |
|
|
4547 |
if test "$GCC" = yes; then |
|
|
4548 |
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
|
|
4549 |
else |
|
|
4550 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
|
4551 |
fi |
|
|
4552 |
;; |
|
|
4553 |
esac |
|
|
4554 |
|
|
|
4555 |
|
|
|
4556 |
|
|
|
4557 |
|
|
|
4558 |
|
|
|
4559 |
|
|
|
4560 |
|
|
|
4561 |
|
|
|
4562 |
|
|
|
4563 |
if test -n "$ac_tool_prefix"; then |
|
|
4564 |
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
|
|
4565 |
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
|
|
4566 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4567 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
4568 |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then |
|
|
4569 |
$as_echo_n "(cached) " >&6 |
|
|
4570 |
else |
|
|
4571 |
if test -n "$OBJDUMP"; then |
|
|
4572 |
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
|
|
4573 |
else |
|
|
4574 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4575 |
for as_dir in $PATH |
|
|
4576 |
do |
|
|
4577 |
IFS=$as_save_IFS |
|
|
4578 |
test -z "$as_dir" && as_dir=. |
|
|
4579 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4580 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
4581 |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
|
|
4582 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4583 |
break 2 |
|
|
4584 |
fi |
|
|
4585 |
done |
|
|
4586 |
done |
|
|
4587 |
IFS=$as_save_IFS |
|
|
4588 |
|
|
|
4589 |
fi |
|
|
4590 |
fi |
|
|
4591 |
OBJDUMP=$ac_cv_prog_OBJDUMP |
|
|
4592 |
if test -n "$OBJDUMP"; then |
|
|
4593 |
{ $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 |
|
|
4594 |
$as_echo "$OBJDUMP" >&6; } |
|
|
4595 |
else |
|
|
4596 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
4597 |
$as_echo "no" >&6; } |
|
|
4598 |
fi |
|
|
4599 |
|
|
|
4600 |
|
|
|
4601 |
fi |
|
|
4602 |
if test -z "$ac_cv_prog_OBJDUMP"; then |
|
|
4603 |
ac_ct_OBJDUMP=$OBJDUMP |
|
|
4604 |
# Extract the first word of "objdump", so it can be a program name with args. |
|
|
4605 |
set dummy objdump; ac_word=$2 |
|
|
4606 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4607 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
4608 |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then |
|
|
4609 |
$as_echo_n "(cached) " >&6 |
|
|
4610 |
else |
|
|
4611 |
if test -n "$ac_ct_OBJDUMP"; then |
|
|
4612 |
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
|
|
4613 |
else |
|
|
4614 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4615 |
for as_dir in $PATH |
|
|
4616 |
do |
|
|
4617 |
IFS=$as_save_IFS |
|
|
4618 |
test -z "$as_dir" && as_dir=. |
|
|
4619 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4620 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
4621 |
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
|
|
4622 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4623 |
break 2 |
|
|
4624 |
fi |
|
|
4625 |
done |
|
|
4626 |
done |
|
|
4627 |
IFS=$as_save_IFS |
|
|
4628 |
|
|
|
4629 |
fi |
|
|
4630 |
fi |
|
|
4631 |
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
|
|
4632 |
if test -n "$ac_ct_OBJDUMP"; then |
|
|
4633 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 |
|
|
4634 |
$as_echo "$ac_ct_OBJDUMP" >&6; } |
|
|
4635 |
else |
|
|
4636 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
4637 |
$as_echo "no" >&6; } |
|
|
4638 |
fi |
|
|
4639 |
|
|
|
4640 |
if test "x$ac_ct_OBJDUMP" = x; then |
|
|
4641 |
OBJDUMP="false" |
|
|
4642 |
else |
|
|
4643 |
case $cross_compiling:$ac_tool_warned in |
|
|
4644 |
yes:) |
|
|
4645 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
4646 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
4647 |
ac_tool_warned=yes ;; |
|
|
4648 |
esac |
|
|
4649 |
OBJDUMP=$ac_ct_OBJDUMP |
|
|
4650 |
fi |
|
|
4651 |
else |
|
|
4652 |
OBJDUMP="$ac_cv_prog_OBJDUMP" |
|
|
4653 |
fi |
|
|
4654 |
|
|
|
4655 |
test -z "$OBJDUMP" && OBJDUMP=objdump |
|
|
4656 |
|
|
|
4657 |
|
|
|
4658 |
|
|
|
4659 |
|
|
|
4660 |
|
|
|
4661 |
|
|
|
4662 |
|
|
|
4663 |
|
|
|
4664 |
|
|
|
4665 |
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 |
|
|
4666 |
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
|
|
4667 |
if test "${lt_cv_deplibs_check_method+set}" = set; then |
|
|
4668 |
$as_echo_n "(cached) " >&6 |
|
|
4669 |
else |
|
|
4670 |
lt_cv_file_magic_cmd='$MAGIC_CMD' |
|
|
4671 |
lt_cv_file_magic_test_file= |
|
|
4672 |
lt_cv_deplibs_check_method='unknown' |
|
|
4673 |
# Need to set the preceding variable on all platforms that support |
|
|
4674 |
# interlibrary dependencies. |
|
|
4675 |
# 'none' -- dependencies not supported. |
|
|
4676 |
# `unknown' -- same as none, but documents that we really don't know. |
|
|
4677 |
# 'pass_all' -- all dependencies passed with no checks. |
|
|
4678 |
# 'test_compile' -- check by making test program. |
|
|
4679 |
# 'file_magic [[regex]]' -- check by looking for files in library path |
|
|
4680 |
# which responds to the $file_magic_cmd with a given extended regex. |
|
|
4681 |
# If you have `file' or equivalent on your system and you're not sure |
|
|
4682 |
# whether `pass_all' will *always* work, you probably want this one. |
|
|
4683 |
|
|
|
4684 |
case $host_os in |
|
|
4685 |
aix[4-9]*) |
|
|
4686 |
lt_cv_deplibs_check_method=pass_all |
|
|
4687 |
;; |
|
|
4688 |
|
|
|
4689 |
beos*) |
|
|
4690 |
lt_cv_deplibs_check_method=pass_all |
|
|
4691 |
;; |
|
|
4692 |
|
|
|
4693 |
bsdi[45]*) |
|
|
4694 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
|
|
4695 |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
|
|
4696 |
lt_cv_file_magic_test_file=/shlib/libc.so |
|
|
4697 |
;; |
|
|
4698 |
|
|
|
4699 |
cygwin*) |
|
|
4700 |
# func_win32_libid is a shell function defined in ltmain.sh |
|
|
4701 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
|
|
4702 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
|
4703 |
;; |
|
|
4704 |
|
|
|
4705 |
mingw* | pw32*) |
|
|
4706 |
# Base MSYS/MinGW do not provide the 'file' command needed by |
|
|
4707 |
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
|
|
4708 |
# unless we find 'file', for example because we are cross-compiling. |
|
|
4709 |
if ( file / ) >/dev/null 2>&1; then |
|
|
4710 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
|
|
4711 |
lt_cv_file_magic_cmd='func_win32_libid' |
|
|
4712 |
else |
|
|
4713 |
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
|
|
4714 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
|
|
4715 |
fi |
|
|
4716 |
;; |
|
|
4717 |
|
|
|
4718 |
cegcc) |
|
|
4719 |
# use the weaker test based on 'objdump'. See mingw*. |
|
|
4720 |
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
|
|
4721 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
|
|
4722 |
;; |
|
|
4723 |
|
|
|
4724 |
darwin* | rhapsody*) |
|
|
4725 |
lt_cv_deplibs_check_method=pass_all |
|
|
4726 |
;; |
|
|
4727 |
|
|
|
4728 |
freebsd* | dragonfly*) |
|
|
4729 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
|
|
4730 |
case $host_cpu in |
|
|
4731 |
i*86 ) |
|
|
4732 |
# Not sure whether the presence of OpenBSD here was a mistake. |
|
|
4733 |
# Let's accept both of them until this is cleared up. |
|
|
4734 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
|
|
4735 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
|
4736 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
|
|
4737 |
;; |
|
|
4738 |
esac |
|
|
4739 |
else |
|
|
4740 |
lt_cv_deplibs_check_method=pass_all |
|
|
4741 |
fi |
|
|
4742 |
;; |
|
|
4743 |
|
|
|
4744 |
gnu*) |
|
|
4745 |
lt_cv_deplibs_check_method=pass_all |
|
|
4746 |
;; |
|
|
4747 |
|
|
|
4748 |
hpux10.20* | hpux11*) |
|
|
4749 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
|
4750 |
case $host_cpu in |
|
|
4751 |
ia64*) |
|
|
4752 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
|
|
4753 |
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
|
|
4754 |
;; |
|
|
4755 |
hppa*64*) |
|
|
4756 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' |
|
|
4757 |
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
|
|
4758 |
;; |
|
|
4759 |
*) |
|
|
4760 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' |
|
|
4761 |
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
|
|
4762 |
;; |
|
|
4763 |
esac |
|
|
4764 |
;; |
|
|
4765 |
|
|
|
4766 |
interix[3-9]*) |
|
|
4767 |
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
|
|
4768 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
|
|
4769 |
;; |
|
|
4770 |
|
|
|
4771 |
irix5* | irix6* | nonstopux*) |
|
|
4772 |
case $LD in |
|
|
4773 |
*-32|*"-32 ") libmagic=32-bit;; |
|
|
4774 |
*-n32|*"-n32 ") libmagic=N32;; |
|
|
4775 |
*-64|*"-64 ") libmagic=64-bit;; |
|
|
4776 |
*) libmagic=never-match;; |
|
|
4777 |
esac |
|
|
4778 |
lt_cv_deplibs_check_method=pass_all |
|
|
4779 |
;; |
|
|
4780 |
|
|
|
4781 |
# This must be Linux ELF. |
|
|
4782 |
linux* | k*bsd*-gnu) |
|
|
4783 |
lt_cv_deplibs_check_method=pass_all |
|
|
4784 |
;; |
|
|
4785 |
|
|
|
4786 |
netbsd* | netbsdelf*-gnu) |
|
|
4787 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
|
|
4788 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
|
|
4789 |
else |
|
|
4790 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
|
|
4791 |
fi |
|
|
4792 |
;; |
|
|
4793 |
|
|
|
4794 |
newos6*) |
|
|
4795 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
|
|
4796 |
lt_cv_file_magic_cmd=/usr/bin/file |
|
|
4797 |
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
|
|
4798 |
;; |
|
|
4799 |
|
|
|
4800 |
*nto* | *qnx*) |
|
|
4801 |
lt_cv_deplibs_check_method=pass_all |
|
|
4802 |
;; |
|
|
4803 |
|
|
|
4804 |
openbsd*) |
|
|
4805 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
|
4806 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
|
|
4807 |
else |
|
|
4808 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
|
|
4809 |
fi |
|
|
4810 |
;; |
|
|
4811 |
|
|
|
4812 |
osf3* | osf4* | osf5*) |
|
|
4813 |
lt_cv_deplibs_check_method=pass_all |
|
|
4814 |
;; |
|
|
4815 |
|
|
|
4816 |
rdos*) |
|
|
4817 |
lt_cv_deplibs_check_method=pass_all |
|
|
4818 |
;; |
|
|
4819 |
|
|
|
4820 |
solaris*) |
|
|
4821 |
lt_cv_deplibs_check_method=pass_all |
|
|
4822 |
;; |
|
|
4823 |
|
|
|
4824 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
|
4825 |
lt_cv_deplibs_check_method=pass_all |
|
|
4826 |
;; |
|
|
4827 |
|
|
|
4828 |
sysv4 | sysv4.3*) |
|
|
4829 |
case $host_vendor in |
|
|
4830 |
motorola) |
|
|
4831 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' |
|
|
4832 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
|
|
4833 |
;; |
|
|
4834 |
ncr) |
|
|
4835 |
lt_cv_deplibs_check_method=pass_all |
|
|
4836 |
;; |
|
|
4837 |
sequent) |
|
|
4838 |
lt_cv_file_magic_cmd='/bin/file' |
|
|
4839 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' |
|
|
4840 |
;; |
|
|
4841 |
sni) |
|
|
4842 |
lt_cv_file_magic_cmd='/bin/file' |
|
|
4843 |
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |
|
|
4844 |
lt_cv_file_magic_test_file=/lib/libc.so |
|
|
4845 |
;; |
|
|
4846 |
siemens) |
|
|
4847 |
lt_cv_deplibs_check_method=pass_all |
|
|
4848 |
;; |
|
|
4849 |
pc) |
|
|
4850 |
lt_cv_deplibs_check_method=pass_all |
|
|
4851 |
;; |
|
|
4852 |
esac |
|
|
4853 |
;; |
|
|
4854 |
|
|
|
4855 |
tpf*) |
|
|
4856 |
lt_cv_deplibs_check_method=pass_all |
|
|
4857 |
;; |
|
|
4858 |
esac |
|
|
4859 |
|
|
|
4860 |
fi |
|
|
4861 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
|
|
4862 |
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
|
|
4863 |
file_magic_cmd=$lt_cv_file_magic_cmd |
|
|
4864 |
deplibs_check_method=$lt_cv_deplibs_check_method |
|
|
4865 |
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
|
|
4866 |
|
|
|
4867 |
|
|
|
4868 |
|
|
|
4869 |
|
|
|
4870 |
|
|
|
4871 |
|
|
|
4872 |
|
|
|
4873 |
|
|
|
4874 |
|
|
|
4875 |
|
|
|
4876 |
|
|
|
4877 |
|
|
|
4878 |
if test -n "$ac_tool_prefix"; then |
|
|
4879 |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
|
|
4880 |
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
|
|
4881 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4882 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
4883 |
if test "${ac_cv_prog_AR+set}" = set; then |
|
|
4884 |
$as_echo_n "(cached) " >&6 |
|
|
4885 |
else |
|
|
4886 |
if test -n "$AR"; then |
|
|
4887 |
ac_cv_prog_AR="$AR" # Let the user override the test. |
|
|
4888 |
else |
|
|
4889 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4890 |
for as_dir in $PATH |
|
|
4891 |
do |
|
|
4892 |
IFS=$as_save_IFS |
|
|
4893 |
test -z "$as_dir" && as_dir=. |
|
|
4894 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4895 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
4896 |
ac_cv_prog_AR="${ac_tool_prefix}ar" |
|
|
4897 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4898 |
break 2 |
|
|
4899 |
fi |
|
|
4900 |
done |
|
|
4901 |
done |
|
|
4902 |
IFS=$as_save_IFS |
|
|
4903 |
|
|
|
4904 |
fi |
|
|
4905 |
fi |
|
|
4906 |
AR=$ac_cv_prog_AR |
|
|
4907 |
if test -n "$AR"; then |
|
|
4908 |
{ $as_echo "$as_me:$LINENO: result: $AR" >&5 |
|
|
4909 |
$as_echo "$AR" >&6; } |
|
|
4910 |
else |
|
|
4911 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
4912 |
$as_echo "no" >&6; } |
|
|
4913 |
fi |
|
|
4914 |
|
|
|
4915 |
|
|
|
4916 |
fi |
|
|
4917 |
if test -z "$ac_cv_prog_AR"; then |
|
|
4918 |
ac_ct_AR=$AR |
|
|
4919 |
# Extract the first word of "ar", so it can be a program name with args. |
|
|
4920 |
set dummy ar; ac_word=$2 |
|
|
4921 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4922 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
4923 |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then |
|
|
4924 |
$as_echo_n "(cached) " >&6 |
|
|
4925 |
else |
|
|
4926 |
if test -n "$ac_ct_AR"; then |
|
|
4927 |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
|
|
4928 |
else |
|
|
4929 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4930 |
for as_dir in $PATH |
|
|
4931 |
do |
|
|
4932 |
IFS=$as_save_IFS |
|
|
4933 |
test -z "$as_dir" && as_dir=. |
|
|
4934 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4935 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
4936 |
ac_cv_prog_ac_ct_AR="ar" |
|
|
4937 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4938 |
break 2 |
|
|
4939 |
fi |
|
|
4940 |
done |
|
|
4941 |
done |
|
|
4942 |
IFS=$as_save_IFS |
|
|
4943 |
|
|
|
4944 |
fi |
|
|
4945 |
fi |
|
|
4946 |
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
|
|
4947 |
if test -n "$ac_ct_AR"; then |
|
|
4948 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 |
|
|
4949 |
$as_echo "$ac_ct_AR" >&6; } |
|
|
4950 |
else |
|
|
4951 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
4952 |
$as_echo "no" >&6; } |
|
|
4953 |
fi |
|
|
4954 |
|
|
|
4955 |
if test "x$ac_ct_AR" = x; then |
|
|
4956 |
AR="false" |
|
|
4957 |
else |
|
|
4958 |
case $cross_compiling:$ac_tool_warned in |
|
|
4959 |
yes:) |
|
|
4960 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
4961 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
4962 |
ac_tool_warned=yes ;; |
|
|
4963 |
esac |
|
|
4964 |
AR=$ac_ct_AR |
|
|
4965 |
fi |
|
|
4966 |
else |
|
|
4967 |
AR="$ac_cv_prog_AR" |
|
|
4968 |
fi |
|
|
4969 |
|
|
|
4970 |
test -z "$AR" && AR=ar |
|
|
4971 |
test -z "$AR_FLAGS" && AR_FLAGS=cru |
|
|
4972 |
|
|
|
4973 |
|
|
|
4974 |
|
|
|
4975 |
|
|
|
4976 |
|
|
|
4977 |
|
|
|
4978 |
|
|
|
4979 |
|
|
|
4980 |
|
|
|
4981 |
|
|
|
4982 |
|
|
|
4983 |
if test -n "$ac_tool_prefix"; then |
|
|
4984 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
|
4985 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
|
4986 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4987 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
4988 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
|
|
4989 |
$as_echo_n "(cached) " >&6 |
|
|
4990 |
else |
|
|
4991 |
if test -n "$STRIP"; then |
|
|
4992 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
|
4993 |
else |
|
|
4994 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4995 |
for as_dir in $PATH |
|
|
4996 |
do |
|
|
4997 |
IFS=$as_save_IFS |
|
|
4998 |
test -z "$as_dir" && as_dir=. |
|
|
4999 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5000 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5001 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
|
5002 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5003 |
break 2 |
|
|
5004 |
fi |
|
|
5005 |
done |
|
|
5006 |
done |
|
|
5007 |
IFS=$as_save_IFS |
|
|
5008 |
|
|
|
5009 |
fi |
|
|
5010 |
fi |
|
|
5011 |
STRIP=$ac_cv_prog_STRIP |
|
|
5012 |
if test -n "$STRIP"; then |
|
|
5013 |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5 |
|
|
5014 |
$as_echo "$STRIP" >&6; } |
|
|
5015 |
else |
|
|
5016 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
5017 |
$as_echo "no" >&6; } |
|
|
5018 |
fi |
|
|
5019 |
|
|
|
5020 |
|
|
|
5021 |
fi |
|
|
5022 |
if test -z "$ac_cv_prog_STRIP"; then |
|
|
5023 |
ac_ct_STRIP=$STRIP |
|
|
5024 |
# Extract the first word of "strip", so it can be a program name with args. |
|
|
5025 |
set dummy strip; ac_word=$2 |
|
|
5026 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5027 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
5028 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
|
|
5029 |
$as_echo_n "(cached) " >&6 |
|
|
5030 |
else |
|
|
5031 |
if test -n "$ac_ct_STRIP"; then |
|
|
5032 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
|
5033 |
else |
|
|
5034 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5035 |
for as_dir in $PATH |
|
|
5036 |
do |
|
|
5037 |
IFS=$as_save_IFS |
|
|
5038 |
test -z "$as_dir" && as_dir=. |
|
|
5039 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5040 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5041 |
ac_cv_prog_ac_ct_STRIP="strip" |
|
|
5042 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5043 |
break 2 |
|
|
5044 |
fi |
|
|
5045 |
done |
|
|
5046 |
done |
|
|
5047 |
IFS=$as_save_IFS |
|
|
5048 |
|
|
|
5049 |
fi |
|
|
5050 |
fi |
|
|
5051 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
|
5052 |
if test -n "$ac_ct_STRIP"; then |
|
|
5053 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
|
|
5054 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
|
5055 |
else |
|
|
5056 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
5057 |
$as_echo "no" >&6; } |
|
|
5058 |
fi |
|
|
5059 |
|
|
|
5060 |
if test "x$ac_ct_STRIP" = x; then |
|
|
5061 |
STRIP=":" |
|
|
5062 |
else |
|
|
5063 |
case $cross_compiling:$ac_tool_warned in |
|
|
5064 |
yes:) |
|
|
5065 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
5066 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
5067 |
ac_tool_warned=yes ;; |
|
|
5068 |
esac |
|
|
5069 |
STRIP=$ac_ct_STRIP |
|
|
5070 |
fi |
|
|
5071 |
else |
|
|
5072 |
STRIP="$ac_cv_prog_STRIP" |
|
|
5073 |
fi |
|
|
5074 |
|
|
|
5075 |
test -z "$STRIP" && STRIP=: |
|
|
5076 |
|
|
|
5077 |
|
|
|
5078 |
|
|
|
5079 |
|
|
|
5080 |
|
|
|
5081 |
|
|
|
5082 |
if test -n "$ac_tool_prefix"; then |
|
|
5083 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
|
5084 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
|
5085 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5086 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
5087 |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
|
|
5088 |
$as_echo_n "(cached) " >&6 |
|
|
5089 |
else |
|
|
5090 |
if test -n "$RANLIB"; then |
|
|
5091 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
|
5092 |
else |
|
|
5093 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5094 |
for as_dir in $PATH |
|
|
5095 |
do |
|
|
5096 |
IFS=$as_save_IFS |
|
|
5097 |
test -z "$as_dir" && as_dir=. |
|
|
5098 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5099 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5100 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
|
|
5101 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5102 |
break 2 |
|
|
5103 |
fi |
|
|
5104 |
done |
|
|
5105 |
done |
|
|
5106 |
IFS=$as_save_IFS |
|
|
5107 |
|
|
|
5108 |
fi |
|
|
5109 |
fi |
|
|
5110 |
RANLIB=$ac_cv_prog_RANLIB |
|
|
5111 |
if test -n "$RANLIB"; then |
|
|
5112 |
{ $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 |
|
|
5113 |
$as_echo "$RANLIB" >&6; } |
|
|
5114 |
else |
|
|
5115 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
5116 |
$as_echo "no" >&6; } |
|
|
5117 |
fi |
|
|
5118 |
|
|
|
5119 |
|
|
|
5120 |
fi |
|
|
5121 |
if test -z "$ac_cv_prog_RANLIB"; then |
|
|
5122 |
ac_ct_RANLIB=$RANLIB |
|
|
5123 |
# Extract the first word of "ranlib", so it can be a program name with args. |
|
|
5124 |
set dummy ranlib; ac_word=$2 |
|
|
5125 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5126 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
5127 |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
|
|
5128 |
$as_echo_n "(cached) " >&6 |
|
|
5129 |
else |
|
|
5130 |
if test -n "$ac_ct_RANLIB"; then |
|
|
5131 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|
|
5132 |
else |
|
|
5133 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5134 |
for as_dir in $PATH |
|
|
5135 |
do |
|
|
5136 |
IFS=$as_save_IFS |
|
|
5137 |
test -z "$as_dir" && as_dir=. |
|
|
5138 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5139 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5140 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
|
|
5141 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5142 |
break 2 |
|
|
5143 |
fi |
|
|
5144 |
done |
|
|
5145 |
done |
|
|
5146 |
IFS=$as_save_IFS |
|
|
5147 |
|
|
|
5148 |
fi |
|
|
5149 |
fi |
|
|
5150 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
|
5151 |
if test -n "$ac_ct_RANLIB"; then |
|
|
5152 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
|
|
5153 |
$as_echo "$ac_ct_RANLIB" >&6; } |
|
|
5154 |
else |
|
|
5155 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
5156 |
$as_echo "no" >&6; } |
|
|
5157 |
fi |
|
|
5158 |
|
|
|
5159 |
if test "x$ac_ct_RANLIB" = x; then |
|
|
5160 |
RANLIB=":" |
|
|
5161 |
else |
|
|
5162 |
case $cross_compiling:$ac_tool_warned in |
|
|
5163 |
yes:) |
|
|
5164 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
5165 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
5166 |
ac_tool_warned=yes ;; |
|
|
5167 |
esac |
|
|
5168 |
RANLIB=$ac_ct_RANLIB |
|
|
5169 |
fi |
|
|
5170 |
else |
|
|
5171 |
RANLIB="$ac_cv_prog_RANLIB" |
|
|
5172 |
fi |
|
|
5173 |
|
|
|
5174 |
test -z "$RANLIB" && RANLIB=: |
|
|
5175 |
|
|
|
5176 |
|
|
|
5177 |
|
|
|
5178 |
|
|
|
5179 |
|
|
|
5180 |
|
|
|
5181 |
# Determine commands to create old-style static archives. |
|
|
5182 |
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
|
|
5183 |
old_postinstall_cmds='chmod 644 $oldlib' |
|
|
5184 |
old_postuninstall_cmds= |
|
|
5185 |
|
|
|
5186 |
if test -n "$RANLIB"; then |
|
|
5187 |
case $host_os in |
|
|
5188 |
openbsd*) |
|
|
5189 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
|
|
5190 |
;; |
|
|
5191 |
*) |
|
|
5192 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
|
|
5193 |
;; |
|
|
5194 |
esac |
|
|
5195 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
|
|
5196 |
fi |
|
|
5197 |
|
|
|
5198 |
|
|
|
5199 |
|
|
|
5200 |
|
|
|
5201 |
|
|
|
5202 |
|
|
|
5203 |
|
|
|
5204 |
|
|
|
5205 |
|
|
|
5206 |
|
|
|
5207 |
|
|
|
5208 |
|
|
|
5209 |
|
|
|
5210 |
|
|
|
5211 |
|
|
|
5212 |
|
|
|
5213 |
|
|
|
5214 |
|
|
|
5215 |
|
|
|
5216 |
|
|
|
5217 |
|
|
|
5218 |
|
|
|
5219 |
|
|
|
5220 |
|
|
|
5221 |
|
|
|
5222 |
|
|
|
5223 |
|
|
|
5224 |
|
|
|
5225 |
|
|
|
5226 |
|
|
|
5227 |
|
|
|
5228 |
|
|
|
5229 |
|
|
|
5230 |
|
|
|
5231 |
# If no C compiler was specified, use CC. |
|
|
5232 |
LTCC=${LTCC-"$CC"} |
|
|
5233 |
|
|
|
5234 |
# If no C compiler flags were specified, use CFLAGS. |
|
|
5235 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
|
5236 |
|
|
|
5237 |
# Allow CC to be a program name with arguments. |
|
|
5238 |
compiler=$CC |
|
|
5239 |
|
|
|
5240 |
|
|
|
5241 |
# Check for command to grab the raw symbol name followed by C symbol from nm. |
|
|
5242 |
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 |
|
|
5243 |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
|
|
5244 |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then |
|
|
5245 |
$as_echo_n "(cached) " >&6 |
|
|
5246 |
else |
|
|
5247 |
|
|
|
5248 |
# These are sane defaults that work on at least a few old systems. |
|
|
5249 |
# [They come from Ultrix. What could be older than Ultrix?!! ;)] |
|
|
5250 |
|
|
|
5251 |
# Character class describing NM global symbol codes. |
|
|
5252 |
symcode='[BCDEGRST]' |
|
|
5253 |
|
|
|
5254 |
# Regexp to match symbols that can be accessed directly from C. |
|
|
5255 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
|
|
5256 |
|
|
|
5257 |
# Define system-specific variables. |
|
|
5258 |
case $host_os in |
|
|
5259 |
aix*) |
|
|
5260 |
symcode='[BCDT]' |
|
|
5261 |
;; |
|
|
5262 |
cygwin* | mingw* | pw32* | cegcc*) |
|
|
5263 |
symcode='[ABCDGISTW]' |
|
|
5264 |
;; |
|
|
5265 |
hpux*) |
|
|
5266 |
if test "$host_cpu" = ia64; then |
|
|
5267 |
symcode='[ABCDEGRST]' |
|
|
5268 |
fi |
|
|
5269 |
;; |
|
|
5270 |
irix* | nonstopux*) |
|
|
5271 |
symcode='[BCDEGRST]' |
|
|
5272 |
;; |
|
|
5273 |
osf*) |
|
|
5274 |
symcode='[BCDEGQRST]' |
|
|
5275 |
;; |
|
|
5276 |
solaris*) |
|
|
5277 |
symcode='[BDRT]' |
|
|
5278 |
;; |
|
|
5279 |
sco3.2v5*) |
|
|
5280 |
symcode='[DT]' |
|
|
5281 |
;; |
|
|
5282 |
sysv4.2uw2*) |
|
|
5283 |
symcode='[DT]' |
|
|
5284 |
;; |
|
|
5285 |
sysv5* | sco5v6* | unixware* | OpenUNIX*) |
|
|
5286 |
symcode='[ABDT]' |
|
|
5287 |
;; |
|
|
5288 |
sysv4) |
|
|
5289 |
symcode='[DFNSTU]' |
|
|
5290 |
;; |
|
|
5291 |
esac |
|
|
5292 |
|
|
|
5293 |
# If we're using GNU nm, then use its standard symbol codes. |
|
|
5294 |
case `$NM -V 2>&1` in |
|
|
5295 |
*GNU* | *'with BFD'*) |
|
|
5296 |
symcode='[ABCDGIRSTW]' ;; |
|
|
5297 |
esac |
|
|
5298 |
|
|
|
5299 |
# Transform an extracted symbol line into a proper C declaration. |
|
|
5300 |
# Some systems (esp. on ia64) link data and code symbols differently, |
|
|
5301 |
# so use this general approach. |
|
|
5302 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
|
|
5303 |
|
|
|
5304 |
# Transform an extracted symbol line into symbol name and symbol address |
|
|
5305 |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
|
|
5306 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" |
|
|
5307 |
|
|
|
5308 |
# Handle CRLF in mingw tool chain |
|
|
5309 |
opt_cr= |
|
|
5310 |
case $build_os in |
|
|
5311 |
mingw*) |
|
|
5312 |
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
|
|
5313 |
;; |
|
|
5314 |
esac |
|
|
5315 |
|
|
|
5316 |
# Try without a prefix underscore, then with it. |
|
|
5317 |
for ac_symprfx in "" "_"; do |
|
|
5318 |
|
|
|
5319 |
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
|
|
5320 |
symxfrm="\\1 $ac_symprfx\\2 \\2" |
|
|
5321 |
|
|
|
5322 |
# Write the raw and C identifiers. |
|
|
5323 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
|
|
5324 |
# Fake it for dumpbin and say T for any non-static function |
|
|
5325 |
# and D for any global variable. |
|
|
5326 |
# Also find C++ and __fastcall symbols from MSVC++, |
|
|
5327 |
# which start with @ or ?. |
|
|
5328 |
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
|
|
5329 |
" {last_section=section; section=\$ 3};"\ |
|
|
5330 |
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
|
|
5331 |
" \$ 0!~/External *\|/{next};"\ |
|
|
5332 |
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
|
|
5333 |
" {if(hide[section]) next};"\ |
|
|
5334 |
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ |
|
|
5335 |
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ |
|
|
5336 |
" s[1]~/^[@?]/{print s[1], s[1]; next};"\ |
|
|
5337 |
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ |
|
|
5338 |
" ' prfx=^$ac_symprfx" |
|
|
5339 |
else |
|
|
5340 |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
|
|
5341 |
fi |
|
|
5342 |
|
|
|
5343 |
# Check to see that the pipe works correctly. |
|
|
5344 |
pipe_works=no |
|
|
5345 |
|
|
|
5346 |
rm -f conftest* |
|
|
5347 |
cat > conftest.$ac_ext <<_LT_EOF |
|
|
5348 |
#ifdef __cplusplus |
|
|
5349 |
extern "C" { |
|
|
5350 |
#endif |
|
|
5351 |
char nm_test_var; |
|
|
5352 |
void nm_test_func(void); |
|
|
5353 |
void nm_test_func(void){} |
|
|
5354 |
#ifdef __cplusplus |
|
|
5355 |
} |
|
|
5356 |
#endif |
|
|
5357 |
int main(){nm_test_var='a';nm_test_func();return(0);} |
|
|
5358 |
_LT_EOF |
|
|
5359 |
|
|
|
5360 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
5361 |
(eval $ac_compile) 2>&5 |
|
|
5362 |
ac_status=$? |
|
|
5363 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5364 |
(exit $ac_status); }; then |
|
|
5365 |
# Now try to grab the symbols. |
|
|
5366 |
nlist=conftest.nm |
|
|
5367 |
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 |
|
|
5368 |
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 |
|
|
5369 |
ac_status=$? |
|
|
5370 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5371 |
(exit $ac_status); } && test -s "$nlist"; then |
|
|
5372 |
# Try sorting and uniquifying the output. |
|
|
5373 |
if sort "$nlist" | uniq > "$nlist"T; then |
|
|
5374 |
mv -f "$nlist"T "$nlist" |
|
|
5375 |
else |
|
|
5376 |
rm -f "$nlist"T |
|
|
5377 |
fi |
|
|
5378 |
|
|
|
5379 |
# Make sure that we snagged all the symbols we need. |
|
|
5380 |
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
|
|
5381 |
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
|
|
5382 |
cat <<_LT_EOF > conftest.$ac_ext |
|
|
5383 |
#ifdef __cplusplus |
|
|
5384 |
extern "C" { |
|
|
5385 |
#endif |
|
|
5386 |
|
|
|
5387 |
_LT_EOF |
|
|
5388 |
# Now generate the symbol file. |
|
|
5389 |
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' |
|
|
5390 |
|
|
|
5391 |
cat <<_LT_EOF >> conftest.$ac_ext |
|
|
5392 |
|
|
|
5393 |
/* The mapping between symbol names and symbols. */ |
|
|
5394 |
const struct { |
|
|
5395 |
const char *name; |
|
|
5396 |
void *address; |
|
|
5397 |
} |
|
|
5398 |
lt__PROGRAM__LTX_preloaded_symbols[] = |
|
|
5399 |
{ |
|
|
5400 |
{ "@PROGRAM@", (void *) 0 }, |
|
|
5401 |
_LT_EOF |
|
|
5402 |
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
|
|
5403 |
cat <<\_LT_EOF >> conftest.$ac_ext |
|
|
5404 |
{0, (void *) 0} |
|
|
5405 |
}; |
|
|
5406 |
|
|
|
5407 |
/* This works around a problem in FreeBSD linker */ |
|
|
5408 |
#ifdef FREEBSD_WORKAROUND |
|
|
5409 |
static const void *lt_preloaded_setup() { |
|
|
5410 |
return lt__PROGRAM__LTX_preloaded_symbols; |
|
|
5411 |
} |
|
|
5412 |
#endif |
|
|
5413 |
|
|
|
5414 |
#ifdef __cplusplus |
|
|
5415 |
} |
|
|
5416 |
#endif |
|
|
5417 |
_LT_EOF |
|
|
5418 |
# Now try linking the two files. |
|
|
5419 |
mv conftest.$ac_objext conftstm.$ac_objext |
|
|
5420 |
lt_save_LIBS="$LIBS" |
|
|
5421 |
lt_save_CFLAGS="$CFLAGS" |
|
|
5422 |
LIBS="conftstm.$ac_objext" |
|
|
5423 |
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
|
|
5424 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
5425 |
(eval $ac_link) 2>&5 |
|
|
5426 |
ac_status=$? |
|
|
5427 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5428 |
(exit $ac_status); } && test -s conftest${ac_exeext}; then |
|
|
5429 |
pipe_works=yes |
|
|
5430 |
fi |
|
|
5431 |
LIBS="$lt_save_LIBS" |
|
|
5432 |
CFLAGS="$lt_save_CFLAGS" |
|
|
5433 |
else |
|
|
5434 |
echo "cannot find nm_test_func in $nlist" >&5 |
|
|
5435 |
fi |
|
|
5436 |
else |
|
|
5437 |
echo "cannot find nm_test_var in $nlist" >&5 |
|
|
5438 |
fi |
|
|
5439 |
else |
|
|
5440 |
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
|
|
5441 |
fi |
|
|
5442 |
else |
|
|
5443 |
echo "$progname: failed program was:" >&5 |
|
|
5444 |
cat conftest.$ac_ext >&5 |
|
|
5445 |
fi |
|
|
5446 |
rm -rf conftest* conftst* |
|
|
5447 |
|
|
|
5448 |
# Do not use the global_symbol_pipe unless it works. |
|
|
5449 |
if test "$pipe_works" = yes; then |
|
|
5450 |
break |
|
|
5451 |
else |
|
|
5452 |
lt_cv_sys_global_symbol_pipe= |
|
|
5453 |
fi |
|
|
5454 |
done |
|
|
5455 |
|
|
|
5456 |
fi |
|
|
5457 |
|
|
|
5458 |
if test -z "$lt_cv_sys_global_symbol_pipe"; then |
|
|
5459 |
lt_cv_sys_global_symbol_to_cdecl= |
|
|
5460 |
fi |
|
|
5461 |
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
|
|
5462 |
{ $as_echo "$as_me:$LINENO: result: failed" >&5 |
|
|
5463 |
$as_echo "failed" >&6; } |
|
|
5464 |
else |
|
|
5465 |
{ $as_echo "$as_me:$LINENO: result: ok" >&5 |
|
|
5466 |
$as_echo "ok" >&6; } |
|
|
5467 |
fi |
|
|
5468 |
|
|
|
5469 |
|
|
|
5470 |
|
|
|
5471 |
|
|
|
5472 |
|
|
|
5473 |
|
|
|
5474 |
|
|
|
5475 |
|
|
|
5476 |
|
|
|
5477 |
|
|
|
5478 |
|
|
|
5479 |
|
|
|
5480 |
|
|
|
5481 |
|
|
|
5482 |
|
|
|
5483 |
|
|
|
5484 |
|
|
|
5485 |
|
|
|
5486 |
|
|
|
5487 |
|
|
|
5488 |
|
|
|
5489 |
|
|
|
5490 |
|
|
|
5491 |
@%:@ Check whether --enable-libtool-lock was given. |
|
|
5492 |
if test "${enable_libtool_lock+set}" = set; then |
|
|
5493 |
enableval=$enable_libtool_lock; |
|
|
5494 |
fi |
|
|
5495 |
|
|
|
5496 |
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
|
|
5497 |
|
|
|
5498 |
# Some flags need to be propagated to the compiler or linker for good |
|
|
5499 |
# libtool support. |
|
|
5500 |
case $host in |
|
|
5501 |
ia64-*-hpux*) |
|
|
5502 |
# Find out which ABI we are using. |
|
|
5503 |
echo 'int i;' > conftest.$ac_ext |
|
|
5504 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
5505 |
(eval $ac_compile) 2>&5 |
|
|
5506 |
ac_status=$? |
|
|
5507 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5508 |
(exit $ac_status); }; then |
|
|
5509 |
case `/usr/bin/file conftest.$ac_objext` in |
|
|
5510 |
*ELF-32*) |
|
|
5511 |
HPUX_IA64_MODE="32" |
|
|
5512 |
;; |
|
|
5513 |
*ELF-64*) |
|
|
5514 |
HPUX_IA64_MODE="64" |
|
|
5515 |
;; |
|
|
5516 |
esac |
|
|
5517 |
fi |
|
|
5518 |
rm -rf conftest* |
|
|
5519 |
;; |
|
|
5520 |
*-*-irix6*) |
|
|
5521 |
# Find out which ABI we are using. |
|
|
5522 |
echo '#line __oline__ "configure"' > conftest.$ac_ext |
|
|
5523 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
5524 |
(eval $ac_compile) 2>&5 |
|
|
5525 |
ac_status=$? |
|
|
5526 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5527 |
(exit $ac_status); }; then |
|
|
5528 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
|
5529 |
case `/usr/bin/file conftest.$ac_objext` in |
|
|
5530 |
*32-bit*) |
|
|
5531 |
LD="${LD-ld} -melf32bsmip" |
|
|
5532 |
;; |
|
|
5533 |
*N32*) |
|
|
5534 |
LD="${LD-ld} -melf32bmipn32" |
|
|
5535 |
;; |
|
|
5536 |
*64-bit*) |
|
|
5537 |
LD="${LD-ld} -melf64bmip" |
|
|
5538 |
;; |
|
|
5539 |
esac |
|
|
5540 |
else |
|
|
5541 |
case `/usr/bin/file conftest.$ac_objext` in |
|
|
5542 |
*32-bit*) |
|
|
5543 |
LD="${LD-ld} -32" |
|
|
5544 |
;; |
|
|
5545 |
*N32*) |
|
|
5546 |
LD="${LD-ld} -n32" |
|
|
5547 |
;; |
|
|
5548 |
*64-bit*) |
|
|
5549 |
LD="${LD-ld} -64" |
|
|
5550 |
;; |
|
|
5551 |
esac |
|
|
5552 |
fi |
|
|
5553 |
fi |
|
|
5554 |
rm -rf conftest* |
|
|
5555 |
;; |
|
|
5556 |
|
|
|
5557 |
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
|
|
5558 |
s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
|
|
5559 |
# Find out which ABI we are using. |
|
|
5560 |
echo 'int i;' > conftest.$ac_ext |
|
|
5561 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
5562 |
(eval $ac_compile) 2>&5 |
|
|
5563 |
ac_status=$? |
|
|
5564 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5565 |
(exit $ac_status); }; then |
|
|
5566 |
case `/usr/bin/file conftest.o` in |
|
|
5567 |
*32-bit*) |
|
|
5568 |
case $host in |
|
|
5569 |
x86_64-*kfreebsd*-gnu) |
|
|
5570 |
LD="${LD-ld} -m elf_i386_fbsd" |
|
|
5571 |
;; |
|
|
5572 |
x86_64-*linux*) |
|
|
5573 |
LD="${LD-ld} -m elf_i386" |
|
|
5574 |
;; |
|
|
5575 |
ppc64-*linux*|powerpc64-*linux*) |
|
|
5576 |
LD="${LD-ld} -m elf32ppclinux" |
|
|
5577 |
;; |
|
|
5578 |
s390x-*linux*) |
|
|
5579 |
LD="${LD-ld} -m elf_s390" |
|
|
5580 |
;; |
|
|
5581 |
sparc64-*linux*) |
|
|
5582 |
LD="${LD-ld} -m elf32_sparc" |
|
|
5583 |
;; |
|
|
5584 |
esac |
|
|
5585 |
;; |
|
|
5586 |
*64-bit*) |
|
|
5587 |
case $host in |
|
|
5588 |
x86_64-*kfreebsd*-gnu) |
|
|
5589 |
LD="${LD-ld} -m elf_x86_64_fbsd" |
|
|
5590 |
;; |
|
|
5591 |
x86_64-*linux*) |
|
|
5592 |
LD="${LD-ld} -m elf_x86_64" |
|
|
5593 |
;; |
|
|
5594 |
ppc*-*linux*|powerpc*-*linux*) |
|
|
5595 |
LD="${LD-ld} -m elf64ppc" |
|
|
5596 |
;; |
|
|
5597 |
s390*-*linux*|s390*-*tpf*) |
|
|
5598 |
LD="${LD-ld} -m elf64_s390" |
|
|
5599 |
;; |
|
|
5600 |
sparc*-*linux*) |
|
|
5601 |
LD="${LD-ld} -m elf64_sparc" |
|
|
5602 |
;; |
|
|
5603 |
esac |
|
|
5604 |
;; |
|
|
5605 |
esac |
|
|
5606 |
fi |
|
|
5607 |
rm -rf conftest* |
|
|
5608 |
;; |
|
|
5609 |
|
|
|
5610 |
*-*-sco3.2v5*) |
|
|
5611 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
|
|
5612 |
SAVE_CFLAGS="$CFLAGS" |
|
|
5613 |
CFLAGS="$CFLAGS -belf" |
|
|
5614 |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
|
|
5615 |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
|
|
5616 |
if test "${lt_cv_cc_needs_belf+set}" = set; then |
|
|
5617 |
$as_echo_n "(cached) " >&6 |
|
|
5618 |
else |
|
|
5619 |
ac_ext=c |
|
|
5620 |
ac_cpp='$CPP $CPPFLAGS' |
|
|
5621 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5622 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5623 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
5624 |
|
|
|
5625 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
5626 |
/* confdefs.h. */ |
|
|
5627 |
_ACEOF |
|
|
5628 |
cat confdefs.h >>conftest.$ac_ext |
|
|
5629 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
5630 |
/* end confdefs.h. */ |
|
|
5631 |
|
|
|
5632 |
int |
|
|
5633 |
main () |
|
|
5634 |
{ |
|
|
5635 |
|
|
|
5636 |
; |
|
|
5637 |
return 0; |
|
|
5638 |
} |
|
|
5639 |
_ACEOF |
|
|
5640 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5641 |
if { (ac_try="$ac_link" |
|
|
5642 |
case "(($ac_try" in |
|
|
5643 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5644 |
*) ac_try_echo=$ac_try;; |
|
|
5645 |
esac |
|
|
5646 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
5647 |
$as_echo "$ac_try_echo") >&5 |
|
|
5648 |
(eval "$ac_link") 2>conftest.er1 |
|
|
5649 |
ac_status=$? |
|
|
5650 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5651 |
rm -f conftest.er1 |
|
|
5652 |
cat conftest.err >&5 |
|
|
5653 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5654 |
(exit $ac_status); } && { |
|
|
5655 |
test -z "$ac_c_werror_flag" || |
|
|
5656 |
test ! -s conftest.err |
|
|
5657 |
} && test -s conftest$ac_exeext && { |
|
|
5658 |
test "$cross_compiling" = yes || |
|
|
5659 |
$as_test_x conftest$ac_exeext |
|
|
5660 |
}; then |
|
|
5661 |
lt_cv_cc_needs_belf=yes |
|
|
5662 |
else |
|
|
5663 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
5664 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5665 |
|
|
|
5666 |
lt_cv_cc_needs_belf=no |
|
|
5667 |
fi |
|
|
5668 |
|
|
|
5669 |
rm -rf conftest.dSYM |
|
|
5670 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5671 |
conftest$ac_exeext conftest.$ac_ext |
|
|
5672 |
ac_ext=c |
|
|
5673 |
ac_cpp='$CPP $CPPFLAGS' |
|
|
5674 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5675 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5676 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
5677 |
|
|
|
5678 |
fi |
|
|
5679 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 |
|
|
5680 |
$as_echo "$lt_cv_cc_needs_belf" >&6; } |
|
|
5681 |
if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
|
|
5682 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
|
|
5683 |
CFLAGS="$SAVE_CFLAGS" |
|
|
5684 |
fi |
|
|
5685 |
;; |
|
|
5686 |
sparc*-*solaris*) |
|
|
5687 |
# Find out which ABI we are using. |
|
|
5688 |
echo 'int i;' > conftest.$ac_ext |
|
|
5689 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
5690 |
(eval $ac_compile) 2>&5 |
|
|
5691 |
ac_status=$? |
|
|
5692 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5693 |
(exit $ac_status); }; then |
|
|
5694 |
case `/usr/bin/file conftest.o` in |
|
|
5695 |
*64-bit*) |
|
|
5696 |
case $lt_cv_prog_gnu_ld in |
|
|
5697 |
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
|
|
5698 |
*) |
|
|
5699 |
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
|
|
5700 |
LD="${LD-ld} -64" |
|
|
5701 |
fi |
|
|
5702 |
;; |
|
|
5703 |
esac |
|
|
5704 |
;; |
|
|
5705 |
esac |
|
|
5706 |
fi |
|
|
5707 |
rm -rf conftest* |
|
|
5708 |
;; |
|
|
5709 |
esac |
|
|
5710 |
|
|
|
5711 |
need_locks="$enable_libtool_lock" |
|
|
5712 |
|
|
|
5713 |
|
|
|
5714 |
case $host_os in |
|
|
5715 |
rhapsody* | darwin*) |
|
|
5716 |
if test -n "$ac_tool_prefix"; then |
|
|
5717 |
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
|
|
5718 |
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
|
|
5719 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5720 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
5721 |
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then |
|
|
5722 |
$as_echo_n "(cached) " >&6 |
|
|
5723 |
else |
|
|
5724 |
if test -n "$DSYMUTIL"; then |
|
|
5725 |
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
|
|
5726 |
else |
|
|
5727 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5728 |
for as_dir in $PATH |
|
|
5729 |
do |
|
|
5730 |
IFS=$as_save_IFS |
|
|
5731 |
test -z "$as_dir" && as_dir=. |
|
|
5732 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5733 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5734 |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
|
|
5735 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5736 |
break 2 |
|
|
5737 |
fi |
|
|
5738 |
done |
|
|
5739 |
done |
|
|
5740 |
IFS=$as_save_IFS |
|
|
5741 |
|
|
|
5742 |
fi |
|
|
5743 |
fi |
|
|
5744 |
DSYMUTIL=$ac_cv_prog_DSYMUTIL |
|
|
5745 |
if test -n "$DSYMUTIL"; then |
|
|
5746 |
{ $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 |
|
|
5747 |
$as_echo "$DSYMUTIL" >&6; } |
|
|
5748 |
else |
|
|
5749 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
5750 |
$as_echo "no" >&6; } |
|
|
5751 |
fi |
|
|
5752 |
|
|
|
5753 |
|
|
|
5754 |
fi |
|
|
5755 |
if test -z "$ac_cv_prog_DSYMUTIL"; then |
|
|
5756 |
ac_ct_DSYMUTIL=$DSYMUTIL |
|
|
5757 |
# Extract the first word of "dsymutil", so it can be a program name with args. |
|
|
5758 |
set dummy dsymutil; ac_word=$2 |
|
|
5759 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5760 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
5761 |
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then |
|
|
5762 |
$as_echo_n "(cached) " >&6 |
|
|
5763 |
else |
|
|
5764 |
if test -n "$ac_ct_DSYMUTIL"; then |
|
|
5765 |
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
|
|
5766 |
else |
|
|
5767 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5768 |
for as_dir in $PATH |
|
|
5769 |
do |
|
|
5770 |
IFS=$as_save_IFS |
|
|
5771 |
test -z "$as_dir" && as_dir=. |
|
|
5772 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5773 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5774 |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
|
|
5775 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5776 |
break 2 |
|
|
5777 |
fi |
|
|
5778 |
done |
|
|
5779 |
done |
|
|
5780 |
IFS=$as_save_IFS |
|
|
5781 |
|
|
|
5782 |
fi |
|
|
5783 |
fi |
|
|
5784 |
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
|
|
5785 |
if test -n "$ac_ct_DSYMUTIL"; then |
|
|
5786 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 |
|
|
5787 |
$as_echo "$ac_ct_DSYMUTIL" >&6; } |
|
|
5788 |
else |
|
|
5789 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
5790 |
$as_echo "no" >&6; } |
|
|
5791 |
fi |
|
|
5792 |
|
|
|
5793 |
if test "x$ac_ct_DSYMUTIL" = x; then |
|
|
5794 |
DSYMUTIL=":" |
|
|
5795 |
else |
|
|
5796 |
case $cross_compiling:$ac_tool_warned in |
|
|
5797 |
yes:) |
|
|
5798 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
5799 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
5800 |
ac_tool_warned=yes ;; |
|
|
5801 |
esac |
|
|
5802 |
DSYMUTIL=$ac_ct_DSYMUTIL |
|
|
5803 |
fi |
|
|
5804 |
else |
|
|
5805 |
DSYMUTIL="$ac_cv_prog_DSYMUTIL" |
|
|
5806 |
fi |
|
|
5807 |
|
|
|
5808 |
if test -n "$ac_tool_prefix"; then |
|
|
5809 |
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
|
|
5810 |
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
|
|
5811 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5812 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
5813 |
if test "${ac_cv_prog_NMEDIT+set}" = set; then |
|
|
5814 |
$as_echo_n "(cached) " >&6 |
|
|
5815 |
else |
|
|
5816 |
if test -n "$NMEDIT"; then |
|
|
5817 |
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. |
|
|
5818 |
else |
|
|
5819 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5820 |
for as_dir in $PATH |
|
|
5821 |
do |
|
|
5822 |
IFS=$as_save_IFS |
|
|
5823 |
test -z "$as_dir" && as_dir=. |
|
|
5824 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5825 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5826 |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
|
|
5827 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5828 |
break 2 |
|
|
5829 |
fi |
|
|
5830 |
done |
|
|
5831 |
done |
|
|
5832 |
IFS=$as_save_IFS |
|
|
5833 |
|
|
|
5834 |
fi |
|
|
5835 |
fi |
|
|
5836 |
NMEDIT=$ac_cv_prog_NMEDIT |
|
|
5837 |
if test -n "$NMEDIT"; then |
|
|
5838 |
{ $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 |
|
|
5839 |
$as_echo "$NMEDIT" >&6; } |
|
|
5840 |
else |
|
|
5841 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
5842 |
$as_echo "no" >&6; } |
|
|
5843 |
fi |
|
|
5844 |
|
|
|
5845 |
|
|
|
5846 |
fi |
|
|
5847 |
if test -z "$ac_cv_prog_NMEDIT"; then |
|
|
5848 |
ac_ct_NMEDIT=$NMEDIT |
|
|
5849 |
# Extract the first word of "nmedit", so it can be a program name with args. |
|
|
5850 |
set dummy nmedit; ac_word=$2 |
|
|
5851 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5852 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
5853 |
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then |
|
|
5854 |
$as_echo_n "(cached) " >&6 |
|
|
5855 |
else |
|
|
5856 |
if test -n "$ac_ct_NMEDIT"; then |
|
|
5857 |
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. |
|
|
5858 |
else |
|
|
5859 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5860 |
for as_dir in $PATH |
|
|
5861 |
do |
|
|
5862 |
IFS=$as_save_IFS |
|
|
5863 |
test -z "$as_dir" && as_dir=. |
|
|
5864 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5865 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5866 |
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
|
|
5867 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5868 |
break 2 |
|
|
5869 |
fi |
|
|
5870 |
done |
|
|
5871 |
done |
|
|
5872 |
IFS=$as_save_IFS |
|
|
5873 |
|
|
|
5874 |
fi |
|
|
5875 |
fi |
|
|
5876 |
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
|
|
5877 |
if test -n "$ac_ct_NMEDIT"; then |
|
|
5878 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 |
|
|
5879 |
$as_echo "$ac_ct_NMEDIT" >&6; } |
|
|
5880 |
else |
|
|
5881 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
5882 |
$as_echo "no" >&6; } |
|
|
5883 |
fi |
|
|
5884 |
|
|
|
5885 |
if test "x$ac_ct_NMEDIT" = x; then |
|
|
5886 |
NMEDIT=":" |
|
|
5887 |
else |
|
|
5888 |
case $cross_compiling:$ac_tool_warned in |
|
|
5889 |
yes:) |
|
|
5890 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
5891 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
5892 |
ac_tool_warned=yes ;; |
|
|
5893 |
esac |
|
|
5894 |
NMEDIT=$ac_ct_NMEDIT |
|
|
5895 |
fi |
|
|
5896 |
else |
|
|
5897 |
NMEDIT="$ac_cv_prog_NMEDIT" |
|
|
5898 |
fi |
|
|
5899 |
|
|
|
5900 |
if test -n "$ac_tool_prefix"; then |
|
|
5901 |
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. |
|
|
5902 |
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
|
|
5903 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5904 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
5905 |
if test "${ac_cv_prog_LIPO+set}" = set; then |
|
|
5906 |
$as_echo_n "(cached) " >&6 |
|
|
5907 |
else |
|
|
5908 |
if test -n "$LIPO"; then |
|
|
5909 |
ac_cv_prog_LIPO="$LIPO" # Let the user override the test. |
|
|
5910 |
else |
|
|
5911 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5912 |
for as_dir in $PATH |
|
|
5913 |
do |
|
|
5914 |
IFS=$as_save_IFS |
|
|
5915 |
test -z "$as_dir" && as_dir=. |
|
|
5916 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5917 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5918 |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
|
|
5919 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5920 |
break 2 |
|
|
5921 |
fi |
|
|
5922 |
done |
|
|
5923 |
done |
|
|
5924 |
IFS=$as_save_IFS |
|
|
5925 |
|
|
|
5926 |
fi |
|
|
5927 |
fi |
|
|
5928 |
LIPO=$ac_cv_prog_LIPO |
|
|
5929 |
if test -n "$LIPO"; then |
|
|
5930 |
{ $as_echo "$as_me:$LINENO: result: $LIPO" >&5 |
|
|
5931 |
$as_echo "$LIPO" >&6; } |
|
|
5932 |
else |
|
|
5933 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
5934 |
$as_echo "no" >&6; } |
|
|
5935 |
fi |
|
|
5936 |
|
|
|
5937 |
|
|
|
5938 |
fi |
|
|
5939 |
if test -z "$ac_cv_prog_LIPO"; then |
|
|
5940 |
ac_ct_LIPO=$LIPO |
|
|
5941 |
# Extract the first word of "lipo", so it can be a program name with args. |
|
|
5942 |
set dummy lipo; ac_word=$2 |
|
|
5943 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5944 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
5945 |
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then |
|
|
5946 |
$as_echo_n "(cached) " >&6 |
|
|
5947 |
else |
|
|
5948 |
if test -n "$ac_ct_LIPO"; then |
|
|
5949 |
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. |
|
|
5950 |
else |
|
|
5951 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5952 |
for as_dir in $PATH |
|
|
5953 |
do |
|
|
5954 |
IFS=$as_save_IFS |
|
|
5955 |
test -z "$as_dir" && as_dir=. |
|
|
5956 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5957 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5958 |
ac_cv_prog_ac_ct_LIPO="lipo" |
|
|
5959 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5960 |
break 2 |
|
|
5961 |
fi |
|
|
5962 |
done |
|
|
5963 |
done |
|
|
5964 |
IFS=$as_save_IFS |
|
|
5965 |
|
|
|
5966 |
fi |
|
|
5967 |
fi |
|
|
5968 |
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
|
|
5969 |
if test -n "$ac_ct_LIPO"; then |
|
|
5970 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 |
|
|
5971 |
$as_echo "$ac_ct_LIPO" >&6; } |
|
|
5972 |
else |
|
|
5973 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
5974 |
$as_echo "no" >&6; } |
|
|
5975 |
fi |
|
|
5976 |
|
|
|
5977 |
if test "x$ac_ct_LIPO" = x; then |
|
|
5978 |
LIPO=":" |
|
|
5979 |
else |
|
|
5980 |
case $cross_compiling:$ac_tool_warned in |
|
|
5981 |
yes:) |
|
|
5982 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
5983 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
5984 |
ac_tool_warned=yes ;; |
|
|
5985 |
esac |
|
|
5986 |
LIPO=$ac_ct_LIPO |
|
|
5987 |
fi |
|
|
5988 |
else |
|
|
5989 |
LIPO="$ac_cv_prog_LIPO" |
|
|
5990 |
fi |
|
|
5991 |
|
|
|
5992 |
if test -n "$ac_tool_prefix"; then |
|
|
5993 |
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. |
|
|
5994 |
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
|
|
5995 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5996 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
5997 |
if test "${ac_cv_prog_OTOOL+set}" = set; then |
|
|
5998 |
$as_echo_n "(cached) " >&6 |
|
|
5999 |
else |
|
|
6000 |
if test -n "$OTOOL"; then |
|
|
6001 |
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. |
|
|
6002 |
else |
|
|
6003 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
6004 |
for as_dir in $PATH |
|
|
6005 |
do |
|
|
6006 |
IFS=$as_save_IFS |
|
|
6007 |
test -z "$as_dir" && as_dir=. |
|
|
6008 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
6009 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
6010 |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
|
|
6011 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
6012 |
break 2 |
|
|
6013 |
fi |
|
|
6014 |
done |
|
|
6015 |
done |
|
|
6016 |
IFS=$as_save_IFS |
|
|
6017 |
|
|
|
6018 |
fi |
|
|
6019 |
fi |
|
|
6020 |
OTOOL=$ac_cv_prog_OTOOL |
|
|
6021 |
if test -n "$OTOOL"; then |
|
|
6022 |
{ $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 |
|
|
6023 |
$as_echo "$OTOOL" >&6; } |
|
|
6024 |
else |
|
|
6025 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
6026 |
$as_echo "no" >&6; } |
|
|
6027 |
fi |
|
|
6028 |
|
|
|
6029 |
|
|
|
6030 |
fi |
|
|
6031 |
if test -z "$ac_cv_prog_OTOOL"; then |
|
|
6032 |
ac_ct_OTOOL=$OTOOL |
|
|
6033 |
# Extract the first word of "otool", so it can be a program name with args. |
|
|
6034 |
set dummy otool; ac_word=$2 |
|
|
6035 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
6036 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
6037 |
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then |
|
|
6038 |
$as_echo_n "(cached) " >&6 |
|
|
6039 |
else |
|
|
6040 |
if test -n "$ac_ct_OTOOL"; then |
|
|
6041 |
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. |
|
|
6042 |
else |
|
|
6043 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
6044 |
for as_dir in $PATH |
|
|
6045 |
do |
|
|
6046 |
IFS=$as_save_IFS |
|
|
6047 |
test -z "$as_dir" && as_dir=. |
|
|
6048 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
6049 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
6050 |
ac_cv_prog_ac_ct_OTOOL="otool" |
|
|
6051 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
6052 |
break 2 |
|
|
6053 |
fi |
|
|
6054 |
done |
|
|
6055 |
done |
|
|
6056 |
IFS=$as_save_IFS |
|
|
6057 |
|
|
|
6058 |
fi |
|
|
6059 |
fi |
|
|
6060 |
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
|
|
6061 |
if test -n "$ac_ct_OTOOL"; then |
|
|
6062 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 |
|
|
6063 |
$as_echo "$ac_ct_OTOOL" >&6; } |
|
|
6064 |
else |
|
|
6065 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
6066 |
$as_echo "no" >&6; } |
|
|
6067 |
fi |
|
|
6068 |
|
|
|
6069 |
if test "x$ac_ct_OTOOL" = x; then |
|
|
6070 |
OTOOL=":" |
|
|
6071 |
else |
|
|
6072 |
case $cross_compiling:$ac_tool_warned in |
|
|
6073 |
yes:) |
|
|
6074 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
6075 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
6076 |
ac_tool_warned=yes ;; |
|
|
6077 |
esac |
|
|
6078 |
OTOOL=$ac_ct_OTOOL |
|
|
6079 |
fi |
|
|
6080 |
else |
|
|
6081 |
OTOOL="$ac_cv_prog_OTOOL" |
|
|
6082 |
fi |
|
|
6083 |
|
|
|
6084 |
if test -n "$ac_tool_prefix"; then |
|
|
6085 |
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. |
|
|
6086 |
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
|
|
6087 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
6088 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
6089 |
if test "${ac_cv_prog_OTOOL64+set}" = set; then |
|
|
6090 |
$as_echo_n "(cached) " >&6 |
|
|
6091 |
else |
|
|
6092 |
if test -n "$OTOOL64"; then |
|
|
6093 |
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. |
|
|
6094 |
else |
|
|
6095 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
6096 |
for as_dir in $PATH |
|
|
6097 |
do |
|
|
6098 |
IFS=$as_save_IFS |
|
|
6099 |
test -z "$as_dir" && as_dir=. |
|
|
6100 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
6101 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
6102 |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
|
|
6103 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
6104 |
break 2 |
|
|
6105 |
fi |
|
|
6106 |
done |
|
|
6107 |
done |
|
|
6108 |
IFS=$as_save_IFS |
|
|
6109 |
|
|
|
6110 |
fi |
|
|
6111 |
fi |
|
|
6112 |
OTOOL64=$ac_cv_prog_OTOOL64 |
|
|
6113 |
if test -n "$OTOOL64"; then |
|
|
6114 |
{ $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 |
|
|
6115 |
$as_echo "$OTOOL64" >&6; } |
|
|
6116 |
else |
|
|
6117 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
6118 |
$as_echo "no" >&6; } |
|
|
6119 |
fi |
|
|
6120 |
|
|
|
6121 |
|
|
|
6122 |
fi |
|
|
6123 |
if test -z "$ac_cv_prog_OTOOL64"; then |
|
|
6124 |
ac_ct_OTOOL64=$OTOOL64 |
|
|
6125 |
# Extract the first word of "otool64", so it can be a program name with args. |
|
|
6126 |
set dummy otool64; ac_word=$2 |
|
|
6127 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
6128 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
|
6129 |
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then |
|
|
6130 |
$as_echo_n "(cached) " >&6 |
|
|
6131 |
else |
|
|
6132 |
if test -n "$ac_ct_OTOOL64"; then |
|
|
6133 |
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. |
|
|
6134 |
else |
|
|
6135 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
6136 |
for as_dir in $PATH |
|
|
6137 |
do |
|
|
6138 |
IFS=$as_save_IFS |
|
|
6139 |
test -z "$as_dir" && as_dir=. |
|
|
6140 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
6141 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
6142 |
ac_cv_prog_ac_ct_OTOOL64="otool64" |
|
|
6143 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
6144 |
break 2 |
|
|
6145 |
fi |
|
|
6146 |
done |
|
|
6147 |
done |
|
|
6148 |
IFS=$as_save_IFS |
|
|
6149 |
|
|
|
6150 |
fi |
|
|
6151 |
fi |
|
|
6152 |
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
|
|
6153 |
if test -n "$ac_ct_OTOOL64"; then |
|
|
6154 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 |
|
|
6155 |
$as_echo "$ac_ct_OTOOL64" >&6; } |
|
|
6156 |
else |
|
|
6157 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
6158 |
$as_echo "no" >&6; } |
|
|
6159 |
fi |
|
|
6160 |
|
|
|
6161 |
if test "x$ac_ct_OTOOL64" = x; then |
|
|
6162 |
OTOOL64=":" |
|
|
6163 |
else |
|
|
6164 |
case $cross_compiling:$ac_tool_warned in |
|
|
6165 |
yes:) |
|
|
6166 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
6167 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
6168 |
ac_tool_warned=yes ;; |
|
|
6169 |
esac |
|
|
6170 |
OTOOL64=$ac_ct_OTOOL64 |
|
|
6171 |
fi |
|
|
6172 |
else |
|
|
6173 |
OTOOL64="$ac_cv_prog_OTOOL64" |
|
|
6174 |
fi |
|
|
6175 |
|
|
|
6176 |
|
|
|
6177 |
|
|
|
6178 |
|
|
|
6179 |
|
|
|
6180 |
|
|
|
6181 |
|
|
|
6182 |
|
|
|
6183 |
|
|
|
6184 |
|
|
|
6185 |
|
|
|
6186 |
|
|
|
6187 |
|
|
|
6188 |
|
|
|
6189 |
|
|
|
6190 |
|
|
|
6191 |
|
|
|
6192 |
|
|
|
6193 |
|
|
|
6194 |
|
|
|
6195 |
|
|
|
6196 |
|
|
|
6197 |
|
|
|
6198 |
|
|
|
6199 |
|
|
|
6200 |
|
|
|
6201 |
|
|
|
6202 |
{ $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 |
|
|
6203 |
$as_echo_n "checking for -single_module linker flag... " >&6; } |
|
|
6204 |
if test "${lt_cv_apple_cc_single_mod+set}" = set; then |
|
|
6205 |
$as_echo_n "(cached) " >&6 |
|
|
6206 |
else |
|
|
6207 |
lt_cv_apple_cc_single_mod=no |
|
|
6208 |
if test -z "${LT_MULTI_MODULE}"; then |
|
|
6209 |
# By default we will add the -single_module flag. You can override |
|
|
6210 |
# by either setting the environment variable LT_MULTI_MODULE |
|
|
6211 |
# non-empty at configure time, or by adding -multi_module to the |
|
|
6212 |
# link flags. |
|
|
6213 |
rm -rf libconftest.dylib* |
|
|
6214 |
echo "int foo(void){return 1;}" > conftest.c |
|
|
6215 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
|
|
6216 |
-dynamiclib -Wl,-single_module conftest.c" >&5 |
|
|
6217 |
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
|
|
6218 |
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
|
|
6219 |
_lt_result=$? |
|
|
6220 |
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
|
|
6221 |
lt_cv_apple_cc_single_mod=yes |
|
|
6222 |
else |
|
|
6223 |
cat conftest.err >&5 |
|
|
6224 |
fi |
|
|
6225 |
rm -rf libconftest.dylib* |
|
|
6226 |
rm -f conftest.* |
|
|
6227 |
fi |
|
|
6228 |
fi |
|
|
6229 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 |
|
|
6230 |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
|
|
6231 |
{ $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 |
|
|
6232 |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
|
|
6233 |
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then |
|
|
6234 |
$as_echo_n "(cached) " >&6 |
|
|
6235 |
else |
|
|
6236 |
lt_cv_ld_exported_symbols_list=no |
|
|
6237 |
save_LDFLAGS=$LDFLAGS |
|
|
6238 |
echo "_main" > conftest.sym |
|
|
6239 |
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
|
|
6240 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
6241 |
/* confdefs.h. */ |
|
|
6242 |
_ACEOF |
|
|
6243 |
cat confdefs.h >>conftest.$ac_ext |
|
|
6244 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
6245 |
/* end confdefs.h. */ |
|
|
6246 |
|
|
|
6247 |
int |
|
|
6248 |
main () |
|
|
6249 |
{ |
|
|
6250 |
|
|
|
6251 |
; |
|
|
6252 |
return 0; |
|
|
6253 |
} |
|
|
6254 |
_ACEOF |
|
|
6255 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6256 |
if { (ac_try="$ac_link" |
|
|
6257 |
case "(($ac_try" in |
|
|
6258 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6259 |
*) ac_try_echo=$ac_try;; |
|
|
6260 |
esac |
|
|
6261 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
6262 |
$as_echo "$ac_try_echo") >&5 |
|
|
6263 |
(eval "$ac_link") 2>conftest.er1 |
|
|
6264 |
ac_status=$? |
|
|
6265 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6266 |
rm -f conftest.er1 |
|
|
6267 |
cat conftest.err >&5 |
|
|
6268 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6269 |
(exit $ac_status); } && { |
|
|
6270 |
test -z "$ac_c_werror_flag" || |
|
|
6271 |
test ! -s conftest.err |
|
|
6272 |
} && test -s conftest$ac_exeext && { |
|
|
6273 |
test "$cross_compiling" = yes || |
|
|
6274 |
$as_test_x conftest$ac_exeext |
|
|
6275 |
}; then |
|
|
6276 |
lt_cv_ld_exported_symbols_list=yes |
|
|
6277 |
else |
|
|
6278 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
6279 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6280 |
|
|
|
6281 |
lt_cv_ld_exported_symbols_list=no |
|
|
6282 |
fi |
|
|
6283 |
|
|
|
6284 |
rm -rf conftest.dSYM |
|
|
6285 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
6286 |
conftest$ac_exeext conftest.$ac_ext |
|
|
6287 |
LDFLAGS="$save_LDFLAGS" |
|
|
6288 |
|
|
|
6289 |
fi |
|
|
6290 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 |
|
|
6291 |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
|
|
6292 |
case $host_os in |
|
|
6293 |
rhapsody* | darwin1.[012]) |
|
|
6294 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
|
|
6295 |
darwin1.*) |
|
|
6296 |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
|
|
6297 |
darwin*) # darwin 5.x on |
|
|
6298 |
# if running on 10.5 or later, the deployment target defaults |
|
|
6299 |
# to the OS version, if on x86, and 10.4, the deployment |
|
|
6300 |
# target defaults to 10.4. Don't you love it? |
|
|
6301 |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
|
|
6302 |
10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
|
|
6303 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
|
|
6304 |
10.[012]*) |
|
|
6305 |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
|
|
6306 |
10.*) |
|
|
6307 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
|
|
6308 |
esac |
|
|
6309 |
;; |
|
|
6310 |
esac |
|
|
6311 |
if test "$lt_cv_apple_cc_single_mod" = "yes"; then |
|
|
6312 |
_lt_dar_single_mod='$single_module' |
|
|
6313 |
fi |
|
|
6314 |
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
|
|
6315 |
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' |
|
|
6316 |
else |
|
|
6317 |
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
6318 |
fi |
|
|
6319 |
if test "$DSYMUTIL" != ":"; then |
|
|
6320 |
_lt_dsymutil='~$DSYMUTIL $lib || :' |
|
|
6321 |
else |
|
|
6322 |
_lt_dsymutil= |
|
|
6323 |
fi |
|
|
6324 |
;; |
|
|
6325 |
esac |
|
|
6326 |
|
|
|
6327 |
ac_ext=c |
|
|
6328 |
ac_cpp='$CPP $CPPFLAGS' |
|
|
6329 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
6330 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
6331 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
6332 |
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
|
|
6333 |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
6334 |
# On Suns, sometimes $CPP names a directory. |
|
|
6335 |
if test -n "$CPP" && test -d "$CPP"; then |
|
|
6336 |
CPP= |
|
|
6337 |
fi |
|
|
6338 |
if test -z "$CPP"; then |
|
|
6339 |
if test "${ac_cv_prog_CPP+set}" = set; then |
|
|
6340 |
$as_echo_n "(cached) " >&6 |
|
|
6341 |
else |
|
|
6342 |
# Double quotes because CPP needs to be expanded |
|
|
6343 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
6344 |
do |
|
|
6345 |
ac_preproc_ok=false |
|
|
6346 |
for ac_c_preproc_warn_flag in '' yes |
|
|
6347 |
do |
|
|
6348 |
# Use a header file that comes with gcc, so configuring glibc |
|
|
6349 |
# with a fresh cross-compiler works. |
|
|
6350 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
6351 |
# <limits.h> exists even on freestanding compilers. |
|
|
6352 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
6353 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
|
6354 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
6355 |
/* confdefs.h. */ |
|
|
6356 |
_ACEOF |
|
|
6357 |
cat confdefs.h >>conftest.$ac_ext |
|
|
6358 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
6359 |
/* end confdefs.h. */ |
|
|
6360 |
@%:@ifdef __STDC__ |
|
|
6361 |
@%:@ include <limits.h> |
|
|
6362 |
@%:@else |
|
|
6363 |
@%:@ include <assert.h> |
|
|
6364 |
@%:@endif |
|
|
6365 |
Syntax error |
|
|
6366 |
_ACEOF |
|
|
6367 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
6368 |
case "(($ac_try" in |
|
|
6369 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6370 |
*) ac_try_echo=$ac_try;; |
|
|
6371 |
esac |
|
|
6372 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
6373 |
$as_echo "$ac_try_echo") >&5 |
|
|
6374 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
6375 |
ac_status=$? |
|
|
6376 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6377 |
rm -f conftest.er1 |
|
|
6378 |
cat conftest.err >&5 |
|
|
6379 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6380 |
(exit $ac_status); } >/dev/null && { |
|
|
6381 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
|
6382 |
test ! -s conftest.err |
|
|
6383 |
}; then |
|
|
6384 |
: |
|
|
6385 |
else |
|
|
6386 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
6387 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6388 |
|
|
|
6389 |
# Broken: fails on valid input. |
|
|
6390 |
continue |
|
|
6391 |
fi |
|
|
6392 |
|
|
|
6393 |
rm -f conftest.err conftest.$ac_ext |
|
|
6394 |
|
|
|
6395 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
|
6396 |
# can be detected and how. |
|
|
6397 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
6398 |
/* confdefs.h. */ |
|
|
6399 |
_ACEOF |
|
|
6400 |
cat confdefs.h >>conftest.$ac_ext |
|
|
6401 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
6402 |
/* end confdefs.h. */ |
|
|
6403 |
@%:@include <ac_nonexistent.h> |
|
|
6404 |
_ACEOF |
|
|
6405 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
6406 |
case "(($ac_try" in |
|
|
6407 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6408 |
*) ac_try_echo=$ac_try;; |
|
|
6409 |
esac |
|
|
6410 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
6411 |
$as_echo "$ac_try_echo") >&5 |
|
|
6412 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
6413 |
ac_status=$? |
|
|
6414 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6415 |
rm -f conftest.er1 |
|
|
6416 |
cat conftest.err >&5 |
|
|
6417 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6418 |
(exit $ac_status); } >/dev/null && { |
|
|
6419 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
|
6420 |
test ! -s conftest.err |
|
|
6421 |
}; then |
|
|
6422 |
# Broken: success on invalid input. |
|
|
6423 |
continue |
|
|
6424 |
else |
|
|
6425 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
6426 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6427 |
|
|
|
6428 |
# Passes both tests. |
|
|
6429 |
ac_preproc_ok=: |
|
|
6430 |
break |
|
|
6431 |
fi |
|
|
6432 |
|
|
|
6433 |
rm -f conftest.err conftest.$ac_ext |
|
|
6434 |
|
|
|
6435 |
done |
|
|
6436 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
6437 |
rm -f conftest.err conftest.$ac_ext |
|
|
6438 |
if $ac_preproc_ok; then |
|
|
6439 |
break |
|
|
6440 |
fi |
|
|
6441 |
|
|
|
6442 |
done |
|
|
6443 |
ac_cv_prog_CPP=$CPP |
|
|
6444 |
|
|
|
6445 |
fi |
|
|
6446 |
CPP=$ac_cv_prog_CPP |
|
|
6447 |
else |
|
|
6448 |
ac_cv_prog_CPP=$CPP |
|
|
6449 |
fi |
|
|
6450 |
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
|
|
6451 |
$as_echo "$CPP" >&6; } |
|
|
6452 |
ac_preproc_ok=false |
|
|
6453 |
for ac_c_preproc_warn_flag in '' yes |
|
|
6454 |
do |
|
|
6455 |
# Use a header file that comes with gcc, so configuring glibc |
|
|
6456 |
# with a fresh cross-compiler works. |
|
|
6457 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
6458 |
# <limits.h> exists even on freestanding compilers. |
|
|
6459 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
6460 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
|
6461 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
6462 |
/* confdefs.h. */ |
|
|
6463 |
_ACEOF |
|
|
6464 |
cat confdefs.h >>conftest.$ac_ext |
|
|
6465 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
6466 |
/* end confdefs.h. */ |
|
|
6467 |
@%:@ifdef __STDC__ |
|
|
6468 |
@%:@ include <limits.h> |
|
|
6469 |
@%:@else |
|
|
6470 |
@%:@ include <assert.h> |
|
|
6471 |
@%:@endif |
|
|
6472 |
Syntax error |
|
|
6473 |
_ACEOF |
|
|
6474 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
6475 |
case "(($ac_try" in |
|
|
6476 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6477 |
*) ac_try_echo=$ac_try;; |
|
|
6478 |
esac |
|
|
6479 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
6480 |
$as_echo "$ac_try_echo") >&5 |
|
|
6481 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
6482 |
ac_status=$? |
|
|
6483 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6484 |
rm -f conftest.er1 |
|
|
6485 |
cat conftest.err >&5 |
|
|
6486 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6487 |
(exit $ac_status); } >/dev/null && { |
|
|
6488 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
|
6489 |
test ! -s conftest.err |
|
|
6490 |
}; then |
|
|
6491 |
: |
|
|
6492 |
else |
|
|
6493 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
6494 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6495 |
|
|
|
6496 |
# Broken: fails on valid input. |
|
|
6497 |
continue |
|
|
6498 |
fi |
|
|
6499 |
|
|
|
6500 |
rm -f conftest.err conftest.$ac_ext |
|
|
6501 |
|
|
|
6502 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
|
6503 |
# can be detected and how. |
|
|
6504 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
6505 |
/* confdefs.h. */ |
|
|
6506 |
_ACEOF |
|
|
6507 |
cat confdefs.h >>conftest.$ac_ext |
|
|
6508 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
6509 |
/* end confdefs.h. */ |
|
|
6510 |
@%:@include <ac_nonexistent.h> |
|
|
6511 |
_ACEOF |
|
|
6512 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
6513 |
case "(($ac_try" in |
|
|
6514 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6515 |
*) ac_try_echo=$ac_try;; |
|
|
6516 |
esac |
|
|
6517 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
6518 |
$as_echo "$ac_try_echo") >&5 |
|
|
6519 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
6520 |
ac_status=$? |
|
|
6521 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6522 |
rm -f conftest.er1 |
|
|
6523 |
cat conftest.err >&5 |
|
|
6524 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6525 |
(exit $ac_status); } >/dev/null && { |
|
|
6526 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
|
6527 |
test ! -s conftest.err |
|
|
6528 |
}; then |
|
|
6529 |
# Broken: success on invalid input. |
|
|
6530 |
continue |
|
|
6531 |
else |
|
|
6532 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
6533 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6534 |
|
|
|
6535 |
# Passes both tests. |
|
|
6536 |
ac_preproc_ok=: |
|
|
6537 |
break |
|
|
6538 |
fi |
|
|
6539 |
|
|
|
6540 |
rm -f conftest.err conftest.$ac_ext |
|
|
6541 |
|
|
|
6542 |
done |
|
|
6543 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
6544 |
rm -f conftest.err conftest.$ac_ext |
|
|
6545 |
if $ac_preproc_ok; then |
|
|
6546 |
: |
|
|
6547 |
else |
|
|
6548 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
|
|
6549 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
6550 |
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
|
|
6551 |
See \`config.log' for more details." >&5 |
|
|
6552 |
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
|
|
6553 |
See \`config.log' for more details." >&2;} |
|
|
6554 |
{ (exit 1); exit 1; }; }; } |
|
|
6555 |
fi |
|
|
6556 |
|
|
|
6557 |
ac_ext=c |
|
|
6558 |
ac_cpp='$CPP $CPPFLAGS' |
|
|
6559 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
6560 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
6561 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
6562 |
|
|
|
6563 |
|
|
|
6564 |
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
6565 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
|
|
6566 |
if test "${ac_cv_header_stdc+set}" = set; then |
|
|
6567 |
$as_echo_n "(cached) " >&6 |
|
|
6568 |
else |
|
|
6569 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
6570 |
/* confdefs.h. */ |
|
|
6571 |
_ACEOF |
|
|
6572 |
cat confdefs.h >>conftest.$ac_ext |
|
|
6573 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
6574 |
/* end confdefs.h. */ |
|
|
6575 |
#include <stdlib.h> |
|
|
6576 |
#include <stdarg.h> |
|
|
6577 |
#include <string.h> |
|
|
6578 |
#include <float.h> |
|
|
6579 |
|
|
|
6580 |
int |
|
|
6581 |
main () |
|
|
6582 |
{ |
|
|
6583 |
|
|
|
6584 |
; |
|
|
6585 |
return 0; |
|
|
6586 |
} |
|
|
6587 |
_ACEOF |
|
|
6588 |
rm -f conftest.$ac_objext |
|
|
6589 |
if { (ac_try="$ac_compile" |
|
|
6590 |
case "(($ac_try" in |
|
|
6591 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6592 |
*) ac_try_echo=$ac_try;; |
|
|
6593 |
esac |
|
|
6594 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
6595 |
$as_echo "$ac_try_echo") >&5 |
|
|
6596 |
(eval "$ac_compile") 2>conftest.er1 |
|
|
6597 |
ac_status=$? |
|
|
6598 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6599 |
rm -f conftest.er1 |
|
|
6600 |
cat conftest.err >&5 |
|
|
6601 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6602 |
(exit $ac_status); } && { |
|
|
6603 |
test -z "$ac_c_werror_flag" || |
|
|
6604 |
test ! -s conftest.err |
|
|
6605 |
} && test -s conftest.$ac_objext; then |
|
|
6606 |
ac_cv_header_stdc=yes |
|
|
6607 |
else |
|
|
6608 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
6609 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6610 |
|
|
|
6611 |
ac_cv_header_stdc=no |
|
|
6612 |
fi |
|
|
6613 |
|
|
|
6614 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6615 |
|
|
|
6616 |
if test $ac_cv_header_stdc = yes; then |
|
|
6617 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
6618 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
6619 |
/* confdefs.h. */ |
|
|
6620 |
_ACEOF |
|
|
6621 |
cat confdefs.h >>conftest.$ac_ext |
|
|
6622 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
6623 |
/* end confdefs.h. */ |
|
|
6624 |
#include <string.h> |
|
|
6625 |
|
|
|
6626 |
_ACEOF |
|
|
6627 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
6628 |
$EGREP "memchr" >/dev/null 2>&1; then |
|
|
6629 |
: |
|
|
6630 |
else |
|
|
6631 |
ac_cv_header_stdc=no |
|
|
6632 |
fi |
|
|
6633 |
rm -f conftest* |
|
|
6634 |
|
|
|
6635 |
fi |
|
|
6636 |
|
|
|
6637 |
if test $ac_cv_header_stdc = yes; then |
|
|
6638 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
6639 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
6640 |
/* confdefs.h. */ |
|
|
6641 |
_ACEOF |
|
|
6642 |
cat confdefs.h >>conftest.$ac_ext |
|
|
6643 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
6644 |
/* end confdefs.h. */ |
|
|
6645 |
#include <stdlib.h> |
|
|
6646 |
|
|
|
6647 |
_ACEOF |
|
|
6648 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
6649 |
$EGREP "free" >/dev/null 2>&1; then |
|
|
6650 |
: |
|
|
6651 |
else |
|
|
6652 |
ac_cv_header_stdc=no |
|
|
6653 |
fi |
|
|
6654 |
rm -f conftest* |
|
|
6655 |
|
|
|
6656 |
fi |
|
|
6657 |
|
|
|
6658 |
if test $ac_cv_header_stdc = yes; then |
|
|
6659 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
6660 |
if test "$cross_compiling" = yes; then |
|
|
6661 |
: |
|
|
6662 |
else |
|
|
6663 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
6664 |
/* confdefs.h. */ |
|
|
6665 |
_ACEOF |
|
|
6666 |
cat confdefs.h >>conftest.$ac_ext |
|
|
6667 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
6668 |
/* end confdefs.h. */ |
|
|
6669 |
#include <ctype.h> |
|
|
6670 |
#include <stdlib.h> |
|
|
6671 |
#if ((' ' & 0x0FF) == 0x020) |
|
|
6672 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
6673 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
6674 |
#else |
|
|
6675 |
# define ISLOWER(c) \ |
|
|
6676 |
(('a' <= (c) && (c) <= 'i') \ |
|
|
6677 |
|| ('j' <= (c) && (c) <= 'r') \ |
|
|
6678 |
|| ('s' <= (c) && (c) <= 'z')) |
|
|
6679 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
6680 |
#endif |
|
|
6681 |
|
|
|
6682 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
6683 |
int |
|
|
6684 |
main () |
|
|
6685 |
{ |
|
|
6686 |
int i; |
|
|
6687 |
for (i = 0; i < 256; i++) |
|
|
6688 |
if (XOR (islower (i), ISLOWER (i)) |
|
|
6689 |
|| toupper (i) != TOUPPER (i)) |
|
|
6690 |
return 2; |
|
|
6691 |
return 0; |
|
|
6692 |
} |
|
|
6693 |
_ACEOF |
|
|
6694 |
rm -f conftest$ac_exeext |
|
|
6695 |
if { (ac_try="$ac_link" |
|
|
6696 |
case "(($ac_try" in |
|
|
6697 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6698 |
*) ac_try_echo=$ac_try;; |
|
|
6699 |
esac |
|
|
6700 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
6701 |
$as_echo "$ac_try_echo") >&5 |
|
|
6702 |
(eval "$ac_link") 2>&5 |
|
|
6703 |
ac_status=$? |
|
|
6704 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6705 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
6706 |
{ (case "(($ac_try" in |
|
|
6707 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6708 |
*) ac_try_echo=$ac_try;; |
|
|
6709 |
esac |
|
|
6710 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
6711 |
$as_echo "$ac_try_echo") >&5 |
|
|
6712 |
(eval "$ac_try") 2>&5 |
|
|
6713 |
ac_status=$? |
|
|
6714 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6715 |
(exit $ac_status); }; }; then |
|
|
6716 |
: |
|
|
6717 |
else |
|
|
6718 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
|
|
6719 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
6720 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6721 |
|
|
|
6722 |
( exit $ac_status ) |
|
|
6723 |
ac_cv_header_stdc=no |
|
|
6724 |
fi |
|
|
6725 |
rm -rf conftest.dSYM |
|
|
6726 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
6727 |
fi |
|
|
6728 |
|
|
|
6729 |
|
|
|
6730 |
fi |
|
|
6731 |
fi |
|
|
6732 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
6733 |
$as_echo "$ac_cv_header_stdc" >&6; } |
|
|
6734 |
if test $ac_cv_header_stdc = yes; then |
|
|
6735 |
|
|
|
6736 |
cat >>confdefs.h <<\_ACEOF |
|
|
6737 |
@%:@define STDC_HEADERS 1 |
|
|
6738 |
_ACEOF |
|
|
6739 |
|
|
|
6740 |
fi |
|
|
6741 |
|
|
|
6742 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
6743 |
|
|
|
6744 |
|
|
|
6745 |
|
|
|
6746 |
|
|
|
6747 |
|
|
|
6748 |
|
|
|
6749 |
|
|
|
6750 |
|
|
|
6751 |
|
|
|
6752 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
6753 |
inttypes.h stdint.h unistd.h |
|
|
6754 |
do |
|
|
6755 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
6756 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
6757 |
$as_echo_n "checking for $ac_header... " >&6; } |
|
|
6758 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
6759 |
$as_echo_n "(cached) " >&6 |
|
|
6760 |
else |
|
|
6761 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
6762 |
/* confdefs.h. */ |
|
|
6763 |
_ACEOF |
|
|
6764 |
cat confdefs.h >>conftest.$ac_ext |
|
|
6765 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
6766 |
/* end confdefs.h. */ |
|
|
6767 |
$ac_includes_default |
|
|
6768 |
|
|
|
6769 |
@%:@include <$ac_header> |
|
|
6770 |
_ACEOF |
|
|
6771 |
rm -f conftest.$ac_objext |
|
|
6772 |
if { (ac_try="$ac_compile" |
|
|
6773 |
case "(($ac_try" in |
|
|
6774 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6775 |
*) ac_try_echo=$ac_try;; |
|
|
6776 |
esac |
|
|
6777 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
6778 |
$as_echo "$ac_try_echo") >&5 |
|
|
6779 |
(eval "$ac_compile") 2>conftest.er1 |
|
|
6780 |
ac_status=$? |
|
|
6781 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6782 |
rm -f conftest.er1 |
|
|
6783 |
cat conftest.err >&5 |
|
|
6784 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6785 |
(exit $ac_status); } && { |
|
|
6786 |
test -z "$ac_c_werror_flag" || |
|
|
6787 |
test ! -s conftest.err |
|
|
6788 |
} && test -s conftest.$ac_objext; then |
|
|
6789 |
eval "$as_ac_Header=yes" |
|
|
6790 |
else |
|
|
6791 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
6792 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6793 |
|
|
|
6794 |
eval "$as_ac_Header=no" |
|
|
6795 |
fi |
|
|
6796 |
|
|
|
6797 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6798 |
fi |
|
|
6799 |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
|
|
6800 |
$as_echo "$as_val"'` |
|
|
6801 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
6802 |
$as_echo "$ac_res" >&6; } |
|
|
6803 |
as_val=`eval 'as_val=${'$as_ac_Header'} |
|
|
6804 |
$as_echo "$as_val"'` |
|
|
6805 |
if test "x$as_val" = x""yes; then |
|
|
6806 |
cat >>confdefs.h <<_ACEOF |
|
|
6807 |
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
6808 |
_ACEOF |
|
|
6809 |
|
|
|
6810 |
fi |
|
|
6811 |
|
|
|
6812 |
done |
|
|
6813 |
|
|
|
6814 |
|
|
|
6815 |
|
|
|
6816 |
for ac_header in dlfcn.h |
|
|
6817 |
do |
|
|
6818 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
6819 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
6820 |
$as_echo_n "checking for $ac_header... " >&6; } |
|
|
6821 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
6822 |
$as_echo_n "(cached) " >&6 |
|
|
6823 |
else |
|
|
6824 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
6825 |
/* confdefs.h. */ |
|
|
6826 |
_ACEOF |
|
|
6827 |
cat confdefs.h >>conftest.$ac_ext |
|
|
6828 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
6829 |
/* end confdefs.h. */ |
|
|
6830 |
$ac_includes_default |
|
|
6831 |
|
|
|
6832 |
@%:@include <$ac_header> |
|
|
6833 |
_ACEOF |
|
|
6834 |
rm -f conftest.$ac_objext |
|
|
6835 |
if { (ac_try="$ac_compile" |
|
|
6836 |
case "(($ac_try" in |
|
|
6837 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6838 |
*) ac_try_echo=$ac_try;; |
|
|
6839 |
esac |
|
|
6840 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
6841 |
$as_echo "$ac_try_echo") >&5 |
|
|
6842 |
(eval "$ac_compile") 2>conftest.er1 |
|
|
6843 |
ac_status=$? |
|
|
6844 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6845 |
rm -f conftest.er1 |
|
|
6846 |
cat conftest.err >&5 |
|
|
6847 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6848 |
(exit $ac_status); } && { |
|
|
6849 |
test -z "$ac_c_werror_flag" || |
|
|
6850 |
test ! -s conftest.err |
|
|
6851 |
} && test -s conftest.$ac_objext; then |
|
|
6852 |
eval "$as_ac_Header=yes" |
|
|
6853 |
else |
|
|
6854 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
6855 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6856 |
|
|
|
6857 |
eval "$as_ac_Header=no" |
|
|
6858 |
fi |
|
|
6859 |
|
|
|
6860 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6861 |
fi |
|
|
6862 |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
|
|
6863 |
$as_echo "$as_val"'` |
|
|
6864 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
6865 |
$as_echo "$ac_res" >&6; } |
|
|
6866 |
as_val=`eval 'as_val=${'$as_ac_Header'} |
|
|
6867 |
$as_echo "$as_val"'` |
|
|
6868 |
if test "x$as_val" = x""yes; then |
|
|
6869 |
cat >>confdefs.h <<_ACEOF |
|
|
6870 |
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
6871 |
_ACEOF |
|
|
6872 |
|
|
|
6873 |
fi |
|
|
6874 |
|
|
|
6875 |
done |
|
|
6876 |
|
|
|
6877 |
|
|
|
6878 |
|
|
|
6879 |
# Set options |
|
|
6880 |
|
|
|
6881 |
|
|
|
6882 |
|
|
|
6883 |
enable_dlopen=no |
|
|
6884 |
|
|
|
6885 |
|
|
|
6886 |
enable_win32_dll=no |
|
|
6887 |
|
|
|
6888 |
|
|
|
6889 |
@%:@ Check whether --enable-shared was given. |
|
|
6890 |
if test "${enable_shared+set}" = set; then |
|
|
6891 |
enableval=$enable_shared; p=${PACKAGE-default} |
|
|
6892 |
case $enableval in |
|
|
6893 |
yes) enable_shared=yes ;; |
|
|
6894 |
no) enable_shared=no ;; |
|
|
6895 |
*) |
|
|
6896 |
enable_shared=no |
|
|
6897 |
# Look at the argument we got. We use all the common list separators. |
|
|
6898 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
|
6899 |
for pkg in $enableval; do |
|
|
6900 |
IFS="$lt_save_ifs" |
|
|
6901 |
if test "X$pkg" = "X$p"; then |
|
|
6902 |
enable_shared=yes |
|
|
6903 |
fi |
|
|
6904 |
done |
|
|
6905 |
IFS="$lt_save_ifs" |
|
|
6906 |
;; |
|
|
6907 |
esac |
|
|
6908 |
else |
|
|
6909 |
enable_shared=yes |
|
|
6910 |
fi |
|
|
6911 |
|
|
|
6912 |
|
|
|
6913 |
|
|
|
6914 |
|
|
|
6915 |
|
|
|
6916 |
|
|
|
6917 |
|
|
|
6918 |
|
|
|
6919 |
|
|
|
6920 |
@%:@ Check whether --enable-static was given. |
|
|
6921 |
if test "${enable_static+set}" = set; then |
|
|
6922 |
enableval=$enable_static; p=${PACKAGE-default} |
|
|
6923 |
case $enableval in |
|
|
6924 |
yes) enable_static=yes ;; |
|
|
6925 |
no) enable_static=no ;; |
|
|
6926 |
*) |
|
|
6927 |
enable_static=no |
|
|
6928 |
# Look at the argument we got. We use all the common list separators. |
|
|
6929 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
|
6930 |
for pkg in $enableval; do |
|
|
6931 |
IFS="$lt_save_ifs" |
|
|
6932 |
if test "X$pkg" = "X$p"; then |
|
|
6933 |
enable_static=yes |
|
|
6934 |
fi |
|
|
6935 |
done |
|
|
6936 |
IFS="$lt_save_ifs" |
|
|
6937 |
;; |
|
|
6938 |
esac |
|
|
6939 |
else |
|
|
6940 |
enable_static=yes |
|
|
6941 |
fi |
|
|
6942 |
|
|
|
6943 |
|
|
|
6944 |
|
|
|
6945 |
|
|
|
6946 |
|
|
|
6947 |
|
|
|
6948 |
|
|
|
6949 |
|
|
|
6950 |
|
|
|
6951 |
|
|
|
6952 |
@%:@ Check whether --with-pic was given. |
|
|
6953 |
if test "${with_pic+set}" = set; then |
|
|
6954 |
withval=$with_pic; pic_mode="$withval" |
|
|
6955 |
else |
|
|
6956 |
pic_mode=default |
|
|
6957 |
fi |
|
|
6958 |
|
|
|
6959 |
|
|
|
6960 |
test -z "$pic_mode" && pic_mode=default |
|
|
6961 |
|
|
|
6962 |
|
|
|
6963 |
|
|
|
6964 |
|
|
|
6965 |
|
|
|
6966 |
|
|
|
6967 |
|
|
|
6968 |
@%:@ Check whether --enable-fast-install was given. |
|
|
6969 |
if test "${enable_fast_install+set}" = set; then |
|
|
6970 |
enableval=$enable_fast_install; p=${PACKAGE-default} |
|
|
6971 |
case $enableval in |
|
|
6972 |
yes) enable_fast_install=yes ;; |
|
|
6973 |
no) enable_fast_install=no ;; |
|
|
6974 |
*) |
|
|
6975 |
enable_fast_install=no |
|
|
6976 |
# Look at the argument we got. We use all the common list separators. |
|
|
6977 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
|
6978 |
for pkg in $enableval; do |
|
|
6979 |
IFS="$lt_save_ifs" |
|
|
6980 |
if test "X$pkg" = "X$p"; then |
|
|
6981 |
enable_fast_install=yes |
|
|
6982 |
fi |
|
|
6983 |
done |
|
|
6984 |
IFS="$lt_save_ifs" |
|
|
6985 |
;; |
|
|
6986 |
esac |
|
|
6987 |
else |
|
|
6988 |
enable_fast_install=yes |
|
|
6989 |
fi |
|
|
6990 |
|
|
|
6991 |
|
|
|
6992 |
|
|
|
6993 |
|
|
|
6994 |
|
|
|
6995 |
|
|
|
6996 |
|
|
|
6997 |
|
|
|
6998 |
|
|
|
6999 |
|
|
|
7000 |
|
|
|
7001 |
# This can be used to rebuild libtool when needed |
|
|
7002 |
LIBTOOL_DEPS="$ltmain" |
|
|
7003 |
|
|
|
7004 |
# Always use our own libtool. |
|
|
7005 |
LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
|
|
7006 |
|
|
|
7007 |
|
|
|
7008 |
|
|
|
7009 |
|
|
|
7010 |
|
|
|
7011 |
|
|
|
7012 |
|
|
|
7013 |
|
|
|
7014 |
|
|
|
7015 |
|
|
|
7016 |
|
|
|
7017 |
|
|
|
7018 |
|
|
|
7019 |
|
|
|
7020 |
|
|
|
7021 |
|
|
|
7022 |
|
|
|
7023 |
|
|
|
7024 |
|
|
|
7025 |
|
|
|
7026 |
|
|
|
7027 |
|
|
|
7028 |
|
|
|
7029 |
|
|
|
7030 |
|
|
|
7031 |
test -z "$LN_S" && LN_S="ln -s" |
|
|
7032 |
|
|
|
7033 |
|
|
|
7034 |
|
|
|
7035 |
|
|
|
7036 |
|
|
|
7037 |
|
|
|
7038 |
|
|
|
7039 |
|
|
|
7040 |
|
|
|
7041 |
|
|
|
7042 |
|
|
|
7043 |
|
|
|
7044 |
|
|
|
7045 |
|
|
|
7046 |
if test -n "${ZSH_VERSION+set}" ; then |
|
|
7047 |
setopt NO_GLOB_SUBST |
|
|
7048 |
fi |
|
|
7049 |
|
|
|
7050 |
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 |
|
|
7051 |
$as_echo_n "checking for objdir... " >&6; } |
|
|
7052 |
if test "${lt_cv_objdir+set}" = set; then |
|
|
7053 |
$as_echo_n "(cached) " >&6 |
|
|
7054 |
else |
|
|
7055 |
rm -f .libs 2>/dev/null |
|
|
7056 |
mkdir .libs 2>/dev/null |
|
|
7057 |
if test -d .libs; then |
|
|
7058 |
lt_cv_objdir=.libs |
|
|
7059 |
else |
|
|
7060 |
# MS-DOS does not allow filenames that begin with a dot. |
|
|
7061 |
lt_cv_objdir=_libs |
|
|
7062 |
fi |
|
|
7063 |
rmdir .libs 2>/dev/null |
|
|
7064 |
fi |
|
|
7065 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 |
|
|
7066 |
$as_echo "$lt_cv_objdir" >&6; } |
|
|
7067 |
objdir=$lt_cv_objdir |
|
|
7068 |
|
|
|
7069 |
|
|
|
7070 |
|
|
|
7071 |
|
|
|
7072 |
|
|
|
7073 |
cat >>confdefs.h <<_ACEOF |
|
|
7074 |
@%:@define LT_OBJDIR "$lt_cv_objdir/" |
|
|
7075 |
_ACEOF |
|
|
7076 |
|
|
|
7077 |
|
|
|
7078 |
|
|
|
7079 |
|
|
|
7080 |
|
|
|
7081 |
|
|
|
7082 |
|
|
|
7083 |
|
|
|
7084 |
|
|
|
7085 |
|
|
|
7086 |
|
|
|
7087 |
|
|
|
7088 |
|
|
|
7089 |
|
|
|
7090 |
|
|
|
7091 |
|
|
|
7092 |
|
|
|
7093 |
case $host_os in |
|
|
7094 |
aix3*) |
|
|
7095 |
# AIX sometimes has problems with the GCC collect2 program. For some |
|
|
7096 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
|
|
7097 |
# vanish in a puff of smoke. |
|
|
7098 |
if test "X${COLLECT_NAMES+set}" != Xset; then |
|
|
7099 |
COLLECT_NAMES= |
|
|
7100 |
export COLLECT_NAMES |
|
|
7101 |
fi |
|
|
7102 |
;; |
|
|
7103 |
esac |
|
|
7104 |
|
|
|
7105 |
# Sed substitution that helps us do robust quoting. It backslashifies |
|
|
7106 |
# metacharacters that are still active within double-quoted strings. |
|
|
7107 |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
|
|
7108 |
|
|
|
7109 |
# Same as above, but do not quote variable references. |
|
|
7110 |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
|
|
7111 |
|
|
|
7112 |
# Sed substitution to delay expansion of an escaped shell variable in a |
|
|
7113 |
# double_quote_subst'ed string. |
|
|
7114 |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
|
|
7115 |
|
|
|
7116 |
# Sed substitution to delay expansion of an escaped single quote. |
|
|
7117 |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
|
|
7118 |
|
|
|
7119 |
# Sed substitution to avoid accidental globbing in evaled expressions |
|
|
7120 |
no_glob_subst='s/\*/\\\*/g' |
|
|
7121 |
|
|
|
7122 |
# Global variables: |
|
|
7123 |
ofile=libtool |
|
|
7124 |
can_build_shared=yes |
|
|
7125 |
|
|
|
7126 |
# All known linkers require a `.a' archive for static linking (except MSVC, |
|
|
7127 |
# which needs '.lib'). |
|
|
7128 |
libext=a |
|
|
7129 |
|
|
|
7130 |
with_gnu_ld="$lt_cv_prog_gnu_ld" |
|
|
7131 |
|
|
|
7132 |
old_CC="$CC" |
|
|
7133 |
old_CFLAGS="$CFLAGS" |
|
|
7134 |
|
|
|
7135 |
# Set sane defaults for various variables |
|
|
7136 |
test -z "$CC" && CC=cc |
|
|
7137 |
test -z "$LTCC" && LTCC=$CC |
|
|
7138 |
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
|
|
7139 |
test -z "$LD" && LD=ld |
|
|
7140 |
test -z "$ac_objext" && ac_objext=o |
|
|
7141 |
|
|
|
7142 |
for cc_temp in $compiler""; do |
|
|
7143 |
case $cc_temp in |
|
|
7144 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
|
7145 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
|
7146 |
\-*) ;; |
|
|
7147 |
*) break;; |
|
|
7148 |
esac |
|
|
7149 |
done |
|
|
7150 |
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
|
7151 |
|
|
|
7152 |
|
|
|
7153 |
# Only perform the check for file, if the check method requires it |
|
|
7154 |
test -z "$MAGIC_CMD" && MAGIC_CMD=file |
|
|
7155 |
case $deplibs_check_method in |
|
|
7156 |
file_magic*) |
|
|
7157 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
|
|
7158 |
{ $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 |
|
|
7159 |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
|
|
7160 |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
|
|
7161 |
$as_echo_n "(cached) " >&6 |
|
|
7162 |
else |
|
|
7163 |
case $MAGIC_CMD in |
|
|
7164 |
[\\/*] | ?:[\\/]*) |
|
|
7165 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
|
|
7166 |
;; |
|
|
7167 |
*) |
|
|
7168 |
lt_save_MAGIC_CMD="$MAGIC_CMD" |
|
|
7169 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
|
7170 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
|
|
7171 |
for ac_dir in $ac_dummy; do |
|
|
7172 |
IFS="$lt_save_ifs" |
|
|
7173 |
test -z "$ac_dir" && ac_dir=. |
|
|
7174 |
if test -f $ac_dir/${ac_tool_prefix}file; then |
|
|
7175 |
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" |
|
|
7176 |
if test -n "$file_magic_test_file"; then |
|
|
7177 |
case $deplibs_check_method in |
|
|
7178 |
"file_magic "*) |
|
|
7179 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
|
|
7180 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
|
7181 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
|
7182 |
$EGREP "$file_magic_regex" > /dev/null; then |
|
|
7183 |
: |
|
|
7184 |
else |
|
|
7185 |
cat <<_LT_EOF 1>&2 |
|
|
7186 |
|
|
|
7187 |
*** Warning: the command libtool uses to detect shared libraries, |
|
|
7188 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
|
|
7189 |
*** The result is that libtool may fail to recognize shared libraries |
|
|
7190 |
*** as such. This will affect the creation of libtool libraries that |
|
|
7191 |
*** depend on shared libraries, but programs linked with such libtool |
|
|
7192 |
*** libraries will work regardless of this problem. Nevertheless, you |
|
|
7193 |
*** may want to report the problem to your system manager and/or to |
|
|
7194 |
*** bug-libtool@gnu.org |
|
|
7195 |
|
|
|
7196 |
_LT_EOF |
|
|
7197 |
fi ;; |
|
|
7198 |
esac |
|
|
7199 |
fi |
|
|
7200 |
break |
|
|
7201 |
fi |
|
|
7202 |
done |
|
|
7203 |
IFS="$lt_save_ifs" |
|
|
7204 |
MAGIC_CMD="$lt_save_MAGIC_CMD" |
|
|
7205 |
;; |
|
|
7206 |
esac |
|
|
7207 |
fi |
|
|
7208 |
|
|
|
7209 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
|
7210 |
if test -n "$MAGIC_CMD"; then |
|
|
7211 |
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
|
|
7212 |
$as_echo "$MAGIC_CMD" >&6; } |
|
|
7213 |
else |
|
|
7214 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
7215 |
$as_echo "no" >&6; } |
|
|
7216 |
fi |
|
|
7217 |
|
|
|
7218 |
|
|
|
7219 |
|
|
|
7220 |
|
|
|
7221 |
|
|
|
7222 |
if test -z "$lt_cv_path_MAGIC_CMD"; then |
|
|
7223 |
if test -n "$ac_tool_prefix"; then |
|
|
7224 |
{ $as_echo "$as_me:$LINENO: checking for file" >&5 |
|
|
7225 |
$as_echo_n "checking for file... " >&6; } |
|
|
7226 |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
|
|
7227 |
$as_echo_n "(cached) " >&6 |
|
|
7228 |
else |
|
|
7229 |
case $MAGIC_CMD in |
|
|
7230 |
[\\/*] | ?:[\\/]*) |
|
|
7231 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
|
|
7232 |
;; |
|
|
7233 |
*) |
|
|
7234 |
lt_save_MAGIC_CMD="$MAGIC_CMD" |
|
|
7235 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
|
7236 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
|
|
7237 |
for ac_dir in $ac_dummy; do |
|
|
7238 |
IFS="$lt_save_ifs" |
|
|
7239 |
test -z "$ac_dir" && ac_dir=. |
|
|
7240 |
if test -f $ac_dir/file; then |
|
|
7241 |
lt_cv_path_MAGIC_CMD="$ac_dir/file" |
|
|
7242 |
if test -n "$file_magic_test_file"; then |
|
|
7243 |
case $deplibs_check_method in |
|
|
7244 |
"file_magic "*) |
|
|
7245 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
|
|
7246 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
|
7247 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
|
7248 |
$EGREP "$file_magic_regex" > /dev/null; then |
|
|
7249 |
: |
|
|
7250 |
else |
|
|
7251 |
cat <<_LT_EOF 1>&2 |
|
|
7252 |
|
|
|
7253 |
*** Warning: the command libtool uses to detect shared libraries, |
|
|
7254 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
|
|
7255 |
*** The result is that libtool may fail to recognize shared libraries |
|
|
7256 |
*** as such. This will affect the creation of libtool libraries that |
|
|
7257 |
*** depend on shared libraries, but programs linked with such libtool |
|
|
7258 |
*** libraries will work regardless of this problem. Nevertheless, you |
|
|
7259 |
*** may want to report the problem to your system manager and/or to |
|
|
7260 |
*** bug-libtool@gnu.org |
|
|
7261 |
|
|
|
7262 |
_LT_EOF |
|
|
7263 |
fi ;; |
|
|
7264 |
esac |
|
|
7265 |
fi |
|
|
7266 |
break |
|
|
7267 |
fi |
|
|
7268 |
done |
|
|
7269 |
IFS="$lt_save_ifs" |
|
|
7270 |
MAGIC_CMD="$lt_save_MAGIC_CMD" |
|
|
7271 |
;; |
|
|
7272 |
esac |
|
|
7273 |
fi |
|
|
7274 |
|
|
|
7275 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
|
7276 |
if test -n "$MAGIC_CMD"; then |
|
|
7277 |
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
|
|
7278 |
$as_echo "$MAGIC_CMD" >&6; } |
|
|
7279 |
else |
|
|
7280 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
7281 |
$as_echo "no" >&6; } |
|
|
7282 |
fi |
|
|
7283 |
|
|
|
7284 |
|
|
|
7285 |
else |
|
|
7286 |
MAGIC_CMD=: |
|
|
7287 |
fi |
|
|
7288 |
fi |
|
|
7289 |
|
|
|
7290 |
fi |
|
|
7291 |
;; |
|
|
7292 |
esac |
|
|
7293 |
|
|
|
7294 |
# Use C for the default configuration in the libtool script |
|
|
7295 |
|
|
|
7296 |
lt_save_CC="$CC" |
|
|
7297 |
ac_ext=c |
|
|
7298 |
ac_cpp='$CPP $CPPFLAGS' |
|
|
7299 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
7300 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
7301 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
7302 |
|
|
|
7303 |
|
|
|
7304 |
# Source file extension for C test sources. |
|
|
7305 |
ac_ext=c |
|
|
7306 |
|
|
|
7307 |
# Object file extension for compiled C test sources. |
|
|
7308 |
objext=o |
|
|
7309 |
objext=$objext |
|
|
7310 |
|
|
|
7311 |
# Code to be used in simple compile tests |
|
|
7312 |
lt_simple_compile_test_code="int some_variable = 0;" |
|
|
7313 |
|
|
|
7314 |
# Code to be used in simple link tests |
|
|
7315 |
lt_simple_link_test_code='int main(){return(0);}' |
|
|
7316 |
|
|
|
7317 |
|
|
|
7318 |
|
|
|
7319 |
|
|
|
7320 |
|
|
|
7321 |
|
|
|
7322 |
|
|
|
7323 |
# If no C compiler was specified, use CC. |
|
|
7324 |
LTCC=${LTCC-"$CC"} |
|
|
7325 |
|
|
|
7326 |
# If no C compiler flags were specified, use CFLAGS. |
|
|
7327 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
|
7328 |
|
|
|
7329 |
# Allow CC to be a program name with arguments. |
|
|
7330 |
compiler=$CC |
|
|
7331 |
|
|
|
7332 |
# Save the default compiler, since it gets overwritten when the other |
|
|
7333 |
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. |
|
|
7334 |
compiler_DEFAULT=$CC |
|
|
7335 |
|
|
|
7336 |
# save warnings/boilerplate of simple test code |
|
|
7337 |
ac_outfile=conftest.$ac_objext |
|
|
7338 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
|
7339 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
|
7340 |
_lt_compiler_boilerplate=`cat conftest.err` |
|
|
7341 |
$RM conftest* |
|
|
7342 |
|
|
|
7343 |
ac_outfile=conftest.$ac_objext |
|
|
7344 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
|
7345 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
|
7346 |
_lt_linker_boilerplate=`cat conftest.err` |
|
|
7347 |
$RM -r conftest* |
|
|
7348 |
|
|
|
7349 |
|
|
|
7350 |
## CAVEAT EMPTOR: |
|
|
7351 |
## There is no encapsulation within the following macros, do not change |
|
|
7352 |
## the running order or otherwise move them around unless you know exactly |
|
|
7353 |
## what you are doing... |
|
|
7354 |
if test -n "$compiler"; then |
|
|
7355 |
|
|
|
7356 |
lt_prog_compiler_no_builtin_flag= |
|
|
7357 |
|
|
|
7358 |
if test "$GCC" = yes; then |
|
|
7359 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
|
|
7360 |
|
|
|
7361 |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
|
|
7362 |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
|
|
7363 |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
|
|
7364 |
$as_echo_n "(cached) " >&6 |
|
|
7365 |
else |
|
|
7366 |
lt_cv_prog_compiler_rtti_exceptions=no |
|
|
7367 |
ac_outfile=conftest.$ac_objext |
|
|
7368 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
|
7369 |
lt_compiler_flag="-fno-rtti -fno-exceptions" |
|
|
7370 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
|
7371 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
|
7372 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
|
7373 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
|
7374 |
# The option is referenced via a variable to avoid confusing sed. |
|
|
7375 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
|
7376 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
|
7377 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
|
7378 |
-e 's:$: $lt_compiler_flag:'` |
|
|
7379 |
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5) |
|
|
7380 |
(eval "$lt_compile" 2>conftest.err) |
|
|
7381 |
ac_status=$? |
|
|
7382 |
cat conftest.err >&5 |
|
|
7383 |
echo "$as_me:__oline__: \$? = $ac_status" >&5 |
|
|
7384 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
|
|
7385 |
# The compiler can only warn and ignore the option if not recognized |
|
|
7386 |
# So say no if there are warnings other than the usual output. |
|
|
7387 |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
|
7388 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
|
7389 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
|
7390 |
lt_cv_prog_compiler_rtti_exceptions=yes |
|
|
7391 |
fi |
|
|
7392 |
fi |
|
|
7393 |
$RM conftest* |
|
|
7394 |
|
|
|
7395 |
fi |
|
|
7396 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
|
|
7397 |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
|
|
7398 |
|
|
|
7399 |
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
|
|
7400 |
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
|
|
7401 |
else |
|
|
7402 |
: |
|
|
7403 |
fi |
|
|
7404 |
|
|
|
7405 |
fi |
|
|
7406 |
|
|
|
7407 |
|
|
|
7408 |
|
|
|
7409 |
|
|
|
7410 |
|
|
|
7411 |
|
|
|
7412 |
lt_prog_compiler_wl= |
|
|
7413 |
lt_prog_compiler_pic= |
|
|
7414 |
lt_prog_compiler_static= |
|
|
7415 |
|
|
|
7416 |
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
|
|
7417 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
|
7418 |
|
|
|
7419 |
if test "$GCC" = yes; then |
|
|
7420 |
lt_prog_compiler_wl='-Wl,' |
|
|
7421 |
lt_prog_compiler_static='-static' |
|
|
7422 |
|
|
|
7423 |
case $host_os in |
|
|
7424 |
aix*) |
|
|
7425 |
# All AIX code is PIC. |
|
|
7426 |
if test "$host_cpu" = ia64; then |
|
|
7427 |
# AIX 5 now supports IA64 processor |
|
|
7428 |
lt_prog_compiler_static='-Bstatic' |
|
|
7429 |
fi |
|
|
7430 |
;; |
|
|
7431 |
|
|
|
7432 |
amigaos*) |
|
|
7433 |
case $host_cpu in |
|
|
7434 |
powerpc) |
|
|
7435 |
# see comment about AmigaOS4 .so support |
|
|
7436 |
lt_prog_compiler_pic='-fPIC' |
|
|
7437 |
;; |
|
|
7438 |
m68k) |
|
|
7439 |
# FIXME: we need at least 68020 code to build shared libraries, but |
|
|
7440 |
# adding the `-m68020' flag to GCC prevents building anything better, |
|
|
7441 |
# like `-m68040'. |
|
|
7442 |
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
|
|
7443 |
;; |
|
|
7444 |
esac |
|
|
7445 |
;; |
|
|
7446 |
|
|
|
7447 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
|
|
7448 |
# PIC is the default for these OSes. |
|
|
7449 |
;; |
|
|
7450 |
|
|
|
7451 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
|
|
7452 |
# This hack is so that the source file can tell whether it is being |
|
|
7453 |
# built for inclusion in a dll (and should export symbols for example). |
|
|
7454 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
|
|
7455 |
# (--disable-auto-import) libraries |
|
|
7456 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
|
|
7457 |
;; |
|
|
7458 |
|
|
|
7459 |
darwin* | rhapsody*) |
|
|
7460 |
# PIC is the default on this platform |
|
|
7461 |
# Common symbols not allowed in MH_DYLIB files |
|
|
7462 |
lt_prog_compiler_pic='-fno-common' |
|
|
7463 |
;; |
|
|
7464 |
|
|
|
7465 |
hpux*) |
|
|
7466 |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
|
|
7467 |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
|
|
7468 |
# sets the default TLS model and affects inlining. |
|
|
7469 |
case $host_cpu in |
|
|
7470 |
hppa*64*) |
|
|
7471 |
# +Z the default |
|
|
7472 |
;; |
|
|
7473 |
*) |
|
|
7474 |
lt_prog_compiler_pic='-fPIC' |
|
|
7475 |
;; |
|
|
7476 |
esac |
|
|
7477 |
;; |
|
|
7478 |
|
|
|
7479 |
interix[3-9]*) |
|
|
7480 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
|
7481 |
# Instead, we relocate shared libraries at runtime. |
|
|
7482 |
;; |
|
|
7483 |
|
|
|
7484 |
msdosdjgpp*) |
|
|
7485 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
|
|
7486 |
# on systems that don't support them. |
|
|
7487 |
lt_prog_compiler_can_build_shared=no |
|
|
7488 |
enable_shared=no |
|
|
7489 |
;; |
|
|
7490 |
|
|
|
7491 |
*nto* | *qnx*) |
|
|
7492 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
|
7493 |
# it will coredump. |
|
|
7494 |
lt_prog_compiler_pic='-fPIC -shared' |
|
|
7495 |
;; |
|
|
7496 |
|
|
|
7497 |
sysv4*MP*) |
|
|
7498 |
if test -d /usr/nec; then |
|
|
7499 |
lt_prog_compiler_pic=-Kconform_pic |
|
|
7500 |
fi |
|
|
7501 |
;; |
|
|
7502 |
|
|
|
7503 |
*) |
|
|
7504 |
lt_prog_compiler_pic='-fPIC' |
|
|
7505 |
;; |
|
|
7506 |
esac |
|
|
7507 |
else |
|
|
7508 |
# PORTME Check for flag to pass linker flags through the system compiler. |
|
|
7509 |
case $host_os in |
|
|
7510 |
aix*) |
|
|
7511 |
lt_prog_compiler_wl='-Wl,' |
|
|
7512 |
if test "$host_cpu" = ia64; then |
|
|
7513 |
# AIX 5 now supports IA64 processor |
|
|
7514 |
lt_prog_compiler_static='-Bstatic' |
|
|
7515 |
else |
|
|
7516 |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
|
|
7517 |
fi |
|
|
7518 |
;; |
|
|
7519 |
|
|
|
7520 |
mingw* | cygwin* | pw32* | os2* | cegcc*) |
|
|
7521 |
# This hack is so that the source file can tell whether it is being |
|
|
7522 |
# built for inclusion in a dll (and should export symbols for example). |
|
|
7523 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
|
|
7524 |
;; |
|
|
7525 |
|
|
|
7526 |
hpux9* | hpux10* | hpux11*) |
|
|
7527 |
lt_prog_compiler_wl='-Wl,' |
|
|
7528 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
|
7529 |
# not for PA HP-UX. |
|
|
7530 |
case $host_cpu in |
|
|
7531 |
hppa*64*|ia64*) |
|
|
7532 |
# +Z the default |
|
|
7533 |
;; |
|
|
7534 |
*) |
|
|
7535 |
lt_prog_compiler_pic='+Z' |
|
|
7536 |
;; |
|
|
7537 |
esac |
|
|
7538 |
# Is there a better lt_prog_compiler_static that works with the bundled CC? |
|
|
7539 |
lt_prog_compiler_static='${wl}-a ${wl}archive' |
|
|
7540 |
;; |
|
|
7541 |
|
|
|
7542 |
irix5* | irix6* | nonstopux*) |
|
|
7543 |
lt_prog_compiler_wl='-Wl,' |
|
|
7544 |
# PIC (with -KPIC) is the default. |
|
|
7545 |
lt_prog_compiler_static='-non_shared' |
|
|
7546 |
;; |
|
|
7547 |
|
|
|
7548 |
linux* | k*bsd*-gnu) |
|
|
7549 |
case $cc_basename in |
|
|
7550 |
# old Intel for x86_64 which still supported -KPIC. |
|
|
7551 |
ecc*) |
|
|
7552 |
lt_prog_compiler_wl='-Wl,' |
|
|
7553 |
lt_prog_compiler_pic='-KPIC' |
|
|
7554 |
lt_prog_compiler_static='-static' |
|
|
7555 |
;; |
|
|
7556 |
# icc used to be incompatible with GCC. |
|
|
7557 |
# ICC 10 doesn't accept -KPIC any more. |
|
|
7558 |
icc* | ifort*) |
|
|
7559 |
lt_prog_compiler_wl='-Wl,' |
|
|
7560 |
lt_prog_compiler_pic='-fPIC' |
|
|
7561 |
lt_prog_compiler_static='-static' |
|
|
7562 |
;; |
|
|
7563 |
# Lahey Fortran 8.1. |
|
|
7564 |
lf95*) |
|
|
7565 |
lt_prog_compiler_wl='-Wl,' |
|
|
7566 |
lt_prog_compiler_pic='--shared' |
|
|
7567 |
lt_prog_compiler_static='--static' |
|
|
7568 |
;; |
|
|
7569 |
pgcc* | pgf77* | pgf90* | pgf95*) |
|
|
7570 |
# Portland Group compilers (*not* the Pentium gcc compiler, |
|
|
7571 |
# which looks to be a dead project) |
|
|
7572 |
lt_prog_compiler_wl='-Wl,' |
|
|
7573 |
lt_prog_compiler_pic='-fpic' |
|
|
7574 |
lt_prog_compiler_static='-Bstatic' |
|
|
7575 |
;; |
|
|
7576 |
ccc*) |
|
|
7577 |
lt_prog_compiler_wl='-Wl,' |
|
|
7578 |
# All Alpha code is PIC. |
|
|
7579 |
lt_prog_compiler_static='-non_shared' |
|
|
7580 |
;; |
|
|
7581 |
xl*) |
|
|
7582 |
# IBM XL C 8.0/Fortran 10.1 on PPC |
|
|
7583 |
lt_prog_compiler_wl='-Wl,' |
|
|
7584 |
lt_prog_compiler_pic='-qpic' |
|
|
7585 |
lt_prog_compiler_static='-qstaticlink' |
|
|
7586 |
;; |
|
|
7587 |
*) |
|
|
7588 |
case `$CC -V 2>&1 | sed 5q` in |
|
|
7589 |
*Sun\ C*) |
|
|
7590 |
# Sun C 5.9 |
|
|
7591 |
lt_prog_compiler_pic='-KPIC' |
|
|
7592 |
lt_prog_compiler_static='-Bstatic' |
|
|
7593 |
lt_prog_compiler_wl='-Wl,' |
|
|
7594 |
;; |
|
|
7595 |
*Sun\ F*) |
|
|
7596 |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
|
|
7597 |
lt_prog_compiler_pic='-KPIC' |
|
|
7598 |
lt_prog_compiler_static='-Bstatic' |
|
|
7599 |
lt_prog_compiler_wl='' |
|
|
7600 |
;; |
|
|
7601 |
esac |
|
|
7602 |
;; |
|
|
7603 |
esac |
|
|
7604 |
;; |
|
|
7605 |
|
|
|
7606 |
newsos6) |
|
|
7607 |
lt_prog_compiler_pic='-KPIC' |
|
|
7608 |
lt_prog_compiler_static='-Bstatic' |
|
|
7609 |
;; |
|
|
7610 |
|
|
|
7611 |
*nto* | *qnx*) |
|
|
7612 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
|
7613 |
# it will coredump. |
|
|
7614 |
lt_prog_compiler_pic='-fPIC -shared' |
|
|
7615 |
;; |
|
|
7616 |
|
|
|
7617 |
osf3* | osf4* | osf5*) |
|
|
7618 |
lt_prog_compiler_wl='-Wl,' |
|
|
7619 |
# All OSF/1 code is PIC. |
|
|
7620 |
lt_prog_compiler_static='-non_shared' |
|
|
7621 |
;; |
|
|
7622 |
|
|
|
7623 |
rdos*) |
|
|
7624 |
lt_prog_compiler_static='-non_shared' |
|
|
7625 |
;; |
|
|
7626 |
|
|
|
7627 |
solaris*) |
|
|
7628 |
lt_prog_compiler_pic='-KPIC' |
|
|
7629 |
lt_prog_compiler_static='-Bstatic' |
|
|
7630 |
case $cc_basename in |
|
|
7631 |
f77* | f90* | f95*) |
|
|
7632 |
lt_prog_compiler_wl='-Qoption ld ';; |
|
|
7633 |
*) |
|
|
7634 |
lt_prog_compiler_wl='-Wl,';; |
|
|
7635 |
esac |
|
|
7636 |
;; |
|
|
7637 |
|
|
|
7638 |
sunos4*) |
|
|
7639 |
lt_prog_compiler_wl='-Qoption ld ' |
|
|
7640 |
lt_prog_compiler_pic='-PIC' |
|
|
7641 |
lt_prog_compiler_static='-Bstatic' |
|
|
7642 |
;; |
|
|
7643 |
|
|
|
7644 |
sysv4 | sysv4.2uw2* | sysv4.3*) |
|
|
7645 |
lt_prog_compiler_wl='-Wl,' |
|
|
7646 |
lt_prog_compiler_pic='-KPIC' |
|
|
7647 |
lt_prog_compiler_static='-Bstatic' |
|
|
7648 |
;; |
|
|
7649 |
|
|
|
7650 |
sysv4*MP*) |
|
|
7651 |
if test -d /usr/nec ;then |
|
|
7652 |
lt_prog_compiler_pic='-Kconform_pic' |
|
|
7653 |
lt_prog_compiler_static='-Bstatic' |
|
|
7654 |
fi |
|
|
7655 |
;; |
|
|
7656 |
|
|
|
7657 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
|
7658 |
lt_prog_compiler_wl='-Wl,' |
|
|
7659 |
lt_prog_compiler_pic='-KPIC' |
|
|
7660 |
lt_prog_compiler_static='-Bstatic' |
|
|
7661 |
;; |
|
|
7662 |
|
|
|
7663 |
unicos*) |
|
|
7664 |
lt_prog_compiler_wl='-Wl,' |
|
|
7665 |
lt_prog_compiler_can_build_shared=no |
|
|
7666 |
;; |
|
|
7667 |
|
|
|
7668 |
uts4*) |
|
|
7669 |
lt_prog_compiler_pic='-pic' |
|
|
7670 |
lt_prog_compiler_static='-Bstatic' |
|
|
7671 |
;; |
|
|
7672 |
|
|
|
7673 |
*) |
|
|
7674 |
lt_prog_compiler_can_build_shared=no |
|
|
7675 |
;; |
|
|
7676 |
esac |
|
|
7677 |
fi |
|
|
7678 |
|
|
|
7679 |
case $host_os in |
|
|
7680 |
# For platforms which do not support PIC, -DPIC is meaningless: |
|
|
7681 |
*djgpp*) |
|
|
7682 |
lt_prog_compiler_pic= |
|
|
7683 |
;; |
|
|
7684 |
*) |
|
|
7685 |
lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC" |
|
|
7686 |
;; |
|
|
7687 |
esac |
|
|
7688 |
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 |
|
|
7689 |
$as_echo "$lt_prog_compiler_pic" >&6; } |
|
|
7690 |
|
|
|
7691 |
|
|
|
7692 |
|
|
|
7693 |
|
|
|
7694 |
|
|
|
7695 |
|
|
|
7696 |
# |
|
|
7697 |
# Check to make sure the PIC flag actually works. |
|
|
7698 |
# |
|
|
7699 |
if test -n "$lt_prog_compiler_pic"; then |
|
|
7700 |
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
|
|
7701 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
|
|
7702 |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then |
|
|
7703 |
$as_echo_n "(cached) " >&6 |
|
|
7704 |
else |
|
|
7705 |
lt_cv_prog_compiler_pic_works=no |
|
|
7706 |
ac_outfile=conftest.$ac_objext |
|
|
7707 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
|
7708 |
lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" |
|
|
7709 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
|
7710 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
|
7711 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
|
7712 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
|
7713 |
# The option is referenced via a variable to avoid confusing sed. |
|
|
7714 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
|
7715 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
|
7716 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
|
7717 |
-e 's:$: $lt_compiler_flag:'` |
|
|
7718 |
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5) |
|
|
7719 |
(eval "$lt_compile" 2>conftest.err) |
|
|
7720 |
ac_status=$? |
|
|
7721 |
cat conftest.err >&5 |
|
|
7722 |
echo "$as_me:__oline__: \$? = $ac_status" >&5 |
|
|
7723 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
|
|
7724 |
# The compiler can only warn and ignore the option if not recognized |
|
|
7725 |
# So say no if there are warnings other than the usual output. |
|
|
7726 |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
|
7727 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
|
7728 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
|
7729 |
lt_cv_prog_compiler_pic_works=yes |
|
|
7730 |
fi |
|
|
7731 |
fi |
|
|
7732 |
$RM conftest* |
|
|
7733 |
|
|
|
7734 |
fi |
|
|
7735 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 |
|
|
7736 |
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
|
|
7737 |
|
|
|
7738 |
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then |
|
|
7739 |
case $lt_prog_compiler_pic in |
|
|
7740 |
"" | " "*) ;; |
|
|
7741 |
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
|
|
7742 |
esac |
|
|
7743 |
else |
|
|
7744 |
lt_prog_compiler_pic= |
|
|
7745 |
lt_prog_compiler_can_build_shared=no |
|
|
7746 |
fi |
|
|
7747 |
|
|
|
7748 |
fi |
|
|
7749 |
|
|
|
7750 |
|
|
|
7751 |
|
|
|
7752 |
|
|
|
7753 |
|
|
|
7754 |
|
|
|
7755 |
# |
|
|
7756 |
# Check to make sure the static flag actually works. |
|
|
7757 |
# |
|
|
7758 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
|
|
7759 |
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
|
7760 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
|
|
7761 |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then |
|
|
7762 |
$as_echo_n "(cached) " >&6 |
|
|
7763 |
else |
|
|
7764 |
lt_cv_prog_compiler_static_works=no |
|
|
7765 |
save_LDFLAGS="$LDFLAGS" |
|
|
7766 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
|
7767 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
|
7768 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
|
7769 |
# The linker can only warn and ignore the option if not recognized |
|
|
7770 |
# So say no if there are warnings |
|
|
7771 |
if test -s conftest.err; then |
|
|
7772 |
# Append any errors to the config.log. |
|
|
7773 |
cat conftest.err 1>&5 |
|
|
7774 |
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
|
|
7775 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
|
7776 |
if diff conftest.exp conftest.er2 >/dev/null; then |
|
|
7777 |
lt_cv_prog_compiler_static_works=yes |
|
|
7778 |
fi |
|
|
7779 |
else |
|
|
7780 |
lt_cv_prog_compiler_static_works=yes |
|
|
7781 |
fi |
|
|
7782 |
fi |
|
|
7783 |
$RM -r conftest* |
|
|
7784 |
LDFLAGS="$save_LDFLAGS" |
|
|
7785 |
|
|
|
7786 |
fi |
|
|
7787 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 |
|
|
7788 |
$as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
|
|
7789 |
|
|
|
7790 |
if test x"$lt_cv_prog_compiler_static_works" = xyes; then |
|
|
7791 |
: |
|
|
7792 |
else |
|
|
7793 |
lt_prog_compiler_static= |
|
|
7794 |
fi |
|
|
7795 |
|
|
|
7796 |
|
|
|
7797 |
|
|
|
7798 |
|
|
|
7799 |
|
|
|
7800 |
|
|
|
7801 |
|
|
|
7802 |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
|
7803 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
|
7804 |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
|
|
7805 |
$as_echo_n "(cached) " >&6 |
|
|
7806 |
else |
|
|
7807 |
lt_cv_prog_compiler_c_o=no |
|
|
7808 |
$RM -r conftest 2>/dev/null |
|
|
7809 |
mkdir conftest |
|
|
7810 |
cd conftest |
|
|
7811 |
mkdir out |
|
|
7812 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
|
7813 |
|
|
|
7814 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
|
7815 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
|
7816 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
|
7817 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
|
7818 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
|
7819 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
|
7820 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
|
7821 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
|
7822 |
-e 's:$: $lt_compiler_flag:'` |
|
|
7823 |
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5) |
|
|
7824 |
(eval "$lt_compile" 2>out/conftest.err) |
|
|
7825 |
ac_status=$? |
|
|
7826 |
cat out/conftest.err >&5 |
|
|
7827 |
echo "$as_me:__oline__: \$? = $ac_status" >&5 |
|
|
7828 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
|
7829 |
then |
|
|
7830 |
# The compiler can only warn and ignore the option if not recognized |
|
|
7831 |
# So say no if there are warnings |
|
|
7832 |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
|
|
7833 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
|
7834 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
|
7835 |
lt_cv_prog_compiler_c_o=yes |
|
|
7836 |
fi |
|
|
7837 |
fi |
|
|
7838 |
chmod u+w . 2>&5 |
|
|
7839 |
$RM conftest* |
|
|
7840 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
|
7841 |
# template instantiation |
|
|
7842 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
|
7843 |
$RM out/* && rmdir out |
|
|
7844 |
cd .. |
|
|
7845 |
$RM -r conftest |
|
|
7846 |
$RM conftest* |
|
|
7847 |
|
|
|
7848 |
fi |
|
|
7849 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
|
|
7850 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
|
|
7851 |
|
|
|
7852 |
|
|
|
7853 |
|
|
|
7854 |
|
|
|
7855 |
|
|
|
7856 |
|
|
|
7857 |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
|
7858 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
|
|
7859 |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
|
|
7860 |
$as_echo_n "(cached) " >&6 |
|
|
7861 |
else |
|
|
7862 |
lt_cv_prog_compiler_c_o=no |
|
|
7863 |
$RM -r conftest 2>/dev/null |
|
|
7864 |
mkdir conftest |
|
|
7865 |
cd conftest |
|
|
7866 |
mkdir out |
|
|
7867 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
|
7868 |
|
|
|
7869 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
|
7870 |
# Insert the option either (1) after the last *FLAGS variable, or |
|
|
7871 |
# (2) before a word containing "conftest.", or (3) at the end. |
|
|
7872 |
# Note that $ac_compile itself does not contain backslashes and begins |
|
|
7873 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
|
7874 |
lt_compile=`echo "$ac_compile" | $SED \ |
|
|
7875 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
|
7876 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
|
7877 |
-e 's:$: $lt_compiler_flag:'` |
|
|
7878 |
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5) |
|
|
7879 |
(eval "$lt_compile" 2>out/conftest.err) |
|
|
7880 |
ac_status=$? |
|
|
7881 |
cat out/conftest.err >&5 |
|
|
7882 |
echo "$as_me:__oline__: \$? = $ac_status" >&5 |
|
|
7883 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
|
7884 |
then |
|
|
7885 |
# The compiler can only warn and ignore the option if not recognized |
|
|
7886 |
# So say no if there are warnings |
|
|
7887 |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
|
|
7888 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
|
7889 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
|
7890 |
lt_cv_prog_compiler_c_o=yes |
|
|
7891 |
fi |
|
|
7892 |
fi |
|
|
7893 |
chmod u+w . 2>&5 |
|
|
7894 |
$RM conftest* |
|
|
7895 |
# SGI C++ compiler will create directory out/ii_files/ for |
|
|
7896 |
# template instantiation |
|
|
7897 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
|
7898 |
$RM out/* && rmdir out |
|
|
7899 |
cd .. |
|
|
7900 |
$RM -r conftest |
|
|
7901 |
$RM conftest* |
|
|
7902 |
|
|
|
7903 |
fi |
|
|
7904 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
|
|
7905 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
|
|
7906 |
|
|
|
7907 |
|
|
|
7908 |
|
|
|
7909 |
|
|
|
7910 |
hard_links="nottested" |
|
|
7911 |
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
|
|
7912 |
# do not overwrite the value of need_locks provided by the user |
|
|
7913 |
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
|
|
7914 |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
|
|
7915 |
hard_links=yes |
|
|
7916 |
$RM conftest* |
|
|
7917 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
|
7918 |
touch conftest.a |
|
|
7919 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
|
|
7920 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
|
7921 |
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5 |
|
|
7922 |
$as_echo "$hard_links" >&6; } |
|
|
7923 |
if test "$hard_links" = no; then |
|
|
7924 |
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
|
|
7925 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
|
7926 |
need_locks=warn |
|
|
7927 |
fi |
|
|
7928 |
else |
|
|
7929 |
need_locks=no |
|
|
7930 |
fi |
|
|
7931 |
|
|
|
7932 |
|
|
|
7933 |
|
|
|
7934 |
|
|
|
7935 |
|
|
|
7936 |
|
|
|
7937 |
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
|
7938 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
|
|
7939 |
|
|
|
7940 |
runpath_var= |
|
|
7941 |
allow_undefined_flag= |
|
|
7942 |
always_export_symbols=no |
|
|
7943 |
archive_cmds= |
|
|
7944 |
archive_expsym_cmds= |
|
|
7945 |
compiler_needs_object=no |
|
|
7946 |
enable_shared_with_static_runtimes=no |
|
|
7947 |
export_dynamic_flag_spec= |
|
|
7948 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
|
7949 |
hardcode_automatic=no |
|
|
7950 |
hardcode_direct=no |
|
|
7951 |
hardcode_direct_absolute=no |
|
|
7952 |
hardcode_libdir_flag_spec= |
|
|
7953 |
hardcode_libdir_flag_spec_ld= |
|
|
7954 |
hardcode_libdir_separator= |
|
|
7955 |
hardcode_minus_L=no |
|
|
7956 |
hardcode_shlibpath_var=unsupported |
|
|
7957 |
inherit_rpath=no |
|
|
7958 |
link_all_deplibs=unknown |
|
|
7959 |
module_cmds= |
|
|
7960 |
module_expsym_cmds= |
|
|
7961 |
old_archive_from_new_cmds= |
|
|
7962 |
old_archive_from_expsyms_cmds= |
|
|
7963 |
thread_safe_flag_spec= |
|
|
7964 |
whole_archive_flag_spec= |
|
|
7965 |
# include_expsyms should be a list of space-separated symbols to be *always* |
|
|
7966 |
# included in the symbol list |
|
|
7967 |
include_expsyms= |
|
|
7968 |
# exclude_expsyms can be an extended regexp of symbols to exclude |
|
|
7969 |
# it will be wrapped by ` (' and `)$', so one must not match beginning or |
|
|
7970 |
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
|
|
7971 |
# as well as any symbol that contains `d'. |
|
|
7972 |
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
|
|
7973 |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
|
|
7974 |
# platforms (ab)use it in PIC code, but their linkers get confused if |
|
|
7975 |
# the symbol is explicitly referenced. Since portable code cannot |
|
|
7976 |
# rely on this symbol name, it's probably fine to never include it in |
|
|
7977 |
# preloaded symbol tables. |
|
|
7978 |
# Exclude shared library initialization/finalization symbols. |
|
|
7979 |
extract_expsyms_cmds= |
|
|
7980 |
|
|
|
7981 |
case $host_os in |
|
|
7982 |
cygwin* | mingw* | pw32* | cegcc*) |
|
|
7983 |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
|
|
7984 |
# When not using gcc, we currently assume that we are using |
|
|
7985 |
# Microsoft Visual C++. |
|
|
7986 |
if test "$GCC" != yes; then |
|
|
7987 |
with_gnu_ld=no |
|
|
7988 |
fi |
|
|
7989 |
;; |
|
|
7990 |
interix*) |
|
|
7991 |
# we just hope/assume this is gcc and not c89 (= MSVC++) |
|
|
7992 |
with_gnu_ld=yes |
|
|
7993 |
;; |
|
|
7994 |
openbsd*) |
|
|
7995 |
with_gnu_ld=no |
|
|
7996 |
;; |
|
|
7997 |
esac |
|
|
7998 |
|
|
|
7999 |
ld_shlibs=yes |
|
|
8000 |
if test "$with_gnu_ld" = yes; then |
|
|
8001 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
|
|
8002 |
wlarc='${wl}' |
|
|
8003 |
|
|
|
8004 |
# Set some defaults for GNU ld with shared library support. These |
|
|
8005 |
# are reset later if shared libraries are not supported. Putting them |
|
|
8006 |
# here allows them to be overridden if necessary. |
|
|
8007 |
runpath_var=LD_RUN_PATH |
|
|
8008 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
|
8009 |
export_dynamic_flag_spec='${wl}--export-dynamic' |
|
|
8010 |
# ancient GNU ld didn't support --whole-archive et. al. |
|
|
8011 |
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
|
|
8012 |
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
|
8013 |
else |
|
|
8014 |
whole_archive_flag_spec= |
|
|
8015 |
fi |
|
|
8016 |
supports_anon_versioning=no |
|
|
8017 |
case `$LD -v 2>&1` in |
|
|
8018 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
|
8019 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
|
8020 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
|
8021 |
*\ 2.11.*) ;; # other 2.11 versions |
|
|
8022 |
*) supports_anon_versioning=yes ;; |
|
|
8023 |
esac |
|
|
8024 |
|
|
|
8025 |
# See if GNU ld supports shared libraries. |
|
|
8026 |
case $host_os in |
|
|
8027 |
aix[3-9]*) |
|
|
8028 |
# On AIX/PPC, the GNU linker is very broken |
|
|
8029 |
if test "$host_cpu" != ia64; then |
|
|
8030 |
ld_shlibs=no |
|
|
8031 |
cat <<_LT_EOF 1>&2 |
|
|
8032 |
|
|
|
8033 |
*** Warning: the GNU linker, at least up to release 2.9.1, is reported |
|
|
8034 |
*** to be unable to reliably create shared libraries on AIX. |
|
|
8035 |
*** Therefore, libtool is disabling shared libraries support. If you |
|
|
8036 |
*** really care for shared libraries, you may want to modify your PATH |
|
|
8037 |
*** so that a non-GNU linker is found, and then restart. |
|
|
8038 |
|
|
|
8039 |
_LT_EOF |
|
|
8040 |
fi |
|
|
8041 |
;; |
|
|
8042 |
|
|
|
8043 |
amigaos*) |
|
|
8044 |
case $host_cpu in |
|
|
8045 |
powerpc) |
|
|
8046 |
# see comment about AmigaOS4 .so support |
|
|
8047 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
8048 |
archive_expsym_cmds='' |
|
|
8049 |
;; |
|
|
8050 |
m68k) |
|
|
8051 |
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
|
|
8052 |
hardcode_libdir_flag_spec='-L$libdir' |
|
|
8053 |
hardcode_minus_L=yes |
|
|
8054 |
;; |
|
|
8055 |
esac |
|
|
8056 |
;; |
|
|
8057 |
|
|
|
8058 |
beos*) |
|
|
8059 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
|
8060 |
allow_undefined_flag=unsupported |
|
|
8061 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
|
8062 |
# support --undefined. This deserves some investigation. FIXME |
|
|
8063 |
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
8064 |
else |
|
|
8065 |
ld_shlibs=no |
|
|
8066 |
fi |
|
|
8067 |
;; |
|
|
8068 |
|
|
|
8069 |
cygwin* | mingw* | pw32* | cegcc*) |
|
|
8070 |
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
|
|
8071 |
# as there is no search path for DLLs. |
|
|
8072 |
hardcode_libdir_flag_spec='-L$libdir' |
|
|
8073 |
allow_undefined_flag=unsupported |
|
|
8074 |
always_export_symbols=no |
|
|
8075 |
enable_shared_with_static_runtimes=yes |
|
|
8076 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
|
|
8077 |
|
|
|
8078 |
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
|
|
8079 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
|
8080 |
# If the export-symbols file already is a .def file (1st line |
|
|
8081 |
# is EXPORTS), use it as is; otherwise, prepend... |
|
|
8082 |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
|
8083 |
cp $export_symbols $output_objdir/$soname.def; |
|
|
8084 |
else |
|
|
8085 |
echo EXPORTS > $output_objdir/$soname.def; |
|
|
8086 |
cat $export_symbols >> $output_objdir/$soname.def; |
|
|
8087 |
fi~ |
|
|
8088 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
|
8089 |
else |
|
|
8090 |
ld_shlibs=no |
|
|
8091 |
fi |
|
|
8092 |
;; |
|
|
8093 |
|
|
|
8094 |
interix[3-9]*) |
|
|
8095 |
hardcode_direct=no |
|
|
8096 |
hardcode_shlibpath_var=no |
|
|
8097 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
|
8098 |
export_dynamic_flag_spec='${wl}-E' |
|
|
8099 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
|
8100 |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
|
|
8101 |
# default) and relocated if they conflict, which is a slow very memory |
|
|
8102 |
# consuming and fragmenting process. To avoid this, we pick a random, |
|
|
8103 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
|
8104 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
|
8105 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
|
8106 |
archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
|
8107 |
;; |
|
|
8108 |
|
|
|
8109 |
gnu* | linux* | tpf* | k*bsd*-gnu) |
|
|
8110 |
tmp_diet=no |
|
|
8111 |
if test "$host_os" = linux-dietlibc; then |
|
|
8112 |
case $cc_basename in |
|
|
8113 |
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
|
|
8114 |
esac |
|
|
8115 |
fi |
|
|
8116 |
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
|
|
8117 |
&& test "$tmp_diet" = no |
|
|
8118 |
then |
|
|
8119 |
tmp_addflag= |
|
|
8120 |
tmp_sharedflag='-shared' |
|
|
8121 |
case $cc_basename,$host_cpu in |
|
|
8122 |
pgcc*) # Portland Group C compiler |
|
|
8123 |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
|
|
8124 |
tmp_addflag=' $pic_flag' |
|
|
8125 |
;; |
|
|
8126 |
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
|
|
8127 |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
|
|
8128 |
tmp_addflag=' $pic_flag -Mnomain' ;; |
|
|
8129 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
|
8130 |
tmp_addflag=' -i_dynamic' ;; |
|
|
8131 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
|
8132 |
tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
|
8133 |
ifc* | ifort*) # Intel Fortran compiler |
|
|
8134 |
tmp_addflag=' -nofor_main' ;; |
|
|
8135 |
lf95*) # Lahey Fortran 8.1 |
|
|
8136 |
whole_archive_flag_spec= |
|
|
8137 |
tmp_sharedflag='--shared' ;; |
|
|
8138 |
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
|
|
8139 |
tmp_sharedflag='-qmkshrobj' |
|
|
8140 |
tmp_addflag= ;; |
|
|
8141 |
esac |
|
|
8142 |
case `$CC -V 2>&1 | sed 5q` in |
|
|
8143 |
*Sun\ C*) # Sun C 5.9 |
|
|
8144 |
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
|
|
8145 |
compiler_needs_object=yes |
|
|
8146 |
tmp_sharedflag='-G' ;; |
|
|
8147 |
*Sun\ F*) # Sun Fortran 8.3 |
|
|
8148 |
tmp_sharedflag='-G' ;; |
|
|
8149 |
esac |
|
|
8150 |
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
8151 |
|
|
|
8152 |
if test "x$supports_anon_versioning" = xyes; then |
|
|
8153 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
|
|
8154 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
|
8155 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
|
8156 |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
|
8157 |
fi |
|
|
8158 |
|
|
|
8159 |
case $cc_basename in |
|
|
8160 |
xlf*) |
|
|
8161 |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
|
|
8162 |
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
|
|
8163 |
hardcode_libdir_flag_spec= |
|
|
8164 |
hardcode_libdir_flag_spec_ld='-rpath $libdir' |
|
|
8165 |
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' |
|
|
8166 |
if test "x$supports_anon_versioning" = xyes; then |
|
|
8167 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
|
|
8168 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
|
8169 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
|
8170 |
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
|
|
8171 |
fi |
|
|
8172 |
;; |
|
|
8173 |
esac |
|
|
8174 |
else |
|
|
8175 |
ld_shlibs=no |
|
|
8176 |
fi |
|
|
8177 |
;; |
|
|
8178 |
|
|
|
8179 |
netbsd* | netbsdelf*-gnu) |
|
|
8180 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
|
8181 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
|
|
8182 |
wlarc= |
|
|
8183 |
else |
|
|
8184 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
8185 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
|
8186 |
fi |
|
|
8187 |
;; |
|
|
8188 |
|
|
|
8189 |
solaris*) |
|
|
8190 |
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
|
|
8191 |
ld_shlibs=no |
|
|
8192 |
cat <<_LT_EOF 1>&2 |
|
|
8193 |
|
|
|
8194 |
*** Warning: The releases 2.8.* of the GNU linker cannot reliably |
|
|
8195 |
*** create shared libraries on Solaris systems. Therefore, libtool |
|
|
8196 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
|
8197 |
*** binutils to release 2.9.1 or newer. Another option is to modify |
|
|
8198 |
*** your PATH or compiler configuration so that the native linker is |
|
|
8199 |
*** used, and then restart. |
|
|
8200 |
|
|
|
8201 |
_LT_EOF |
|
|
8202 |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
|
8203 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
8204 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
|
8205 |
else |
|
|
8206 |
ld_shlibs=no |
|
|
8207 |
fi |
|
|
8208 |
;; |
|
|
8209 |
|
|
|
8210 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
|
|
8211 |
case `$LD -v 2>&1` in |
|
|
8212 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
|
8213 |
ld_shlibs=no |
|
|
8214 |
cat <<_LT_EOF 1>&2 |
|
|
8215 |
|
|
|
8216 |
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
|
8217 |
*** reliably create shared libraries on SCO systems. Therefore, libtool |
|
|
8218 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
|
8219 |
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
|
8220 |
*** your PATH or compiler configuration so that the native linker is |
|
|
8221 |
*** used, and then restart. |
|
|
8222 |
|
|
|
8223 |
_LT_EOF |
|
|
8224 |
;; |
|
|
8225 |
*) |
|
|
8226 |
# For security reasons, it is highly recommended that you always |
|
|
8227 |
# use absolute paths for naming shared libraries, and exclude the |
|
|
8228 |
# DT_RUNPATH tag from executables and libraries. But doing so |
|
|
8229 |
# requires that you compile everything twice, which is a pain. |
|
|
8230 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
|
8231 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
|
8232 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
8233 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
|
8234 |
else |
|
|
8235 |
ld_shlibs=no |
|
|
8236 |
fi |
|
|
8237 |
;; |
|
|
8238 |
esac |
|
|
8239 |
;; |
|
|
8240 |
|
|
|
8241 |
sunos4*) |
|
|
8242 |
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
|
8243 |
wlarc= |
|
|
8244 |
hardcode_direct=yes |
|
|
8245 |
hardcode_shlibpath_var=no |
|
|
8246 |
;; |
|
|
8247 |
|
|
|
8248 |
*) |
|
|
8249 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
|
|
8250 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
8251 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
|
8252 |
else |
|
|
8253 |
ld_shlibs=no |
|
|
8254 |
fi |
|
|
8255 |
;; |
|
|
8256 |
esac |
|
|
8257 |
|
|
|
8258 |
if test "$ld_shlibs" = no; then |
|
|
8259 |
runpath_var= |
|
|
8260 |
hardcode_libdir_flag_spec= |
|
|
8261 |
export_dynamic_flag_spec= |
|
|
8262 |
whole_archive_flag_spec= |
|
|
8263 |
fi |
|
|
8264 |
else |
|
|
8265 |
# PORTME fill in a description of your system's linker (not GNU ld) |
|
|
8266 |
case $host_os in |
|
|
8267 |
aix3*) |
|
|
8268 |
allow_undefined_flag=unsupported |
|
|
8269 |
always_export_symbols=yes |
|
|
8270 |
archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
|
|
8271 |
# Note: this linker hardcodes the directories in LIBPATH if there |
|
|
8272 |
# are no directories specified by -L. |
|
|
8273 |
hardcode_minus_L=yes |
|
|
8274 |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
|
|
8275 |
# Neither direct hardcoding nor static linking is supported with a |
|
|
8276 |
# broken collect2. |
|
|
8277 |
hardcode_direct=unsupported |
|
|
8278 |
fi |
|
|
8279 |
;; |
|
|
8280 |
|
|
|
8281 |
aix[4-9]*) |
|
|
8282 |
if test "$host_cpu" = ia64; then |
|
|
8283 |
# On IA64, the linker does run time linking by default, so we don't |
|
|
8284 |
# have to do anything special. |
|
|
8285 |
aix_use_runtimelinking=no |
|
|
8286 |
exp_sym_flag='-Bexport' |
|
|
8287 |
no_entry_flag="" |
|
|
8288 |
else |
|
|
8289 |
# If we're using GNU nm, then we don't want the "-C" option. |
|
|
8290 |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
|
|
8291 |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
|
|
8292 |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
|
|
8293 |
else |
|
|
8294 |
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
|
|
8295 |
fi |
|
|
8296 |
aix_use_runtimelinking=no |
|
|
8297 |
|
|
|
8298 |
# Test if we are trying to use run time linking or normal |
|
|
8299 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
|
8300 |
# need to do runtime linking. |
|
|
8301 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
|
|
8302 |
for ld_flag in $LDFLAGS; do |
|
|
8303 |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
|
|
8304 |
aix_use_runtimelinking=yes |
|
|
8305 |
break |
|
|
8306 |
fi |
|
|
8307 |
done |
|
|
8308 |
;; |
|
|
8309 |
esac |
|
|
8310 |
|
|
|
8311 |
exp_sym_flag='-bexport' |
|
|
8312 |
no_entry_flag='-bnoentry' |
|
|
8313 |
fi |
|
|
8314 |
|
|
|
8315 |
# When large executables or shared objects are built, AIX ld can |
|
|
8316 |
# have problems creating the table of contents. If linking a library |
|
|
8317 |
# or program results in "error TOC overflow" add -mminimal-toc to |
|
|
8318 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
|
8319 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
|
8320 |
|
|
|
8321 |
archive_cmds='' |
|
|
8322 |
hardcode_direct=yes |
|
|
8323 |
hardcode_direct_absolute=yes |
|
|
8324 |
hardcode_libdir_separator=':' |
|
|
8325 |
link_all_deplibs=yes |
|
|
8326 |
file_list_spec='${wl}-f,' |
|
|
8327 |
|
|
|
8328 |
if test "$GCC" = yes; then |
|
|
8329 |
case $host_os in aix4.[012]|aix4.[012].*) |
|
|
8330 |
# We only want to do this on AIX 4.2 and lower, the check |
|
|
8331 |
# below for broken collect2 doesn't work under 4.3+ |
|
|
8332 |
collect2name=`${CC} -print-prog-name=collect2` |
|
|
8333 |
if test -f "$collect2name" && |
|
|
8334 |
strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
|
|
8335 |
then |
|
|
8336 |
# We have reworked collect2 |
|
|
8337 |
: |
|
|
8338 |
else |
|
|
8339 |
# We have old collect2 |
|
|
8340 |
hardcode_direct=unsupported |
|
|
8341 |
# It fails to find uninstalled libraries when the uninstalled |
|
|
8342 |
# path is not listed in the libpath. Setting hardcode_minus_L |
|
|
8343 |
# to unsupported forces relinking |
|
|
8344 |
hardcode_minus_L=yes |
|
|
8345 |
hardcode_libdir_flag_spec='-L$libdir' |
|
|
8346 |
hardcode_libdir_separator= |
|
|
8347 |
fi |
|
|
8348 |
;; |
|
|
8349 |
esac |
|
|
8350 |
shared_flag='-shared' |
|
|
8351 |
if test "$aix_use_runtimelinking" = yes; then |
|
|
8352 |
shared_flag="$shared_flag "'${wl}-G' |
|
|
8353 |
fi |
|
|
8354 |
link_all_deplibs=no |
|
|
8355 |
else |
|
|
8356 |
# not using gcc |
|
|
8357 |
if test "$host_cpu" = ia64; then |
|
|
8358 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
|
|
8359 |
# chokes on -Wl,-G. The following line is correct: |
|
|
8360 |
shared_flag='-G' |
|
|
8361 |
else |
|
|
8362 |
if test "$aix_use_runtimelinking" = yes; then |
|
|
8363 |
shared_flag='${wl}-G' |
|
|
8364 |
else |
|
|
8365 |
shared_flag='${wl}-bM:SRE' |
|
|
8366 |
fi |
|
|
8367 |
fi |
|
|
8368 |
fi |
|
|
8369 |
|
|
|
8370 |
export_dynamic_flag_spec='${wl}-bexpall' |
|
|
8371 |
# It seems that -bexpall does not export symbols beginning with |
|
|
8372 |
# underscore (_), so it is better to generate a list of symbols to export. |
|
|
8373 |
always_export_symbols=yes |
|
|
8374 |
if test "$aix_use_runtimelinking" = yes; then |
|
|
8375 |
# Warning - without using the other runtime loading flags (-brtl), |
|
|
8376 |
# -berok will link without error, but may produce a broken library. |
|
|
8377 |
allow_undefined_flag='-berok' |
|
|
8378 |
# Determine the default libpath from the value encoded in an |
|
|
8379 |
# empty executable. |
|
|
8380 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
8381 |
/* confdefs.h. */ |
|
|
8382 |
_ACEOF |
|
|
8383 |
cat confdefs.h >>conftest.$ac_ext |
|
|
8384 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
8385 |
/* end confdefs.h. */ |
|
|
8386 |
|
|
|
8387 |
int |
|
|
8388 |
main () |
|
|
8389 |
{ |
|
|
8390 |
|
|
|
8391 |
; |
|
|
8392 |
return 0; |
|
|
8393 |
} |
|
|
8394 |
_ACEOF |
|
|
8395 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
8396 |
if { (ac_try="$ac_link" |
|
|
8397 |
case "(($ac_try" in |
|
|
8398 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8399 |
*) ac_try_echo=$ac_try;; |
|
|
8400 |
esac |
|
|
8401 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
8402 |
$as_echo "$ac_try_echo") >&5 |
|
|
8403 |
(eval "$ac_link") 2>conftest.er1 |
|
|
8404 |
ac_status=$? |
|
|
8405 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8406 |
rm -f conftest.er1 |
|
|
8407 |
cat conftest.err >&5 |
|
|
8408 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8409 |
(exit $ac_status); } && { |
|
|
8410 |
test -z "$ac_c_werror_flag" || |
|
|
8411 |
test ! -s conftest.err |
|
|
8412 |
} && test -s conftest$ac_exeext && { |
|
|
8413 |
test "$cross_compiling" = yes || |
|
|
8414 |
$as_test_x conftest$ac_exeext |
|
|
8415 |
}; then |
|
|
8416 |
|
|
|
8417 |
lt_aix_libpath_sed=' |
|
|
8418 |
/Import File Strings/,/^$/ { |
|
|
8419 |
/^0/ { |
|
|
8420 |
s/^0 *\(.*\)$/\1/ |
|
|
8421 |
p |
|
|
8422 |
} |
|
|
8423 |
}' |
|
|
8424 |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
|
8425 |
# Check for a 64-bit object if we didn't find anything. |
|
|
8426 |
if test -z "$aix_libpath"; then |
|
|
8427 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
|
8428 |
fi |
|
|
8429 |
else |
|
|
8430 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
8431 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8432 |
|
|
|
8433 |
|
|
|
8434 |
fi |
|
|
8435 |
|
|
|
8436 |
rm -rf conftest.dSYM |
|
|
8437 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
8438 |
conftest$ac_exeext conftest.$ac_ext |
|
|
8439 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
|
8440 |
|
|
|
8441 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
|
8442 |
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
|
|
8443 |
else |
|
|
8444 |
if test "$host_cpu" = ia64; then |
|
|
8445 |
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
|
|
8446 |
allow_undefined_flag="-z nodefs" |
|
|
8447 |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
|
|
8448 |
else |
|
|
8449 |
# Determine the default libpath from the value encoded in an |
|
|
8450 |
# empty executable. |
|
|
8451 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
8452 |
/* confdefs.h. */ |
|
|
8453 |
_ACEOF |
|
|
8454 |
cat confdefs.h >>conftest.$ac_ext |
|
|
8455 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
8456 |
/* end confdefs.h. */ |
|
|
8457 |
|
|
|
8458 |
int |
|
|
8459 |
main () |
|
|
8460 |
{ |
|
|
8461 |
|
|
|
8462 |
; |
|
|
8463 |
return 0; |
|
|
8464 |
} |
|
|
8465 |
_ACEOF |
|
|
8466 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
8467 |
if { (ac_try="$ac_link" |
|
|
8468 |
case "(($ac_try" in |
|
|
8469 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8470 |
*) ac_try_echo=$ac_try;; |
|
|
8471 |
esac |
|
|
8472 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
8473 |
$as_echo "$ac_try_echo") >&5 |
|
|
8474 |
(eval "$ac_link") 2>conftest.er1 |
|
|
8475 |
ac_status=$? |
|
|
8476 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8477 |
rm -f conftest.er1 |
|
|
8478 |
cat conftest.err >&5 |
|
|
8479 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8480 |
(exit $ac_status); } && { |
|
|
8481 |
test -z "$ac_c_werror_flag" || |
|
|
8482 |
test ! -s conftest.err |
|
|
8483 |
} && test -s conftest$ac_exeext && { |
|
|
8484 |
test "$cross_compiling" = yes || |
|
|
8485 |
$as_test_x conftest$ac_exeext |
|
|
8486 |
}; then |
|
|
8487 |
|
|
|
8488 |
lt_aix_libpath_sed=' |
|
|
8489 |
/Import File Strings/,/^$/ { |
|
|
8490 |
/^0/ { |
|
|
8491 |
s/^0 *\(.*\)$/\1/ |
|
|
8492 |
p |
|
|
8493 |
} |
|
|
8494 |
}' |
|
|
8495 |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
|
8496 |
# Check for a 64-bit object if we didn't find anything. |
|
|
8497 |
if test -z "$aix_libpath"; then |
|
|
8498 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
|
8499 |
fi |
|
|
8500 |
else |
|
|
8501 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
8502 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8503 |
|
|
|
8504 |
|
|
|
8505 |
fi |
|
|
8506 |
|
|
|
8507 |
rm -rf conftest.dSYM |
|
|
8508 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
8509 |
conftest$ac_exeext conftest.$ac_ext |
|
|
8510 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
|
8511 |
|
|
|
8512 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
|
8513 |
# Warning - without using the other run time loading flags, |
|
|
8514 |
# -berok will link without error, but may produce a broken library. |
|
|
8515 |
no_undefined_flag=' ${wl}-bernotok' |
|
|
8516 |
allow_undefined_flag=' ${wl}-berok' |
|
|
8517 |
# Exported symbols can be pulled into shared objects from archives |
|
|
8518 |
whole_archive_flag_spec='$convenience' |
|
|
8519 |
archive_cmds_need_lc=yes |
|
|
8520 |
# This is similar to how AIX traditionally builds its shared libraries. |
|
|
8521 |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
|
|
8522 |
fi |
|
|
8523 |
fi |
|
|
8524 |
;; |
|
|
8525 |
|
|
|
8526 |
amigaos*) |
|
|
8527 |
case $host_cpu in |
|
|
8528 |
powerpc) |
|
|
8529 |
# see comment about AmigaOS4 .so support |
|
|
8530 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
8531 |
archive_expsym_cmds='' |
|
|
8532 |
;; |
|
|
8533 |
m68k) |
|
|
8534 |
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
|
|
8535 |
hardcode_libdir_flag_spec='-L$libdir' |
|
|
8536 |
hardcode_minus_L=yes |
|
|
8537 |
;; |
|
|
8538 |
esac |
|
|
8539 |
;; |
|
|
8540 |
|
|
|
8541 |
bsdi[45]*) |
|
|
8542 |
export_dynamic_flag_spec=-rdynamic |
|
|
8543 |
;; |
|
|
8544 |
|
|
|
8545 |
cygwin* | mingw* | pw32* | cegcc*) |
|
|
8546 |
# When not using gcc, we currently assume that we are using |
|
|
8547 |
# Microsoft Visual C++. |
|
|
8548 |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
|
|
8549 |
# no search path for DLLs. |
|
|
8550 |
hardcode_libdir_flag_spec=' ' |
|
|
8551 |
allow_undefined_flag=unsupported |
|
|
8552 |
# Tell ltmain to make .lib files, not .a files. |
|
|
8553 |
libext=lib |
|
|
8554 |
# Tell ltmain to make .dll files, not .so files. |
|
|
8555 |
shrext_cmds=".dll" |
|
|
8556 |
# FIXME: Setting linknames here is a bad hack. |
|
|
8557 |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
|
|
8558 |
# The linker will automatically build a .lib file if we build a DLL. |
|
|
8559 |
old_archive_from_new_cmds='true' |
|
|
8560 |
# FIXME: Should let the user specify the lib program. |
|
|
8561 |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
|
|
8562 |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
|
|
8563 |
enable_shared_with_static_runtimes=yes |
|
|
8564 |
;; |
|
|
8565 |
|
|
|
8566 |
darwin* | rhapsody*) |
|
|
8567 |
|
|
|
8568 |
|
|
|
8569 |
archive_cmds_need_lc=no |
|
|
8570 |
hardcode_direct=no |
|
|
8571 |
hardcode_automatic=yes |
|
|
8572 |
hardcode_shlibpath_var=unsupported |
|
|
8573 |
whole_archive_flag_spec='' |
|
|
8574 |
link_all_deplibs=yes |
|
|
8575 |
allow_undefined_flag="$_lt_dar_allow_undefined" |
|
|
8576 |
case $cc_basename in |
|
|
8577 |
ifort*) _lt_dar_can_shared=yes ;; |
|
|
8578 |
*) _lt_dar_can_shared=$GCC ;; |
|
|
8579 |
esac |
|
|
8580 |
if test "$_lt_dar_can_shared" = "yes"; then |
|
|
8581 |
output_verbose_link_cmd=echo |
|
|
8582 |
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
|
|
8583 |
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
|
|
8584 |
archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" |
|
|
8585 |
module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" |
|
|
8586 |
|
|
|
8587 |
else |
|
|
8588 |
ld_shlibs=no |
|
|
8589 |
fi |
|
|
8590 |
|
|
|
8591 |
;; |
|
|
8592 |
|
|
|
8593 |
dgux*) |
|
|
8594 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
8595 |
hardcode_libdir_flag_spec='-L$libdir' |
|
|
8596 |
hardcode_shlibpath_var=no |
|
|
8597 |
;; |
|
|
8598 |
|
|
|
8599 |
freebsd1*) |
|
|
8600 |
ld_shlibs=no |
|
|
8601 |
;; |
|
|
8602 |
|
|
|
8603 |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
|
|
8604 |
# support. Future versions do this automatically, but an explicit c++rt0.o |
|
|
8605 |
# does not break anything, and helps significantly (at the cost of a little |
|
|
8606 |
# extra space). |
|
|
8607 |
freebsd2.2*) |
|
|
8608 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
|
|
8609 |
hardcode_libdir_flag_spec='-R$libdir' |
|
|
8610 |
hardcode_direct=yes |
|
|
8611 |
hardcode_shlibpath_var=no |
|
|
8612 |
;; |
|
|
8613 |
|
|
|
8614 |
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
|
|
8615 |
freebsd2*) |
|
|
8616 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
|
8617 |
hardcode_direct=yes |
|
|
8618 |
hardcode_minus_L=yes |
|
|
8619 |
hardcode_shlibpath_var=no |
|
|
8620 |
;; |
|
|
8621 |
|
|
|
8622 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
|
|
8623 |
freebsd* | dragonfly*) |
|
|
8624 |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8625 |
hardcode_libdir_flag_spec='-R$libdir' |
|
|
8626 |
hardcode_direct=yes |
|
|
8627 |
hardcode_shlibpath_var=no |
|
|
8628 |
;; |
|
|
8629 |
|
|
|
8630 |
hpux9*) |
|
|
8631 |
if test "$GCC" = yes; then |
|
|
8632 |
archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
|
|
8633 |
else |
|
|
8634 |
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
|
|
8635 |
fi |
|
|
8636 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
|
8637 |
hardcode_libdir_separator=: |
|
|
8638 |
hardcode_direct=yes |
|
|
8639 |
|
|
|
8640 |
# hardcode_minus_L: Not really in the search PATH, |
|
|
8641 |
# but as the default location of the library. |
|
|
8642 |
hardcode_minus_L=yes |
|
|
8643 |
export_dynamic_flag_spec='${wl}-E' |
|
|
8644 |
;; |
|
|
8645 |
|
|
|
8646 |
hpux10*) |
|
|
8647 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
|
8648 |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8649 |
else |
|
|
8650 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
|
8651 |
fi |
|
|
8652 |
if test "$with_gnu_ld" = no; then |
|
|
8653 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
|
8654 |
hardcode_libdir_flag_spec_ld='+b $libdir' |
|
|
8655 |
hardcode_libdir_separator=: |
|
|
8656 |
hardcode_direct=yes |
|
|
8657 |
hardcode_direct_absolute=yes |
|
|
8658 |
export_dynamic_flag_spec='${wl}-E' |
|
|
8659 |
# hardcode_minus_L: Not really in the search PATH, |
|
|
8660 |
# but as the default location of the library. |
|
|
8661 |
hardcode_minus_L=yes |
|
|
8662 |
fi |
|
|
8663 |
;; |
|
|
8664 |
|
|
|
8665 |
hpux11*) |
|
|
8666 |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
|
8667 |
case $host_cpu in |
|
|
8668 |
hppa*64*) |
|
|
8669 |
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8670 |
;; |
|
|
8671 |
ia64*) |
|
|
8672 |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8673 |
;; |
|
|
8674 |
*) |
|
|
8675 |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8676 |
;; |
|
|
8677 |
esac |
|
|
8678 |
else |
|
|
8679 |
case $host_cpu in |
|
|
8680 |
hppa*64*) |
|
|
8681 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8682 |
;; |
|
|
8683 |
ia64*) |
|
|
8684 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8685 |
;; |
|
|
8686 |
*) |
|
|
8687 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8688 |
;; |
|
|
8689 |
esac |
|
|
8690 |
fi |
|
|
8691 |
if test "$with_gnu_ld" = no; then |
|
|
8692 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
|
8693 |
hardcode_libdir_separator=: |
|
|
8694 |
|
|
|
8695 |
case $host_cpu in |
|
|
8696 |
hppa*64*|ia64*) |
|
|
8697 |
hardcode_direct=no |
|
|
8698 |
hardcode_shlibpath_var=no |
|
|
8699 |
;; |
|
|
8700 |
*) |
|
|
8701 |
hardcode_direct=yes |
|
|
8702 |
hardcode_direct_absolute=yes |
|
|
8703 |
export_dynamic_flag_spec='${wl}-E' |
|
|
8704 |
|
|
|
8705 |
# hardcode_minus_L: Not really in the search PATH, |
|
|
8706 |
# but as the default location of the library. |
|
|
8707 |
hardcode_minus_L=yes |
|
|
8708 |
;; |
|
|
8709 |
esac |
|
|
8710 |
fi |
|
|
8711 |
;; |
|
|
8712 |
|
|
|
8713 |
irix5* | irix6* | nonstopux*) |
|
|
8714 |
if test "$GCC" = yes; then |
|
|
8715 |
archive_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 -o $lib' |
|
|
8716 |
# Try to use the -exported_symbol ld option, if it does not |
|
|
8717 |
# work, assume that -exports_file does not work either and |
|
|
8718 |
# implicitly export all symbols. |
|
|
8719 |
save_LDFLAGS="$LDFLAGS" |
|
|
8720 |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
|
|
8721 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
8722 |
int foo(void) {} |
|
|
8723 |
_ACEOF |
|
|
8724 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
8725 |
if { (ac_try="$ac_link" |
|
|
8726 |
case "(($ac_try" in |
|
|
8727 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8728 |
*) ac_try_echo=$ac_try;; |
|
|
8729 |
esac |
|
|
8730 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
8731 |
$as_echo "$ac_try_echo") >&5 |
|
|
8732 |
(eval "$ac_link") 2>conftest.er1 |
|
|
8733 |
ac_status=$? |
|
|
8734 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8735 |
rm -f conftest.er1 |
|
|
8736 |
cat conftest.err >&5 |
|
|
8737 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8738 |
(exit $ac_status); } && { |
|
|
8739 |
test -z "$ac_c_werror_flag" || |
|
|
8740 |
test ! -s conftest.err |
|
|
8741 |
} && test -s conftest$ac_exeext && { |
|
|
8742 |
test "$cross_compiling" = yes || |
|
|
8743 |
$as_test_x conftest$ac_exeext |
|
|
8744 |
}; then |
|
|
8745 |
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' |
|
|
8746 |
|
|
|
8747 |
else |
|
|
8748 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
8749 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8750 |
|
|
|
8751 |
|
|
|
8752 |
fi |
|
|
8753 |
|
|
|
8754 |
rm -rf conftest.dSYM |
|
|
8755 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
8756 |
conftest$ac_exeext conftest.$ac_ext |
|
|
8757 |
LDFLAGS="$save_LDFLAGS" |
|
|
8758 |
else |
|
|
8759 |
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' |
|
|
8760 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' |
|
|
8761 |
fi |
|
|
8762 |
archive_cmds_need_lc='no' |
|
|
8763 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
|
8764 |
hardcode_libdir_separator=: |
|
|
8765 |
inherit_rpath=yes |
|
|
8766 |
link_all_deplibs=yes |
|
|
8767 |
;; |
|
|
8768 |
|
|
|
8769 |
netbsd* | netbsdelf*-gnu) |
|
|
8770 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
|
8771 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
|
|
8772 |
else |
|
|
8773 |
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
|
|
8774 |
fi |
|
|
8775 |
hardcode_libdir_flag_spec='-R$libdir' |
|
|
8776 |
hardcode_direct=yes |
|
|
8777 |
hardcode_shlibpath_var=no |
|
|
8778 |
;; |
|
|
8779 |
|
|
|
8780 |
newsos6) |
|
|
8781 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
8782 |
hardcode_direct=yes |
|
|
8783 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
|
8784 |
hardcode_libdir_separator=: |
|
|
8785 |
hardcode_shlibpath_var=no |
|
|
8786 |
;; |
|
|
8787 |
|
|
|
8788 |
*nto* | *qnx*) |
|
|
8789 |
;; |
|
|
8790 |
|
|
|
8791 |
openbsd*) |
|
|
8792 |
if test -f /usr/libexec/ld.so; then |
|
|
8793 |
hardcode_direct=yes |
|
|
8794 |
hardcode_shlibpath_var=no |
|
|
8795 |
hardcode_direct_absolute=yes |
|
|
8796 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
|
8797 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8798 |
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
|
|
8799 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
|
8800 |
export_dynamic_flag_spec='${wl}-E' |
|
|
8801 |
else |
|
|
8802 |
case $host_os in |
|
|
8803 |
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
|
|
8804 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
|
8805 |
hardcode_libdir_flag_spec='-R$libdir' |
|
|
8806 |
;; |
|
|
8807 |
*) |
|
|
8808 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8809 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
|
8810 |
;; |
|
|
8811 |
esac |
|
|
8812 |
fi |
|
|
8813 |
else |
|
|
8814 |
ld_shlibs=no |
|
|
8815 |
fi |
|
|
8816 |
;; |
|
|
8817 |
|
|
|
8818 |
os2*) |
|
|
8819 |
hardcode_libdir_flag_spec='-L$libdir' |
|
|
8820 |
hardcode_minus_L=yes |
|
|
8821 |
allow_undefined_flag=unsupported |
|
|
8822 |
archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' |
|
|
8823 |
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
|
|
8824 |
;; |
|
|
8825 |
|
|
|
8826 |
osf3*) |
|
|
8827 |
if test "$GCC" = yes; then |
|
|
8828 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
|
|
8829 |
archive_cmds='$CC -shared${allow_undefined_flag} $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 -o $lib' |
|
|
8830 |
else |
|
|
8831 |
allow_undefined_flag=' -expect_unresolved \*' |
|
|
8832 |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
|
|
8833 |
fi |
|
|
8834 |
archive_cmds_need_lc='no' |
|
|
8835 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
|
8836 |
hardcode_libdir_separator=: |
|
|
8837 |
;; |
|
|
8838 |
|
|
|
8839 |
osf4* | osf5*) # as osf3* with the addition of -msym flag |
|
|
8840 |
if test "$GCC" = yes; then |
|
|
8841 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
|
|
8842 |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
|
8843 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
|
8844 |
else |
|
|
8845 |
allow_undefined_flag=' -expect_unresolved \*' |
|
|
8846 |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
|
|
8847 |
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ |
|
|
8848 |
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' |
|
|
8849 |
|
|
|
8850 |
# Both c and cxx compiler support -rpath directly |
|
|
8851 |
hardcode_libdir_flag_spec='-rpath $libdir' |
|
|
8852 |
fi |
|
|
8853 |
archive_cmds_need_lc='no' |
|
|
8854 |
hardcode_libdir_separator=: |
|
|
8855 |
;; |
|
|
8856 |
|
|
|
8857 |
solaris*) |
|
|
8858 |
no_undefined_flag=' -z defs' |
|
|
8859 |
if test "$GCC" = yes; then |
|
|
8860 |
wlarc='${wl}' |
|
|
8861 |
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8862 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
|
8863 |
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
|
|
8864 |
else |
|
|
8865 |
case `$CC -V 2>&1` in |
|
|
8866 |
*"Compilers 5.0"*) |
|
|
8867 |
wlarc='' |
|
|
8868 |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
8869 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
|
8870 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
|
|
8871 |
;; |
|
|
8872 |
*) |
|
|
8873 |
wlarc='${wl}' |
|
|
8874 |
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8875 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
|
|
8876 |
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
|
|
8877 |
;; |
|
|
8878 |
esac |
|
|
8879 |
fi |
|
|
8880 |
hardcode_libdir_flag_spec='-R$libdir' |
|
|
8881 |
hardcode_shlibpath_var=no |
|
|
8882 |
case $host_os in |
|
|
8883 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
|
8884 |
*) |
|
|
8885 |
# The compiler driver will combine and reorder linker options, |
|
|
8886 |
# but understands `-z linker_flag'. GCC discards it without `$wl', |
|
|
8887 |
# but is careful enough not to reorder. |
|
|
8888 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
|
|
8889 |
if test "$GCC" = yes; then |
|
|
8890 |
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
|
8891 |
else |
|
|
8892 |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
|
|
8893 |
fi |
|
|
8894 |
;; |
|
|
8895 |
esac |
|
|
8896 |
link_all_deplibs=yes |
|
|
8897 |
;; |
|
|
8898 |
|
|
|
8899 |
sunos4*) |
|
|
8900 |
if test "x$host_vendor" = xsequent; then |
|
|
8901 |
# Use $CC to link under sequent, because it throws in some extra .o |
|
|
8902 |
# files that make .init and .fini sections work. |
|
|
8903 |
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8904 |
else |
|
|
8905 |
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
|
|
8906 |
fi |
|
|
8907 |
hardcode_libdir_flag_spec='-L$libdir' |
|
|
8908 |
hardcode_direct=yes |
|
|
8909 |
hardcode_minus_L=yes |
|
|
8910 |
hardcode_shlibpath_var=no |
|
|
8911 |
;; |
|
|
8912 |
|
|
|
8913 |
sysv4) |
|
|
8914 |
case $host_vendor in |
|
|
8915 |
sni) |
|
|
8916 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
8917 |
hardcode_direct=yes # is this really true??? |
|
|
8918 |
;; |
|
|
8919 |
siemens) |
|
|
8920 |
## LD is ld it makes a PLAMLIB |
|
|
8921 |
## CC just makes a GrossModule. |
|
|
8922 |
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
|
|
8923 |
reload_cmds='$CC -r -o $output$reload_objs' |
|
|
8924 |
hardcode_direct=no |
|
|
8925 |
;; |
|
|
8926 |
motorola) |
|
|
8927 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
8928 |
hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
|
|
8929 |
;; |
|
|
8930 |
esac |
|
|
8931 |
runpath_var='LD_RUN_PATH' |
|
|
8932 |
hardcode_shlibpath_var=no |
|
|
8933 |
;; |
|
|
8934 |
|
|
|
8935 |
sysv4.3*) |
|
|
8936 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
8937 |
hardcode_shlibpath_var=no |
|
|
8938 |
export_dynamic_flag_spec='-Bexport' |
|
|
8939 |
;; |
|
|
8940 |
|
|
|
8941 |
sysv4*MP*) |
|
|
8942 |
if test -d /usr/nec; then |
|
|
8943 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
8944 |
hardcode_shlibpath_var=no |
|
|
8945 |
runpath_var=LD_RUN_PATH |
|
|
8946 |
hardcode_runpath_var=yes |
|
|
8947 |
ld_shlibs=yes |
|
|
8948 |
fi |
|
|
8949 |
;; |
|
|
8950 |
|
|
|
8951 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
|
|
8952 |
no_undefined_flag='${wl}-z,text' |
|
|
8953 |
archive_cmds_need_lc=no |
|
|
8954 |
hardcode_shlibpath_var=no |
|
|
8955 |
runpath_var='LD_RUN_PATH' |
|
|
8956 |
|
|
|
8957 |
if test "$GCC" = yes; then |
|
|
8958 |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8959 |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8960 |
else |
|
|
8961 |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8962 |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8963 |
fi |
|
|
8964 |
;; |
|
|
8965 |
|
|
|
8966 |
sysv5* | sco3.2v5* | sco5v6*) |
|
|
8967 |
# Note: We can NOT use -z defs as we might desire, because we do not |
|
|
8968 |
# link with -lc, and that would cause any symbols used from libc to |
|
|
8969 |
# always be unresolved, which means just about no library would |
|
|
8970 |
# ever link correctly. If we're not using GNU ld we use -z text |
|
|
8971 |
# though, which does catch some bad symbols but isn't as heavy-handed |
|
|
8972 |
# as -z defs. |
|
|
8973 |
no_undefined_flag='${wl}-z,text' |
|
|
8974 |
allow_undefined_flag='${wl}-z,nodefs' |
|
|
8975 |
archive_cmds_need_lc=no |
|
|
8976 |
hardcode_shlibpath_var=no |
|
|
8977 |
hardcode_libdir_flag_spec='${wl}-R,$libdir' |
|
|
8978 |
hardcode_libdir_separator=':' |
|
|
8979 |
link_all_deplibs=yes |
|
|
8980 |
export_dynamic_flag_spec='${wl}-Bexport' |
|
|
8981 |
runpath_var='LD_RUN_PATH' |
|
|
8982 |
|
|
|
8983 |
if test "$GCC" = yes; then |
|
|
8984 |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8985 |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8986 |
else |
|
|
8987 |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8988 |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8989 |
fi |
|
|
8990 |
;; |
|
|
8991 |
|
|
|
8992 |
uts4*) |
|
|
8993 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
8994 |
hardcode_libdir_flag_spec='-L$libdir' |
|
|
8995 |
hardcode_shlibpath_var=no |
|
|
8996 |
;; |
|
|
8997 |
|
|
|
8998 |
*) |
|
|
8999 |
ld_shlibs=no |
|
|
9000 |
;; |
|
|
9001 |
esac |
|
|
9002 |
|
|
|
9003 |
if test x$host_vendor = xsni; then |
|
|
9004 |
case $host in |
|
|
9005 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
|
|
9006 |
export_dynamic_flag_spec='${wl}-Blargedynsym' |
|
|
9007 |
;; |
|
|
9008 |
esac |
|
|
9009 |
fi |
|
|
9010 |
fi |
|
|
9011 |
|
|
|
9012 |
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 |
|
|
9013 |
$as_echo "$ld_shlibs" >&6; } |
|
|
9014 |
test "$ld_shlibs" = no && can_build_shared=no |
|
|
9015 |
|
|
|
9016 |
with_gnu_ld=$with_gnu_ld |
|
|
9017 |
|
|
|
9018 |
|
|
|
9019 |
|
|
|
9020 |
|
|
|
9021 |
|
|
|
9022 |
|
|
|
9023 |
|
|
|
9024 |
|
|
|
9025 |
|
|
|
9026 |
|
|
|
9027 |
|
|
|
9028 |
|
|
|
9029 |
|
|
|
9030 |
|
|
|
9031 |
|
|
|
9032 |
# |
|
|
9033 |
# Do we need to explicitly link libc? |
|
|
9034 |
# |
|
|
9035 |
case "x$archive_cmds_need_lc" in |
|
|
9036 |
x|xyes) |
|
|
9037 |
# Assume -lc should be added |
|
|
9038 |
archive_cmds_need_lc=yes |
|
|
9039 |
|
|
|
9040 |
if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
|
9041 |
case $archive_cmds in |
|
|
9042 |
*'~'*) |
|
|
9043 |
# FIXME: we may have to deal with multi-command sequences. |
|
|
9044 |
;; |
|
|
9045 |
'$CC '*) |
|
|
9046 |
# Test whether the compiler implicitly links with -lc since on some |
|
|
9047 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
|
9048 |
# to ld, don't add -lc before -lgcc. |
|
|
9049 |
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
|
|
9050 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
|
|
9051 |
$RM conftest* |
|
|
9052 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
|
9053 |
|
|
|
9054 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
9055 |
(eval $ac_compile) 2>&5 |
|
|
9056 |
ac_status=$? |
|
|
9057 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9058 |
(exit $ac_status); } 2>conftest.err; then |
|
|
9059 |
soname=conftest |
|
|
9060 |
lib=conftest |
|
|
9061 |
libobjs=conftest.$ac_objext |
|
|
9062 |
deplibs= |
|
|
9063 |
wl=$lt_prog_compiler_wl |
|
|
9064 |
pic_flag=$lt_prog_compiler_pic |
|
|
9065 |
compiler_flags=-v |
|
|
9066 |
linker_flags=-v |
|
|
9067 |
verstring= |
|
|
9068 |
output_objdir=. |
|
|
9069 |
libname=conftest |
|
|
9070 |
lt_save_allow_undefined_flag=$allow_undefined_flag |
|
|
9071 |
allow_undefined_flag= |
|
|
9072 |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
|
|
9073 |
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
|
9074 |
ac_status=$? |
|
|
9075 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9076 |
(exit $ac_status); } |
|
|
9077 |
then |
|
|
9078 |
archive_cmds_need_lc=no |
|
|
9079 |
else |
|
|
9080 |
archive_cmds_need_lc=yes |
|
|
9081 |
fi |
|
|
9082 |
allow_undefined_flag=$lt_save_allow_undefined_flag |
|
|
9083 |
else |
|
|
9084 |
cat conftest.err 1>&5 |
|
|
9085 |
fi |
|
|
9086 |
$RM conftest* |
|
|
9087 |
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 |
|
|
9088 |
$as_echo "$archive_cmds_need_lc" >&6; } |
|
|
9089 |
;; |
|
|
9090 |
esac |
|
|
9091 |
fi |
|
|
9092 |
;; |
|
|
9093 |
esac |
|
|
9094 |
|
|
|
9095 |
|
|
|
9096 |
|
|
|
9097 |
|
|
|
9098 |
|
|
|
9099 |
|
|
|
9100 |
|
|
|
9101 |
|
|
|
9102 |
|
|
|
9103 |
|
|
|
9104 |
|
|
|
9105 |
|
|
|
9106 |
|
|
|
9107 |
|
|
|
9108 |
|
|
|
9109 |
|
|
|
9110 |
|
|
|
9111 |
|
|
|
9112 |
|
|
|
9113 |
|
|
|
9114 |
|
|
|
9115 |
|
|
|
9116 |
|
|
|
9117 |
|
|
|
9118 |
|
|
|
9119 |
|
|
|
9120 |
|
|
|
9121 |
|
|
|
9122 |
|
|
|
9123 |
|
|
|
9124 |
|
|
|
9125 |
|
|
|
9126 |
|
|
|
9127 |
|
|
|
9128 |
|
|
|
9129 |
|
|
|
9130 |
|
|
|
9131 |
|
|
|
9132 |
|
|
|
9133 |
|
|
|
9134 |
|
|
|
9135 |
|
|
|
9136 |
|
|
|
9137 |
|
|
|
9138 |
|
|
|
9139 |
|
|
|
9140 |
|
|
|
9141 |
|
|
|
9142 |
|
|
|
9143 |
|
|
|
9144 |
|
|
|
9145 |
|
|
|
9146 |
|
|
|
9147 |
|
|
|
9148 |
|
|
|
9149 |
|
|
|
9150 |
|
|
|
9151 |
|
|
|
9152 |
|
|
|
9153 |
|
|
|
9154 |
|
|
|
9155 |
|
|
|
9156 |
|
|
|
9157 |
|
|
|
9158 |
|
|
|
9159 |
|
|
|
9160 |
|
|
|
9161 |
|
|
|
9162 |
|
|
|
9163 |
|
|
|
9164 |
|
|
|
9165 |
|
|
|
9166 |
|
|
|
9167 |
|
|
|
9168 |
|
|
|
9169 |
|
|
|
9170 |
|
|
|
9171 |
|
|
|
9172 |
|
|
|
9173 |
|
|
|
9174 |
|
|
|
9175 |
|
|
|
9176 |
|
|
|
9177 |
|
|
|
9178 |
|
|
|
9179 |
|
|
|
9180 |
|
|
|
9181 |
|
|
|
9182 |
|
|
|
9183 |
|
|
|
9184 |
|
|
|
9185 |
|
|
|
9186 |
|
|
|
9187 |
|
|
|
9188 |
|
|
|
9189 |
|
|
|
9190 |
|
|
|
9191 |
|
|
|
9192 |
|
|
|
9193 |
|
|
|
9194 |
|
|
|
9195 |
|
|
|
9196 |
|
|
|
9197 |
|
|
|
9198 |
|
|
|
9199 |
|
|
|
9200 |
|
|
|
9201 |
|
|
|
9202 |
|
|
|
9203 |
|
|
|
9204 |
|
|
|
9205 |
|
|
|
9206 |
|
|
|
9207 |
|
|
|
9208 |
|
|
|
9209 |
|
|
|
9210 |
|
|
|
9211 |
|
|
|
9212 |
|
|
|
9213 |
|
|
|
9214 |
|
|
|
9215 |
|
|
|
9216 |
|
|
|
9217 |
|
|
|
9218 |
|
|
|
9219 |
|
|
|
9220 |
|
|
|
9221 |
|
|
|
9222 |
|
|
|
9223 |
|
|
|
9224 |
|
|
|
9225 |
|
|
|
9226 |
|
|
|
9227 |
|
|
|
9228 |
|
|
|
9229 |
|
|
|
9230 |
|
|
|
9231 |
|
|
|
9232 |
|
|
|
9233 |
|
|
|
9234 |
|
|
|
9235 |
|
|
|
9236 |
|
|
|
9237 |
|
|
|
9238 |
|
|
|
9239 |
|
|
|
9240 |
|
|
|
9241 |
|
|
|
9242 |
|
|
|
9243 |
|
|
|
9244 |
|
|
|
9245 |
|
|
|
9246 |
|
|
|
9247 |
|
|
|
9248 |
|
|
|
9249 |
|
|
|
9250 |
|
|
|
9251 |
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
|
|
9252 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
|
|
9253 |
|
|
|
9254 |
if test "$GCC" = yes; then |
|
|
9255 |
case $host_os in |
|
|
9256 |
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
|
|
9257 |
*) lt_awk_arg="/^libraries:/" ;; |
|
|
9258 |
esac |
|
|
9259 |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
|
|
9260 |
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then |
|
|
9261 |
# if the path contains ";" then we assume it to be the separator |
|
|
9262 |
# otherwise default to the standard path separator (i.e. ":") - it is |
|
|
9263 |
# assumed that no part of a normal pathname contains ";" but that should |
|
|
9264 |
# okay in the real world where ";" in dirpaths is itself problematic. |
|
|
9265 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` |
|
|
9266 |
else |
|
|
9267 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
|
9268 |
fi |
|
|
9269 |
# Ok, now we have the path, separated by spaces, we can step through it |
|
|
9270 |
# and add multilib dir if necessary. |
|
|
9271 |
lt_tmp_lt_search_path_spec= |
|
|
9272 |
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
|
|
9273 |
for lt_sys_path in $lt_search_path_spec; do |
|
|
9274 |
if test -d "$lt_sys_path/$lt_multi_os_dir"; then |
|
|
9275 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" |
|
|
9276 |
else |
|
|
9277 |
test -d "$lt_sys_path" && \ |
|
|
9278 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
|
|
9279 |
fi |
|
|
9280 |
done |
|
|
9281 |
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' |
|
|
9282 |
BEGIN {RS=" "; FS="/|\n";} { |
|
|
9283 |
lt_foo=""; |
|
|
9284 |
lt_count=0; |
|
|
9285 |
for (lt_i = NF; lt_i > 0; lt_i--) { |
|
|
9286 |
if ($lt_i != "" && $lt_i != ".") { |
|
|
9287 |
if ($lt_i == "..") { |
|
|
9288 |
lt_count++; |
|
|
9289 |
} else { |
|
|
9290 |
if (lt_count == 0) { |
|
|
9291 |
lt_foo="/" $lt_i lt_foo; |
|
|
9292 |
} else { |
|
|
9293 |
lt_count--; |
|
|
9294 |
} |
|
|
9295 |
} |
|
|
9296 |
} |
|
|
9297 |
} |
|
|
9298 |
if (lt_foo != "") { lt_freq[lt_foo]++; } |
|
|
9299 |
if (lt_freq[lt_foo] == 1) { print lt_foo; } |
|
|
9300 |
}'` |
|
|
9301 |
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` |
|
|
9302 |
else |
|
|
9303 |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
|
|
9304 |
fi |
|
|
9305 |
library_names_spec= |
|
|
9306 |
libname_spec='lib$name' |
|
|
9307 |
soname_spec= |
|
|
9308 |
shrext_cmds=".so" |
|
|
9309 |
postinstall_cmds= |
|
|
9310 |
postuninstall_cmds= |
|
|
9311 |
finish_cmds= |
|
|
9312 |
finish_eval= |
|
|
9313 |
shlibpath_var= |
|
|
9314 |
shlibpath_overrides_runpath=unknown |
|
|
9315 |
version_type=none |
|
|
9316 |
dynamic_linker="$host_os ld.so" |
|
|
9317 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
|
9318 |
need_lib_prefix=unknown |
|
|
9319 |
hardcode_into_libs=no |
|
|
9320 |
|
|
|
9321 |
# when you set need_version to no, make sure it does not cause -set_version |
|
|
9322 |
# flags to be left without arguments |
|
|
9323 |
need_version=unknown |
|
|
9324 |
|
|
|
9325 |
case $host_os in |
|
|
9326 |
aix3*) |
|
|
9327 |
version_type=linux |
|
|
9328 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
|
|
9329 |
shlibpath_var=LIBPATH |
|
|
9330 |
|
|
|
9331 |
# AIX 3 has no versioning support, so we append a major version to the name. |
|
|
9332 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9333 |
;; |
|
|
9334 |
|
|
|
9335 |
aix[4-9]*) |
|
|
9336 |
version_type=linux |
|
|
9337 |
need_lib_prefix=no |
|
|
9338 |
need_version=no |
|
|
9339 |
hardcode_into_libs=yes |
|
|
9340 |
if test "$host_cpu" = ia64; then |
|
|
9341 |
# AIX 5 supports IA64 |
|
|
9342 |
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
|
9343 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9344 |
else |
|
|
9345 |
# With GCC up to 2.95.x, collect2 would create an import file |
|
|
9346 |
# for dependence libraries. The import file would start with |
|
|
9347 |
# the line `#! .'. This would cause the generated library to |
|
|
9348 |
# depend on `.', always an invalid library. This was fixed in |
|
|
9349 |
# development snapshots of GCC prior to 3.0. |
|
|
9350 |
case $host_os in |
|
|
9351 |
aix4 | aix4.[01] | aix4.[01].*) |
|
|
9352 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
|
9353 |
echo ' yes ' |
|
|
9354 |
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
|
|
9355 |
: |
|
|
9356 |
else |
|
|
9357 |
can_build_shared=no |
|
|
9358 |
fi |
|
|
9359 |
;; |
|
|
9360 |
esac |
|
|
9361 |
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
|
|
9362 |
# soname into executable. Probably we can add versioning support to |
|
|
9363 |
# collect2, so additional links can be useful in future. |
|
|
9364 |
if test "$aix_use_runtimelinking" = yes; then |
|
|
9365 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
|
9366 |
# instead of lib<name>.a to let people know that these are not |
|
|
9367 |
# typical AIX shared libraries. |
|
|
9368 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
9369 |
else |
|
|
9370 |
# We preserve .a as extension for shared libraries through AIX4.2 |
|
|
9371 |
# and later when we are not doing run time linking. |
|
|
9372 |
library_names_spec='${libname}${release}.a $libname.a' |
|
|
9373 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9374 |
fi |
|
|
9375 |
shlibpath_var=LIBPATH |
|
|
9376 |
fi |
|
|
9377 |
;; |
|
|
9378 |
|
|
|
9379 |
amigaos*) |
|
|
9380 |
case $host_cpu in |
|
|
9381 |
powerpc) |
|
|
9382 |
# Since July 2007 AmigaOS4 officially supports .so libraries. |
|
|
9383 |
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
|
|
9384 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
9385 |
;; |
|
|
9386 |
m68k) |
|
|
9387 |
library_names_spec='$libname.ixlibrary $libname.a' |
|
|
9388 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
|
9389 |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
|
|
9390 |
;; |
|
|
9391 |
esac |
|
|
9392 |
;; |
|
|
9393 |
|
|
|
9394 |
beos*) |
|
|
9395 |
library_names_spec='${libname}${shared_ext}' |
|
|
9396 |
dynamic_linker="$host_os ld.so" |
|
|
9397 |
shlibpath_var=LIBRARY_PATH |
|
|
9398 |
;; |
|
|
9399 |
|
|
|
9400 |
bsdi[45]*) |
|
|
9401 |
version_type=linux |
|
|
9402 |
need_version=no |
|
|
9403 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
9404 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9405 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
|
9406 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9407 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
|
9408 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
|
9409 |
# the default ld.so.conf also contains /usr/contrib/lib and |
|
|
9410 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
|
9411 |
# libtool to hard-code these into programs |
|
|
9412 |
;; |
|
|
9413 |
|
|
|
9414 |
cygwin* | mingw* | pw32* | cegcc*) |
|
|
9415 |
version_type=windows |
|
|
9416 |
shrext_cmds=".dll" |
|
|
9417 |
need_version=no |
|
|
9418 |
need_lib_prefix=no |
|
|
9419 |
|
|
|
9420 |
case $GCC,$host_os in |
|
|
9421 |
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) |
|
|
9422 |
library_names_spec='$libname.dll.a' |
|
|
9423 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
|
9424 |
postinstall_cmds='base_file=`basename \${file}`~ |
|
|
9425 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
|
|
9426 |
dldir=$destdir/`dirname \$dlpath`~ |
|
|
9427 |
test -d \$dldir || mkdir -p \$dldir~ |
|
|
9428 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
|
|
9429 |
chmod a+x \$dldir/$dlname~ |
|
|
9430 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
|
|
9431 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
|
|
9432 |
fi' |
|
|
9433 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
|
9434 |
dlpath=$dir/\$dldll~ |
|
|
9435 |
$RM \$dlpath' |
|
|
9436 |
shlibpath_overrides_runpath=yes |
|
|
9437 |
|
|
|
9438 |
case $host_os in |
|
|
9439 |
cygwin*) |
|
|
9440 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
|
9441 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
|
9442 |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
|
|
9443 |
;; |
|
|
9444 |
mingw* | cegcc*) |
|
|
9445 |
# MinGW DLLs use traditional 'lib' prefix |
|
|
9446 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
|
9447 |
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
|
|
9448 |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
|
|
9449 |
# It is most probably a Windows format PATH printed by |
|
|
9450 |
# mingw gcc, but we are running on Cygwin. Gcc prints its search |
|
|
9451 |
# path with ; separators, and with drive letters. We can handle the |
|
|
9452 |
# drive letters (cygwin fileutils understands them), so leave them, |
|
|
9453 |
# especially as we might pass files found there to a mingw objdump, |
|
|
9454 |
# which wouldn't understand a cygwinified path. Ahh. |
|
|
9455 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
|
|
9456 |
else |
|
|
9457 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
|
9458 |
fi |
|
|
9459 |
;; |
|
|
9460 |
pw32*) |
|
|
9461 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
|
|
9462 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
|
9463 |
;; |
|
|
9464 |
esac |
|
|
9465 |
;; |
|
|
9466 |
|
|
|
9467 |
*) |
|
|
9468 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
|
|
9469 |
;; |
|
|
9470 |
esac |
|
|
9471 |
dynamic_linker='Win32 ld.exe' |
|
|
9472 |
# FIXME: first we should search . and the directory the executable is in |
|
|
9473 |
shlibpath_var=PATH |
|
|
9474 |
;; |
|
|
9475 |
|
|
|
9476 |
darwin* | rhapsody*) |
|
|
9477 |
dynamic_linker="$host_os dyld" |
|
|
9478 |
version_type=darwin |
|
|
9479 |
need_lib_prefix=no |
|
|
9480 |
need_version=no |
|
|
9481 |
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
|
|
9482 |
soname_spec='${libname}${release}${major}$shared_ext' |
|
|
9483 |
shlibpath_overrides_runpath=yes |
|
|
9484 |
shlibpath_var=DYLD_LIBRARY_PATH |
|
|
9485 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
|
|
9486 |
|
|
|
9487 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
|
|
9488 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
|
|
9489 |
;; |
|
|
9490 |
|
|
|
9491 |
dgux*) |
|
|
9492 |
version_type=linux |
|
|
9493 |
need_lib_prefix=no |
|
|
9494 |
need_version=no |
|
|
9495 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
|
9496 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9497 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9498 |
;; |
|
|
9499 |
|
|
|
9500 |
freebsd1*) |
|
|
9501 |
dynamic_linker=no |
|
|
9502 |
;; |
|
|
9503 |
|
|
|
9504 |
freebsd* | dragonfly*) |
|
|
9505 |
# DragonFly does not have aout. When/if they implement a new |
|
|
9506 |
# versioning mechanism, adjust this. |
|
|
9507 |
if test -x /usr/bin/objformat; then |
|
|
9508 |
objformat=`/usr/bin/objformat` |
|
|
9509 |
else |
|
|
9510 |
case $host_os in |
|
|
9511 |
freebsd[123]*) objformat=aout ;; |
|
|
9512 |
*) objformat=elf ;; |
|
|
9513 |
esac |
|
|
9514 |
fi |
|
|
9515 |
version_type=freebsd-$objformat |
|
|
9516 |
case $version_type in |
|
|
9517 |
freebsd-elf*) |
|
|
9518 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
|
9519 |
need_version=no |
|
|
9520 |
need_lib_prefix=no |
|
|
9521 |
;; |
|
|
9522 |
freebsd-*) |
|
|
9523 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
|
9524 |
need_version=yes |
|
|
9525 |
;; |
|
|
9526 |
esac |
|
|
9527 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9528 |
case $host_os in |
|
|
9529 |
freebsd2*) |
|
|
9530 |
shlibpath_overrides_runpath=yes |
|
|
9531 |
;; |
|
|
9532 |
freebsd3.[01]* | freebsdelf3.[01]*) |
|
|
9533 |
shlibpath_overrides_runpath=yes |
|
|
9534 |
hardcode_into_libs=yes |
|
|
9535 |
;; |
|
|
9536 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
|
|
9537 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
|
9538 |
shlibpath_overrides_runpath=no |
|
|
9539 |
hardcode_into_libs=yes |
|
|
9540 |
;; |
|
|
9541 |
*) # from 4.6 on, and DragonFly |
|
|
9542 |
shlibpath_overrides_runpath=yes |
|
|
9543 |
hardcode_into_libs=yes |
|
|
9544 |
;; |
|
|
9545 |
esac |
|
|
9546 |
;; |
|
|
9547 |
|
|
|
9548 |
gnu*) |
|
|
9549 |
version_type=linux |
|
|
9550 |
need_lib_prefix=no |
|
|
9551 |
need_version=no |
|
|
9552 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
|
9553 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9554 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9555 |
hardcode_into_libs=yes |
|
|
9556 |
;; |
|
|
9557 |
|
|
|
9558 |
hpux9* | hpux10* | hpux11*) |
|
|
9559 |
# Give a soname corresponding to the major version so that dld.sl refuses to |
|
|
9560 |
# link against other versions. |
|
|
9561 |
version_type=sunos |
|
|
9562 |
need_lib_prefix=no |
|
|
9563 |
need_version=no |
|
|
9564 |
case $host_cpu in |
|
|
9565 |
ia64*) |
|
|
9566 |
shrext_cmds='.so' |
|
|
9567 |
hardcode_into_libs=yes |
|
|
9568 |
dynamic_linker="$host_os dld.so" |
|
|
9569 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9570 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
|
9571 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
9572 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9573 |
if test "X$HPUX_IA64_MODE" = X32; then |
|
|
9574 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
|
9575 |
else |
|
|
9576 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
|
9577 |
fi |
|
|
9578 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
|
9579 |
;; |
|
|
9580 |
hppa*64*) |
|
|
9581 |
shrext_cmds='.sl' |
|
|
9582 |
hardcode_into_libs=yes |
|
|
9583 |
dynamic_linker="$host_os dld.sl" |
|
|
9584 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
|
9585 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
|
9586 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
9587 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9588 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
|
9589 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
|
9590 |
;; |
|
|
9591 |
*) |
|
|
9592 |
shrext_cmds='.sl' |
|
|
9593 |
dynamic_linker="$host_os dld.sl" |
|
|
9594 |
shlibpath_var=SHLIB_PATH |
|
|
9595 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
|
9596 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
9597 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9598 |
;; |
|
|
9599 |
esac |
|
|
9600 |
# HP-UX runs *really* slowly unless shared libraries are mode 555. |
|
|
9601 |
postinstall_cmds='chmod 555 $lib' |
|
|
9602 |
;; |
|
|
9603 |
|
|
|
9604 |
interix[3-9]*) |
|
|
9605 |
version_type=linux |
|
|
9606 |
need_lib_prefix=no |
|
|
9607 |
need_version=no |
|
|
9608 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
|
9609 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9610 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
|
9611 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9612 |
shlibpath_overrides_runpath=no |
|
|
9613 |
hardcode_into_libs=yes |
|
|
9614 |
;; |
|
|
9615 |
|
|
|
9616 |
irix5* | irix6* | nonstopux*) |
|
|
9617 |
case $host_os in |
|
|
9618 |
nonstopux*) version_type=nonstopux ;; |
|
|
9619 |
*) |
|
|
9620 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
|
|
9621 |
version_type=linux |
|
|
9622 |
else |
|
|
9623 |
version_type=irix |
|
|
9624 |
fi ;; |
|
|
9625 |
esac |
|
|
9626 |
need_lib_prefix=no |
|
|
9627 |
need_version=no |
|
|
9628 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9629 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
|
9630 |
case $host_os in |
|
|
9631 |
irix5* | nonstopux*) |
|
|
9632 |
libsuff= shlibsuff= |
|
|
9633 |
;; |
|
|
9634 |
*) |
|
|
9635 |
case $LD in # libtool.m4 will add one of these switches to LD |
|
|
9636 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
|
9637 |
libsuff= shlibsuff= libmagic=32-bit;; |
|
|
9638 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
|
9639 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
|
9640 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
|
9641 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
|
9642 |
*) libsuff= shlibsuff= libmagic=never-match;; |
|
|
9643 |
esac |
|
|
9644 |
;; |
|
|
9645 |
esac |
|
|
9646 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
|
9647 |
shlibpath_overrides_runpath=no |
|
|
9648 |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
|
9649 |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
|
9650 |
hardcode_into_libs=yes |
|
|
9651 |
;; |
|
|
9652 |
|
|
|
9653 |
# No shared lib support for Linux oldld, aout, or coff. |
|
|
9654 |
linux*oldld* | linux*aout* | linux*coff*) |
|
|
9655 |
dynamic_linker=no |
|
|
9656 |
;; |
|
|
9657 |
|
|
|
9658 |
# This must be Linux ELF. |
|
|
9659 |
linux* | k*bsd*-gnu) |
|
|
9660 |
version_type=linux |
|
|
9661 |
need_lib_prefix=no |
|
|
9662 |
need_version=no |
|
|
9663 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
9664 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9665 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
|
9666 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9667 |
shlibpath_overrides_runpath=no |
|
|
9668 |
# Some binutils ld are patched to set DT_RUNPATH |
|
|
9669 |
save_LDFLAGS=$LDFLAGS |
|
|
9670 |
save_libdir=$libdir |
|
|
9671 |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
|
|
9672 |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
|
|
9673 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
9674 |
/* confdefs.h. */ |
|
|
9675 |
_ACEOF |
|
|
9676 |
cat confdefs.h >>conftest.$ac_ext |
|
|
9677 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
9678 |
/* end confdefs.h. */ |
|
|
9679 |
|
|
|
9680 |
int |
|
|
9681 |
main () |
|
|
9682 |
{ |
|
|
9683 |
|
|
|
9684 |
; |
|
|
9685 |
return 0; |
|
|
9686 |
} |
|
|
9687 |
_ACEOF |
|
|
9688 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9689 |
if { (ac_try="$ac_link" |
|
|
9690 |
case "(($ac_try" in |
|
|
9691 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9692 |
*) ac_try_echo=$ac_try;; |
|
|
9693 |
esac |
|
|
9694 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
9695 |
$as_echo "$ac_try_echo") >&5 |
|
|
9696 |
(eval "$ac_link") 2>conftest.er1 |
|
|
9697 |
ac_status=$? |
|
|
9698 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9699 |
rm -f conftest.er1 |
|
|
9700 |
cat conftest.err >&5 |
|
|
9701 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9702 |
(exit $ac_status); } && { |
|
|
9703 |
test -z "$ac_c_werror_flag" || |
|
|
9704 |
test ! -s conftest.err |
|
|
9705 |
} && test -s conftest$ac_exeext && { |
|
|
9706 |
test "$cross_compiling" = yes || |
|
|
9707 |
$as_test_x conftest$ac_exeext |
|
|
9708 |
}; then |
|
|
9709 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then |
|
|
9710 |
shlibpath_overrides_runpath=yes |
|
|
9711 |
fi |
|
|
9712 |
|
|
|
9713 |
else |
|
|
9714 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
9715 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9716 |
|
|
|
9717 |
|
|
|
9718 |
fi |
|
|
9719 |
|
|
|
9720 |
rm -rf conftest.dSYM |
|
|
9721 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
9722 |
conftest$ac_exeext conftest.$ac_ext |
|
|
9723 |
LDFLAGS=$save_LDFLAGS |
|
|
9724 |
libdir=$save_libdir |
|
|
9725 |
|
|
|
9726 |
# This implies no fast_install, which is unacceptable. |
|
|
9727 |
# Some rework will be needed to allow for fast_install |
|
|
9728 |
# before this can be enabled. |
|
|
9729 |
hardcode_into_libs=yes |
|
|
9730 |
|
|
|
9731 |
# Append ld.so.conf contents to the search path |
|
|
9732 |
if test -f /etc/ld.so.conf; then |
|
|
9733 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
|
|
9734 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
|
|
9735 |
fi |
|
|
9736 |
|
|
|
9737 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
|
|
9738 |
# powerpc, because MkLinux only supported shared libraries with the |
|
|
9739 |
# GNU dynamic linker. Since this was broken with cross compilers, |
|
|
9740 |
# most powerpc-linux boxes support dynamic linking these days and |
|
|
9741 |
# people can always --disable-shared, the test was removed, and we |
|
|
9742 |
# assume the GNU/Linux dynamic linker is in use. |
|
|
9743 |
dynamic_linker='GNU/Linux ld.so' |
|
|
9744 |
;; |
|
|
9745 |
|
|
|
9746 |
netbsdelf*-gnu) |
|
|
9747 |
version_type=linux |
|
|
9748 |
need_lib_prefix=no |
|
|
9749 |
need_version=no |
|
|
9750 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
|
9751 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9752 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9753 |
shlibpath_overrides_runpath=no |
|
|
9754 |
hardcode_into_libs=yes |
|
|
9755 |
dynamic_linker='NetBSD ld.elf_so' |
|
|
9756 |
;; |
|
|
9757 |
|
|
|
9758 |
netbsd*) |
|
|
9759 |
version_type=sunos |
|
|
9760 |
need_lib_prefix=no |
|
|
9761 |
need_version=no |
|
|
9762 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
|
|
9763 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
|
9764 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
|
9765 |
dynamic_linker='NetBSD (a.out) ld.so' |
|
|
9766 |
else |
|
|
9767 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
|
9768 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9769 |
dynamic_linker='NetBSD ld.elf_so' |
|
|
9770 |
fi |
|
|
9771 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9772 |
shlibpath_overrides_runpath=yes |
|
|
9773 |
hardcode_into_libs=yes |
|
|
9774 |
;; |
|
|
9775 |
|
|
|
9776 |
newsos6) |
|
|
9777 |
version_type=linux |
|
|
9778 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
9779 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9780 |
shlibpath_overrides_runpath=yes |
|
|
9781 |
;; |
|
|
9782 |
|
|
|
9783 |
*nto* | *qnx*) |
|
|
9784 |
version_type=qnx |
|
|
9785 |
need_lib_prefix=no |
|
|
9786 |
need_version=no |
|
|
9787 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
9788 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9789 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9790 |
shlibpath_overrides_runpath=no |
|
|
9791 |
hardcode_into_libs=yes |
|
|
9792 |
dynamic_linker='ldqnx.so' |
|
|
9793 |
;; |
|
|
9794 |
|
|
|
9795 |
openbsd*) |
|
|
9796 |
version_type=sunos |
|
|
9797 |
sys_lib_dlsearch_path_spec="/usr/lib" |
|
|
9798 |
need_lib_prefix=no |
|
|
9799 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
|
|
9800 |
case $host_os in |
|
|
9801 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
|
9802 |
*) need_version=no ;; |
|
|
9803 |
esac |
|
|
9804 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
|
9805 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
|
9806 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9807 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
|
9808 |
case $host_os in |
|
|
9809 |
openbsd2.[89] | openbsd2.[89].*) |
|
|
9810 |
shlibpath_overrides_runpath=no |
|
|
9811 |
;; |
|
|
9812 |
*) |
|
|
9813 |
shlibpath_overrides_runpath=yes |
|
|
9814 |
;; |
|
|
9815 |
esac |
|
|
9816 |
else |
|
|
9817 |
shlibpath_overrides_runpath=yes |
|
|
9818 |
fi |
|
|
9819 |
;; |
|
|
9820 |
|
|
|
9821 |
os2*) |
|
|
9822 |
libname_spec='$name' |
|
|
9823 |
shrext_cmds=".dll" |
|
|
9824 |
need_lib_prefix=no |
|
|
9825 |
library_names_spec='$libname${shared_ext} $libname.a' |
|
|
9826 |
dynamic_linker='OS/2 ld.exe' |
|
|
9827 |
shlibpath_var=LIBPATH |
|
|
9828 |
;; |
|
|
9829 |
|
|
|
9830 |
osf3* | osf4* | osf5*) |
|
|
9831 |
version_type=osf |
|
|
9832 |
need_lib_prefix=no |
|
|
9833 |
need_version=no |
|
|
9834 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9835 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
9836 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9837 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
|
9838 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
|
9839 |
;; |
|
|
9840 |
|
|
|
9841 |
rdos*) |
|
|
9842 |
dynamic_linker=no |
|
|
9843 |
;; |
|
|
9844 |
|
|
|
9845 |
solaris*) |
|
|
9846 |
version_type=linux |
|
|
9847 |
need_lib_prefix=no |
|
|
9848 |
need_version=no |
|
|
9849 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
9850 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9851 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9852 |
shlibpath_overrides_runpath=yes |
|
|
9853 |
hardcode_into_libs=yes |
|
|
9854 |
# ldd complains unless libraries are executable |
|
|
9855 |
postinstall_cmds='chmod +x $lib' |
|
|
9856 |
;; |
|
|
9857 |
|
|
|
9858 |
sunos4*) |
|
|
9859 |
version_type=sunos |
|
|
9860 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
|
9861 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
|
9862 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9863 |
shlibpath_overrides_runpath=yes |
|
|
9864 |
if test "$with_gnu_ld" = yes; then |
|
|
9865 |
need_lib_prefix=no |
|
|
9866 |
fi |
|
|
9867 |
need_version=yes |
|
|
9868 |
;; |
|
|
9869 |
|
|
|
9870 |
sysv4 | sysv4.3*) |
|
|
9871 |
version_type=linux |
|
|
9872 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
9873 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9874 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9875 |
case $host_vendor in |
|
|
9876 |
sni) |
|
|
9877 |
shlibpath_overrides_runpath=no |
|
|
9878 |
need_lib_prefix=no |
|
|
9879 |
runpath_var=LD_RUN_PATH |
|
|
9880 |
;; |
|
|
9881 |
siemens) |
|
|
9882 |
need_lib_prefix=no |
|
|
9883 |
;; |
|
|
9884 |
motorola) |
|
|
9885 |
need_lib_prefix=no |
|
|
9886 |
need_version=no |
|
|
9887 |
shlibpath_overrides_runpath=no |
|
|
9888 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
|
9889 |
;; |
|
|
9890 |
esac |
|
|
9891 |
;; |
|
|
9892 |
|
|
|
9893 |
sysv4*MP*) |
|
|
9894 |
if test -d /usr/nec ;then |
|
|
9895 |
version_type=linux |
|
|
9896 |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
|
|
9897 |
soname_spec='$libname${shared_ext}.$major' |
|
|
9898 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9899 |
fi |
|
|
9900 |
;; |
|
|
9901 |
|
|
|
9902 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
|
9903 |
version_type=freebsd-elf |
|
|
9904 |
need_lib_prefix=no |
|
|
9905 |
need_version=no |
|
|
9906 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
|
9907 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9908 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9909 |
shlibpath_overrides_runpath=yes |
|
|
9910 |
hardcode_into_libs=yes |
|
|
9911 |
if test "$with_gnu_ld" = yes; then |
|
|
9912 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
|
9913 |
else |
|
|
9914 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
|
9915 |
case $host_os in |
|
|
9916 |
sco3.2v5*) |
|
|
9917 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
|
9918 |
;; |
|
|
9919 |
esac |
|
|
9920 |
fi |
|
|
9921 |
sys_lib_dlsearch_path_spec='/usr/lib' |
|
|
9922 |
;; |
|
|
9923 |
|
|
|
9924 |
tpf*) |
|
|
9925 |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
|
|
9926 |
version_type=linux |
|
|
9927 |
need_lib_prefix=no |
|
|
9928 |
need_version=no |
|
|
9929 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
9930 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9931 |
shlibpath_overrides_runpath=no |
|
|
9932 |
hardcode_into_libs=yes |
|
|
9933 |
;; |
|
|
9934 |
|
|
|
9935 |
uts4*) |
|
|
9936 |
version_type=linux |
|
|
9937 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
9938 |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9939 |
shlibpath_var=LD_LIBRARY_PATH |
|
|
9940 |
;; |
|
|
9941 |
|
|
|
9942 |
*) |
|
|
9943 |
dynamic_linker=no |
|
|
9944 |
;; |
|
|
9945 |
esac |
|
|
9946 |
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
|
|
9947 |
$as_echo "$dynamic_linker" >&6; } |
|
|
9948 |
test "$dynamic_linker" = no && can_build_shared=no |
|
|
9949 |
|
|
|
9950 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
|
9951 |
if test "$GCC" = yes; then |
|
|
9952 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
|
9953 |
fi |
|
|
9954 |
|
|
|
9955 |
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
|
|
9956 |
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
|
|
9957 |
fi |
|
|
9958 |
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
|
|
9959 |
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
|
|
9960 |
fi |
|
|
9961 |
|
|
|
9962 |
|
|
|
9963 |
|
|
|
9964 |
|
|
|
9965 |
|
|
|
9966 |
|
|
|
9967 |
|
|
|
9968 |
|
|
|
9969 |
|
|
|
9970 |
|
|
|
9971 |
|
|
|
9972 |
|
|
|
9973 |
|
|
|
9974 |
|
|
|
9975 |
|
|
|
9976 |
|
|
|
9977 |
|
|
|
9978 |
|
|
|
9979 |
|
|
|
9980 |
|
|
|
9981 |
|
|
|
9982 |
|
|
|
9983 |
|
|
|
9984 |
|
|
|
9985 |
|
|
|
9986 |
|
|
|
9987 |
|
|
|
9988 |
|
|
|
9989 |
|
|
|
9990 |
|
|
|
9991 |
|
|
|
9992 |
|
|
|
9993 |
|
|
|
9994 |
|
|
|
9995 |
|
|
|
9996 |
|
|
|
9997 |
|
|
|
9998 |
|
|
|
9999 |
|
|
|
10000 |
|
|
|
10001 |
|
|
|
10002 |
|
|
|
10003 |
|
|
|
10004 |
|
|
|
10005 |
|
|
|
10006 |
|
|
|
10007 |
|
|
|
10008 |
|
|
|
10009 |
|
|
|
10010 |
|
|
|
10011 |
|
|
|
10012 |
|
|
|
10013 |
|
|
|
10014 |
|
|
|
10015 |
|
|
|
10016 |
|
|
|
10017 |
|
|
|
10018 |
|
|
|
10019 |
|
|
|
10020 |
|
|
|
10021 |
|
|
|
10022 |
|
|
|
10023 |
|
|
|
10024 |
|
|
|
10025 |
|
|
|
10026 |
|
|
|
10027 |
|
|
|
10028 |
|
|
|
10029 |
|
|
|
10030 |
|
|
|
10031 |
|
|
|
10032 |
|
|
|
10033 |
|
|
|
10034 |
|
|
|
10035 |
|
|
|
10036 |
|
|
|
10037 |
|
|
|
10038 |
|
|
|
10039 |
|
|
|
10040 |
|
|
|
10041 |
|
|
|
10042 |
|
|
|
10043 |
|
|
|
10044 |
|
|
|
10045 |
|
|
|
10046 |
|
|
|
10047 |
|
|
|
10048 |
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
|
|
10049 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
|
|
10050 |
hardcode_action= |
|
|
10051 |
if test -n "$hardcode_libdir_flag_spec" || |
|
|
10052 |
test -n "$runpath_var" || |
|
|
10053 |
test "X$hardcode_automatic" = "Xyes" ; then |
|
|
10054 |
|
|
|
10055 |
# We can hardcode non-existent directories. |
|
|
10056 |
if test "$hardcode_direct" != no && |
|
|
10057 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
|
10058 |
# have to relink, otherwise we might link with an installed library |
|
|
10059 |
# when we should be linking with a yet-to-be-installed one |
|
|
10060 |
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && |
|
|
10061 |
test "$hardcode_minus_L" != no; then |
|
|
10062 |
# Linking always hardcodes the temporary library directory. |
|
|
10063 |
hardcode_action=relink |
|
|
10064 |
else |
|
|
10065 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
|
10066 |
hardcode_action=immediate |
|
|
10067 |
fi |
|
|
10068 |
else |
|
|
10069 |
# We cannot hardcode anything, or else we can only hardcode existing |
|
|
10070 |
# directories. |
|
|
10071 |
hardcode_action=unsupported |
|
|
10072 |
fi |
|
|
10073 |
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
|
|
10074 |
$as_echo "$hardcode_action" >&6; } |
|
|
10075 |
|
|
|
10076 |
if test "$hardcode_action" = relink || |
|
|
10077 |
test "$inherit_rpath" = yes; then |
|
|
10078 |
# Fast installation is not supported |
|
|
10079 |
enable_fast_install=no |
|
|
10080 |
elif test "$shlibpath_overrides_runpath" = yes || |
|
|
10081 |
test "$enable_shared" = no; then |
|
|
10082 |
# Fast installation is not necessary |
|
|
10083 |
enable_fast_install=needless |
|
|
10084 |
fi |
|
|
10085 |
|
|
|
10086 |
|
|
|
10087 |
|
|
|
10088 |
|
|
|
10089 |
|
|
|
10090 |
|
|
|
10091 |
if test "x$enable_dlopen" != xyes; then |
|
|
10092 |
enable_dlopen=unknown |
|
|
10093 |
enable_dlopen_self=unknown |
|
|
10094 |
enable_dlopen_self_static=unknown |
|
|
10095 |
else |
|
|
10096 |
lt_cv_dlopen=no |
|
|
10097 |
lt_cv_dlopen_libs= |
|
|
10098 |
|
|
|
10099 |
case $host_os in |
|
|
10100 |
beos*) |
|
|
10101 |
lt_cv_dlopen="load_add_on" |
|
|
10102 |
lt_cv_dlopen_libs= |
|
|
10103 |
lt_cv_dlopen_self=yes |
|
|
10104 |
;; |
|
|
10105 |
|
|
|
10106 |
mingw* | pw32* | cegcc*) |
|
|
10107 |
lt_cv_dlopen="LoadLibrary" |
|
|
10108 |
lt_cv_dlopen_libs= |
|
|
10109 |
;; |
|
|
10110 |
|
|
|
10111 |
cygwin*) |
|
|
10112 |
lt_cv_dlopen="dlopen" |
|
|
10113 |
lt_cv_dlopen_libs= |
|
|
10114 |
;; |
|
|
10115 |
|
|
|
10116 |
darwin*) |
|
|
10117 |
# if libdl is installed we need to link against it |
|
|
10118 |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
|
|
10119 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
|
10120 |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
|
|
10121 |
$as_echo_n "(cached) " >&6 |
|
|
10122 |
else |
|
|
10123 |
ac_check_lib_save_LIBS=$LIBS |
|
|
10124 |
LIBS="-ldl $LIBS" |
|
|
10125 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
10126 |
/* confdefs.h. */ |
|
|
10127 |
_ACEOF |
|
|
10128 |
cat confdefs.h >>conftest.$ac_ext |
|
|
10129 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
10130 |
/* end confdefs.h. */ |
|
|
10131 |
|
|
|
10132 |
/* Override any GCC internal prototype to avoid an error. |
|
|
10133 |
Use char because int might match the return type of a GCC |
|
|
10134 |
builtin and then its argument prototype would still apply. */ |
|
|
10135 |
#ifdef __cplusplus |
|
|
10136 |
extern "C" |
|
|
10137 |
#endif |
|
|
10138 |
char dlopen (); |
|
|
10139 |
int |
|
|
10140 |
main () |
|
|
10141 |
{ |
|
|
10142 |
return dlopen (); |
|
|
10143 |
; |
|
|
10144 |
return 0; |
|
|
10145 |
} |
|
|
10146 |
_ACEOF |
|
|
10147 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
10148 |
if { (ac_try="$ac_link" |
|
|
10149 |
case "(($ac_try" in |
|
|
10150 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10151 |
*) ac_try_echo=$ac_try;; |
|
|
10152 |
esac |
|
|
10153 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
10154 |
$as_echo "$ac_try_echo") >&5 |
|
|
10155 |
(eval "$ac_link") 2>conftest.er1 |
|
|
10156 |
ac_status=$? |
|
|
10157 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10158 |
rm -f conftest.er1 |
|
|
10159 |
cat conftest.err >&5 |
|
|
10160 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10161 |
(exit $ac_status); } && { |
|
|
10162 |
test -z "$ac_c_werror_flag" || |
|
|
10163 |
test ! -s conftest.err |
|
|
10164 |
} && test -s conftest$ac_exeext && { |
|
|
10165 |
test "$cross_compiling" = yes || |
|
|
10166 |
$as_test_x conftest$ac_exeext |
|
|
10167 |
}; then |
|
|
10168 |
ac_cv_lib_dl_dlopen=yes |
|
|
10169 |
else |
|
|
10170 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
10171 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10172 |
|
|
|
10173 |
ac_cv_lib_dl_dlopen=no |
|
|
10174 |
fi |
|
|
10175 |
|
|
|
10176 |
rm -rf conftest.dSYM |
|
|
10177 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
10178 |
conftest$ac_exeext conftest.$ac_ext |
|
|
10179 |
LIBS=$ac_check_lib_save_LIBS |
|
|
10180 |
fi |
|
|
10181 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
|
|
10182 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
|
10183 |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then |
|
|
10184 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
|
|
10185 |
else |
|
|
10186 |
|
|
|
10187 |
lt_cv_dlopen="dyld" |
|
|
10188 |
lt_cv_dlopen_libs= |
|
|
10189 |
lt_cv_dlopen_self=yes |
|
|
10190 |
|
|
|
10191 |
fi |
|
|
10192 |
|
|
|
10193 |
;; |
|
|
10194 |
|
|
|
10195 |
*) |
|
|
10196 |
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5 |
|
|
10197 |
$as_echo_n "checking for shl_load... " >&6; } |
|
|
10198 |
if test "${ac_cv_func_shl_load+set}" = set; then |
|
|
10199 |
$as_echo_n "(cached) " >&6 |
|
|
10200 |
else |
|
|
10201 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
10202 |
/* confdefs.h. */ |
|
|
10203 |
_ACEOF |
|
|
10204 |
cat confdefs.h >>conftest.$ac_ext |
|
|
10205 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
10206 |
/* end confdefs.h. */ |
|
|
10207 |
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
|
|
10208 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
10209 |
#define shl_load innocuous_shl_load |
|
|
10210 |
|
|
|
10211 |
/* System header to define __stub macros and hopefully few prototypes, |
|
|
10212 |
which can conflict with char shl_load (); below. |
|
|
10213 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
10214 |
<limits.h> exists even on freestanding compilers. */ |
|
|
10215 |
|
|
|
10216 |
#ifdef __STDC__ |
|
|
10217 |
# include <limits.h> |
|
|
10218 |
#else |
|
|
10219 |
# include <assert.h> |
|
|
10220 |
#endif |
|
|
10221 |
|
|
|
10222 |
#undef shl_load |
|
|
10223 |
|
|
|
10224 |
/* Override any GCC internal prototype to avoid an error. |
|
|
10225 |
Use char because int might match the return type of a GCC |
|
|
10226 |
builtin and then its argument prototype would still apply. */ |
|
|
10227 |
#ifdef __cplusplus |
|
|
10228 |
extern "C" |
|
|
10229 |
#endif |
|
|
10230 |
char shl_load (); |
|
|
10231 |
/* The GNU C library defines this for functions which it implements |
|
|
10232 |
to always fail with ENOSYS. Some functions are actually named |
|
|
10233 |
something starting with __ and the normal name is an alias. */ |
|
|
10234 |
#if defined __stub_shl_load || defined __stub___shl_load |
|
|
10235 |
choke me |
|
|
10236 |
#endif |
|
|
10237 |
|
|
|
10238 |
int |
|
|
10239 |
main () |
|
|
10240 |
{ |
|
|
10241 |
return shl_load (); |
|
|
10242 |
; |
|
|
10243 |
return 0; |
|
|
10244 |
} |
|
|
10245 |
_ACEOF |
|
|
10246 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
10247 |
if { (ac_try="$ac_link" |
|
|
10248 |
case "(($ac_try" in |
|
|
10249 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10250 |
*) ac_try_echo=$ac_try;; |
|
|
10251 |
esac |
|
|
10252 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
10253 |
$as_echo "$ac_try_echo") >&5 |
|
|
10254 |
(eval "$ac_link") 2>conftest.er1 |
|
|
10255 |
ac_status=$? |
|
|
10256 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10257 |
rm -f conftest.er1 |
|
|
10258 |
cat conftest.err >&5 |
|
|
10259 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10260 |
(exit $ac_status); } && { |
|
|
10261 |
test -z "$ac_c_werror_flag" || |
|
|
10262 |
test ! -s conftest.err |
|
|
10263 |
} && test -s conftest$ac_exeext && { |
|
|
10264 |
test "$cross_compiling" = yes || |
|
|
10265 |
$as_test_x conftest$ac_exeext |
|
|
10266 |
}; then |
|
|
10267 |
ac_cv_func_shl_load=yes |
|
|
10268 |
else |
|
|
10269 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
10270 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10271 |
|
|
|
10272 |
ac_cv_func_shl_load=no |
|
|
10273 |
fi |
|
|
10274 |
|
|
|
10275 |
rm -rf conftest.dSYM |
|
|
10276 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
10277 |
conftest$ac_exeext conftest.$ac_ext |
|
|
10278 |
fi |
|
|
10279 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
|
|
10280 |
$as_echo "$ac_cv_func_shl_load" >&6; } |
|
|
10281 |
if test "x$ac_cv_func_shl_load" = x""yes; then |
|
|
10282 |
lt_cv_dlopen="shl_load" |
|
|
10283 |
else |
|
|
10284 |
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
|
|
10285 |
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
|
|
10286 |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
|
|
10287 |
$as_echo_n "(cached) " >&6 |
|
|
10288 |
else |
|
|
10289 |
ac_check_lib_save_LIBS=$LIBS |
|
|
10290 |
LIBS="-ldld $LIBS" |
|
|
10291 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
10292 |
/* confdefs.h. */ |
|
|
10293 |
_ACEOF |
|
|
10294 |
cat confdefs.h >>conftest.$ac_ext |
|
|
10295 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
10296 |
/* end confdefs.h. */ |
|
|
10297 |
|
|
|
10298 |
/* Override any GCC internal prototype to avoid an error. |
|
|
10299 |
Use char because int might match the return type of a GCC |
|
|
10300 |
builtin and then its argument prototype would still apply. */ |
|
|
10301 |
#ifdef __cplusplus |
|
|
10302 |
extern "C" |
|
|
10303 |
#endif |
|
|
10304 |
char shl_load (); |
|
|
10305 |
int |
|
|
10306 |
main () |
|
|
10307 |
{ |
|
|
10308 |
return shl_load (); |
|
|
10309 |
; |
|
|
10310 |
return 0; |
|
|
10311 |
} |
|
|
10312 |
_ACEOF |
|
|
10313 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
10314 |
if { (ac_try="$ac_link" |
|
|
10315 |
case "(($ac_try" in |
|
|
10316 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10317 |
*) ac_try_echo=$ac_try;; |
|
|
10318 |
esac |
|
|
10319 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
10320 |
$as_echo "$ac_try_echo") >&5 |
|
|
10321 |
(eval "$ac_link") 2>conftest.er1 |
|
|
10322 |
ac_status=$? |
|
|
10323 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10324 |
rm -f conftest.er1 |
|
|
10325 |
cat conftest.err >&5 |
|
|
10326 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10327 |
(exit $ac_status); } && { |
|
|
10328 |
test -z "$ac_c_werror_flag" || |
|
|
10329 |
test ! -s conftest.err |
|
|
10330 |
} && test -s conftest$ac_exeext && { |
|
|
10331 |
test "$cross_compiling" = yes || |
|
|
10332 |
$as_test_x conftest$ac_exeext |
|
|
10333 |
}; then |
|
|
10334 |
ac_cv_lib_dld_shl_load=yes |
|
|
10335 |
else |
|
|
10336 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
10337 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10338 |
|
|
|
10339 |
ac_cv_lib_dld_shl_load=no |
|
|
10340 |
fi |
|
|
10341 |
|
|
|
10342 |
rm -rf conftest.dSYM |
|
|
10343 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
10344 |
conftest$ac_exeext conftest.$ac_ext |
|
|
10345 |
LIBS=$ac_check_lib_save_LIBS |
|
|
10346 |
fi |
|
|
10347 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
|
|
10348 |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
|
|
10349 |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then |
|
|
10350 |
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
|
|
10351 |
else |
|
|
10352 |
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5 |
|
|
10353 |
$as_echo_n "checking for dlopen... " >&6; } |
|
|
10354 |
if test "${ac_cv_func_dlopen+set}" = set; then |
|
|
10355 |
$as_echo_n "(cached) " >&6 |
|
|
10356 |
else |
|
|
10357 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
10358 |
/* confdefs.h. */ |
|
|
10359 |
_ACEOF |
|
|
10360 |
cat confdefs.h >>conftest.$ac_ext |
|
|
10361 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
10362 |
/* end confdefs.h. */ |
|
|
10363 |
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
|
|
10364 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
10365 |
#define dlopen innocuous_dlopen |
|
|
10366 |
|
|
|
10367 |
/* System header to define __stub macros and hopefully few prototypes, |
|
|
10368 |
which can conflict with char dlopen (); below. |
|
|
10369 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
10370 |
<limits.h> exists even on freestanding compilers. */ |
|
|
10371 |
|
|
|
10372 |
#ifdef __STDC__ |
|
|
10373 |
# include <limits.h> |
|
|
10374 |
#else |
|
|
10375 |
# include <assert.h> |
|
|
10376 |
#endif |
|
|
10377 |
|
|
|
10378 |
#undef dlopen |
|
|
10379 |
|
|
|
10380 |
/* Override any GCC internal prototype to avoid an error. |
|
|
10381 |
Use char because int might match the return type of a GCC |
|
|
10382 |
builtin and then its argument prototype would still apply. */ |
|
|
10383 |
#ifdef __cplusplus |
|
|
10384 |
extern "C" |
|
|
10385 |
#endif |
|
|
10386 |
char dlopen (); |
|
|
10387 |
/* The GNU C library defines this for functions which it implements |
|
|
10388 |
to always fail with ENOSYS. Some functions are actually named |
|
|
10389 |
something starting with __ and the normal name is an alias. */ |
|
|
10390 |
#if defined __stub_dlopen || defined __stub___dlopen |
|
|
10391 |
choke me |
|
|
10392 |
#endif |
|
|
10393 |
|
|
|
10394 |
int |
|
|
10395 |
main () |
|
|
10396 |
{ |
|
|
10397 |
return dlopen (); |
|
|
10398 |
; |
|
|
10399 |
return 0; |
|
|
10400 |
} |
|
|
10401 |
_ACEOF |
|
|
10402 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
10403 |
if { (ac_try="$ac_link" |
|
|
10404 |
case "(($ac_try" in |
|
|
10405 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10406 |
*) ac_try_echo=$ac_try;; |
|
|
10407 |
esac |
|
|
10408 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
10409 |
$as_echo "$ac_try_echo") >&5 |
|
|
10410 |
(eval "$ac_link") 2>conftest.er1 |
|
|
10411 |
ac_status=$? |
|
|
10412 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10413 |
rm -f conftest.er1 |
|
|
10414 |
cat conftest.err >&5 |
|
|
10415 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10416 |
(exit $ac_status); } && { |
|
|
10417 |
test -z "$ac_c_werror_flag" || |
|
|
10418 |
test ! -s conftest.err |
|
|
10419 |
} && test -s conftest$ac_exeext && { |
|
|
10420 |
test "$cross_compiling" = yes || |
|
|
10421 |
$as_test_x conftest$ac_exeext |
|
|
10422 |
}; then |
|
|
10423 |
ac_cv_func_dlopen=yes |
|
|
10424 |
else |
|
|
10425 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
10426 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10427 |
|
|
|
10428 |
ac_cv_func_dlopen=no |
|
|
10429 |
fi |
|
|
10430 |
|
|
|
10431 |
rm -rf conftest.dSYM |
|
|
10432 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
10433 |
conftest$ac_exeext conftest.$ac_ext |
|
|
10434 |
fi |
|
|
10435 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
|
|
10436 |
$as_echo "$ac_cv_func_dlopen" >&6; } |
|
|
10437 |
if test "x$ac_cv_func_dlopen" = x""yes; then |
|
|
10438 |
lt_cv_dlopen="dlopen" |
|
|
10439 |
else |
|
|
10440 |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
|
|
10441 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
|
|
10442 |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
|
|
10443 |
$as_echo_n "(cached) " >&6 |
|
|
10444 |
else |
|
|
10445 |
ac_check_lib_save_LIBS=$LIBS |
|
|
10446 |
LIBS="-ldl $LIBS" |
|
|
10447 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
10448 |
/* confdefs.h. */ |
|
|
10449 |
_ACEOF |
|
|
10450 |
cat confdefs.h >>conftest.$ac_ext |
|
|
10451 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
10452 |
/* end confdefs.h. */ |
|
|
10453 |
|
|
|
10454 |
/* Override any GCC internal prototype to avoid an error. |
|
|
10455 |
Use char because int might match the return type of a GCC |
|
|
10456 |
builtin and then its argument prototype would still apply. */ |
|
|
10457 |
#ifdef __cplusplus |
|
|
10458 |
extern "C" |
|
|
10459 |
#endif |
|
|
10460 |
char dlopen (); |
|
|
10461 |
int |
|
|
10462 |
main () |
|
|
10463 |
{ |
|
|
10464 |
return dlopen (); |
|
|
10465 |
; |
|
|
10466 |
return 0; |
|
|
10467 |
} |
|
|
10468 |
_ACEOF |
|
|
10469 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
10470 |
if { (ac_try="$ac_link" |
|
|
10471 |
case "(($ac_try" in |
|
|
10472 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10473 |
*) ac_try_echo=$ac_try;; |
|
|
10474 |
esac |
|
|
10475 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
10476 |
$as_echo "$ac_try_echo") >&5 |
|
|
10477 |
(eval "$ac_link") 2>conftest.er1 |
|
|
10478 |
ac_status=$? |
|
|
10479 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10480 |
rm -f conftest.er1 |
|
|
10481 |
cat conftest.err >&5 |
|
|
10482 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10483 |
(exit $ac_status); } && { |
|
|
10484 |
test -z "$ac_c_werror_flag" || |
|
|
10485 |
test ! -s conftest.err |
|
|
10486 |
} && test -s conftest$ac_exeext && { |
|
|
10487 |
test "$cross_compiling" = yes || |
|
|
10488 |
$as_test_x conftest$ac_exeext |
|
|
10489 |
}; then |
|
|
10490 |
ac_cv_lib_dl_dlopen=yes |
|
|
10491 |
else |
|
|
10492 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
10493 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10494 |
|
|
|
10495 |
ac_cv_lib_dl_dlopen=no |
|
|
10496 |
fi |
|
|
10497 |
|
|
|
10498 |
rm -rf conftest.dSYM |
|
|
10499 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
10500 |
conftest$ac_exeext conftest.$ac_ext |
|
|
10501 |
LIBS=$ac_check_lib_save_LIBS |
|
|
10502 |
fi |
|
|
10503 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
|
|
10504 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
|
10505 |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then |
|
|
10506 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
|
|
10507 |
else |
|
|
10508 |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
|
|
10509 |
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
|
|
10510 |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
|
|
10511 |
$as_echo_n "(cached) " >&6 |
|
|
10512 |
else |
|
|
10513 |
ac_check_lib_save_LIBS=$LIBS |
|
|
10514 |
LIBS="-lsvld $LIBS" |
|
|
10515 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
10516 |
/* confdefs.h. */ |
|
|
10517 |
_ACEOF |
|
|
10518 |
cat confdefs.h >>conftest.$ac_ext |
|
|
10519 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
10520 |
/* end confdefs.h. */ |
|
|
10521 |
|
|
|
10522 |
/* Override any GCC internal prototype to avoid an error. |
|
|
10523 |
Use char because int might match the return type of a GCC |
|
|
10524 |
builtin and then its argument prototype would still apply. */ |
|
|
10525 |
#ifdef __cplusplus |
|
|
10526 |
extern "C" |
|
|
10527 |
#endif |
|
|
10528 |
char dlopen (); |
|
|
10529 |
int |
|
|
10530 |
main () |
|
|
10531 |
{ |
|
|
10532 |
return dlopen (); |
|
|
10533 |
; |
|
|
10534 |
return 0; |
|
|
10535 |
} |
|
|
10536 |
_ACEOF |
|
|
10537 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
10538 |
if { (ac_try="$ac_link" |
|
|
10539 |
case "(($ac_try" in |
|
|
10540 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10541 |
*) ac_try_echo=$ac_try;; |
|
|
10542 |
esac |
|
|
10543 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
10544 |
$as_echo "$ac_try_echo") >&5 |
|
|
10545 |
(eval "$ac_link") 2>conftest.er1 |
|
|
10546 |
ac_status=$? |
|
|
10547 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10548 |
rm -f conftest.er1 |
|
|
10549 |
cat conftest.err >&5 |
|
|
10550 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10551 |
(exit $ac_status); } && { |
|
|
10552 |
test -z "$ac_c_werror_flag" || |
|
|
10553 |
test ! -s conftest.err |
|
|
10554 |
} && test -s conftest$ac_exeext && { |
|
|
10555 |
test "$cross_compiling" = yes || |
|
|
10556 |
$as_test_x conftest$ac_exeext |
|
|
10557 |
}; then |
|
|
10558 |
ac_cv_lib_svld_dlopen=yes |
|
|
10559 |
else |
|
|
10560 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
10561 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10562 |
|
|
|
10563 |
ac_cv_lib_svld_dlopen=no |
|
|
10564 |
fi |
|
|
10565 |
|
|
|
10566 |
rm -rf conftest.dSYM |
|
|
10567 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
10568 |
conftest$ac_exeext conftest.$ac_ext |
|
|
10569 |
LIBS=$ac_check_lib_save_LIBS |
|
|
10570 |
fi |
|
|
10571 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
|
|
10572 |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
|
|
10573 |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then |
|
|
10574 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
|
|
10575 |
else |
|
|
10576 |
{ $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
|
|
10577 |
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
|
|
10578 |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
|
|
10579 |
$as_echo_n "(cached) " >&6 |
|
|
10580 |
else |
|
|
10581 |
ac_check_lib_save_LIBS=$LIBS |
|
|
10582 |
LIBS="-ldld $LIBS" |
|
|
10583 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
10584 |
/* confdefs.h. */ |
|
|
10585 |
_ACEOF |
|
|
10586 |
cat confdefs.h >>conftest.$ac_ext |
|
|
10587 |
cat >>conftest.$ac_ext <<_ACEOF |
|
|
10588 |
/* end confdefs.h. */ |
|
|
10589 |
|
|
|
10590 |
/* Override any GCC internal prototype to avoid an error. |
|
|
10591 |
Use char because int might match the return type of a GCC |
|
|
10592 |
builtin and then its argument prototype would still apply. */ |
|
|
10593 |
#ifdef __cplusplus |
|
|
10594 |
extern "C" |
|
|
10595 |
#endif |
|
|
10596 |
char dld_link (); |
|
|
10597 |
int |
|
|
10598 |
main () |
|
|
10599 |
{ |
|
|
10600 |
return dld_link (); |
|
|
10601 |
; |
|
|
10602 |
return 0; |
|
|
10603 |
} |
|
|
10604 |
_ACEOF |
|
|
10605 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
10606 |
if { (ac_try="$ac_link" |
|
|
10607 |
case "(($ac_try" in |
|
|
10608 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10609 |
*) ac_try_echo=$ac_try;; |
|
|
10610 |
esac |
|
|
10611 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
|
10612 |
$as_echo "$ac_try_echo") >&5 |
|
|
10613 |
(eval "$ac_link") 2>conftest.er1 |
|
|
10614 |
ac_status=$? |
|
|
10615 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10616 |
rm -f conftest.er1 |
|
|
10617 |
cat conftest.err >&5 |
|
|
10618 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10619 |
(exit $ac_status); } && { |
|
|
10620 |
test -z "$ac_c_werror_flag" || |
|
|
10621 |
test ! -s conftest.err |
|
|
10622 |
} && test -s conftest$ac_exeext && { |
|
|
10623 |
test "$cross_compiling" = yes || |
|
|
10624 |
$as_test_x conftest$ac_exeext |
|
|
10625 |
}; then |
|
|
10626 |
ac_cv_lib_dld_dld_link=yes |
|
|
10627 |
else |
|
|
10628 |
$as_echo "$as_me: failed program was:" >&5 |
|
|
10629 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10630 |
|
|
|
10631 |
ac_cv_lib_dld_dld_link=no |
|
|
10632 |
fi |
|
|
10633 |
|
|
|
10634 |
rm -rf conftest.dSYM |
|
|
10635 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
10636 |
conftest$ac_exeext conftest.$ac_ext |
|
|
10637 |
LIBS=$ac_check_lib_save_LIBS |
|
|
10638 |
fi |
|
|
10639 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
|
|
10640 |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
|
|
10641 |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then |
|
|
10642 |
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
|
|
10643 |
fi |
|
|
10644 |
|
|
|
10645 |
|
|
|
10646 |
fi |
|
|
10647 |
|
|
|
10648 |
|
|
|
10649 |
fi |
|
|
10650 |
|
|
|
10651 |
|
|
|
10652 |
fi |
|
|
10653 |
|
|
|
10654 |
|
|
|
10655 |
fi |
|
|
10656 |
|
|
|
10657 |
|
|
|
10658 |
fi |
|
|
10659 |
|
|
|
10660 |
;; |
|
|
10661 |
esac |
|
|
10662 |
|
|
|
10663 |
if test "x$lt_cv_dlopen" != xno; then |
|
|
10664 |
enable_dlopen=yes |
|
|
10665 |
else |
|
|
10666 |
enable_dlopen=no |
|
|
10667 |
fi |
|
|
10668 |
|
|
|
10669 |
case $lt_cv_dlopen in |
|
|
10670 |
dlopen) |
|
|
10671 |
save_CPPFLAGS="$CPPFLAGS" |
|
|
10672 |
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
|
|
10673 |
|
|
|
10674 |
save_LDFLAGS="$LDFLAGS" |
|
|
10675 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
|
|
10676 |
|
|
|
10677 |
save_LIBS="$LIBS" |
|
|
10678 |
LIBS="$lt_cv_dlopen_libs $LIBS" |
|
|
10679 |
|
|
|
10680 |
{ $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
|
|
10681 |
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
|
|
10682 |
if test "${lt_cv_dlopen_self+set}" = set; then |
|
|
10683 |
$as_echo_n "(cached) " >&6 |
|
|
10684 |
else |
|
|
10685 |
if test "$cross_compiling" = yes; then : |
|
|
10686 |
lt_cv_dlopen_self=cross |
|
|
10687 |
else |
|
|
10688 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
|
10689 |
lt_status=$lt_dlunknown |
|
|
10690 |
cat > conftest.$ac_ext <<_LT_EOF |
|
|
10691 |
#line __oline__ "configure" |
|
|
10692 |
#include "confdefs.h" |
|
|
10693 |
|
|
|
10694 |
#if HAVE_DLFCN_H |
|
|
10695 |
#include <dlfcn.h> |
|
|
10696 |
#endif |
|
|
10697 |
|
|
|
10698 |
#include <stdio.h> |
|
|
10699 |
|
|
|
10700 |
#ifdef RTLD_GLOBAL |
|
|
10701 |
# define LT_DLGLOBAL RTLD_GLOBAL |
|
|
10702 |
#else |
|
|
10703 |
# ifdef DL_GLOBAL |
|
|
10704 |
# define LT_DLGLOBAL DL_GLOBAL |
|
|
10705 |
# else |
|
|
10706 |
# define LT_DLGLOBAL 0 |
|
|
10707 |
# endif |
|
|
10708 |
#endif |
|
|
10709 |
|
|
|
10710 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
|
10711 |
find out it does not work in some platform. */ |
|
|
10712 |
#ifndef LT_DLLAZY_OR_NOW |
|
|
10713 |
# ifdef RTLD_LAZY |
|
|
10714 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
|
10715 |
# else |
|
|
10716 |
# ifdef DL_LAZY |
|
|
10717 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
|
10718 |
# else |
|
|
10719 |
# ifdef RTLD_NOW |
|
|
10720 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
|
10721 |
# else |
|
|
10722 |
# ifdef DL_NOW |
|
|
10723 |
# define LT_DLLAZY_OR_NOW DL_NOW |
|
|
10724 |
# else |
|
|
10725 |
# define LT_DLLAZY_OR_NOW 0 |
|
|
10726 |
# endif |
|
|
10727 |
# endif |
|
|
10728 |
# endif |
|
|
10729 |
# endif |
|
|
10730 |
#endif |
|
|
10731 |
|
|
|
10732 |
void fnord() { int i=42;} |
|
|
10733 |
int main () |
|
|
10734 |
{ |
|
|
10735 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
|
10736 |
int status = $lt_dlunknown; |
|
|
10737 |
|
|
|
10738 |
if (self) |
|
|
10739 |
{ |
|
|
10740 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
|
10741 |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
|
10742 |
/* dlclose (self); */ |
|
|
10743 |
} |
|
|
10744 |
else |
|
|
10745 |
puts (dlerror ()); |
|
|
10746 |
|
|
|
10747 |
return status; |
|
|
10748 |
} |
|
|
10749 |
_LT_EOF |
|
|
10750 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
10751 |
(eval $ac_link) 2>&5 |
|
|
10752 |
ac_status=$? |
|
|
10753 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10754 |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
|
10755 |
(./conftest; exit; ) >&5 2>/dev/null |
|
|
10756 |
lt_status=$? |
|
|
10757 |
case x$lt_status in |
|
|
10758 |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
|
|
10759 |
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
|
|
10760 |
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
|
|
10761 |
esac |
|
|
10762 |
else : |
|
|
10763 |
# compilation failed |
|
|
10764 |
lt_cv_dlopen_self=no |
|
|
10765 |
fi |
|
|
10766 |
fi |
|
|
10767 |
rm -fr conftest* |
|
|
10768 |
|
|
|
10769 |
|
|
|
10770 |
fi |
|
|
10771 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
|
|
10772 |
$as_echo "$lt_cv_dlopen_self" >&6; } |
|
|
10773 |
|
|
|
10774 |
if test "x$lt_cv_dlopen_self" = xyes; then |
|
|
10775 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
|
|
10776 |
{ $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
|
|
10777 |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
|
|
10778 |
if test "${lt_cv_dlopen_self_static+set}" = set; then |
|
|
10779 |
$as_echo_n "(cached) " >&6 |
|
|
10780 |
else |
|
|
10781 |
if test "$cross_compiling" = yes; then : |
|
|
10782 |
lt_cv_dlopen_self_static=cross |
|
|
10783 |
else |
|
|
10784 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
|
10785 |
lt_status=$lt_dlunknown |
|
|
10786 |
cat > conftest.$ac_ext <<_LT_EOF |
|
|
10787 |
#line __oline__ "configure" |
|
|
10788 |
#include "confdefs.h" |
|
|
10789 |
|
|
|
10790 |
#if HAVE_DLFCN_H |
|
|
10791 |
#include <dlfcn.h> |
|
|
10792 |
#endif |
|
|
10793 |
|
|
|
10794 |
#include <stdio.h> |
|
|
10795 |
|
|
|
10796 |
#ifdef RTLD_GLOBAL |
|
|
10797 |
# define LT_DLGLOBAL RTLD_GLOBAL |
|
|
10798 |
#else |
|
|
10799 |
# ifdef DL_GLOBAL |
|
|
10800 |
# define LT_DLGLOBAL DL_GLOBAL |
|
|
10801 |
# else |
|
|
10802 |
# define LT_DLGLOBAL 0 |
|
|
10803 |
# endif |
|
|
10804 |
#endif |
|
|
10805 |
|
|
|
10806 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
|
10807 |
find out it does not work in some platform. */ |
|
|
10808 |
#ifndef LT_DLLAZY_OR_NOW |
|
|
10809 |
# ifdef RTLD_LAZY |
|
|
10810 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
|
10811 |
# else |
|
|
10812 |
# ifdef DL_LAZY |
|
|
10813 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
|
10814 |
# else |
|
|
10815 |
# ifdef RTLD_NOW |
|
|
10816 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
|
10817 |
# else |
|
|
10818 |
# ifdef DL_NOW |
|
|
10819 |
# define LT_DLLAZY_OR_NOW DL_NOW |
|
|
10820 |
# else |
|
|
10821 |
# define LT_DLLAZY_OR_NOW 0 |
|
|
10822 |
# endif |
|
|
10823 |
# endif |
|
|
10824 |
# endif |
|
|
10825 |
# endif |
|
|
10826 |
#endif |
|
|
10827 |
|
|
|
10828 |
void fnord() { int i=42;} |
|
|
10829 |
int main () |
|
|
10830 |
{ |
|
|
10831 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
|
10832 |
int status = $lt_dlunknown; |
|
|
10833 |
|
|
|
10834 |
if (self) |
|
|
10835 |
{ |
|
|
10836 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
|
10837 |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
|
10838 |
/* dlclose (self); */ |
|
|
10839 |
} |
|
|
10840 |
else |
|
|
10841 |
puts (dlerror ()); |
|
|
10842 |
|
|
|
10843 |
return status; |
|
|
10844 |
} |
|
|
10845 |
_LT_EOF |
|
|
10846 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
10847 |
(eval $ac_link) 2>&5 |
|
|
10848 |
ac_status=$? |
|
|
10849 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10850 |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
|
10851 |
(./conftest; exit; ) >&5 2>/dev/null |
|
|
10852 |
lt_status=$? |
|
|
10853 |
case x$lt_status in |
|
|
10854 |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
|
|
10855 |
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
|
|
10856 |
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
|
|
10857 |
esac |
|
|
10858 |
else : |
|
|
10859 |
# compilation failed |
|
|
10860 |
lt_cv_dlopen_self_static=no |
|
|
10861 |
fi |
|
|
10862 |
fi |
|
|
10863 |
rm -fr conftest* |
|
|
10864 |
|
|
|
10865 |
|
|
|
10866 |
fi |
|
|
10867 |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
|
|
10868 |
$as_echo "$lt_cv_dlopen_self_static" >&6; } |
|
|
10869 |
fi |
|
|
10870 |
|
|
|
10871 |
CPPFLAGS="$save_CPPFLAGS" |
|
|
10872 |
LDFLAGS="$save_LDFLAGS" |
|
|
10873 |
LIBS="$save_LIBS" |
|
|
10874 |
;; |
|
|
10875 |
esac |
|
|
10876 |
|
|
|
10877 |
case $lt_cv_dlopen_self in |
|
|
10878 |
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
|
|
10879 |
*) enable_dlopen_self=unknown ;; |
|
|
10880 |
esac |
|
|
10881 |
|
|
|
10882 |
case $lt_cv_dlopen_self_static in |
|
|
10883 |
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
|
|
10884 |
*) enable_dlopen_self_static=unknown ;; |
|
|
10885 |
esac |
|
|
10886 |
fi |
|
|
10887 |
|
|
|
10888 |
|
|
|
10889 |
|
|
|
10890 |
|
|
|
10891 |
|
|
|
10892 |
|
|
|
10893 |
|
|
|
10894 |
|
|
|
10895 |
|
|
|
10896 |
|
|
|
10897 |
|
|
|
10898 |
|
|
|
10899 |
|
|
|
10900 |
|
|
|
10901 |
|
|
|
10902 |
|
|
|
10903 |
|
|
|
10904 |
striplib= |
|
|
10905 |
old_striplib= |
|
|
10906 |
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
|
|
10907 |
$as_echo_n "checking whether stripping libraries is possible... " >&6; } |
|
|
10908 |
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
|
|
10909 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
|
|
10910 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
|
10911 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
|
|
10912 |
$as_echo "yes" >&6; } |
|
|
10913 |
else |
|
|
10914 |
# FIXME - insert some real tests, host_os isn't really good enough |
|
|
10915 |
case $host_os in |
|
|
10916 |
darwin*) |
|
|
10917 |
if test -n "$STRIP" ; then |
|
|
10918 |
striplib="$STRIP -x" |
|
|
10919 |
old_striplib="$STRIP -S" |
|
|
10920 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
|
|
10921 |
$as_echo "yes" >&6; } |
|
|
10922 |
else |
|
|
10923 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
10924 |
$as_echo "no" >&6; } |
|
|
10925 |
fi |
|
|
10926 |
;; |
|
|
10927 |
*) |
|
|
10928 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
|
10929 |
$as_echo "no" >&6; } |
|
|
10930 |
;; |
|
|
10931 |
esac |
|
|
10932 |
fi |
|
|
10933 |
|
|
|
10934 |
|
|
|
10935 |
|
|
|
10936 |
|
|
|
10937 |
|
|
|
10938 |
|
|
|
10939 |
|
|
|
10940 |
|
|
|
10941 |
|
|
|
10942 |
|
|
|
10943 |
|
|
|
10944 |
|
|
|
10945 |
# Report which library types will actually be built |
|
|
10946 |
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
|
|
10947 |
$as_echo_n "checking if libtool supports shared libraries... " >&6; } |
|
|
10948 |
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
|
|
10949 |
$as_echo "$can_build_shared" >&6; } |
|
|
10950 |
|
|
|
10951 |
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
|
|
10952 |
$as_echo_n "checking whether to build shared libraries... " >&6; } |
|
|
10953 |
test "$can_build_shared" = "no" && enable_shared=no |
|
|
10954 |
|
|
|
10955 |
# On AIX, shared libraries and static libraries use the same namespace, and |
|
|
10956 |
# are all built from PIC. |
|
|
10957 |
case $host_os in |
|
|
10958 |
aix3*) |
|
|
10959 |
test "$enable_shared" = yes && enable_static=no |
|
|
10960 |
if test -n "$RANLIB"; then |
|
|
10961 |
archive_cmds="$archive_cmds~\$RANLIB \$lib" |
|
|
10962 |
postinstall_cmds='$RANLIB $lib' |
|
|
10963 |
fi |
|
|
10964 |
;; |
|
|
10965 |
|
|
|
10966 |
aix[4-9]*) |
|
|
10967 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
|
|
10968 |
test "$enable_shared" = yes && enable_static=no |
|
|
10969 |
fi |
|
|
10970 |
;; |
|
|
10971 |
esac |
|
|
10972 |
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 |
|
|
10973 |
$as_echo "$enable_shared" >&6; } |
|
|
10974 |
|
|
|
10975 |
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
|
|
10976 |
$as_echo_n "checking whether to build static libraries... " >&6; } |
|
|
10977 |
# Make sure either enable_shared or enable_static is yes. |
|
|
10978 |
test "$enable_shared" = yes || enable_static=yes |
|
|
10979 |
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5 |
|
|
10980 |
$as_echo "$enable_static" >&6; } |
|
|
10981 |
|
|
|
10982 |
|
|
|
10983 |
|
|
|
10984 |
|
|
|
10985 |
fi |
|
|
10986 |
ac_ext=c |
|
|
10987 |
ac_cpp='$CPP $CPPFLAGS' |
|
|
10988 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
10989 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
10990 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
10991 |
|
|
|
10992 |
CC="$lt_save_CC" |
|
|
10993 |
|
|
|
10994 |
|
|
|
10995 |
|
|
|
10996 |
|
|
|
10997 |
|
|
|
10998 |
|
|
|
10999 |
|
|
|
11000 |
|
|
|
11001 |
|
|
|
11002 |
|
|
|
11003 |
|
|
|
11004 |
|
|
|
11005 |
|
|
|
11006 |
ac_config_commands="$ac_config_commands libtool" |
|
|
11007 |
|
|
|
11008 |
|
|
|
11009 |
|
|
|
11010 |
|
|
|
11011 |
# Only expand once: |
|
|
11012 |
|
|
|
11013 |
|
|
|
11014 |
|
|
|
11015 |
ac_config_files="$ac_config_files Makefile src/Makefile" |
|
|
11016 |
|
|
|
11017 |
cat >confcache <<\_ACEOF |
|
|
11018 |
# This file is a shell script that caches the results of configure |
|
|
11019 |
# tests run on this system so they can be shared between configure |
|
|
11020 |
# scripts and configure runs, see configure's option --config-cache. |
|
|
11021 |
# It is not useful on other systems. If it contains results you don't |
|
|
11022 |
# want to keep, you may remove or edit it. |
|
|
11023 |
# |
|
|
11024 |
# config.status only pays attention to the cache file if you give it |
|
|
11025 |
# the --recheck option to rerun configure. |
|
|
11026 |
# |
|
|
11027 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
|
|
11028 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
|
11029 |
# following values. |
|
|
11030 |
|
|
|
11031 |
_ACEOF |
|
|
11032 |
|
|
|
11033 |
# The following way of writing the cache mishandles newlines in values, |
|
|
11034 |
# but we know of no workaround that is simple, portable, and efficient. |
|
|
11035 |
# So, we kill variables containing newlines. |
|
|
11036 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
|
|
11037 |
# and sets the high bit in the cache file unless we assign to the vars. |
|
|
11038 |
( |
|
|
11039 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
|
11040 |
eval ac_val=\$$ac_var |
|
|
11041 |
case $ac_val in #( |
|
|
11042 |
*${as_nl}*) |
|
|
11043 |
case $ac_var in #( |
|
|
11044 |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
|
|
11045 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
|
11046 |
esac |
|
|
11047 |
case $ac_var in #( |
|
|
11048 |
_ | IFS | as_nl) ;; #( |
|
|
11049 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
|
11050 |
*) $as_unset $ac_var ;; |
|
|
11051 |
esac ;; |
|
|
11052 |
esac |
|
|
11053 |
done |
|
|
11054 |
|
|
|
11055 |
(set) 2>&1 | |
|
|
11056 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
|
|
11057 |
*${as_nl}ac_space=\ *) |
|
|
11058 |
# `set' does not quote correctly, so add quotes (double-quote |
|
|
11059 |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
|
|
11060 |
sed -n \ |
|
|
11061 |
"s/'/'\\\\''/g; |
|
|
11062 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
|
11063 |
;; #( |
|
|
11064 |
*) |
|
|
11065 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
|
|
11066 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
|
11067 |
;; |
|
|
11068 |
esac | |
|
|
11069 |
sort |
|
|
11070 |
) | |
|
|
11071 |
sed ' |
|
|
11072 |
/^ac_cv_env_/b end |
|
|
11073 |
t clear |
|
|
11074 |
:clear |
|
|
11075 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|
|
11076 |
t end |
|
|
11077 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|
|
11078 |
:end' >>confcache |
|
|
11079 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|
|
11080 |
if test -w "$cache_file"; then |
|
|
11081 |
test "x$cache_file" != "x/dev/null" && |
|
|
11082 |
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
|
|
11083 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
|
|
11084 |
cat confcache >$cache_file |
|
|
11085 |
else |
|
|
11086 |
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
|
|
11087 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|
|
11088 |
fi |
|
|
11089 |
fi |
|
|
11090 |
rm -f confcache |
|
|
11091 |
|
|
|
11092 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
|
11093 |
# Let make expand exec_prefix. |
|
|
11094 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
|
11095 |
|
|
|
11096 |
DEFS=-DHAVE_CONFIG_H |
|
|
11097 |
|
|
|
11098 |
ac_libobjs= |
|
|
11099 |
ac_ltlibobjs= |
|
|
11100 |
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue |
|
|
11101 |
# 1. Remove the extension, and $U if already installed. |
|
|
11102 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
|
|
11103 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
|
|
11104 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
|
|
11105 |
# will be set to the directory where LIBOBJS objects are built. |
|
|
11106 |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|
|
11107 |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
|
|
11108 |
done |
|
|
11109 |
LIB@&t@OBJS=$ac_libobjs |
|
|
11110 |
|
|
|
11111 |
LTLIBOBJS=$ac_ltlibobjs |
|
|
11112 |
|
|
|
11113 |
|
|
|
11114 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
|
|
11115 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
|
|
11116 |
Usually this means the macro was only invoked conditionally." >&5 |
|
|
11117 |
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. |
|
|
11118 |
Usually this means the macro was only invoked conditionally." >&2;} |
|
|
11119 |
{ (exit 1); exit 1; }; } |
|
|
11120 |
fi |
|
|
11121 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
|
11122 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
|
|
11123 |
Usually this means the macro was only invoked conditionally." >&5 |
|
|
11124 |
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
|
|
11125 |
Usually this means the macro was only invoked conditionally." >&2;} |
|
|
11126 |
{ (exit 1); exit 1; }; } |
|
|
11127 |
fi |
|
|
11128 |
|
|
|
11129 |
: ${CONFIG_STATUS=./config.status} |
|
|
11130 |
ac_write_fail=0 |
|
|
11131 |
ac_clean_files_save=$ac_clean_files |
|
|
11132 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
|
11133 |
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
|
|
11134 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|
|
11135 |
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
11136 |
#! $SHELL |
|
|
11137 |
# Generated by $as_me. |
|
|
11138 |
# Run this file to recreate the current configuration. |
|
|
11139 |
# Compiler output produced by configure, useful for debugging |
|
|
11140 |
# configure, is in config.log if it exists. |
|
|
11141 |
|
|
|
11142 |
debug=false |
|
|
11143 |
ac_cs_recheck=false |
|
|
11144 |
ac_cs_silent=false |
|
|
11145 |
SHELL=\${CONFIG_SHELL-$SHELL} |
|
|
11146 |
_ACEOF |
|
|
11147 |
|
|
|
11148 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
11149 |
## --------------------- ## |
|
|
11150 |
## M4sh Initialization. ## |
|
|
11151 |
## --------------------- ## |
|
|
11152 |
|
|
|
11153 |
# Be more Bourne compatible |
|
|
11154 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
|
11155 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
|
11156 |
emulate sh |
|
|
11157 |
NULLCMD=: |
|
|
11158 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
|
11159 |
# is contrary to our usage. Disable this feature. |
|
|
11160 |
alias -g '${1+"$@"}'='"$@"' |
|
|
11161 |
setopt NO_GLOB_SUBST |
|
|
11162 |
else |
|
|
11163 |
case `(set -o) 2>/dev/null` in |
|
|
11164 |
*posix*) set -o posix ;; |
|
|
11165 |
esac |
|
|
11166 |
|
|
|
11167 |
fi |
|
|
11168 |
|
|
|
11169 |
|
|
|
11170 |
|
|
|
11171 |
|
|
|
11172 |
# PATH needs CR |
|
|
11173 |
# Avoid depending upon Character Ranges. |
|
|
11174 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
|
11175 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
|
11176 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
|
11177 |
as_cr_digits='0123456789' |
|
|
11178 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
|
11179 |
|
|
|
11180 |
as_nl=' |
|
|
11181 |
' |
|
|
11182 |
export as_nl |
|
|
11183 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
|
11184 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
|
11185 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
|
11186 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
|
11187 |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
|
11188 |
as_echo='printf %s\n' |
|
|
11189 |
as_echo_n='printf %s' |
|
|
11190 |
else |
|
|
11191 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
|
11192 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
|
11193 |
as_echo_n='/usr/ucb/echo -n' |
|
|
11194 |
else |
|
|
11195 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
|
11196 |
as_echo_n_body='eval |
|
|
11197 |
arg=$1; |
|
|
11198 |
case $arg in |
|
|
11199 |
*"$as_nl"*) |
|
|
11200 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
|
11201 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
|
11202 |
esac; |
|
|
11203 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
|
11204 |
' |
|
|
11205 |
export as_echo_n_body |
|
|
11206 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
|
11207 |
fi |
|
|
11208 |
export as_echo_body |
|
|
11209 |
as_echo='sh -c $as_echo_body as_echo' |
|
|
11210 |
fi |
|
|
11211 |
|
|
|
11212 |
# The user is always right. |
|
|
11213 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
|
11214 |
PATH_SEPARATOR=: |
|
|
11215 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
|
11216 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
|
11217 |
PATH_SEPARATOR=';' |
|
|
11218 |
} |
|
|
11219 |
fi |
|
|
11220 |
|
|
|
11221 |
# Support unset when possible. |
|
|
11222 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
11223 |
as_unset=unset |
|
|
11224 |
else |
|
|
11225 |
as_unset=false |
|
|
11226 |
fi |
|
|
11227 |
|
|
|
11228 |
|
|
|
11229 |
# IFS |
|
|
11230 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
|
11231 |
# there to prevent editors from complaining about space-tab. |
|
|
11232 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
|
11233 |
# splitting by setting IFS to empty value.) |
|
|
11234 |
IFS=" "" $as_nl" |
|
|
11235 |
|
|
|
11236 |
# Find who we are. Look in the path if we contain no directory separator. |
|
|
11237 |
case $0 in |
|
|
11238 |
*[\\/]* ) as_myself=$0 ;; |
|
|
11239 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
11240 |
for as_dir in $PATH |
|
|
11241 |
do |
|
|
11242 |
IFS=$as_save_IFS |
|
|
11243 |
test -z "$as_dir" && as_dir=. |
|
|
11244 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
|
11245 |
done |
|
|
11246 |
IFS=$as_save_IFS |
|
|
11247 |
|
|
|
11248 |
;; |
|
|
11249 |
esac |
|
|
11250 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
|
11251 |
# in which case we are not to be found in the path. |
|
|
11252 |
if test "x$as_myself" = x; then |
|
|
11253 |
as_myself=$0 |
|
|
11254 |
fi |
|
|
11255 |
if test ! -f "$as_myself"; then |
|
|
11256 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
|
11257 |
{ (exit 1); exit 1; } |
|
|
11258 |
fi |
|
|
11259 |
|
|
|
11260 |
# Work around bugs in pre-3.0 UWIN ksh. |
|
|
11261 |
for as_var in ENV MAIL MAILPATH |
|
|
11262 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
|
11263 |
done |
|
|
11264 |
PS1='$ ' |
|
|
11265 |
PS2='> ' |
|
|
11266 |
PS4='+ ' |
|
|
11267 |
|
|
|
11268 |
# NLS nuisances. |
|
|
11269 |
LC_ALL=C |
|
|
11270 |
export LC_ALL |
|
|
11271 |
LANGUAGE=C |
|
|
11272 |
export LANGUAGE |
|
|
11273 |
|
|
|
11274 |
# Required to use basename. |
|
|
11275 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
|
11276 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
|
11277 |
as_expr=expr |
|
|
11278 |
else |
|
|
11279 |
as_expr=false |
|
|
11280 |
fi |
|
|
11281 |
|
|
|
11282 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
|
11283 |
as_basename=basename |
|
|
11284 |
else |
|
|
11285 |
as_basename=false |
|
|
11286 |
fi |
|
|
11287 |
|
|
|
11288 |
|
|
|
11289 |
# Name of the executable. |
|
|
11290 |
as_me=`$as_basename -- "$0" || |
|
|
11291 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
|
11292 |
X"$0" : 'X\(//\)$' \| \ |
|
|
11293 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
|
11294 |
$as_echo X/"$0" | |
|
|
11295 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
|
11296 |
s//\1/ |
|
|
11297 |
q |
|
|
11298 |
} |
|
|
11299 |
/^X\/\(\/\/\)$/{ |
|
|
11300 |
s//\1/ |
|
|
11301 |
q |
|
|
11302 |
} |
|
|
11303 |
/^X\/\(\/\).*/{ |
|
|
11304 |
s//\1/ |
|
|
11305 |
q |
|
|
11306 |
} |
|
|
11307 |
s/.*/./; q'` |
|
|
11308 |
|
|
|
11309 |
# CDPATH. |
|
|
11310 |
$as_unset CDPATH |
|
|
11311 |
|
|
|
11312 |
|
|
|
11313 |
|
|
|
11314 |
as_lineno_1=$LINENO |
|
|
11315 |
as_lineno_2=$LINENO |
|
|
11316 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
|
11317 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|
|
11318 |
|
|
|
11319 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
|
11320 |
# uniformly replaced by the line number. The first 'sed' inserts a |
|
|
11321 |
# line-number line after each line using $LINENO; the second 'sed' |
|
|
11322 |
# does the real work. The second script uses 'N' to pair each |
|
|
11323 |
# line-number line with the line containing $LINENO, and appends |
|
|
11324 |
# trailing '-' during substitution so that $LINENO is not a special |
|
|
11325 |
# case at line end. |
|
|
11326 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|
|
11327 |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
|
|
11328 |
# E. McMahon (1931-1989) for sed's syntax. :-) |
|
|
11329 |
sed -n ' |
|
|
11330 |
p |
|
|
11331 |
/[$]LINENO/= |
|
|
11332 |
' <$as_myself | |
|
|
11333 |
sed ' |
|
|
11334 |
s/[$]LINENO.*/&-/ |
|
|
11335 |
t lineno |
|
|
11336 |
b |
|
|
11337 |
:lineno |
|
|
11338 |
N |
|
|
11339 |
:loop |
|
|
11340 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
|
11341 |
t loop |
|
|
11342 |
s/-\n.*// |
|
|
11343 |
' >$as_me.lineno && |
|
|
11344 |
chmod +x "$as_me.lineno" || |
|
|
11345 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|
|
11346 |
{ (exit 1); exit 1; }; } |
|
|
11347 |
|
|
|
11348 |
# Don't try to exec as it changes $[0], causing all sort of problems |
|
|
11349 |
# (the dirname of $[0] is not the place where we might find the |
|
|
11350 |
# original and so on. Autoconf is especially sensitive to this). |
|
|
11351 |
. "./$as_me.lineno" |
|
|
11352 |
# Exit status is that of the last command. |
|
|
11353 |
exit |
|
|
11354 |
} |
|
|
11355 |
|
|
|
11356 |
|
|
|
11357 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
|
11358 |
as_dirname=dirname |
|
|
11359 |
else |
|
|
11360 |
as_dirname=false |
|
|
11361 |
fi |
|
|
11362 |
|
|
|
11363 |
ECHO_C= ECHO_N= ECHO_T= |
|
|
11364 |
case `echo -n x` in |
|
|
11365 |
-n*) |
|
|
11366 |
case `echo 'x\c'` in |
|
|
11367 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
|
11368 |
*) ECHO_C='\c';; |
|
|
11369 |
esac;; |
|
|
11370 |
*) |
|
|
11371 |
ECHO_N='-n';; |
|
|
11372 |
esac |
|
|
11373 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
|
11374 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
|
11375 |
as_expr=expr |
|
|
11376 |
else |
|
|
11377 |
as_expr=false |
|
|
11378 |
fi |
|
|
11379 |
|
|
|
11380 |
rm -f conf$$ conf$$.exe conf$$.file |
|
|
11381 |
if test -d conf$$.dir; then |
|
|
11382 |
rm -f conf$$.dir/conf$$.file |
|
|
11383 |
else |
|
|
11384 |
rm -f conf$$.dir |
|
|
11385 |
mkdir conf$$.dir 2>/dev/null |
|
|
11386 |
fi |
|
|
11387 |
if (echo >conf$$.file) 2>/dev/null; then |
|
|
11388 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
|
11389 |
as_ln_s='ln -s' |
|
|
11390 |
# ... but there are two gotchas: |
|
|
11391 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
|
11392 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
|
11393 |
# In both cases, we have to default to `cp -p'. |
|
|
11394 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
|
11395 |
as_ln_s='cp -p' |
|
|
11396 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
|
11397 |
as_ln_s=ln |
|
|
11398 |
else |
|
|
11399 |
as_ln_s='cp -p' |
|
|
11400 |
fi |
|
|
11401 |
else |
|
|
11402 |
as_ln_s='cp -p' |
|
|
11403 |
fi |
|
|
11404 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
|
11405 |
rmdir conf$$.dir 2>/dev/null |
|
|
11406 |
|
|
|
11407 |
if mkdir -p . 2>/dev/null; then |
|
|
11408 |
as_mkdir_p=: |
|
|
11409 |
else |
|
|
11410 |
test -d ./-p && rmdir ./-p |
|
|
11411 |
as_mkdir_p=false |
|
|
11412 |
fi |
|
|
11413 |
|
|
|
11414 |
if test -x / >/dev/null 2>&1; then |
|
|
11415 |
as_test_x='test -x' |
|
|
11416 |
else |
|
|
11417 |
if ls -dL / >/dev/null 2>&1; then |
|
|
11418 |
as_ls_L_option=L |
|
|
11419 |
else |
|
|
11420 |
as_ls_L_option= |
|
|
11421 |
fi |
|
|
11422 |
as_test_x=' |
|
|
11423 |
eval sh -c '\'' |
|
|
11424 |
if test -d "$1"; then |
|
|
11425 |
test -d "$1/."; |
|
|
11426 |
else |
|
|
11427 |
case $1 in |
|
|
11428 |
-*)set "./$1";; |
|
|
11429 |
esac; |
|
|
11430 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
|
11431 |
???[sx]*):;;*)false;;esac;fi |
|
|
11432 |
'\'' sh |
|
|
11433 |
' |
|
|
11434 |
fi |
|
|
11435 |
as_executable_p=$as_test_x |
|
|
11436 |
|
|
|
11437 |
# Sed expression to map a string onto a valid CPP name. |
|
|
11438 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
11439 |
|
|
|
11440 |
# Sed expression to map a string onto a valid variable name. |
|
|
11441 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
|
11442 |
|
|
|
11443 |
|
|
|
11444 |
exec 6>&1 |
|
|
11445 |
|
|
|
11446 |
# Save the log message, to keep $[0] and so on meaningful, and to |
|
|
11447 |
# report actual input values of CONFIG_FILES etc. instead of their |
|
|
11448 |
# values after options handling. |
|
|
11449 |
ac_log=" |
|
|
11450 |
This file was extended by $as_me, which was |
|
|
11451 |
generated by GNU Autoconf 2.63. Invocation command line was |
|
|
11452 |
|
|
|
11453 |
CONFIG_FILES = $CONFIG_FILES |
|
|
11454 |
CONFIG_HEADERS = $CONFIG_HEADERS |
|
|
11455 |
CONFIG_LINKS = $CONFIG_LINKS |
|
|
11456 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
|
11457 |
$ $0 $@ |
|
|
11458 |
|
|
|
11459 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
|
11460 |
" |
|
|
11461 |
|
|
|
11462 |
_ACEOF |
|
|
11463 |
|
|
|
11464 |
case $ac_config_files in *" |
|
|
11465 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
|
11466 |
esac |
|
|
11467 |
|
|
|
11468 |
case $ac_config_headers in *" |
|
|
11469 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
|
|
11470 |
esac |
|
|
11471 |
|
|
|
11472 |
|
|
|
11473 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
11474 |
# Files that config.status was made for. |
|
|
11475 |
config_files="$ac_config_files" |
|
|
11476 |
config_headers="$ac_config_headers" |
|
|
11477 |
config_commands="$ac_config_commands" |
|
|
11478 |
|
|
|
11479 |
_ACEOF |
|
|
11480 |
|
|
|
11481 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
11482 |
ac_cs_usage="\ |
|
|
11483 |
\`$as_me' instantiates files from templates according to the |
|
|
11484 |
current configuration. |
|
|
11485 |
|
|
|
11486 |
Usage: $0 [OPTION]... [FILE]... |
|
|
11487 |
|
|
|
11488 |
-h, --help print this help, then exit |
|
|
11489 |
-V, --version print version number and configuration settings, then exit |
|
|
11490 |
-q, --quiet, --silent |
|
|
11491 |
do not print progress messages |
|
|
11492 |
-d, --debug don't remove temporary files |
|
|
11493 |
--recheck update $as_me by reconfiguring in the same conditions |
|
|
11494 |
--file=FILE[:TEMPLATE] |
|
|
11495 |
instantiate the configuration file FILE |
|
|
11496 |
--header=FILE[:TEMPLATE] |
|
|
11497 |
instantiate the configuration header FILE |
|
|
11498 |
|
|
|
11499 |
Configuration files: |
|
|
11500 |
$config_files |
|
|
11501 |
|
|
|
11502 |
Configuration headers: |
|
|
11503 |
$config_headers |
|
|
11504 |
|
|
|
11505 |
Configuration commands: |
|
|
11506 |
$config_commands |
|
|
11507 |
|
|
|
11508 |
Report bugs to <bug-autoconf@gnu.org>." |
|
|
11509 |
|
|
|
11510 |
_ACEOF |
|
|
11511 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
11512 |
ac_cs_version="\\ |
|
|
11513 |
config.status |
|
|
11514 |
configured by $0, generated by GNU Autoconf 2.63, |
|
|
11515 |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
|
|
11516 |
|
|
|
11517 |
Copyright (C) 2008 Free Software Foundation, Inc. |
|
|
11518 |
This config.status script is free software; the Free Software Foundation |
|
|
11519 |
gives unlimited permission to copy, distribute and modify it." |
|
|
11520 |
|
|
|
11521 |
ac_pwd='$ac_pwd' |
|
|
11522 |
srcdir='$srcdir' |
|
|
11523 |
INSTALL='$INSTALL' |
|
|
11524 |
MKDIR_P='$MKDIR_P' |
|
|
11525 |
AWK='$AWK' |
|
|
11526 |
test -n "\$AWK" || AWK=awk |
|
|
11527 |
_ACEOF |
|
|
11528 |
|
|
|
11529 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
11530 |
# The default lists apply if the user does not specify any file. |
|
|
11531 |
ac_need_defaults=: |
|
|
11532 |
while test $# != 0 |
|
|
11533 |
do |
|
|
11534 |
case $1 in |
|
|
11535 |
--*=*) |
|
|
11536 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
|
11537 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
|
11538 |
ac_shift=: |
|
|
11539 |
;; |
|
|
11540 |
*) |
|
|
11541 |
ac_option=$1 |
|
|
11542 |
ac_optarg=$2 |
|
|
11543 |
ac_shift=shift |
|
|
11544 |
;; |
|
|
11545 |
esac |
|
|
11546 |
|
|
|
11547 |
case $ac_option in |
|
|
11548 |
# Handling of the options. |
|
|
11549 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
|
11550 |
ac_cs_recheck=: ;; |
|
|
11551 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
|
11552 |
$as_echo "$ac_cs_version"; exit ;; |
|
|
11553 |
--debug | --debu | --deb | --de | --d | -d ) |
|
|
11554 |
debug=: ;; |
|
|
11555 |
--file | --fil | --fi | --f ) |
|
|
11556 |
$ac_shift |
|
|
11557 |
case $ac_optarg in |
|
|
11558 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
|
11559 |
esac |
|
|
11560 |
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
|
|
11561 |
ac_need_defaults=false;; |
|
|
11562 |
--header | --heade | --head | --hea ) |
|
|
11563 |
$ac_shift |
|
|
11564 |
case $ac_optarg in |
|
|
11565 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
|
11566 |
esac |
|
|
11567 |
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
|
|
11568 |
ac_need_defaults=false;; |
|
|
11569 |
--he | --h) |
|
|
11570 |
# Conflict between --help and --header |
|
|
11571 |
{ $as_echo "$as_me: error: ambiguous option: $1 |
|
|
11572 |
Try \`$0 --help' for more information." >&2 |
|
|
11573 |
{ (exit 1); exit 1; }; };; |
|
|
11574 |
--help | --hel | -h ) |
|
|
11575 |
$as_echo "$ac_cs_usage"; exit ;; |
|
|
11576 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
|
11577 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
|
11578 |
ac_cs_silent=: ;; |
|
|
11579 |
|
|
|
11580 |
# This is an error. |
|
|
11581 |
-*) { $as_echo "$as_me: error: unrecognized option: $1 |
|
|
11582 |
Try \`$0 --help' for more information." >&2 |
|
|
11583 |
{ (exit 1); exit 1; }; } ;; |
|
|
11584 |
|
|
|
11585 |
*) ac_config_targets="$ac_config_targets $1" |
|
|
11586 |
ac_need_defaults=false ;; |
|
|
11587 |
|
|
|
11588 |
esac |
|
|
11589 |
shift |
|
|
11590 |
done |
|
|
11591 |
|
|
|
11592 |
ac_configure_extra_args= |
|
|
11593 |
|
|
|
11594 |
if $ac_cs_silent; then |
|
|
11595 |
exec 6>/dev/null |
|
|
11596 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
|
11597 |
fi |
|
|
11598 |
|
|
|
11599 |
_ACEOF |
|
|
11600 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
11601 |
if \$ac_cs_recheck; then |
|
|
11602 |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
|
11603 |
shift |
|
|
11604 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|
|
11605 |
CONFIG_SHELL='$SHELL' |
|
|
11606 |
export CONFIG_SHELL |
|
|
11607 |
exec "\$@" |
|
|
11608 |
fi |
|
|
11609 |
|
|
|
11610 |
_ACEOF |
|
|
11611 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
11612 |
exec 5>>config.log |
|
|
11613 |
{ |
|
|
11614 |
echo |
|
|
11615 |
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX |
|
|
11616 |
@%:@@%:@ Running $as_me. @%:@@%:@ |
|
|
11617 |
_ASBOX |
|
|
11618 |
$as_echo "$ac_log" |
|
|
11619 |
} >&5 |
|
|
11620 |
|
|
|
11621 |
_ACEOF |
|
|
11622 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
11623 |
# |
|
|
11624 |
# INIT-COMMANDS |
|
|
11625 |
# |
|
|
11626 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
|
|
11627 |
|
|
|
11628 |
|
|
|
11629 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
|
|
11630 |
# if CDPATH is set. |
|
|
11631 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
|
11632 |
|
|
|
11633 |
sed_quote_subst='$sed_quote_subst' |
|
|
11634 |
double_quote_subst='$double_quote_subst' |
|
|
11635 |
delay_variable_subst='$delay_variable_subst' |
|
|
11636 |
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11637 |
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11638 |
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11639 |
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11640 |
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11641 |
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11642 |
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11643 |
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11644 |
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11645 |
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11646 |
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11647 |
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11648 |
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11649 |
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11650 |
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11651 |
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11652 |
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11653 |
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11654 |
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11655 |
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11656 |
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11657 |
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11658 |
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11659 |
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11660 |
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11661 |
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11662 |
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11663 |
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11664 |
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11665 |
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11666 |
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11667 |
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11668 |
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11669 |
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11670 |
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11671 |
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11672 |
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11673 |
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11674 |
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11675 |
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11676 |
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11677 |
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11678 |
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11679 |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11680 |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11681 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11682 |
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11683 |
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11684 |
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11685 |
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11686 |
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11687 |
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11688 |
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11689 |
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11690 |
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11691 |
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11692 |
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11693 |
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11694 |
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11695 |
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11696 |
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11697 |
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11698 |
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11699 |
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11700 |
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11701 |
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11702 |
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11703 |
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11704 |
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11705 |
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11706 |
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11707 |
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11708 |
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11709 |
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11710 |
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11711 |
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11712 |
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11713 |
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11714 |
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11715 |
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11716 |
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11717 |
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11718 |
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11719 |
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11720 |
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11721 |
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11722 |
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11723 |
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11724 |
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11725 |
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11726 |
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11727 |
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11728 |
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11729 |
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11730 |
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11731 |
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11732 |
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11733 |
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11734 |
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11735 |
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11736 |
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11737 |
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11738 |
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11739 |
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11740 |
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11741 |
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11742 |
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11743 |
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11744 |
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11745 |
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11746 |
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11747 |
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11748 |
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11749 |
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11750 |
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11751 |
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11752 |
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11753 |
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
11754 |
|
|
|
11755 |
LTCC='$LTCC' |
|
|
11756 |
LTCFLAGS='$LTCFLAGS' |
|
|
11757 |
compiler='$compiler_DEFAULT' |
|
|
11758 |
|
|
|
11759 |
# Quote evaled strings. |
|
|
11760 |
for var in SED \ |
|
|
11761 |
GREP \ |
|
|
11762 |
EGREP \ |
|
|
11763 |
FGREP \ |
|
|
11764 |
LD \ |
|
|
11765 |
NM \ |
|
|
11766 |
LN_S \ |
|
|
11767 |
lt_SP2NL \ |
|
|
11768 |
lt_NL2SP \ |
|
|
11769 |
reload_flag \ |
|
|
11770 |
OBJDUMP \ |
|
|
11771 |
deplibs_check_method \ |
|
|
11772 |
file_magic_cmd \ |
|
|
11773 |
AR \ |
|
|
11774 |
AR_FLAGS \ |
|
|
11775 |
STRIP \ |
|
|
11776 |
RANLIB \ |
|
|
11777 |
CC \ |
|
|
11778 |
CFLAGS \ |
|
|
11779 |
compiler \ |
|
|
11780 |
lt_cv_sys_global_symbol_pipe \ |
|
|
11781 |
lt_cv_sys_global_symbol_to_cdecl \ |
|
|
11782 |
lt_cv_sys_global_symbol_to_c_name_address \ |
|
|
11783 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
|
|
11784 |
SHELL \ |
|
|
11785 |
ECHO \ |
|
|
11786 |
lt_prog_compiler_no_builtin_flag \ |
|
|
11787 |
lt_prog_compiler_wl \ |
|
|
11788 |
lt_prog_compiler_pic \ |
|
|
11789 |
lt_prog_compiler_static \ |
|
|
11790 |
lt_cv_prog_compiler_c_o \ |
|
|
11791 |
need_locks \ |
|
|
11792 |
DSYMUTIL \ |
|
|
11793 |
NMEDIT \ |
|
|
11794 |
LIPO \ |
|
|
11795 |
OTOOL \ |
|
|
11796 |
OTOOL64 \ |
|
|
11797 |
shrext_cmds \ |
|
|
11798 |
export_dynamic_flag_spec \ |
|
|
11799 |
whole_archive_flag_spec \ |
|
|
11800 |
compiler_needs_object \ |
|
|
11801 |
with_gnu_ld \ |
|
|
11802 |
allow_undefined_flag \ |
|
|
11803 |
no_undefined_flag \ |
|
|
11804 |
hardcode_libdir_flag_spec \ |
|
|
11805 |
hardcode_libdir_flag_spec_ld \ |
|
|
11806 |
hardcode_libdir_separator \ |
|
|
11807 |
fix_srcfile_path \ |
|
|
11808 |
exclude_expsyms \ |
|
|
11809 |
include_expsyms \ |
|
|
11810 |
file_list_spec \ |
|
|
11811 |
variables_saved_for_relink \ |
|
|
11812 |
libname_spec \ |
|
|
11813 |
library_names_spec \ |
|
|
11814 |
soname_spec \ |
|
|
11815 |
finish_eval \ |
|
|
11816 |
old_striplib \ |
|
|
11817 |
striplib; do |
|
|
11818 |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
|
|
11819 |
*[\\\\\\\`\\"\\\$]*) |
|
|
11820 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
|
|
11821 |
;; |
|
|
11822 |
*) |
|
|
11823 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
|
|
11824 |
;; |
|
|
11825 |
esac |
|
|
11826 |
done |
|
|
11827 |
|
|
|
11828 |
# Double-quote double-evaled strings. |
|
|
11829 |
for var in reload_cmds \ |
|
|
11830 |
old_postinstall_cmds \ |
|
|
11831 |
old_postuninstall_cmds \ |
|
|
11832 |
old_archive_cmds \ |
|
|
11833 |
extract_expsyms_cmds \ |
|
|
11834 |
old_archive_from_new_cmds \ |
|
|
11835 |
old_archive_from_expsyms_cmds \ |
|
|
11836 |
archive_cmds \ |
|
|
11837 |
archive_expsym_cmds \ |
|
|
11838 |
module_cmds \ |
|
|
11839 |
module_expsym_cmds \ |
|
|
11840 |
export_symbols_cmds \ |
|
|
11841 |
prelink_cmds \ |
|
|
11842 |
postinstall_cmds \ |
|
|
11843 |
postuninstall_cmds \ |
|
|
11844 |
finish_cmds \ |
|
|
11845 |
sys_lib_search_path_spec \ |
|
|
11846 |
sys_lib_dlsearch_path_spec; do |
|
|
11847 |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
|
|
11848 |
*[\\\\\\\`\\"\\\$]*) |
|
|
11849 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
|
|
11850 |
;; |
|
|
11851 |
*) |
|
|
11852 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
|
|
11853 |
;; |
|
|
11854 |
esac |
|
|
11855 |
done |
|
|
11856 |
|
|
|
11857 |
# Fix-up fallback echo if it was mangled by the above quoting rules. |
|
|
11858 |
case \$lt_ECHO in |
|
|
11859 |
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` |
|
|
11860 |
;; |
|
|
11861 |
esac |
|
|
11862 |
|
|
|
11863 |
ac_aux_dir='$ac_aux_dir' |
|
|
11864 |
xsi_shell='$xsi_shell' |
|
|
11865 |
lt_shell_append='$lt_shell_append' |
|
|
11866 |
|
|
|
11867 |
# See if we are running on zsh, and set the options which allow our |
|
|
11868 |
# commands through without removal of \ escapes INIT. |
|
|
11869 |
if test -n "\${ZSH_VERSION+set}" ; then |
|
|
11870 |
setopt NO_GLOB_SUBST |
|
|
11871 |
fi |
|
|
11872 |
|
|
|
11873 |
|
|
|
11874 |
PACKAGE='$PACKAGE' |
|
|
11875 |
VERSION='$VERSION' |
|
|
11876 |
TIMESTAMP='$TIMESTAMP' |
|
|
11877 |
RM='$RM' |
|
|
11878 |
ofile='$ofile' |
|
|
11879 |
|
|
|
11880 |
|
|
|
11881 |
|
|
|
11882 |
|
|
|
11883 |
_ACEOF |
|
|
11884 |
|
|
|
11885 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
11886 |
|
|
|
11887 |
# Handling of arguments. |
|
|
11888 |
for ac_config_target in $ac_config_targets |
|
|
11889 |
do |
|
|
11890 |
case $ac_config_target in |
|
|
11891 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
|
11892 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|
|
11893 |
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
|
|
11894 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
|
11895 |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
|
|
11896 |
|
|
|
11897 |
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
|
|
11898 |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
|
|
11899 |
{ (exit 1); exit 1; }; };; |
|
|
11900 |
esac |
|
|
11901 |
done |
|
|
11902 |
|
|
|
11903 |
|
|
|
11904 |
# If the user did not use the arguments to specify the items to instantiate, |
|
|
11905 |
# then the envvar interface is used. Set only those that are not. |
|
|
11906 |
# We use the long form for the default assignment because of an extremely |
|
|
11907 |
# bizarre bug on SunOS 4.1.3. |
|
|
11908 |
if $ac_need_defaults; then |
|
|
11909 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
|
11910 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
|
11911 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|
|
11912 |
fi |
|
|
11913 |
|
|
|
11914 |
# Have a temporary directory for convenience. Make it in the build tree |
|
|
11915 |
# simply because there is no reason against having it here, and in addition, |
|
|
11916 |
# creating and moving files from /tmp can sometimes cause problems. |
|
|
11917 |
# Hook for its removal unless debugging. |
|
|
11918 |
# Note that there is a small window in which the directory will not be cleaned: |
|
|
11919 |
# after its creation but before its name has been assigned to `$tmp'. |
|
|
11920 |
$debug || |
|
|
11921 |
{ |
|
|
11922 |
tmp= |
|
|
11923 |
trap 'exit_status=$? |
|
|
11924 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
|
|
11925 |
' 0 |
|
|
11926 |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
|
|
11927 |
} |
|
|
11928 |
# Create a (secure) tmp directory for tmp files. |
|
|
11929 |
|
|
|
11930 |
{ |
|
|
11931 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
|
11932 |
test -n "$tmp" && test -d "$tmp" |
|
|
11933 |
} || |
|
|
11934 |
{ |
|
|
11935 |
tmp=./conf$$-$RANDOM |
|
|
11936 |
(umask 077 && mkdir "$tmp") |
|
|
11937 |
} || |
|
|
11938 |
{ |
|
|
11939 |
$as_echo "$as_me: cannot create a temporary directory in ." >&2 |
|
|
11940 |
{ (exit 1); exit 1; } |
|
|
11941 |
} |
|
|
11942 |
|
|
|
11943 |
# Set up the scripts for CONFIG_FILES section. |
|
|
11944 |
# No need to generate them if there are no CONFIG_FILES. |
|
|
11945 |
# This happens for instance with `./config.status config.h'. |
|
|
11946 |
if test -n "$CONFIG_FILES"; then |
|
|
11947 |
|
|
|
11948 |
|
|
|
11949 |
ac_cr='
' |
|
|
11950 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
|
|
11951 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
|
|
11952 |
ac_cs_awk_cr='\\r' |
|
|
11953 |
else |
|
|
11954 |
ac_cs_awk_cr=$ac_cr |
|
|
11955 |
fi |
|
|
11956 |
|
|
|
11957 |
|
|
|
11958 |
_ACEOF |
|
|
11959 |
|
|
|
11960 |
|
|
|
11961 |
|
|
|
11962 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
|
|
11963 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
|
11964 |
echo "_ACEOF" |
|
|
11965 |
} >conf$$subs.sh || |
|
|
11966 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
|
11967 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
|
11968 |
{ (exit 1); exit 1; }; } |
|
|
11969 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
|
|
11970 |
ac_delim='%!_!# ' |
|
|
11971 |
for ac_last_try in false false false false false :; do |
|
|
11972 |
. ./conf$$subs.sh || |
|
|
11973 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
|
11974 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
|
11975 |
{ (exit 1); exit 1; }; } |
|
|
11976 |
|
|
|
11977 |
|
|
|
11978 |
if test $ac_delim_n = $ac_delim_num; then |
|
|
11979 |
break |
|
|
11980 |
elif $ac_last_try; then |
|
|
11981 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
|
11982 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
|
11983 |
{ (exit 1); exit 1; }; } |
|
|
11984 |
else |
|
|
11985 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
|
11986 |
fi |
|
|
11987 |
done |
|
|
11988 |
rm -f conf$$subs.sh |
|
|
11989 |
|
|
|
11990 |
|
|
|
11991 |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
|
|
11992 |
_ACEOF |
|
|
11993 |
sed -n ' |
|
|
11994 |
h |
|
|
11995 |
s/^/S["/; s/!.*/"]=/ |
|
|
11996 |
p |
|
|
11997 |
g |
|
|
11998 |
s/^[^!]*!// |
|
|
11999 |
:repl |
|
|
12000 |
t repl |
|
|
12001 |
s/'"$ac_delim"'$// |
|
|
12002 |
t delim |
|
|
12003 |
:nl |
|
|
12004 |
h |
|
|
12005 |
s/\(.\{148\}\).*/\1/ |
|
|
12006 |
t more1 |
|
|
12007 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
|
|
12008 |
p |
|
|
12009 |
n |
|
|
12010 |
b repl |
|
|
12011 |
:more1 |
|
|
12012 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
|
12013 |
p |
|
|
12014 |
g |
|
|
12015 |
s/.\{148\}// |
|
|
12016 |
t nl |
|
|
12017 |
:delim |
|
|
12018 |
h |
|
|
12019 |
s/\(.\{148\}\).*/\1/ |
|
|
12020 |
t more2 |
|
|
12021 |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
|
|
12022 |
p |
|
|
12023 |
b |
|
|
12024 |
:more2 |
|
|
12025 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
|
12026 |
p |
|
|
12027 |
g |
|
|
12028 |
s/.\{148\}// |
|
|
12029 |
t delim |
|
|
12030 |
' <conf$$subs.awk | sed ' |
|
|
12031 |
/^[^""]/{ |
|
|
12032 |
N |
|
|
12033 |
s/\n// |
|
|
12034 |
} |
|
|
12035 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
|
|
12036 |
rm -f conf$$subs.awk |
|
|
12037 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
12038 |
_ACAWK |
|
|
12039 |
cat >>"\$tmp/subs1.awk" <<_ACAWK && |
|
|
12040 |
for (key in S) S_is_set[key] = 1 |
|
|
12041 |
FS = "" |
|
|
12042 |
|
|
|
12043 |
|
|
|
12044 |
{ |
|
|
12045 |
line = $ 0 |
|
|
12046 |
nfields = split(line, field, "@") |
|
|
12047 |
substed = 0 |
|
|
12048 |
len = length(field[1]) |
|
|
12049 |
for (i = 2; i < nfields; i++) { |
|
|
12050 |
key = field[i] |
|
|
12051 |
keylen = length(key) |
|
|
12052 |
if (S_is_set[key]) { |
|
|
12053 |
value = S[key] |
|
|
12054 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
|
|
12055 |
len += length(value) + length(field[++i]) |
|
|
12056 |
substed = 1 |
|
|
12057 |
} else |
|
|
12058 |
len += 1 + keylen |
|
|
12059 |
} |
|
|
12060 |
|
|
|
12061 |
|
|
|
12062 |
} |
|
|
12063 |
|
|
|
12064 |
|
|
|
12065 |
_ACEOF |
|
|
12066 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
12067 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
|
|
12068 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
|
|
12069 |
else |
|
|
12070 |
cat |
|
|
12071 |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
|
|
12072 |
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
|
|
12073 |
$as_echo "$as_me: error: could not setup config files machinery" >&2;} |
|
|
12074 |
{ (exit 1); exit 1; }; } |
|
|
12075 |
_ACEOF |
|
|
12076 |
|
|
|
12077 |
|
|
|
12078 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
|
|
12079 |
# trailing colons and then remove the whole line if VPATH becomes empty |
|
|
12080 |
# (actually we leave an empty line to preserve line numbers). |
|
|
12081 |
if test "x$srcdir" = x.; then |
|
|
12082 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|
|
12083 |
s/:*\$(srcdir):*/:/ |
|
|
12084 |
s/:*\${srcdir}:*/:/ |
|
|
12085 |
s/:*@srcdir@:*/:/ |
|
|
12086 |
s/^\([^=]*=[ ]*\):*/\1/ |
|
|
12087 |
s/:*$// |
|
|
12088 |
s/^[^=]*=[ ]*$// |
|
|
12089 |
}' |
|
|
12090 |
fi |
|
|
12091 |
|
|
|
12092 |
|
|
|
12093 |
fi # test -n "$CONFIG_FILES" |
|
|
12094 |
|
|
|
12095 |
|
|
|
12096 |
# No need to generate them if there are no CONFIG_HEADERS. |
|
|
12097 |
# This happens for instance with `./config.status Makefile'. |
|
|
12098 |
if test -n "$CONFIG_HEADERS"; then |
|
|
12099 |
cat >"$tmp/defines.awk" <<\_ACAWK || |
|
|
12100 |
BEGIN { |
|
|
12101 |
_ACEOF |
|
|
12102 |
|
|
|
12103 |
|
|
|
12104 |
# here-document in config.status, that substitutes the proper values into |
|
|
12105 |
# config.h.in to produce config.h. |
|
|
12106 |
|
|
|
12107 |
|
|
|
12108 |
# handling of long lines. |
|
|
12109 |
ac_delim='%!_!# ' |
|
|
12110 |
for ac_last_try in false false :; do |
|
|
12111 |
ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
|
|
12112 |
if test -z "$ac_t"; then |
|
|
12113 |
break |
|
|
12114 |
elif $ac_last_try; then |
|
|
12115 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
|
|
12116 |
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} |
|
|
12117 |
{ (exit 1); exit 1; }; } |
|
|
12118 |
else |
|
|
12119 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
|
12120 |
fi |
|
|
12121 |
done |
|
|
12122 |
|
|
|
12123 |
|
|
|
12124 |
# likewise P contains macro parameters if any. Preserve backslash |
|
|
12125 |
# newline sequences. |
|
|
12126 |
|
|
|
12127 |
|
|
|
12128 |
sed -n ' |
|
|
12129 |
s/.\{148\}/&'"$ac_delim"'/g |
|
|
12130 |
t rset |
|
|
12131 |
:rset |
|
|
12132 |
s/^[ ]*#[ ]*define[ ][ ]*/ / |
|
|
12133 |
t def |
|
|
12134 |
d |
|
|
12135 |
:def |
|
|
12136 |
s/\\$// |
|
|
12137 |
t bsnl |
|
|
12138 |
s/["\\]/\\&/g |
|
|
12139 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
|
12140 |
D["\1"]=" \3"/p |
|
|
12141 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
|
|
12142 |
d |
|
|
12143 |
:bsnl |
|
|
12144 |
s/["\\]/\\&/g |
|
|
12145 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
|
12146 |
D["\1"]=" \3\\\\\\n"\\/p |
|
|
12147 |
t cont |
|
|
12148 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
|
|
12149 |
t cont |
|
|
12150 |
d |
|
|
12151 |
:cont |
|
|
12152 |
n |
|
|
12153 |
s/.\{148\}/&'"$ac_delim"'/g |
|
|
12154 |
t clear |
|
|
12155 |
:clear |
|
|
12156 |
s/\\$// |
|
|
12157 |
t bsnlc |
|
|
12158 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p |
|
|
12159 |
d |
|
|
12160 |
:bsnlc |
|
|
12161 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
|
|
12162 |
b cont |
|
|
12163 |
' <confdefs.h | sed ' |
|
|
12164 |
s/'"$ac_delim"'/"\\\ |
|
|
12165 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
|
|
12166 |
|
|
|
12167 |
|
|
|
12168 |
for (key in D) D_is_set[key] = 1 |
|
|
12169 |
FS = "" |
|
|
12170 |
} |
|
|
12171 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
|
|
12172 |
line = \$ 0 |
|
|
12173 |
split(line, arg, " ") |
|
|
12174 |
if (arg[1] == "#") { |
|
|
12175 |
defundef = arg[2] |
|
|
12176 |
mac1 = arg[3] |
|
|
12177 |
} else { |
|
|
12178 |
defundef = substr(arg[1], 2) |
|
|
12179 |
mac1 = arg[2] |
|
|
12180 |
} |
|
|
12181 |
split(mac1, mac2, "(") #) |
|
|
12182 |
macro = mac2[1] |
|
|
12183 |
prefix = substr(line, 1, index(line, defundef) - 1) |
|
|
12184 |
if (D_is_set[macro]) { |
|
|
12185 |
# Preserve the white space surrounding the "#". |
|
|
12186 |
print prefix "define", macro P[macro] D[macro] |
|
|
12187 |
next |
|
|
12188 |
} else { |
|
|
12189 |
# Replace #undef with comments. This is necessary, for example, |
|
|
12190 |
# in the case of _POSIX_SOURCE, which is predefined and required |
|
|
12191 |
# on some systems where configure will not decide to define it. |
|
|
12192 |
if (defundef == "undef") { |
|
|
12193 |
print "/*", prefix defundef, macro, "*/" |
|
|
12194 |
next |
|
|
12195 |
} |
|
|
12196 |
} |
|
|
12197 |
} |
|
|
12198 |
{ print } |
|
|
12199 |
_ACAWK |
|
|
12200 |
_ACEOF |
|
|
12201 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
12202 |
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 |
|
|
12203 |
$as_echo "$as_me: error: could not setup config headers machinery" >&2;} |
|
|
12204 |
{ (exit 1); exit 1; }; } |
|
|
12205 |
fi # test -n "$CONFIG_HEADERS" |
|
|
12206 |
|
|
|
12207 |
|
|
|
12208 |
|
|
|
12209 |
shift |
|
|
12210 |
for ac_tag |
|
|
12211 |
do |
|
|
12212 |
case $ac_tag in |
|
|
12213 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
|
|
12214 |
esac |
|
|
12215 |
case $ac_mode$ac_tag in |
|
|
12216 |
:[FHL]*:*);; |
|
|
12217 |
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 |
|
|
12218 |
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} |
|
|
12219 |
{ (exit 1); exit 1; }; };; |
|
|
12220 |
:[FH]-) ac_tag=-:-;; |
|
|
12221 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
|
12222 |
esac |
|
|
12223 |
ac_save_IFS=$IFS |
|
|
12224 |
IFS=: |
|
|
12225 |
set x $ac_tag |
|
|
12226 |
IFS=$ac_save_IFS |
|
|
12227 |
shift |
|
|
12228 |
ac_file=$1 |
|
|
12229 |
shift |
|
|
12230 |
|
|
|
12231 |
|
|
|
12232 |
:L) ac_source=$1;; |
|
|
12233 |
:[FH]) |
|
|
12234 |
ac_file_inputs= |
|
|
12235 |
for ac_f |
|
|
12236 |
do |
|
|
12237 |
case $ac_f in |
|
|
12238 |
-) ac_f="$tmp/stdin";; |
|
|
12239 |
*) # Look for the file first in the build tree, then in the source tree |
|
|
12240 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
|
|
12241 |
# because $ac_f cannot contain `:'. |
|
|
12242 |
test -f "$ac_f" || |
|
|
12243 |
case $ac_f in |
|
|
12244 |
[\\/$]*) false;; |
|
|
12245 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
|
12246 |
esac || |
|
|
12247 |
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
|
|
12248 |
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
|
|
12249 |
{ (exit 1); exit 1; }; };; |
|
|
12250 |
esac |
|
|
12251 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
|
|
12252 |
ac_file_inputs="$ac_file_inputs '$ac_f'" |
|
|
12253 |
done |
|
|
12254 |
|
|
|
12255 |
|
|
|
12256 |
# use $as_me), people would be surprised to read: |
|
|
12257 |
# /* config.h. Generated by config.status. */ |
|
|
12258 |
configure_input='Generated from '` |
|
|
12259 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|
|
12260 |
`' by configure.' |
|
|
12261 |
if test x"$ac_file" != x-; then |
|
|
12262 |
configure_input="$ac_file. $configure_input" |
|
|
12263 |
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
12264 |
$as_echo "$as_me: creating $ac_file" >&6;} |
|
|
12265 |
fi |
|
|
12266 |
# Neutralize special characters interpreted by sed in replacement strings. |
|
|
12267 |
case $configure_input in #( |
|
|
12268 |
*\&* | *\|* | *\\* ) |
|
|
12269 |
ac_sed_conf_input=`$as_echo "$configure_input" | |
|
|
12270 |
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|
|
12271 |
*) ac_sed_conf_input=$configure_input;; |
|
|
12272 |
esac |
|
|
12273 |
|
|
|
12274 |
|
|
|
12275 |
*:-:* | *:-) cat >"$tmp/stdin" \ |
|
|
12276 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
|
12277 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
|
12278 |
{ (exit 1); exit 1; }; } ;; |
|
|
12279 |
esac |
|
|
12280 |
;; |
|
|
12281 |
esac |
|
|
12282 |
|
|
|
12283 |
|
|
|
12284 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
12285 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
|
12286 |
X"$ac_file" : 'X\(//\)$' \| \ |
|
|
12287 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
|
12288 |
$as_echo X"$ac_file" | |
|
|
12289 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
12290 |
s//\1/ |
|
|
12291 |
q |
|
|
12292 |
} |
|
|
12293 |
/^X\(\/\/\)[^/].*/{ |
|
|
12294 |
s//\1/ |
|
|
12295 |
q |
|
|
12296 |
} |
|
|
12297 |
/^X\(\/\/\)$/{ |
|
|
12298 |
s//\1/ |
|
|
12299 |
q |
|
|
12300 |
} |
|
|
12301 |
/^X\(\/\).*/{ |
|
|
12302 |
s//\1/ |
|
|
12303 |
q |
|
|
12304 |
} |
|
|
12305 |
s/.*/./; q'` |
|
|
12306 |
{ as_dir="$ac_dir" |
|
|
12307 |
case $as_dir in #( |
|
|
12308 |
-*) as_dir=./$as_dir;; |
|
|
12309 |
esac |
|
|
12310 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
|
|
12311 |
as_dirs= |
|
|
12312 |
while :; do |
|
|
12313 |
case $as_dir in #( |
|
|
12314 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
|
12315 |
*) as_qdir=$as_dir;; |
|
|
12316 |
esac |
|
|
12317 |
as_dirs="'$as_qdir' $as_dirs" |
|
|
12318 |
as_dir=`$as_dirname -- "$as_dir" || |
|
|
12319 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
12320 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
|
12321 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
|
12322 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
|
12323 |
$as_echo X"$as_dir" | |
|
|
12324 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
12325 |
s//\1/ |
|
|
12326 |
q |
|
|
12327 |
} |
|
|
12328 |
/^X\(\/\/\)[^/].*/{ |
|
|
12329 |
s//\1/ |
|
|
12330 |
q |
|
|
12331 |
} |
|
|
12332 |
/^X\(\/\/\)$/{ |
|
|
12333 |
s//\1/ |
|
|
12334 |
q |
|
|
12335 |
} |
|
|
12336 |
/^X\(\/\).*/{ |
|
|
12337 |
s//\1/ |
|
|
12338 |
q |
|
|
12339 |
} |
|
|
12340 |
s/.*/./; q'` |
|
|
12341 |
test -d "$as_dir" && break |
|
|
12342 |
done |
|
|
12343 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
|
12344 |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
|
|
12345 |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
|
|
12346 |
{ (exit 1); exit 1; }; }; } |
|
|
12347 |
ac_builddir=. |
|
|
12348 |
|
|
|
12349 |
|
|
|
12350 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
|
12351 |
*) |
|
|
12352 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
|
12353 |
# A ".." for each directory in $ac_dir_suffix. |
|
|
12354 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
|
12355 |
case $ac_top_builddir_sub in |
|
|
12356 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
|
12357 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
|
12358 |
esac ;; |
|
|
12359 |
esac |
|
|
12360 |
ac_abs_top_builddir=$ac_pwd |
|
|
12361 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
|
12362 |
# for backward compatibility: |
|
|
12363 |
ac_top_builddir=$ac_top_build_prefix |
|
|
12364 |
|
|
|
12365 |
|
|
|
12366 |
.) # We are building in place. |
|
|
12367 |
ac_srcdir=. |
|
|
12368 |
ac_top_srcdir=$ac_top_builddir_sub |
|
|
12369 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
|
12370 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
|
12371 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
|
12372 |
ac_top_srcdir=$srcdir |
|
|
12373 |
ac_abs_top_srcdir=$srcdir ;; |
|
|
12374 |
*) # Relative name. |
|
|
12375 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
|
12376 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
|
12377 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
|
12378 |
esac |
|
|
12379 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
|
12380 |
|
|
|
12381 |
|
|
|
12382 |
|
|
|
12383 |
:F) |
|
|
12384 |
# |
|
|
12385 |
# CONFIG_FILE |
|
|
12386 |
# |
|
|
12387 |
|
|
|
12388 |
|
|
|
12389 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
|
12390 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
|
|
12391 |
esac |
|
|
12392 |
ac_MKDIR_P=$MKDIR_P |
|
|
12393 |
case $MKDIR_P in |
|
|
12394 |
[\\/$]* | ?:[\\/]* ) ;; |
|
|
12395 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|
|
12396 |
esac |
|
|
12397 |
_ACEOF |
|
|
12398 |
|
|
|
12399 |
|
|
|
12400 |
# If the template does not know about datarootdir, expand it. |
|
|
12401 |
# FIXME: This hack should be removed a few years after 2.60. |
|
|
12402 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
|
|
12403 |
|
|
|
12404 |
|
|
|
12405 |
/datarootdir/ { |
|
|
12406 |
p |
|
|
12407 |
q |
|
|
12408 |
} |
|
|
12409 |
/@datadir@/p |
|
|
12410 |
/@docdir@/p |
|
|
12411 |
/@infodir@/p |
|
|
12412 |
/@localedir@/p |
|
|
12413 |
/@mandir@/p |
|
|
12414 |
' |
|
|
12415 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
|
|
12416 |
*datarootdir*) ac_datarootdir_seen=yes;; |
|
|
12417 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|
|
12418 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
|
|
12419 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|
|
12420 |
_ACEOF |
|
|
12421 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
12422 |
ac_datarootdir_hack=' |
|
|
12423 |
s&@datadir@&$datadir&g |
|
|
12424 |
s&@docdir@&$docdir&g |
|
|
12425 |
s&@infodir@&$infodir&g |
|
|
12426 |
s&@localedir@&$localedir&g |
|
|
12427 |
s&@mandir@&$mandir&g |
|
|
12428 |
s&\\\${datarootdir}&$datarootdir&g' ;; |
|
|
12429 |
esac |
|
|
12430 |
_ACEOF |
|
|
12431 |
|
|
|
12432 |
|
|
|
12433 |
# Shell code in configure.ac might set extrasub. |
|
|
12434 |
# FIXME: do we really want to maintain this feature? |
|
|
12435 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
12436 |
ac_sed_extra="$ac_vpsub |
|
|
12437 |
$extrasub |
|
|
12438 |
_ACEOF |
|
|
12439 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
12440 |
:t |
|
|
12441 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
|
12442 |
s|@configure_input@|$ac_sed_conf_input|;t t |
|
|
12443 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
|
|
12444 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
|
|
12445 |
s&@srcdir@&$ac_srcdir&;t t |
|
|
12446 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
|
|
12447 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
|
|
12448 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|
|
12449 |
s&@builddir@&$ac_builddir&;t t |
|
|
12450 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
|
|
12451 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|
|
12452 |
s&@INSTALL@&$ac_INSTALL&;t t |
|
|
12453 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
|
|
12454 |
$ac_datarootdir_hack |
|
|
12455 |
" |
|
|
12456 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
|
|
12457 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
|
12458 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
|
12459 |
{ (exit 1); exit 1; }; } |
|
|
12460 |
|
|
|
12461 |
|
|
|
12462 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
|
|
12463 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
|
|
12464 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
|
12465 |
which seems to be undefined. Please make sure it is defined." >&5 |
|
|
12466 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
|
12467 |
which seems to be undefined. Please make sure it is defined." >&2;} |
|
|
12468 |
|
|
|
12469 |
|
|
|
12470 |
case $ac_file in |
|
|
12471 |
-) cat "$tmp/out" && rm -f "$tmp/out";; |
|
|
12472 |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
|
|
12473 |
esac \ |
|
|
12474 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
|
12475 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
|
12476 |
{ (exit 1); exit 1; }; } |
|
|
12477 |
;; |
|
|
12478 |
:H) |
|
|
12479 |
# |
|
|
12480 |
# CONFIG_HEADER |
|
|
12481 |
# |
|
|
12482 |
if test x"$ac_file" != x-; then |
|
|
12483 |
{ |
|
|
12484 |
$as_echo "/* $configure_input */" \ |
|
|
12485 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
|
|
12486 |
} >"$tmp/config.h" \ |
|
|
12487 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
|
12488 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
|
12489 |
{ (exit 1); exit 1; }; } |
|
|
12490 |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
|
|
12491 |
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
|
|
12492 |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
|
|
12493 |
else |
|
|
12494 |
rm -f "$ac_file" |
|
|
12495 |
mv "$tmp/config.h" "$ac_file" \ |
|
|
12496 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
|
12497 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
|
12498 |
{ (exit 1); exit 1; }; } |
|
|
12499 |
fi |
|
|
12500 |
else |
|
|
12501 |
$as_echo "/* $configure_input */" \ |
|
|
12502 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
|
|
12503 |
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 |
|
|
12504 |
$as_echo "$as_me: error: could not create -" >&2;} |
|
|
12505 |
{ (exit 1); exit 1; }; } |
|
|
12506 |
fi |
|
|
12507 |
# Compute "$ac_file"'s index in $config_headers. |
|
|
12508 |
_am_arg="$ac_file" |
|
|
12509 |
_am_stamp_count=1 |
|
|
12510 |
for _am_header in $config_headers :; do |
|
|
12511 |
case $_am_header in |
|
|
12512 |
$_am_arg | $_am_arg:* ) |
|
|
12513 |
break ;; |
|
|
12514 |
* ) |
|
|
12515 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
|
|
12516 |
esac |
|
|
12517 |
done |
|
|
12518 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
|
|
12519 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
12520 |
X"$_am_arg" : 'X\(//\)[^/]' \| \ |
|
|
12521 |
X"$_am_arg" : 'X\(//\)$' \| \ |
|
|
12522 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
|
|
12523 |
$as_echo X"$_am_arg" | |
|
|
12524 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
12525 |
s//\1/ |
|
|
12526 |
q |
|
|
12527 |
} |
|
|
12528 |
/^X\(\/\/\)[^/].*/{ |
|
|
12529 |
s//\1/ |
|
|
12530 |
q |
|
|
12531 |
} |
|
|
12532 |
/^X\(\/\/\)$/{ |
|
|
12533 |
s//\1/ |
|
|
12534 |
q |
|
|
12535 |
} |
|
|
12536 |
/^X\(\/\).*/{ |
|
|
12537 |
s//\1/ |
|
|
12538 |
q |
|
|
12539 |
} |
|
|
12540 |
s/.*/./; q'`/stamp-h$_am_stamp_count |
|
|
12541 |
;; |
|
|
12542 |
|
|
|
12543 |
|
|
|
12544 |
$as_echo "$as_me: executing $ac_file commands" >&6;} |
|
|
12545 |
;; |
|
|
12546 |
esac |
|
|
12547 |
|
|
|
12548 |
|
|
|
12549 |
|
|
|
12550 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
|
|
12551 |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
|
|
12552 |
# are listed without --file. Let's play safe and only enable the eval |
|
|
12553 |
# if we detect the quoting. |
|
|
12554 |
case $CONFIG_FILES in |
|
|
12555 |
*\'*) eval set x "$CONFIG_FILES" ;; |
|
|
12556 |
*) set x $CONFIG_FILES ;; |
|
|
12557 |
esac |
|
|
12558 |
shift |
|
|
12559 |
for mf |
|
|
12560 |
do |
|
|
12561 |
# Strip MF so we end up with the name of the file. |
|
|
12562 |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
|
|
12563 |
# Check whether this is an Automake generated Makefile or not. |
|
|
12564 |
# We used to match only the files named `Makefile.in', but |
|
|
12565 |
# some people rename them; so instead we look at the file content. |
|
|
12566 |
# Grep'ing the first line is not enough: some people post-process |
|
|
12567 |
# each Makefile.in and add a new line on top of each file to say so. |
|
|
12568 |
# Grep'ing the whole file is not good either: AIX grep has a line |
|
|
12569 |
# limit of 2048, but all sed's we know have understand at least 4000. |
|
|
12570 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
|
|
12571 |
dirpart=`$as_dirname -- "$mf" || |
|
|
12572 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
12573 |
X"$mf" : 'X\(//\)[^/]' \| \ |
|
|
12574 |
X"$mf" : 'X\(//\)$' \| \ |
|
|
12575 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
|
|
12576 |
$as_echo X"$mf" | |
|
|
12577 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
12578 |
s//\1/ |
|
|
12579 |
q |
|
|
12580 |
} |
|
|
12581 |
/^X\(\/\/\)[^/].*/{ |
|
|
12582 |
s//\1/ |
|
|
12583 |
q |
|
|
12584 |
} |
|
|
12585 |
/^X\(\/\/\)$/{ |
|
|
12586 |
s//\1/ |
|
|
12587 |
q |
|
|
12588 |
} |
|
|
12589 |
/^X\(\/\).*/{ |
|
|
12590 |
s//\1/ |
|
|
12591 |
q |
|
|
12592 |
} |
|
|
12593 |
s/.*/./; q'` |
|
|
12594 |
else |
|
|
12595 |
continue |
|
|
12596 |
fi |
|
|
12597 |
# Extract the definition of DEPDIR, am__include, and am__quote |
|
|
12598 |
# from the Makefile without running `make'. |
|
|
12599 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
|
|
12600 |
test -z "$DEPDIR" && continue |
|
|
12601 |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
|
12602 |
test -z "am__include" && continue |
|
|
12603 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|
|
12604 |
# When using ansi2knr, U may be empty or an underscore; expand it |
|
|
12605 |
U=`sed -n 's/^U = //p' < "$mf"` |
|
|
12606 |
# Find all dependency output files, they are included files with |
|
|
12607 |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
|
|
12608 |
# simplest approach to changing $(DEPDIR) to its actual value in the |
|
|
12609 |
# expansion. |
|
|
12610 |
for file in `sed -n " |
|
|
12611 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
|
|
12612 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
|
|
12613 |
# Make sure the directory exists. |
|
|
12614 |
test -f "$dirpart/$file" && continue |
|
|
12615 |
fdir=`$as_dirname -- "$file" || |
|
|
12616 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
12617 |
X"$file" : 'X\(//\)[^/]' \| \ |
|
|
12618 |
X"$file" : 'X\(//\)$' \| \ |
|
|
12619 |
X"$file" : 'X\(/\)' \| . 2>/dev/null || |
|
|
12620 |
$as_echo X"$file" | |
|
|
12621 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
12622 |
s//\1/ |
|
|
12623 |
q |
|
|
12624 |
} |
|
|
12625 |
/^X\(\/\/\)[^/].*/{ |
|
|
12626 |
s//\1/ |
|
|
12627 |
q |
|
|
12628 |
} |
|
|
12629 |
/^X\(\/\/\)$/{ |
|
|
12630 |
s//\1/ |
|
|
12631 |
q |
|
|
12632 |
} |
|
|
12633 |
/^X\(\/\).*/{ |
|
|
12634 |
s//\1/ |
|
|
12635 |
q |
|
|
12636 |
} |
|
|
12637 |
s/.*/./; q'` |
|
|
12638 |
{ as_dir=$dirpart/$fdir |
|
|
12639 |
case $as_dir in #( |
|
|
12640 |
-*) as_dir=./$as_dir;; |
|
|
12641 |
esac |
|
|
12642 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
|
|
12643 |
as_dirs= |
|
|
12644 |
while :; do |
|
|
12645 |
case $as_dir in #( |
|
|
12646 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
|
12647 |
*) as_qdir=$as_dir;; |
|
|
12648 |
esac |
|
|
12649 |
as_dirs="'$as_qdir' $as_dirs" |
|
|
12650 |
as_dir=`$as_dirname -- "$as_dir" || |
|
|
12651 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
12652 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
|
12653 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
|
12654 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
|
12655 |
$as_echo X"$as_dir" | |
|
|
12656 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
12657 |
s//\1/ |
|
|
12658 |
q |
|
|
12659 |
} |
|
|
12660 |
/^X\(\/\/\)[^/].*/{ |
|
|
12661 |
s//\1/ |
|
|
12662 |
q |
|
|
12663 |
} |
|
|
12664 |
/^X\(\/\/\)$/{ |
|
|
12665 |
s//\1/ |
|
|
12666 |
q |
|
|
12667 |
} |
|
|
12668 |
/^X\(\/\).*/{ |
|
|
12669 |
s//\1/ |
|
|
12670 |
q |
|
|
12671 |
} |
|
|
12672 |
s/.*/./; q'` |
|
|
12673 |
test -d "$as_dir" && break |
|
|
12674 |
done |
|
|
12675 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
|
12676 |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
|
|
12677 |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
|
|
12678 |
{ (exit 1); exit 1; }; }; } |
|
|
12679 |
# echo "creating $dirpart/$file" |
|
|
12680 |
echo '# dummy' > "$dirpart/$file" |
|
|
12681 |
done |
|
|
12682 |
done |
|
|
12683 |
} |
|
|
12684 |
;; |
|
|
12685 |
"libtool":C) |
|
|
12686 |
|
|
|
12687 |
|
|
|
12688 |
# commands through without removal of \ escapes. |
|
|
12689 |
if test -n "${ZSH_VERSION+set}" ; then |
|
|
12690 |
setopt NO_GLOB_SUBST |
|
|
12691 |
fi |
|
|
12692 |
|
|
|
12693 |
|
|
|
12694 |
trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
|
|
12695 |
$RM "$cfgfile" |
|
|
12696 |
|
|
|
12697 |
|
|
|
12698 |
#! $SHELL |
|
|
12699 |
|
|
|
12700 |
|
|
|
12701 |
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION |
|
|
12702 |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
|
12703 |
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
|
|
12704 |
# |
|
|
12705 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
|
|
12706 |
# 2006, 2007, 2008 Free Software Foundation, Inc. |
|
|
12707 |
# Written by Gordon Matzigkeit, 1996 |
|
|
12708 |
# |
|
|
12709 |
# This file is part of GNU Libtool. |
|
|
12710 |
# |
|
|
12711 |
# GNU Libtool is free software; you can redistribute it and/or |
|
|
12712 |
# modify it under the terms of the GNU General Public License as |
|
|
12713 |
# published by the Free Software Foundation; either version 2 of |
|
|
12714 |
# the License, or (at your option) any later version. |
|
|
12715 |
# |
|
|
12716 |
# As a special exception to the GNU General Public License, |
|
|
12717 |
# if you distribute this file as part of a program or library that |
|
|
12718 |
# is built using GNU Libtool, you may include this file under the |
|
|
12719 |
# same distribution terms that you use for the rest of that program. |
|
|
12720 |
# |
|
|
12721 |
# GNU Libtool is distributed in the hope that it will be useful, |
|
|
12722 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
12723 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
12724 |
# GNU General Public License for more details. |
|
|
12725 |
# |
|
|
12726 |
# You should have received a copy of the GNU General Public License |
|
|
12727 |
# along with GNU Libtool; see the file COPYING. If not, a copy |
|
|
12728 |
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or |
|
|
12729 |
# obtained by writing to the Free Software Foundation, Inc., |
|
|
12730 |
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
|
12731 |
|
|
|
12732 |
|
|
|
12733 |
|
|
|
12734 |
available_tags="" |
|
|
12735 |
|
|
|
12736 |
|
|
|
12737 |
|
|
|
12738 |
|
|
|
12739 |
macro_version=$macro_version |
|
|
12740 |
macro_revision=$macro_revision |
|
|
12741 |
|
|
|
12742 |
|
|
|
12743 |
build_libtool_libs=$enable_shared |
|
|
12744 |
|
|
|
12745 |
|
|
|
12746 |
build_old_libs=$enable_static |
|
|
12747 |
|
|
|
12748 |
|
|
|
12749 |
pic_mode=$pic_mode |
|
|
12750 |
|
|
|
12751 |
|
|
|
12752 |
fast_install=$enable_fast_install |
|
|
12753 |
|
|
|
12754 |
|
|
|
12755 |
host_alias=$host_alias |
|
|
12756 |
host=$host |
|
|
12757 |
host_os=$host_os |
|
|
12758 |
|
|
|
12759 |
|
|
|
12760 |
build_alias=$build_alias |
|
|
12761 |
build=$build |
|
|
12762 |
build_os=$build_os |
|
|
12763 |
|
|
|
12764 |
|
|
|
12765 |
SED=$lt_SED |
|
|
12766 |
|
|
|
12767 |
|
|
|
12768 |
Xsed="\$SED -e 1s/^X//" |
|
|
12769 |
|
|
|
12770 |
|
|
|
12771 |
GREP=$lt_GREP |
|
|
12772 |
|
|
|
12773 |
|
|
|
12774 |
EGREP=$lt_EGREP |
|
|
12775 |
|
|
|
12776 |
|
|
|
12777 |
FGREP=$lt_FGREP |
|
|
12778 |
|
|
|
12779 |
|
|
|
12780 |
NM=$lt_NM |
|
|
12781 |
|
|
|
12782 |
|
|
|
12783 |
LN_S=$lt_LN_S |
|
|
12784 |
|
|
|
12785 |
|
|
|
12786 |
max_cmd_len=$max_cmd_len |
|
|
12787 |
|
|
|
12788 |
|
|
|
12789 |
objext=$ac_objext |
|
|
12790 |
|
|
|
12791 |
|
|
|
12792 |
exeext=$exeext |
|
|
12793 |
|
|
|
12794 |
|
|
|
12795 |
lt_unset=$lt_unset |
|
|
12796 |
|
|
|
12797 |
|
|
|
12798 |
SP2NL=$lt_lt_SP2NL |
|
|
12799 |
|
|
|
12800 |
|
|
|
12801 |
NL2SP=$lt_lt_NL2SP |
|
|
12802 |
|
|
|
12803 |
|
|
|
12804 |
reload_flag=$lt_reload_flag |
|
|
12805 |
reload_cmds=$lt_reload_cmds |
|
|
12806 |
|
|
|
12807 |
|
|
|
12808 |
OBJDUMP=$lt_OBJDUMP |
|
|
12809 |
|
|
|
12810 |
|
|
|
12811 |
deplibs_check_method=$lt_deplibs_check_method |
|
|
12812 |
|
|
|
12813 |
|
|
|
12814 |
file_magic_cmd=$lt_file_magic_cmd |
|
|
12815 |
|
|
|
12816 |
|
|
|
12817 |
AR=$lt_AR |
|
|
12818 |
AR_FLAGS=$lt_AR_FLAGS |
|
|
12819 |
|
|
|
12820 |
|
|
|
12821 |
STRIP=$lt_STRIP |
|
|
12822 |
|
|
|
12823 |
|
|
|
12824 |
RANLIB=$lt_RANLIB |
|
|
12825 |
old_postinstall_cmds=$lt_old_postinstall_cmds |
|
|
12826 |
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
|
12827 |
|
|
|
12828 |
|
|
|
12829 |
LTCC=$lt_CC |
|
|
12830 |
|
|
|
12831 |
|
|
|
12832 |
LTCFLAGS=$lt_CFLAGS |
|
|
12833 |
|
|
|
12834 |
|
|
|
12835 |
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
|
12836 |
|
|
|
12837 |
|
|
|
12838 |
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
|
12839 |
|
|
|
12840 |
|
|
|
12841 |
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
|
12842 |
|
|
|
12843 |
|
|
|
12844 |
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
|
|
12845 |
|
|
|
12846 |
|
|
|
12847 |
objdir=$objdir |
|
|
12848 |
|
|
|
12849 |
|
|
|
12850 |
SHELL=$lt_SHELL |
|
|
12851 |
|
|
|
12852 |
|
|
|
12853 |
ECHO=$lt_ECHO |
|
|
12854 |
|
|
|
12855 |
|
|
|
12856 |
MAGIC_CMD=$MAGIC_CMD |
|
|
12857 |
|
|
|
12858 |
|
|
|
12859 |
need_locks=$lt_need_locks |
|
|
12860 |
|
|
|
12861 |
|
|
|
12862 |
DSYMUTIL=$lt_DSYMUTIL |
|
|
12863 |
|
|
|
12864 |
|
|
|
12865 |
NMEDIT=$lt_NMEDIT |
|
|
12866 |
|
|
|
12867 |
|
|
|
12868 |
LIPO=$lt_LIPO |
|
|
12869 |
|
|
|
12870 |
|
|
|
12871 |
OTOOL=$lt_OTOOL |
|
|
12872 |
|
|
|
12873 |
|
|
|
12874 |
OTOOL64=$lt_OTOOL64 |
|
|
12875 |
|
|
|
12876 |
|
|
|
12877 |
libext=$libext |
|
|
12878 |
|
|
|
12879 |
|
|
|
12880 |
shrext_cmds=$lt_shrext_cmds |
|
|
12881 |
|
|
|
12882 |
|
|
|
12883 |
extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
|
12884 |
|
|
|
12885 |
|
|
|
12886 |
# restored at link time. |
|
|
12887 |
variables_saved_for_relink=$lt_variables_saved_for_relink |
|
|
12888 |
|
|
|
12889 |
|
|
|
12890 |
need_lib_prefix=$need_lib_prefix |
|
|
12891 |
|
|
|
12892 |
|
|
|
12893 |
need_version=$need_version |
|
|
12894 |
|
|
|
12895 |
|
|
|
12896 |
version_type=$version_type |
|
|
12897 |
|
|
|
12898 |
|
|
|
12899 |
runpath_var=$runpath_var |
|
|
12900 |
|
|
|
12901 |
|
|
|
12902 |
shlibpath_var=$shlibpath_var |
|
|
12903 |
|
|
|
12904 |
|
|
|
12905 |
shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
|
12906 |
|
|
|
12907 |
|
|
|
12908 |
libname_spec=$lt_libname_spec |
|
|
12909 |
|
|
|
12910 |
|
|
|
12911 |
# The last name is the one that the linker finds with -lNAME |
|
|
12912 |
library_names_spec=$lt_library_names_spec |
|
|
12913 |
|
|
|
12914 |
|
|
|
12915 |
soname_spec=$lt_soname_spec |
|
|
12916 |
|
|
|
12917 |
|
|
|
12918 |
postinstall_cmds=$lt_postinstall_cmds |
|
|
12919 |
|
|
|
12920 |
|
|
|
12921 |
postuninstall_cmds=$lt_postuninstall_cmds |
|
|
12922 |
|
|
|
12923 |
|
|
|
12924 |
finish_cmds=$lt_finish_cmds |
|
|
12925 |
|
|
|
12926 |
|
|
|
12927 |
# not shown. |
|
|
12928 |
finish_eval=$lt_finish_eval |
|
|
12929 |
|
|
|
12930 |
|
|
|
12931 |
hardcode_into_libs=$hardcode_into_libs |
|
|
12932 |
|
|
|
12933 |
|
|
|
12934 |
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
|
12935 |
|
|
|
12936 |
|
|
|
12937 |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
|
12938 |
|
|
|
12939 |
|
|
|
12940 |
dlopen_support=$enable_dlopen |
|
|
12941 |
|
|
|
12942 |
|
|
|
12943 |
dlopen_self=$enable_dlopen_self |
|
|
12944 |
|
|
|
12945 |
|
|
|
12946 |
dlopen_self_static=$enable_dlopen_self_static |
|
|
12947 |
|
|
|
12948 |
|
|
|
12949 |
old_striplib=$lt_old_striplib |
|
|
12950 |
striplib=$lt_striplib |
|
|
12951 |
|
|
|
12952 |
|
|
|
12953 |
|
|
|
12954 |
LD=$lt_LD |
|
|
12955 |
|
|
|
12956 |
|
|
|
12957 |
old_archive_cmds=$lt_old_archive_cmds |
|
|
12958 |
|
|
|
12959 |
|
|
|
12960 |
CC=$lt_compiler |
|
|
12961 |
|
|
|
12962 |
|
|
|
12963 |
with_gcc=$GCC |
|
|
12964 |
|
|
|
12965 |
|
|
|
12966 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
|
|
12967 |
|
|
|
12968 |
|
|
|
12969 |
wl=$lt_lt_prog_compiler_wl |
|
|
12970 |
|
|
|
12971 |
|
|
|
12972 |
pic_flag=$lt_lt_prog_compiler_pic |
|
|
12973 |
|
|
|
12974 |
|
|
|
12975 |
link_static_flag=$lt_lt_prog_compiler_static |
|
|
12976 |
|
|
|
12977 |
|
|
|
12978 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
|
|
12979 |
|
|
|
12980 |
|
|
|
12981 |
build_libtool_need_lc=$archive_cmds_need_lc |
|
|
12982 |
|
|
|
12983 |
|
|
|
12984 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes |
|
|
12985 |
|
|
|
12986 |
|
|
|
12987 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
|
|
12988 |
|
|
|
12989 |
|
|
|
12990 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec |
|
|
12991 |
|
|
|
12992 |
|
|
|
12993 |
compiler_needs_object=$lt_compiler_needs_object |
|
|
12994 |
|
|
|
12995 |
|
|
|
12996 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
|
|
12997 |
|
|
|
12998 |
|
|
|
12999 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
|
|
13000 |
|
|
|
13001 |
|
|
|
13002 |
archive_cmds=$lt_archive_cmds |
|
|
13003 |
archive_expsym_cmds=$lt_archive_expsym_cmds |
|
|
13004 |
|
|
|
13005 |
|
|
|
13006 |
# a shared archive. |
|
|
13007 |
module_cmds=$lt_module_cmds |
|
|
13008 |
module_expsym_cmds=$lt_module_expsym_cmds |
|
|
13009 |
|
|
|
13010 |
|
|
|
13011 |
with_gnu_ld=$lt_with_gnu_ld |
|
|
13012 |
|
|
|
13013 |
|
|
|
13014 |
allow_undefined_flag=$lt_allow_undefined_flag |
|
|
13015 |
|
|
|
13016 |
|
|
|
13017 |
no_undefined_flag=$lt_no_undefined_flag |
|
|
13018 |
|
|
|
13019 |
|
|
|
13020 |
# This must work even if \$libdir does not exist |
|
|
13021 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
|
|
13022 |
|
|
|
13023 |
|
|
|
13024 |
# during linking. This must work even if \$libdir does not exist. |
|
|
13025 |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld |
|
|
13026 |
|
|
|
13027 |
|
|
|
13028 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
|
|
13029 |
|
|
|
13030 |
|
|
|
13031 |
# DIR into the resulting binary. |
|
|
13032 |
hardcode_direct=$hardcode_direct |
|
|
13033 |
|
|
|
13034 |
|
|
|
13035 |
# DIR into the resulting binary and the resulting library dependency is |
|
|
13036 |
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
|
|
13037 |
# library is relocated. |
|
|
13038 |
hardcode_direct_absolute=$hardcode_direct_absolute |
|
|
13039 |
|
|
|
13040 |
|
|
|
13041 |
# into the resulting binary. |
|
|
13042 |
hardcode_minus_L=$hardcode_minus_L |
|
|
13043 |
|
|
|
13044 |
|
|
|
13045 |
# into the resulting binary. |
|
|
13046 |
hardcode_shlibpath_var=$hardcode_shlibpath_var |
|
|
13047 |
|
|
|
13048 |
|
|
|
13049 |
# into the library and all subsequent libraries and executables linked |
|
|
13050 |
# against it. |
|
|
13051 |
hardcode_automatic=$hardcode_automatic |
|
|
13052 |
|
|
|
13053 |
|
|
|
13054 |
# to runtime path list. |
|
|
13055 |
inherit_rpath=$inherit_rpath |
|
|
13056 |
|
|
|
13057 |
|
|
|
13058 |
link_all_deplibs=$link_all_deplibs |
|
|
13059 |
|
|
|
13060 |
|
|
|
13061 |
fix_srcfile_path=$lt_fix_srcfile_path |
|
|
13062 |
|
|
|
13063 |
|
|
|
13064 |
always_export_symbols=$always_export_symbols |
|
|
13065 |
|
|
|
13066 |
|
|
|
13067 |
export_symbols_cmds=$lt_export_symbols_cmds |
|
|
13068 |
|
|
|
13069 |
|
|
|
13070 |
exclude_expsyms=$lt_exclude_expsyms |
|
|
13071 |
|
|
|
13072 |
|
|
|
13073 |
include_expsyms=$lt_include_expsyms |
|
|
13074 |
|
|
|
13075 |
|
|
|
13076 |
prelink_cmds=$lt_prelink_cmds |
|
|
13077 |
|
|
|
13078 |
|
|
|
13079 |
file_list_spec=$lt_file_list_spec |
|
|
13080 |
|
|
|
13081 |
|
|
|
13082 |
hardcode_action=$hardcode_action |
|
|
13083 |
|
|
|
13084 |
|
|
|
13085 |
|
|
|
13086 |
|
|
|
13087 |
|
|
|
13088 |
|
|
|
13089 |
aix3*) |
|
|
13090 |
cat <<\_LT_EOF >> "$cfgfile" |
|
|
13091 |
# AIX sometimes has problems with the GCC collect2 program. For some |
|
|
13092 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
|
|
13093 |
# vanish in a puff of smoke. |
|
|
13094 |
if test "X${COLLECT_NAMES+set}" != Xset; then |
|
|
13095 |
COLLECT_NAMES= |
|
|
13096 |
export COLLECT_NAMES |
|
|
13097 |
fi |
|
|
13098 |
_LT_EOF |
|
|
13099 |
;; |
|
|
13100 |
esac |
|
|
13101 |
|
|
|
13102 |
|
|
|
13103 |
|
|
|
13104 |
|
|
|
13105 |
|
|
|
13106 |
|
|
|
13107 |
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
|
|
13108 |
# text mode, it properly converts lines to CR/LF. This bash problem |
|
|
13109 |
# is reportedly fixed, but why not run on old versions too? |
|
|
13110 |
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ |
|
|
13111 |
|| (rm -f "$cfgfile"; exit 1) |
|
|
13112 |
|
|
|
13113 |
|
|
|
13114 |
yes) |
|
|
13115 |
cat << \_LT_EOF >> "$cfgfile" |
|
|
13116 |
|
|
|
13117 |
|
|
|
13118 |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
|
|
13119 |
# otherwise set result to NONDIR_REPLACEMENT. |
|
|
13120 |
func_dirname () |
|
|
13121 |
{ |
|
|
13122 |
case ${1} in |
|
|
13123 |
*/*) func_dirname_result="${1%/*}${2}" ;; |
|
|
13124 |
* ) func_dirname_result="${3}" ;; |
|
|
13125 |
esac |
|
|
13126 |
} |
|
|
13127 |
|
|
|
13128 |
|
|
|
13129 |
func_basename () |
|
|
13130 |
{ |
|
|
13131 |
func_basename_result="${1##*/}" |
|
|
13132 |
} |
|
|
13133 |
|
|
|
13134 |
|
|
|
13135 |
# perform func_basename and func_dirname in a single function |
|
|
13136 |
# call: |
|
|
13137 |
# dirname: Compute the dirname of FILE. If nonempty, |
|
|
13138 |
# add APPEND to the result, otherwise set result |
|
|
13139 |
# to NONDIR_REPLACEMENT. |
|
|
13140 |
# value returned in "$func_dirname_result" |
|
|
13141 |
# basename: Compute filename of FILE. |
|
|
13142 |
# value retuned in "$func_basename_result" |
|
|
13143 |
# Implementation must be kept synchronized with func_dirname |
|
|
13144 |
# and func_basename. For efficiency, we do not delegate to |
|
|
13145 |
# those functions but instead duplicate the functionality here. |
|
|
13146 |
func_dirname_and_basename () |
|
|
13147 |
{ |
|
|
13148 |
case ${1} in |
|
|
13149 |
*/*) func_dirname_result="${1%/*}${2}" ;; |
|
|
13150 |
* ) func_dirname_result="${3}" ;; |
|
|
13151 |
esac |
|
|
13152 |
func_basename_result="${1##*/}" |
|
|
13153 |
} |
|
|
13154 |
|
|
|
13155 |
|
|
|
13156 |
# strip PREFIX and SUFFIX off of NAME. |
|
|
13157 |
# PREFIX and SUFFIX must not contain globbing or regex special |
|
|
13158 |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
|
|
13159 |
# dot (in which case that matches only a dot). |
|
|
13160 |
func_stripname () |
|
|
13161 |
{ |
|
|
13162 |
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are |
|
|
13163 |
# positional parameters, so assign one to ordinary parameter first. |
|
|
13164 |
func_stripname_result=${3} |
|
|
13165 |
func_stripname_result=${func_stripname_result#"${1}"} |
|
|
13166 |
func_stripname_result=${func_stripname_result%"${2}"} |
|
|
13167 |
} |
|
|
13168 |
|
|
|
13169 |
|
|
|
13170 |
func_opt_split () |
|
|
13171 |
{ |
|
|
13172 |
func_opt_split_opt=${1%%=*} |
|
|
13173 |
func_opt_split_arg=${1#*=} |
|
|
13174 |
} |
|
|
13175 |
|
|
|
13176 |
|
|
|
13177 |
func_lo2o () |
|
|
13178 |
{ |
|
|
13179 |
case ${1} in |
|
|
13180 |
*.lo) func_lo2o_result=${1%.lo}.${objext} ;; |
|
|
13181 |
*) func_lo2o_result=${1} ;; |
|
|
13182 |
esac |
|
|
13183 |
} |
|
|
13184 |
|
|
|
13185 |
|
|
|
13186 |
func_xform () |
|
|
13187 |
{ |
|
|
13188 |
func_xform_result=${1%.*}.lo |
|
|
13189 |
} |
|
|
13190 |
|
|
|
13191 |
|
|
|
13192 |
func_arith () |
|
|
13193 |
{ |
|
|
13194 |
func_arith_result=$(( $* )) |
|
|
13195 |
} |
|
|
13196 |
|
|
|
13197 |
|
|
|
13198 |
# STRING may not start with a hyphen. |
|
|
13199 |
func_len () |
|
|
13200 |
{ |
|
|
13201 |
func_len_result=${#1} |
|
|
13202 |
} |
|
|
13203 |
|
|
|
13204 |
|
|
|
13205 |
;; |
|
|
13206 |
*) # Bourne compatible functions. |
|
|
13207 |
cat << \_LT_EOF >> "$cfgfile" |
|
|
13208 |
|
|
|
13209 |
|
|
|
13210 |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
|
|
13211 |
# otherwise set result to NONDIR_REPLACEMENT. |
|
|
13212 |
func_dirname () |
|
|
13213 |
{ |
|
|
13214 |
# Extract subdirectory from the argument. |
|
|
13215 |
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` |
|
|
13216 |
if test "X$func_dirname_result" = "X${1}"; then |
|
|
13217 |
func_dirname_result="${3}" |
|
|
13218 |
else |
|
|
13219 |
func_dirname_result="$func_dirname_result${2}" |
|
|
13220 |
fi |
|
|
13221 |
} |
|
|
13222 |
|
|
|
13223 |
|
|
|
13224 |
func_basename () |
|
|
13225 |
{ |
|
|
13226 |
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` |
|
|
13227 |
} |
|
|
13228 |
|
|
|
13229 |
|
|
|
13230 |
|
|
|
13231 |
# strip PREFIX and SUFFIX off of NAME. |
|
|
13232 |
# PREFIX and SUFFIX must not contain globbing or regex special |
|
|
13233 |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
|
|
13234 |
# dot (in which case that matches only a dot). |
|
|
13235 |
# func_strip_suffix prefix name |
|
|
13236 |
func_stripname () |
|
|
13237 |
{ |
|
|
13238 |
case ${2} in |
|
|
13239 |
.*) func_stripname_result=`$ECHO "X${3}" \ |
|
|
13240 |
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; |
|
|
13241 |
*) func_stripname_result=`$ECHO "X${3}" \ |
|
|
13242 |
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; |
|
|
13243 |
esac |
|
|
13244 |
} |
|
|
13245 |
|
|
|
13246 |
|
|
|
13247 |
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' |
|
|
13248 |
my_sed_long_arg='1s/^-[^=]*=//' |
|
|
13249 |
|
|
|
13250 |
|
|
|
13251 |
func_opt_split () |
|
|
13252 |
{ |
|
|
13253 |
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` |
|
|
13254 |
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` |
|
|
13255 |
} |
|
|
13256 |
|
|
|
13257 |
|
|
|
13258 |
func_lo2o () |
|
|
13259 |
{ |
|
|
13260 |
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` |
|
|
13261 |
} |
|
|
13262 |
|
|
|
13263 |
|
|
|
13264 |
func_xform () |
|
|
13265 |
{ |
|
|
13266 |
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` |
|
|
13267 |
} |
|
|
13268 |
|
|
|
13269 |
|
|
|
13270 |
func_arith () |
|
|
13271 |
{ |
|
|
13272 |
func_arith_result=`expr "$@"` |
|
|
13273 |
} |
|
|
13274 |
|
|
|
13275 |
|
|
|
13276 |
# STRING may not start with a hyphen. |
|
|
13277 |
func_len () |
|
|
13278 |
{ |
|
|
13279 |
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` |
|
|
13280 |
} |
|
|
13281 |
|
|
|
13282 |
|
|
|
13283 |
esac |
|
|
13284 |
|
|
|
13285 |
|
|
|
13286 |
yes) |
|
|
13287 |
cat << \_LT_EOF >> "$cfgfile" |
|
|
13288 |
|
|
|
13289 |
|
|
|
13290 |
# Append VALUE to the end of shell variable VAR. |
|
|
13291 |
func_append () |
|
|
13292 |
{ |
|
|
13293 |
eval "$1+=\$2" |
|
|
13294 |
} |
|
|
13295 |
_LT_EOF |
|
|
13296 |
;; |
|
|
13297 |
*) |
|
|
13298 |
cat << \_LT_EOF >> "$cfgfile" |
|
|
13299 |
|
|
|
13300 |
|
|
|
13301 |
# Append VALUE to the end of shell variable VAR. |
|
|
13302 |
func_append () |
|
|
13303 |
{ |
|
|
13304 |
eval "$1=\$$1\$2" |
|
|
13305 |
} |
|
|
13306 |
|
|
|
13307 |
|
|
|
13308 |
;; |
|
|
13309 |
esac |
|
|
13310 |
|
|
|
13311 |
|
|
|
13312 |
|
|
|
13313 |
|| (rm -f "$cfgfile"; exit 1) |
|
|
13314 |
|
|
|
13315 |
|
|
|
13316 |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
|
|
13317 |
chmod +x "$ofile" |
|
|
13318 |
|
|
|
13319 |
|
|
|
13320 |
|
|
|
13321 |
|
|
|
13322 |
done # for ac_tag |
|
|
13323 |
|
|
|
13324 |
|
|
|
13325 |
|
|
|
13326 |
_ACEOF |
|
|
13327 |
chmod +x $CONFIG_STATUS |
|
|
13328 |
ac_clean_files=$ac_clean_files_save |
|
|
13329 |
|
|
|
13330 |
|
|
|
13331 |
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
|
|
13332 |
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} |
|
|
13333 |
{ (exit 1); exit 1; }; } |
|
|
13334 |
|
|
|
13335 |
|
|
|
13336 |
|
|
|
13337 |
# config.status does its own redirection, appending to config.log. |
|
|
13338 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
|
|
13339 |
# by configure, so config.status won't be able to write to it; its |
|
|
13340 |
# output is simply discarded. So we exec the FD to /dev/null, |
|
|
13341 |
# effectively closing config.log, so it can be properly (re)opened and |
|
|
13342 |
# appended to by config.status. When coming back to configure, we |
|
|
13343 |
# need to make the FD available again. |
|
|
13344 |
if test "$no_create" != yes; then |
|
|
13345 |
ac_cs_success=: |
|
|
13346 |
ac_config_status_args= |
|
|
13347 |
test "$silent" = yes && |
|
|
13348 |
ac_config_status_args="$ac_config_status_args --quiet" |
|
|
13349 |
exec 5>/dev/null |
|
|
13350 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
|
13351 |
exec 5>>config.log |
|
|
13352 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
|
13353 |
# would make configure fail if this is the last instruction. |
|
|
13354 |
$ac_cs_success || { (exit 1); exit 1; } |
|
|
13355 |
fi |
|
|
13356 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|
|
13357 |
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
|
|
13358 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|
|
13359 |
fi |
|
|
13360 |
|
|
|
13361 |
|