Mercurial > freewnn
comparison configure @ 17:a3fdd8ad75dc
2ch dictionary has been added
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Mon, 14 Apr 2008 17:01:14 +0900 |
parents | bbc77ca4def5 |
children | e7e2aba67cb3 |
comparison
equal
deleted
inserted
replaced
16:b0deba88e223 | 17:a3fdd8ad75dc |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
3 # Generated by GNU Autoconf 2.53. | 3 # Generated by GNU Autoconf 2.60. |
4 # | 4 # |
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 # Free Software Foundation, Inc. | 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
7 # This configure script is free software; the Free Software Foundation | 7 # This configure script is free software; the Free Software Foundation |
8 # gives unlimited permission to copy, distribute and modify it. | 8 # gives unlimited permission to copy, distribute and modify it. |
9 ## --------------------- ## | |
10 ## M4sh Initialization. ## | |
11 ## --------------------- ## | |
12 | |
13 # Be Bourne compatible | |
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
15 emulate sh | |
16 NULLCMD=: | |
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
18 # is contrary to our usage. Disable this feature. | |
19 alias -g '${1+"$@"}'='"$@"' | |
20 setopt NO_GLOB_SUBST | |
21 else | |
22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac | |
23 fi | |
24 BIN_SH=xpg4; export BIN_SH # for Tru64 | |
25 DUALCASE=1; export DUALCASE # for MKS sh | |
26 | |
27 | |
28 # PATH needs CR | |
29 # Avoid depending upon Character Ranges. | |
30 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
31 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
32 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
33 as_cr_digits='0123456789' | |
34 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
35 | |
36 # The user is always right. | |
37 if test "${PATH_SEPARATOR+set}" != set; then | |
38 echo "#! /bin/sh" >conf$$.sh | |
39 echo "exit 0" >>conf$$.sh | |
40 chmod +x conf$$.sh | |
41 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | |
42 PATH_SEPARATOR=';' | |
43 else | |
44 PATH_SEPARATOR=: | |
45 fi | |
46 rm -f conf$$.sh | |
47 fi | |
48 | |
49 # Support unset when possible. | |
50 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
51 as_unset=unset | |
52 else | |
53 as_unset=false | |
54 fi | |
55 | |
56 | |
57 # IFS | |
58 # We need space, tab and new line, in precisely that order. Quoting is | |
59 # there to prevent editors from complaining about space-tab. | |
60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
61 # splitting by setting IFS to empty value.) | |
62 as_nl=' | |
63 ' | |
64 IFS=" "" $as_nl" | |
65 | |
66 # Find who we are. Look in the path if we contain no directory separator. | |
67 case $0 in | |
68 *[\\/]* ) as_myself=$0 ;; | |
69 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
70 for as_dir in $PATH | |
71 do | |
72 IFS=$as_save_IFS | |
73 test -z "$as_dir" && as_dir=. | |
74 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
75 done | |
76 IFS=$as_save_IFS | |
77 | |
78 ;; | |
79 esac | |
80 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
81 # in which case we are not to be found in the path. | |
82 if test "x$as_myself" = x; then | |
83 as_myself=$0 | |
84 fi | |
85 if test ! -f "$as_myself"; then | |
86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
87 { (exit 1); exit 1; } | |
88 fi | |
89 | |
90 # Work around bugs in pre-3.0 UWIN ksh. | |
91 for as_var in ENV MAIL MAILPATH | |
92 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
93 done | |
94 PS1='$ ' | |
95 PS2='> ' | |
96 PS4='+ ' | |
97 | |
98 # NLS nuisances. | |
99 for as_var in \ | |
100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
102 LC_TELEPHONE LC_TIME | |
103 do | |
104 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
105 eval $as_var=C; export $as_var | |
106 else | |
107 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
108 fi | |
109 done | |
110 | |
111 # Required to use basename. | |
112 if expr a : '\(a\)' >/dev/null 2>&1 && | |
113 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
114 as_expr=expr | |
115 else | |
116 as_expr=false | |
117 fi | |
118 | |
119 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
120 as_basename=basename | |
121 else | |
122 as_basename=false | |
123 fi | |
124 | |
125 | |
126 # Name of the executable. | |
127 as_me=`$as_basename -- "$0" || | |
128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
129 X"$0" : 'X\(//\)$' \| \ | |
130 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
131 echo X/"$0" | | |
132 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
133 s//\1/ | |
134 q | |
135 } | |
136 /^X\/\(\/\/\)$/{ | |
137 s//\1/ | |
138 q | |
139 } | |
140 /^X\/\(\/\).*/{ | |
141 s//\1/ | |
142 q | |
143 } | |
144 s/.*/./; q'` | |
145 | |
146 # CDPATH. | |
147 $as_unset CDPATH | |
148 | |
149 | |
150 if test "x$CONFIG_SHELL" = x; then | |
151 if (eval ":") 2>/dev/null; then | |
152 as_have_required=yes | |
153 else | |
154 as_have_required=no | |
155 fi | |
156 | |
157 if test $as_have_required = yes && (eval ": | |
158 (as_func_return () { | |
159 (exit \$1) | |
160 } | |
161 as_func_success () { | |
162 as_func_return 0 | |
163 } | |
164 as_func_failure () { | |
165 as_func_return 1 | |
166 } | |
167 as_func_ret_success () { | |
168 return 0 | |
169 } | |
170 as_func_ret_failure () { | |
171 return 1 | |
172 } | |
173 | |
174 exitcode=0 | |
175 if as_func_success; then | |
176 : | |
177 else | |
178 exitcode=1 | |
179 echo as_func_success failed. | |
180 fi | |
181 | |
182 if as_func_failure; then | |
183 exitcode=1 | |
184 echo as_func_failure succeeded. | |
185 fi | |
186 | |
187 if as_func_ret_success; then | |
188 : | |
189 else | |
190 exitcode=1 | |
191 echo as_func_ret_success failed. | |
192 fi | |
193 | |
194 if as_func_ret_failure; then | |
195 exitcode=1 | |
196 echo as_func_ret_failure succeeded. | |
197 fi | |
198 | |
199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
200 : | |
201 else | |
202 exitcode=1 | |
203 echo positional parameters were not saved. | |
204 fi | |
205 | |
206 test \$exitcode = 0) || { (exit 1); exit 1; } | |
207 | |
208 ( | |
209 as_lineno_1=\$LINENO | |
210 as_lineno_2=\$LINENO | |
211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | |
212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | |
213 ") 2> /dev/null; then | |
214 : | |
215 else | |
216 as_candidate_shells= | |
217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
218 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
219 do | |
220 IFS=$as_save_IFS | |
221 test -z "$as_dir" && as_dir=. | |
222 case $as_dir in | |
223 /*) | |
224 for as_base in sh bash ksh sh5; do | |
225 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | |
226 done;; | |
227 esac | |
228 done | |
229 IFS=$as_save_IFS | |
230 | |
231 | |
232 for as_shell in $as_candidate_shells $SHELL; do | |
233 # Try only shells that exist, to save several forks. | |
234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
235 { ("$as_shell") 2> /dev/null <<\_ASEOF | |
236 # Be Bourne compatible | |
237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
238 emulate sh | |
239 NULLCMD=: | |
240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
241 # is contrary to our usage. Disable this feature. | |
242 alias -g '${1+"$@"}'='"$@"' | |
243 setopt NO_GLOB_SUBST | |
244 else | |
245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac | |
246 fi | |
247 BIN_SH=xpg4; export BIN_SH # for Tru64 | |
248 DUALCASE=1; export DUALCASE # for MKS sh | |
249 | |
250 : | |
251 _ASEOF | |
252 }; then | |
253 CONFIG_SHELL=$as_shell | |
254 as_have_required=yes | |
255 if { "$as_shell" 2> /dev/null <<\_ASEOF | |
256 # Be Bourne compatible | |
257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
258 emulate sh | |
259 NULLCMD=: | |
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
261 # is contrary to our usage. Disable this feature. | |
262 alias -g '${1+"$@"}'='"$@"' | |
263 setopt NO_GLOB_SUBST | |
264 else | |
265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac | |
266 fi | |
267 BIN_SH=xpg4; export BIN_SH # for Tru64 | |
268 DUALCASE=1; export DUALCASE # for MKS sh | |
269 | |
270 : | |
271 (as_func_return () { | |
272 (exit $1) | |
273 } | |
274 as_func_success () { | |
275 as_func_return 0 | |
276 } | |
277 as_func_failure () { | |
278 as_func_return 1 | |
279 } | |
280 as_func_ret_success () { | |
281 return 0 | |
282 } | |
283 as_func_ret_failure () { | |
284 return 1 | |
285 } | |
286 | |
287 exitcode=0 | |
288 if as_func_success; then | |
289 : | |
290 else | |
291 exitcode=1 | |
292 echo as_func_success failed. | |
293 fi | |
294 | |
295 if as_func_failure; then | |
296 exitcode=1 | |
297 echo as_func_failure succeeded. | |
298 fi | |
299 | |
300 if as_func_ret_success; then | |
301 : | |
302 else | |
303 exitcode=1 | |
304 echo as_func_ret_success failed. | |
305 fi | |
306 | |
307 if as_func_ret_failure; then | |
308 exitcode=1 | |
309 echo as_func_ret_failure succeeded. | |
310 fi | |
311 | |
312 if ( set x; as_func_ret_success y && test x = "$1" ); then | |
313 : | |
314 else | |
315 exitcode=1 | |
316 echo positional parameters were not saved. | |
317 fi | |
318 | |
319 test $exitcode = 0) || { (exit 1); exit 1; } | |
320 | |
321 ( | |
322 as_lineno_1=$LINENO | |
323 as_lineno_2=$LINENO | |
324 test "x$as_lineno_1" != "x$as_lineno_2" && | |
325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | |
326 | |
327 _ASEOF | |
328 }; then | |
329 break | |
330 fi | |
331 | |
332 fi | |
333 | |
334 done | |
335 | |
336 if test "x$CONFIG_SHELL" != x; then | |
337 for as_var in BASH_ENV ENV | |
338 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
339 done | |
340 export CONFIG_SHELL | |
341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
342 fi | |
343 | |
344 | |
345 if test $as_have_required = no; then | |
346 echo This script requires a shell more modern than all the | |
347 echo shells that I found on your system. Please install a | |
348 echo modern shell, or manually run the script under such a | |
349 echo shell if you do have one. | |
350 { (exit 1); exit 1; } | |
351 fi | |
352 | |
353 | |
354 fi | |
355 | |
356 fi | |
357 | |
358 | |
359 | |
360 (eval "as_func_return () { | |
361 (exit \$1) | |
362 } | |
363 as_func_success () { | |
364 as_func_return 0 | |
365 } | |
366 as_func_failure () { | |
367 as_func_return 1 | |
368 } | |
369 as_func_ret_success () { | |
370 return 0 | |
371 } | |
372 as_func_ret_failure () { | |
373 return 1 | |
374 } | |
375 | |
376 exitcode=0 | |
377 if as_func_success; then | |
378 : | |
379 else | |
380 exitcode=1 | |
381 echo as_func_success failed. | |
382 fi | |
383 | |
384 if as_func_failure; then | |
385 exitcode=1 | |
386 echo as_func_failure succeeded. | |
387 fi | |
388 | |
389 if as_func_ret_success; then | |
390 : | |
391 else | |
392 exitcode=1 | |
393 echo as_func_ret_success failed. | |
394 fi | |
395 | |
396 if as_func_ret_failure; then | |
397 exitcode=1 | |
398 echo as_func_ret_failure succeeded. | |
399 fi | |
400 | |
401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
402 : | |
403 else | |
404 exitcode=1 | |
405 echo positional parameters were not saved. | |
406 fi | |
407 | |
408 test \$exitcode = 0") || { | |
409 echo No shell found that supports shell functions. | |
410 echo Please tell autoconf@gnu.org about your system, | |
411 echo including any error possibly output before this | |
412 echo message | |
413 } | |
414 | |
415 | |
416 | |
417 as_lineno_1=$LINENO | |
418 as_lineno_2=$LINENO | |
419 test "x$as_lineno_1" != "x$as_lineno_2" && | |
420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
421 | |
422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
423 # uniformly replaced by the line number. The first 'sed' inserts a | |
424 # line-number line after each line using $LINENO; the second 'sed' | |
425 # does the real work. The second script uses 'N' to pair each | |
426 # line-number line with the line containing $LINENO, and appends | |
427 # trailing '-' during substitution so that $LINENO is not a special | |
428 # case at line end. | |
429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
430 # scripts with optimization help from Paolo Bonzini. Blame Lee | |
431 # E. McMahon (1931-1989) for sed's syntax. :-) | |
432 sed -n ' | |
433 p | |
434 /[$]LINENO/= | |
435 ' <$as_myself | | |
436 sed ' | |
437 s/[$]LINENO.*/&-/ | |
438 t lineno | |
439 b | |
440 :lineno | |
441 N | |
442 :loop | |
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
444 t loop | |
445 s/-\n.*// | |
446 ' >$as_me.lineno && | |
447 chmod +x "$as_me.lineno" || | |
448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
449 { (exit 1); exit 1; }; } | |
450 | |
451 # Don't try to exec as it changes $[0], causing all sort of problems | |
452 # (the dirname of $[0] is not the place where we might find the | |
453 # original and so on. Autoconf is especially sensitive to this). | |
454 . "./$as_me.lineno" | |
455 # Exit status is that of the last command. | |
456 exit | |
457 } | |
458 | |
459 | |
460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
461 as_dirname=dirname | |
462 else | |
463 as_dirname=false | |
464 fi | |
465 | |
466 ECHO_C= ECHO_N= ECHO_T= | |
467 case `echo -n x` in | |
468 -n*) | |
469 case `echo 'x\c'` in | |
470 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
471 *) ECHO_C='\c';; | |
472 esac;; | |
473 *) | |
474 ECHO_N='-n';; | |
475 esac | |
476 | |
477 if expr a : '\(a\)' >/dev/null 2>&1 && | |
478 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
479 as_expr=expr | |
480 else | |
481 as_expr=false | |
482 fi | |
483 | |
484 rm -f conf$$ conf$$.exe conf$$.file | |
485 if test -d conf$$.dir; then | |
486 rm -f conf$$.dir/conf$$.file | |
487 else | |
488 rm -f conf$$.dir | |
489 mkdir conf$$.dir | |
490 fi | |
491 echo >conf$$.file | |
492 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
493 as_ln_s='ln -s' | |
494 # ... but there are two gotchas: | |
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
497 # In both cases, we have to default to `cp -p'. | |
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
499 as_ln_s='cp -p' | |
500 elif ln conf$$.file conf$$ 2>/dev/null; then | |
501 as_ln_s=ln | |
502 else | |
503 as_ln_s='cp -p' | |
504 fi | |
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
506 rmdir conf$$.dir 2>/dev/null | |
507 | |
508 if mkdir -p . 2>/dev/null; then | |
509 as_mkdir_p=: | |
510 else | |
511 test -d ./-p && rmdir ./-p | |
512 as_mkdir_p=false | |
513 fi | |
514 | |
515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as | |
516 # systems may use methods other than mode bits to determine executability. | |
517 cat >conf$$.file <<_ASEOF | |
518 #! /bin/sh | |
519 exit 0 | |
520 _ASEOF | |
521 chmod +x conf$$.file | |
522 if test -x conf$$.file >/dev/null 2>&1; then | |
523 as_executable_p="test -x" | |
524 else | |
525 as_executable_p=: | |
526 fi | |
527 rm -f conf$$.file | |
528 | |
529 # Sed expression to map a string onto a valid CPP name. | |
530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
531 | |
532 # Sed expression to map a string onto a valid variable name. | |
533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
534 | |
535 | |
9 | 536 |
10 | 537 |
11 # Check that we are running under the correct shell. | 538 # Check that we are running under the correct shell. |
12 SHELL=${CONFIG_SHELL-/bin/sh} | 539 SHELL=${CONFIG_SHELL-/bin/sh} |
13 | 540 |
42 exit 0 | 569 exit 0 |
43 fi | 570 fi |
44 | 571 |
45 # The HP-UX ksh and POSIX shell print the target directory to stdout | 572 # The HP-UX ksh and POSIX shell print the target directory to stdout |
46 # if CDPATH is set. | 573 # if CDPATH is set. |
47 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi | 574 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
48 | 575 |
49 if test -z "$ECHO"; then | 576 if test -z "$ECHO"; then |
50 if test "X${echo_test_string+set}" != Xset; then | 577 if test "X${echo_test_string+set}" != Xset; then |
51 # find a string as large as possible, as long as the shell can cope with it | 578 # find a string as large as possible, as long as the shell can cope with it |
52 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do | 579 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
53 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... | 580 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
54 if (echo_test_string="`eval $cmd`") 2>/dev/null && | 581 if (echo_test_string=`eval $cmd`) 2>/dev/null && |
55 echo_test_string="`eval $cmd`" && | 582 echo_test_string=`eval $cmd` && |
56 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null | 583 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null |
57 then | 584 then |
58 break | 585 break |
59 fi | 586 fi |
60 done | 587 done |
155 fi | 682 fi |
156 | 683 |
157 | 684 |
158 | 685 |
159 | 686 |
160 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` | 687 tagnames=${tagnames+${tagnames},}CXX |
161 | 688 |
162 tagnames=`echo "$tagnames,F77" | sed 's/^,//'` | 689 tagnames=${tagnames+${tagnames},}F77 |
163 | 690 |
164 if expr a : '\(a\)' >/dev/null 2>&1; then | 691 exec 7<&0 </dev/null 6>&1 |
165 as_expr=expr | |
166 else | |
167 as_expr=false | |
168 fi | |
169 | |
170 | |
171 ## --------------------- ## | |
172 ## M4sh Initialization. ## | |
173 ## --------------------- ## | |
174 | |
175 # Be Bourne compatible | |
176 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
177 emulate sh | |
178 NULLCMD=: | |
179 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | |
180 set -o posix | |
181 fi | |
182 | |
183 # NLS nuisances. | |
184 # Support unset when possible. | |
185 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | |
186 as_unset=unset | |
187 else | |
188 as_unset=false | |
189 fi | |
190 | |
191 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && | |
192 { $as_unset LANG || test "${LANG+set}" != set; } || | |
193 { LANG=C; export LANG; } | |
194 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && | |
195 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || | |
196 { LC_ALL=C; export LC_ALL; } | |
197 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && | |
198 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || | |
199 { LC_TIME=C; export LC_TIME; } | |
200 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && | |
201 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || | |
202 { LC_CTYPE=C; export LC_CTYPE; } | |
203 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && | |
204 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || | |
205 { LANGUAGE=C; export LANGUAGE; } | |
206 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && | |
207 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || | |
208 { LC_COLLATE=C; export LC_COLLATE; } | |
209 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && | |
210 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || | |
211 { LC_NUMERIC=C; export LC_NUMERIC; } | |
212 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && | |
213 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || | |
214 { LC_MESSAGES=C; export LC_MESSAGES; } | |
215 | |
216 | |
217 # Name of the executable. | |
218 as_me=`(basename "$0") 2>/dev/null || | |
219 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
220 X"$0" : 'X\(//\)$' \| \ | |
221 X"$0" : 'X\(/\)$' \| \ | |
222 . : '\(.\)' 2>/dev/null || | |
223 echo X/"$0" | | |
224 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | |
225 /^X\/\(\/\/\)$/{ s//\1/; q; } | |
226 /^X\/\(\/\).*/{ s//\1/; q; } | |
227 s/.*/./; q'` | |
228 | |
229 # PATH needs CR, and LINENO needs CR and PATH. | |
230 # Avoid depending upon Character Ranges. | |
231 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
232 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
233 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
234 as_cr_digits='0123456789' | |
235 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
236 | |
237 # The user is always right. | |
238 if test "${PATH_SEPARATOR+set}" != set; then | |
239 echo "#! /bin/sh" >conftest.sh | |
240 echo "exit 0" >>conftest.sh | |
241 chmod +x conftest.sh | |
242 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then | |
243 PATH_SEPARATOR=';' | |
244 else | |
245 PATH_SEPARATOR=: | |
246 fi | |
247 rm -f conftest.sh | |
248 fi | |
249 | |
250 | |
251 as_lineno_1=$LINENO | |
252 as_lineno_2=$LINENO | |
253 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
254 test "x$as_lineno_1" != "x$as_lineno_2" && | |
255 test "x$as_lineno_3" = "x$as_lineno_2" || { | |
256 # Find who we are. Look in the path if we contain no path at all | |
257 # relative or not. | |
258 case $0 in | |
259 *[\\/]* ) as_myself=$0 ;; | |
260 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
261 for as_dir in $PATH | |
262 do | |
263 IFS=$as_save_IFS | |
264 test -z "$as_dir" && as_dir=. | |
265 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
266 done | |
267 | |
268 ;; | |
269 esac | |
270 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
271 # in which case we are not to be found in the path. | |
272 if test "x$as_myself" = x; then | |
273 as_myself=$0 | |
274 fi | |
275 if test ! -f "$as_myself"; then | |
276 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | |
277 { (exit 1); exit 1; }; } | |
278 fi | |
279 case $CONFIG_SHELL in | |
280 '') | |
281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
282 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
283 do | |
284 IFS=$as_save_IFS | |
285 test -z "$as_dir" && as_dir=. | |
286 for as_base in sh bash ksh sh5; do | |
287 case $as_dir in | |
288 /*) | |
289 if ("$as_dir/$as_base" -c ' | |
290 as_lineno_1=$LINENO | |
291 as_lineno_2=$LINENO | |
292 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
293 test "x$as_lineno_1" != "x$as_lineno_2" && | |
294 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | |
295 CONFIG_SHELL=$as_dir/$as_base | |
296 export CONFIG_SHELL | |
297 exec "$CONFIG_SHELL" "$0" ${1+"$@"} | |
298 fi;; | |
299 esac | |
300 done | |
301 done | |
302 ;; | |
303 esac | |
304 | |
305 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
306 # uniformly replaced by the line number. The first 'sed' inserts a | |
307 # line-number line before each line; the second 'sed' does the real | |
308 # work. The second script uses 'N' to pair each line-number line | |
309 # with the numbered line, and appends trailing '-' during | |
310 # substitution so that $LINENO is not a special case at line end. | |
311 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
312 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | |
313 sed '=' <$as_myself | | |
314 sed ' | |
315 N | |
316 s,$,-, | |
317 : loop | |
318 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
319 t loop | |
320 s,-$,, | |
321 s,^['$as_cr_digits']*\n,, | |
322 ' >$as_me.lineno && | |
323 chmod +x $as_me.lineno || | |
324 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
325 { (exit 1); exit 1; }; } | |
326 | |
327 # Don't try to exec as it changes $[0], causing all sort of problems | |
328 # (the dirname of $[0] is not the place where we might find the | |
329 # original and so on. Autoconf is especially sensible to this). | |
330 . ./$as_me.lineno | |
331 # Exit status is that of the last command. | |
332 exit | |
333 } | |
334 | |
335 | |
336 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | |
337 *c*,-n*) ECHO_N= ECHO_C=' | |
338 ' ECHO_T=' ' ;; | |
339 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | |
340 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | |
341 esac | |
342 | |
343 if expr a : '\(a\)' >/dev/null 2>&1; then | |
344 as_expr=expr | |
345 else | |
346 as_expr=false | |
347 fi | |
348 | |
349 rm -f conf$$ conf$$.exe conf$$.file | |
350 echo >conf$$.file | |
351 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
352 # We could just check for DJGPP; but this test a) works b) is more generic | |
353 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | |
354 if test -f conf$$.exe; then | |
355 # Don't use ln at all; we don't have any links | |
356 as_ln_s='cp -p' | |
357 else | |
358 as_ln_s='ln -s' | |
359 fi | |
360 elif ln conf$$.file conf$$ 2>/dev/null; then | |
361 as_ln_s=ln | |
362 else | |
363 as_ln_s='cp -p' | |
364 fi | |
365 rm -f conf$$ conf$$.exe conf$$.file | |
366 | |
367 as_executable_p="test -f" | |
368 | |
369 # Sed expression to map a string onto a valid CPP name. | |
370 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | |
371 | |
372 # Sed expression to map a string onto a valid variable name. | |
373 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | |
374 | |
375 | |
376 # IFS | |
377 # We need space, tab and new line, in precisely that order. | |
378 as_nl=' | |
379 ' | |
380 IFS=" $as_nl" | |
381 | |
382 # CDPATH. | |
383 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } | |
384 | |
385 | 692 |
386 # Name of the host. | 693 # Name of the host. |
387 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 694 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
388 # so uname gets run too. | 695 # so uname gets run too. |
389 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 696 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
390 | 697 |
391 exec 6>&1 | |
392 | |
393 # | 698 # |
394 # Initializations. | 699 # Initializations. |
395 # | 700 # |
396 ac_default_prefix=/usr/local | 701 ac_default_prefix=/usr/local |
702 ac_clean_files= | |
703 ac_config_libobj_dir=. | |
704 LIBOBJS= | |
397 cross_compiling=no | 705 cross_compiling=no |
398 subdirs= | 706 subdirs= |
399 MFLAGS= | 707 MFLAGS= |
400 MAKEFLAGS= | 708 MAKEFLAGS= |
401 SHELL=${CONFIG_SHELL-/bin/sh} | 709 SHELL=${CONFIG_SHELL-/bin/sh} |
402 | |
403 # Maximum number of lines to put in a shell here document. | |
404 # This variable seems obsolete. It should probably be removed, and | |
405 # only ac_max_sed_lines should be used. | |
406 : ${ac_max_here_lines=38} | |
407 | 710 |
408 # Identity of this package. | 711 # Identity of this package. |
409 PACKAGE_NAME= | 712 PACKAGE_NAME= |
410 PACKAGE_TARNAME= | 713 PACKAGE_TARNAME= |
411 PACKAGE_VERSION= | 714 PACKAGE_VERSION= |
439 #if HAVE_STRINGS_H | 742 #if HAVE_STRINGS_H |
440 # include <strings.h> | 743 # include <strings.h> |
441 #endif | 744 #endif |
442 #if HAVE_INTTYPES_H | 745 #if HAVE_INTTYPES_H |
443 # include <inttypes.h> | 746 # include <inttypes.h> |
444 #else | 747 #endif |
445 # if HAVE_STDINT_H | 748 #if HAVE_STDINT_H |
446 # include <stdint.h> | 749 # include <stdint.h> |
447 # endif | |
448 #endif | 750 #endif |
449 #if HAVE_UNISTD_H | 751 #if HAVE_UNISTD_H |
450 # include <unistd.h> | 752 # include <unistd.h> |
451 #endif" | 753 #endif" |
754 | |
755 ac_subst_vars='SHELL | |
756 PATH_SEPARATOR | |
757 PACKAGE_NAME | |
758 PACKAGE_TARNAME | |
759 PACKAGE_VERSION | |
760 PACKAGE_STRING | |
761 PACKAGE_BUGREPORT | |
762 exec_prefix | |
763 prefix | |
764 program_transform_name | |
765 bindir | |
766 sbindir | |
767 libexecdir | |
768 datarootdir | |
769 datadir | |
770 sysconfdir | |
771 sharedstatedir | |
772 localstatedir | |
773 includedir | |
774 oldincludedir | |
775 docdir | |
776 infodir | |
777 htmldir | |
778 dvidir | |
779 pdfdir | |
780 psdir | |
781 libdir | |
782 localedir | |
783 mandir | |
784 DEFS | |
785 ECHO_C | |
786 ECHO_N | |
787 ECHO_T | |
788 LIBS | |
789 build_alias | |
790 host_alias | |
791 target_alias | |
792 build | |
793 build_cpu | |
794 build_vendor | |
795 build_os | |
796 host | |
797 host_cpu | |
798 host_vendor | |
799 host_os | |
800 SUBDIRS | |
801 WNNMANDIR | |
802 Wnn | |
803 JSERVER_SUBDIRS2 | |
804 cWnn | |
805 kWnn | |
806 WNNJLIB | |
807 DEPWNNJLIB | |
808 HINSI_DATA | |
809 CWNNJLIB | |
810 DEPCWNNJLIB | |
811 CHINSI_DATA | |
812 THINSI_DATA | |
813 KWNNJLIB | |
814 DEPKWNNJLIB | |
815 KHINSI_DATA | |
816 ipv6 | |
817 unsafe_path | |
818 CC | |
819 CFLAGS | |
820 LDFLAGS | |
821 CPPFLAGS | |
822 ac_ct_CC | |
823 EXEEXT | |
824 OBJEXT | |
825 CCOPTIONS | |
826 CDEBUGFLAGS | |
827 INSTPGMFLAGS | |
828 CPP | |
829 INSTALL_PROGRAM | |
830 INSTALL_SCRIPT | |
831 INSTALL_DATA | |
832 LN_S | |
833 SET_MAKE | |
834 GREP | |
835 EGREP | |
836 ECHO | |
837 AR | |
838 RANLIB | |
839 STRIP | |
840 CXX | |
841 CXXFLAGS | |
842 ac_ct_CXX | |
843 CXXCPP | |
844 F77 | |
845 FFLAGS | |
846 ac_ct_F77 | |
847 LIBTOOL | |
848 LIBTOOL_DEPS | |
849 XMKMF | |
850 TERMLIB | |
851 CNVFILE_SUBDIR | |
852 LIBOBJS | |
853 JS_SUPPORTOBJS | |
854 WRAPLIB | |
855 LTLIBOBJS' | |
856 ac_subst_files='' | |
857 ac_precious_vars='build_alias | |
858 host_alias | |
859 target_alias | |
860 CC | |
861 CFLAGS | |
862 LDFLAGS | |
863 CPPFLAGS | |
864 CPP | |
865 CXX | |
866 CXXFLAGS | |
867 CCC | |
868 CXXCPP | |
869 F77 | |
870 FFLAGS | |
871 XMKMF' | |
452 | 872 |
453 | 873 |
454 # Initialize some variables set by options. | 874 # Initialize some variables set by options. |
455 ac_init_help= | 875 ac_init_help= |
456 ac_init_version=false | 876 ac_init_version=false |
474 # Installation directory options. | 894 # Installation directory options. |
475 # These are left unexpanded so users can "make install exec_prefix=/foo" | 895 # These are left unexpanded so users can "make install exec_prefix=/foo" |
476 # and all the variables that are supposed to be based on exec_prefix | 896 # and all the variables that are supposed to be based on exec_prefix |
477 # by default will actually change. | 897 # by default will actually change. |
478 # Use braces instead of parens because sh, perl, etc. also accept them. | 898 # Use braces instead of parens because sh, perl, etc. also accept them. |
899 # (The list follows the same order as the GNU Coding Standards.) | |
479 bindir='${exec_prefix}/bin' | 900 bindir='${exec_prefix}/bin' |
480 sbindir='${exec_prefix}/sbin' | 901 sbindir='${exec_prefix}/sbin' |
481 libexecdir='${exec_prefix}/libexec' | 902 libexecdir='${exec_prefix}/libexec' |
482 datadir='${prefix}/share' | 903 datarootdir='${prefix}/share' |
904 datadir='${datarootdir}' | |
483 sysconfdir='${prefix}/etc' | 905 sysconfdir='${prefix}/etc' |
484 sharedstatedir='${prefix}/com' | 906 sharedstatedir='${prefix}/com' |
485 localstatedir='${prefix}/var' | 907 localstatedir='${prefix}/var' |
486 libdir='${exec_prefix}/lib' | |
487 includedir='${prefix}/include' | 908 includedir='${prefix}/include' |
488 oldincludedir='/usr/include' | 909 oldincludedir='/usr/include' |
489 infodir='${prefix}/info' | 910 docdir='${datarootdir}/doc/${PACKAGE}' |
490 mandir='${prefix}/man' | 911 infodir='${datarootdir}/info' |
912 htmldir='${docdir}' | |
913 dvidir='${docdir}' | |
914 pdfdir='${docdir}' | |
915 psdir='${docdir}' | |
916 libdir='${exec_prefix}/lib' | |
917 localedir='${datarootdir}/locale' | |
918 mandir='${datarootdir}/man' | |
491 | 919 |
492 ac_prev= | 920 ac_prev= |
921 ac_dashdash= | |
493 for ac_option | 922 for ac_option |
494 do | 923 do |
495 # If the previous option needs an argument, assign it. | 924 # If the previous option needs an argument, assign it. |
496 if test -n "$ac_prev"; then | 925 if test -n "$ac_prev"; then |
497 eval "$ac_prev=\$ac_option" | 926 eval $ac_prev=\$ac_option |
498 ac_prev= | 927 ac_prev= |
499 continue | 928 continue |
500 fi | 929 fi |
501 | 930 |
502 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | 931 case $ac_option in |
932 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
933 *) ac_optarg=yes ;; | |
934 esac | |
503 | 935 |
504 # Accept the important Cygnus configure options, so we can diagnose typos. | 936 # Accept the important Cygnus configure options, so we can diagnose typos. |
505 | 937 |
506 case $ac_option in | 938 case $ac_dashdash$ac_option in |
939 --) | |
940 ac_dashdash=yes ;; | |
507 | 941 |
508 -bindir | --bindir | --bindi | --bind | --bin | --bi) | 942 -bindir | --bindir | --bindi | --bind | --bin | --bi) |
509 ac_prev=bindir ;; | 943 ac_prev=bindir ;; |
510 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 944 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
511 bindir=$ac_optarg ;; | 945 bindir=$ac_optarg ;; |
523 cache_file=$ac_optarg ;; | 957 cache_file=$ac_optarg ;; |
524 | 958 |
525 --config-cache | -C) | 959 --config-cache | -C) |
526 cache_file=config.cache ;; | 960 cache_file=config.cache ;; |
527 | 961 |
528 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 962 -datadir | --datadir | --datadi | --datad) |
529 ac_prev=datadir ;; | 963 ac_prev=datadir ;; |
530 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 964 -datadir=* | --datadir=* | --datadi=* | --datad=*) |
531 | --da=*) | |
532 datadir=$ac_optarg ;; | 965 datadir=$ac_optarg ;; |
966 | |
967 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
968 | --dataroo | --dataro | --datar) | |
969 ac_prev=datarootdir ;; | |
970 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
971 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
972 datarootdir=$ac_optarg ;; | |
533 | 973 |
534 -disable-* | --disable-*) | 974 -disable-* | --disable-*) |
535 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 975 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
536 # Reject names that are not valid shell variable names. | 976 # Reject names that are not valid shell variable names. |
537 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 977 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
538 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 978 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
539 { (exit 1); exit 1; }; } | 979 { (exit 1); exit 1; }; } |
540 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 980 ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
541 eval "enable_$ac_feature=no" ;; | 981 eval enable_$ac_feature=no ;; |
982 | |
983 -docdir | --docdir | --docdi | --doc | --do) | |
984 ac_prev=docdir ;; | |
985 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
986 docdir=$ac_optarg ;; | |
987 | |
988 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
989 ac_prev=dvidir ;; | |
990 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
991 dvidir=$ac_optarg ;; | |
542 | 992 |
543 -enable-* | --enable-*) | 993 -enable-* | --enable-*) |
544 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 994 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
545 # Reject names that are not valid shell variable names. | 995 # Reject names that are not valid shell variable names. |
546 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 996 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
547 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 997 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
548 { (exit 1); exit 1; }; } | 998 { (exit 1); exit 1; }; } |
549 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 999 ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
550 case $ac_option in | 1000 eval enable_$ac_feature=\$ac_optarg ;; |
551 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
552 *) ac_optarg=yes ;; | |
553 esac | |
554 eval "enable_$ac_feature='$ac_optarg'" ;; | |
555 | 1001 |
556 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 1002 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
557 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 1003 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
558 | --exec | --exe | --ex) | 1004 | --exec | --exe | --ex) |
559 ac_prev=exec_prefix ;; | 1005 ac_prev=exec_prefix ;; |
576 -host | --host | --hos | --ho) | 1022 -host | --host | --hos | --ho) |
577 ac_prev=host_alias ;; | 1023 ac_prev=host_alias ;; |
578 -host=* | --host=* | --hos=* | --ho=*) | 1024 -host=* | --host=* | --hos=* | --ho=*) |
579 host_alias=$ac_optarg ;; | 1025 host_alias=$ac_optarg ;; |
580 | 1026 |
1027 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
1028 ac_prev=htmldir ;; | |
1029 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
1030 | --ht=*) | |
1031 htmldir=$ac_optarg ;; | |
1032 | |
581 -includedir | --includedir | --includedi | --included | --include \ | 1033 -includedir | --includedir | --includedi | --included | --include \ |
582 | --includ | --inclu | --incl | --inc) | 1034 | --includ | --inclu | --incl | --inc) |
583 ac_prev=includedir ;; | 1035 ac_prev=includedir ;; |
584 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 1036 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
585 | --includ=* | --inclu=* | --incl=* | --inc=*) | 1037 | --includ=* | --inclu=* | --incl=* | --inc=*) |
600 ac_prev=libexecdir ;; | 1052 ac_prev=libexecdir ;; |
601 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 1053 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
602 | --libexe=* | --libex=* | --libe=*) | 1054 | --libexe=* | --libex=* | --libe=*) |
603 libexecdir=$ac_optarg ;; | 1055 libexecdir=$ac_optarg ;; |
604 | 1056 |
1057 -localedir | --localedir | --localedi | --localed | --locale) | |
1058 ac_prev=localedir ;; | |
1059 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
1060 localedir=$ac_optarg ;; | |
1061 | |
605 -localstatedir | --localstatedir | --localstatedi | --localstated \ | 1062 -localstatedir | --localstatedir | --localstatedi | --localstated \ |
606 | --localstate | --localstat | --localsta | --localst \ | 1063 | --localstate | --localstat | --localsta | --localst | --locals) |
607 | --locals | --local | --loca | --loc | --lo) | |
608 ac_prev=localstatedir ;; | 1064 ac_prev=localstatedir ;; |
609 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 1065 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
610 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 1066 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
611 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | |
612 localstatedir=$ac_optarg ;; | 1067 localstatedir=$ac_optarg ;; |
613 | 1068 |
614 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 1069 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
615 ac_prev=mandir ;; | 1070 ac_prev=mandir ;; |
616 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 1071 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
671 | --program-transfo=* | --program-transf=* \ | 1126 | --program-transfo=* | --program-transf=* \ |
672 | --program-trans=* | --program-tran=* \ | 1127 | --program-trans=* | --program-tran=* \ |
673 | --progr-tra=* | --program-tr=* | --program-t=*) | 1128 | --progr-tra=* | --program-tr=* | --program-t=*) |
674 program_transform_name=$ac_optarg ;; | 1129 program_transform_name=$ac_optarg ;; |
675 | 1130 |
1131 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
1132 ac_prev=pdfdir ;; | |
1133 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
1134 pdfdir=$ac_optarg ;; | |
1135 | |
1136 -psdir | --psdir | --psdi | --psd | --ps) | |
1137 ac_prev=psdir ;; | |
1138 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
1139 psdir=$ac_optarg ;; | |
1140 | |
676 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1141 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
677 | -silent | --silent | --silen | --sile | --sil) | 1142 | -silent | --silent | --silen | --sile | --sil) |
678 silent=yes ;; | 1143 silent=yes ;; |
679 | 1144 |
680 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 1145 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
727 # Reject names that are not valid shell variable names. | 1192 # Reject names that are not valid shell variable names. |
728 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 1193 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
729 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1194 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
730 { (exit 1); exit 1; }; } | 1195 { (exit 1); exit 1; }; } |
731 ac_package=`echo $ac_package| sed 's/-/_/g'` | 1196 ac_package=`echo $ac_package| sed 's/-/_/g'` |
732 case $ac_option in | 1197 eval with_$ac_package=\$ac_optarg ;; |
733 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
734 *) ac_optarg=yes ;; | |
735 esac | |
736 eval "with_$ac_package='$ac_optarg'" ;; | |
737 | 1198 |
738 -without-* | --without-*) | 1199 -without-* | --without-*) |
739 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1200 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
740 # Reject names that are not valid shell variable names. | 1201 # Reject names that are not valid shell variable names. |
741 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 1202 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
742 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1203 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
743 { (exit 1); exit 1; }; } | 1204 { (exit 1); exit 1; }; } |
744 ac_package=`echo $ac_package | sed 's/-/_/g'` | 1205 ac_package=`echo $ac_package | sed 's/-/_/g'` |
745 eval "with_$ac_package=no" ;; | 1206 eval with_$ac_package=no ;; |
746 | 1207 |
747 --x) | 1208 --x) |
748 # Obsolete; use --with-x. | 1209 # Obsolete; use --with-x. |
749 with_x=yes ;; | 1210 with_x=yes ;; |
750 | 1211 |
771 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1232 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
772 # Reject names that are not valid shell variable names. | 1233 # Reject names that are not valid shell variable names. |
773 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 1234 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
774 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 1235 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
775 { (exit 1); exit 1; }; } | 1236 { (exit 1); exit 1; }; } |
776 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 1237 eval $ac_envvar=\$ac_optarg |
777 eval "$ac_envvar='$ac_optarg'" | |
778 export $ac_envvar ;; | 1238 export $ac_envvar ;; |
779 | 1239 |
780 *) | 1240 *) |
781 # FIXME: should be removed in autoconf 3.0. | 1241 # FIXME: should be removed in autoconf 3.0. |
782 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1242 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
792 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1252 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
793 { echo "$as_me: error: missing argument to $ac_option" >&2 | 1253 { echo "$as_me: error: missing argument to $ac_option" >&2 |
794 { (exit 1); exit 1; }; } | 1254 { (exit 1); exit 1; }; } |
795 fi | 1255 fi |
796 | 1256 |
797 # Be sure to have absolute paths. | 1257 # Be sure to have absolute directory names. |
798 for ac_var in exec_prefix prefix | 1258 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1259 datadir sysconfdir sharedstatedir localstatedir includedir \ | |
1260 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
1261 libdir localedir mandir | |
799 do | 1262 do |
800 eval ac_val=$`echo $ac_var` | 1263 eval ac_val=\$$ac_var |
801 case $ac_val in | 1264 case $ac_val in |
802 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | 1265 [\\/$]* | ?:[\\/]* ) continue;; |
803 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 1266 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
804 { (exit 1); exit 1; }; };; | |
805 esac | 1267 esac |
806 done | 1268 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
807 | 1269 { (exit 1); exit 1; }; } |
808 # Be sure to have absolute paths. | |
809 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | |
810 localstatedir libdir includedir oldincludedir infodir mandir | |
811 do | |
812 eval ac_val=$`echo $ac_var` | |
813 case $ac_val in | |
814 [\\/$]* | ?:[\\/]* ) ;; | |
815 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
816 { (exit 1); exit 1; }; };; | |
817 esac | |
818 done | 1270 done |
819 | 1271 |
820 # There might be people who depend on the old broken behavior: `$host' | 1272 # There might be people who depend on the old broken behavior: `$host' |
821 # used to hold the argument of --host etc. | 1273 # used to hold the argument of --host etc. |
822 # FIXME: To remove some day. | 1274 # FIXME: To remove some day. |
839 test -n "$host_alias" && ac_tool_prefix=$host_alias- | 1291 test -n "$host_alias" && ac_tool_prefix=$host_alias- |
840 | 1292 |
841 test "$silent" = yes && exec 6>/dev/null | 1293 test "$silent" = yes && exec 6>/dev/null |
842 | 1294 |
843 | 1295 |
1296 ac_pwd=`pwd` && test -n "$ac_pwd" && | |
1297 ac_ls_di=`ls -di .` && | |
1298 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
1299 { echo "$as_me: error: Working directory cannot be determined" >&2 | |
1300 { (exit 1); exit 1; }; } | |
1301 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
1302 { echo "$as_me: error: pwd does not report name of working directory" >&2 | |
1303 { (exit 1); exit 1; }; } | |
1304 | |
1305 | |
844 # Find the source files, if location was not specified. | 1306 # Find the source files, if location was not specified. |
845 if test -z "$srcdir"; then | 1307 if test -z "$srcdir"; then |
846 ac_srcdir_defaulted=yes | 1308 ac_srcdir_defaulted=yes |
847 # Try the directory containing this script, then its parent. | 1309 # Try the directory containing this script, then the parent directory. |
848 ac_confdir=`(dirname "$0") 2>/dev/null || | 1310 ac_confdir=`$as_dirname -- "$0" || |
849 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 1311 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
850 X"$0" : 'X\(//\)[^/]' \| \ | 1312 X"$0" : 'X\(//\)[^/]' \| \ |
851 X"$0" : 'X\(//\)$' \| \ | 1313 X"$0" : 'X\(//\)$' \| \ |
852 X"$0" : 'X\(/\)' \| \ | 1314 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
853 . : '\(.\)' 2>/dev/null || | |
854 echo X"$0" | | 1315 echo X"$0" | |
855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 1316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
856 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 1317 s//\1/ |
857 /^X\(\/\/\)$/{ s//\1/; q; } | 1318 q |
858 /^X\(\/\).*/{ s//\1/; q; } | 1319 } |
859 s/.*/./; q'` | 1320 /^X\(\/\/\)[^/].*/{ |
1321 s//\1/ | |
1322 q | |
1323 } | |
1324 /^X\(\/\/\)$/{ | |
1325 s//\1/ | |
1326 q | |
1327 } | |
1328 /^X\(\/\).*/{ | |
1329 s//\1/ | |
1330 q | |
1331 } | |
1332 s/.*/./; q'` | |
860 srcdir=$ac_confdir | 1333 srcdir=$ac_confdir |
861 if test ! -r $srcdir/$ac_unique_file; then | 1334 if test ! -r "$srcdir/$ac_unique_file"; then |
862 srcdir=.. | 1335 srcdir=.. |
863 fi | 1336 fi |
864 else | 1337 else |
865 ac_srcdir_defaulted=no | 1338 ac_srcdir_defaulted=no |
866 fi | 1339 fi |
867 if test ! -r $srcdir/$ac_unique_file; then | 1340 if test ! -r "$srcdir/$ac_unique_file"; then |
868 if test "$ac_srcdir_defaulted" = yes; then | 1341 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
869 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 1342 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
870 { (exit 1); exit 1; }; } | 1343 { (exit 1); exit 1; }; } |
871 else | 1344 fi |
872 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 1345 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1346 ac_abs_confdir=`( | |
1347 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 | |
873 { (exit 1); exit 1; }; } | 1348 { (exit 1); exit 1; }; } |
874 fi | 1349 pwd)` |
875 fi | 1350 # When building in place, set srcdir=. |
876 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 1351 if test "$ac_abs_confdir" = "$ac_pwd"; then |
877 ac_env_build_alias_set=${build_alias+set} | 1352 srcdir=. |
878 ac_env_build_alias_value=$build_alias | 1353 fi |
879 ac_cv_env_build_alias_set=${build_alias+set} | 1354 # Remove unnecessary trailing slashes from srcdir. |
880 ac_cv_env_build_alias_value=$build_alias | 1355 # Double slashes in file names in object file debugging info |
881 ac_env_host_alias_set=${host_alias+set} | 1356 # mess up M-x gdb in Emacs. |
882 ac_env_host_alias_value=$host_alias | 1357 case $srcdir in |
883 ac_cv_env_host_alias_set=${host_alias+set} | 1358 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
884 ac_cv_env_host_alias_value=$host_alias | 1359 esac |
885 ac_env_target_alias_set=${target_alias+set} | 1360 for ac_var in $ac_precious_vars; do |
886 ac_env_target_alias_value=$target_alias | 1361 eval ac_env_${ac_var}_set=\${${ac_var}+set} |
887 ac_cv_env_target_alias_set=${target_alias+set} | 1362 eval ac_env_${ac_var}_value=\$${ac_var} |
888 ac_cv_env_target_alias_value=$target_alias | 1363 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
889 ac_env_CC_set=${CC+set} | 1364 eval ac_cv_env_${ac_var}_value=\$${ac_var} |
890 ac_env_CC_value=$CC | 1365 done |
891 ac_cv_env_CC_set=${CC+set} | |
892 ac_cv_env_CC_value=$CC | |
893 ac_env_CFLAGS_set=${CFLAGS+set} | |
894 ac_env_CFLAGS_value=$CFLAGS | |
895 ac_cv_env_CFLAGS_set=${CFLAGS+set} | |
896 ac_cv_env_CFLAGS_value=$CFLAGS | |
897 ac_env_LDFLAGS_set=${LDFLAGS+set} | |
898 ac_env_LDFLAGS_value=$LDFLAGS | |
899 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | |
900 ac_cv_env_LDFLAGS_value=$LDFLAGS | |
901 ac_env_CPPFLAGS_set=${CPPFLAGS+set} | |
902 ac_env_CPPFLAGS_value=$CPPFLAGS | |
903 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | |
904 ac_cv_env_CPPFLAGS_value=$CPPFLAGS | |
905 ac_env_CPP_set=${CPP+set} | |
906 ac_env_CPP_value=$CPP | |
907 ac_cv_env_CPP_set=${CPP+set} | |
908 ac_cv_env_CPP_value=$CPP | |
909 ac_env_CXX_set=${CXX+set} | |
910 ac_env_CXX_value=$CXX | |
911 ac_cv_env_CXX_set=${CXX+set} | |
912 ac_cv_env_CXX_value=$CXX | |
913 ac_env_CXXFLAGS_set=${CXXFLAGS+set} | |
914 ac_env_CXXFLAGS_value=$CXXFLAGS | |
915 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} | |
916 ac_cv_env_CXXFLAGS_value=$CXXFLAGS | |
917 ac_env_CXXCPP_set=${CXXCPP+set} | |
918 ac_env_CXXCPP_value=$CXXCPP | |
919 ac_cv_env_CXXCPP_set=${CXXCPP+set} | |
920 ac_cv_env_CXXCPP_value=$CXXCPP | |
921 ac_env_F77_set=${F77+set} | |
922 ac_env_F77_value=$F77 | |
923 ac_cv_env_F77_set=${F77+set} | |
924 ac_cv_env_F77_value=$F77 | |
925 ac_env_FFLAGS_set=${FFLAGS+set} | |
926 ac_env_FFLAGS_value=$FFLAGS | |
927 ac_cv_env_FFLAGS_set=${FFLAGS+set} | |
928 ac_cv_env_FFLAGS_value=$FFLAGS | |
929 | 1366 |
930 # | 1367 # |
931 # Report the --help message. | 1368 # Report the --help message. |
932 # | 1369 # |
933 if test "$ac_init_help" = "long"; then | 1370 if test "$ac_init_help" = "long"; then |
952 --cache-file=FILE cache test results in FILE [disabled] | 1389 --cache-file=FILE cache test results in FILE [disabled] |
953 -C, --config-cache alias for \`--cache-file=config.cache' | 1390 -C, --config-cache alias for \`--cache-file=config.cache' |
954 -n, --no-create do not create output files | 1391 -n, --no-create do not create output files |
955 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1392 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
956 | 1393 |
957 _ACEOF | |
958 | |
959 cat <<_ACEOF | |
960 Installation directories: | 1394 Installation directories: |
961 --prefix=PREFIX install architecture-independent files in PREFIX | 1395 --prefix=PREFIX install architecture-independent files in PREFIX |
962 [$ac_default_prefix] | 1396 [$ac_default_prefix] |
963 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | 1397 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
964 [PREFIX] | 1398 [PREFIX] |
965 | 1399 |
966 By default, \`make install' will install all the files in | 1400 By default, \`make install' will install all the files in |
967 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | 1401 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
968 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 1402 an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
969 for instance \`--prefix=\$HOME'. | 1403 for instance \`--prefix=\$HOME'. |
972 | 1406 |
973 Fine tuning of the installation directories: | 1407 Fine tuning of the installation directories: |
974 --bindir=DIR user executables [EPREFIX/bin] | 1408 --bindir=DIR user executables [EPREFIX/bin] |
975 --sbindir=DIR system admin executables [EPREFIX/sbin] | 1409 --sbindir=DIR system admin executables [EPREFIX/sbin] |
976 --libexecdir=DIR program executables [EPREFIX/libexec] | 1410 --libexecdir=DIR program executables [EPREFIX/libexec] |
977 --datadir=DIR read-only architecture-independent data [PREFIX/share] | |
978 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 1411 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
979 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 1412 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
980 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 1413 --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
981 --libdir=DIR object code libraries [EPREFIX/lib] | 1414 --libdir=DIR object code libraries [EPREFIX/lib] |
982 --includedir=DIR C header files [PREFIX/include] | 1415 --includedir=DIR C header files [PREFIX/include] |
983 --oldincludedir=DIR C header files for non-gcc [/usr/include] | 1416 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
984 --infodir=DIR info documentation [PREFIX/info] | 1417 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
985 --mandir=DIR man documentation [PREFIX/man] | 1418 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1419 --infodir=DIR info documentation [DATAROOTDIR/info] | |
1420 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1421 --mandir=DIR man documentation [DATAROOTDIR/man] | |
1422 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | |
1423 --htmldir=DIR html documentation [DOCDIR] | |
1424 --dvidir=DIR dvi documentation [DOCDIR] | |
1425 --pdfdir=DIR pdf documentation [DOCDIR] | |
1426 --psdir=DIR ps documentation [DOCDIR] | |
986 _ACEOF | 1427 _ACEOF |
987 | 1428 |
988 cat <<\_ACEOF | 1429 cat <<\_ACEOF |
989 | 1430 |
990 X features: | 1431 X features: |
1012 --enable-Wnn build and install Wnn [default=yes] | 1453 --enable-Wnn build and install Wnn [default=yes] |
1013 --enable-cWnn build and install cWnn [default=yes] | 1454 --enable-cWnn build and install cWnn [default=yes] |
1014 --enable-kWnn build and install kWnn [default=yes] | 1455 --enable-kWnn build and install kWnn [default=yes] |
1015 --enable-ipv6 build and install IPv6 [default=no] | 1456 --enable-ipv6 build and install IPv6 [default=no] |
1016 --enable-unsafe-path allow creating files in an arbitrary path [default=no] | 1457 --enable-unsafe-path allow creating files in an arbitrary path [default=no] |
1017 --enable-shared[=PKGS] | 1458 --enable-shared[=PKGS] build shared libraries [default=yes] |
1018 build shared libraries [default=yes] | 1459 --enable-static[=PKGS] build static libraries [default=yes] |
1019 --enable-static[=PKGS] | |
1020 build static libraries [default=yes] | |
1021 --enable-fast-install[=PKGS] | 1460 --enable-fast-install[=PKGS] |
1022 optimize for fast installation [default=yes] | 1461 optimize for fast installation [default=yes] |
1023 --disable-libtool-lock avoid locking (might break parallel builds) | 1462 --disable-libtool-lock avoid locking (might break parallel builds) |
1024 | 1463 |
1025 Optional Packages: | 1464 Optional Packages: |
1035 --with-kwnn-includes=DIR KWNN include files are in DIR | 1474 --with-kwnn-includes=DIR KWNN include files are in DIR |
1036 --with-kwnn-libraries=DIR Search for KWNN libraries in DIR [default=/usr/local/lib] | 1475 --with-kwnn-libraries=DIR Search for KWNN libraries in DIR [default=/usr/local/lib] |
1037 --with-gnu-ld assume the C compiler uses GNU ld [default=no] | 1476 --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1038 --with-pic try to use only PIC/non-PIC objects [default=use | 1477 --with-pic try to use only PIC/non-PIC objects [default=use |
1039 both] | 1478 both] |
1040 --with-tags[=TAGS] | 1479 --with-tags[=TAGS] include additional configurations [automatic] |
1041 include additional configurations [automatic] | |
1042 --with-x use the X Window System | 1480 --with-x use the X Window System |
1043 --with-term-libs=-lLIB terminal library to be used | 1481 --with-term-libs=-lLIB terminal library to be used |
1044 --with-libwrap[=DIR] Compile in libwrap (tcp_wrappers) support [default=try to find libwrap] | 1482 --with-libwrap[=DIR] Compile in libwrap (tcp_wrappers) support [default=try to find libwrap] |
1045 | 1483 |
1046 Some influential environment variables: | 1484 Some influential environment variables: |
1047 CC C compiler command | 1485 CC C compiler command |
1048 CFLAGS C compiler flags | 1486 CFLAGS C compiler flags |
1049 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1487 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1050 nonstandard directory <lib dir> | 1488 nonstandard directory <lib dir> |
1051 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | 1489 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1052 headers in a nonstandard directory <include dir> | 1490 you have headers in a nonstandard directory <include dir> |
1053 CPP C preprocessor | 1491 CPP C preprocessor |
1054 CXX C++ compiler command | 1492 CXX C++ compiler command |
1055 CXXFLAGS C++ compiler flags | 1493 CXXFLAGS C++ compiler flags |
1056 CXXCPP C++ preprocessor | 1494 CXXCPP C++ preprocessor |
1057 F77 Fortran 77 compiler command | 1495 F77 Fortran 77 compiler command |
1058 FFLAGS Fortran 77 compiler flags | 1496 FFLAGS Fortran 77 compiler flags |
1497 XMKMF Path to xmkmf, Makefile generator for X Window System | |
1059 | 1498 |
1060 Use these variables to override the choices made by `configure' or to help | 1499 Use these variables to override the choices made by `configure' or to help |
1061 it to find libraries and programs with nonstandard names/locations. | 1500 it to find libraries and programs with nonstandard names/locations. |
1062 | 1501 |
1063 _ACEOF | 1502 _ACEOF |
1503 ac_status=$? | |
1064 fi | 1504 fi |
1065 | 1505 |
1066 if test "$ac_init_help" = "recursive"; then | 1506 if test "$ac_init_help" = "recursive"; then |
1067 # If there are subdirs, report their specific --help. | 1507 # If there are subdirs, report their specific --help. |
1068 ac_popdir=`pwd` | |
1069 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 1508 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1070 test -d $ac_dir || continue | 1509 test -d "$ac_dir" || continue |
1071 ac_builddir=. | 1510 ac_builddir=. |
1072 | 1511 |
1073 if test "$ac_dir" != .; then | 1512 case "$ac_dir" in |
1513 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1514 *) | |
1074 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 1515 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
1075 # A "../" for each directory in $ac_dir_suffix. | 1516 # A ".." for each directory in $ac_dir_suffix. |
1076 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 1517 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
1077 else | 1518 case $ac_top_builddir_sub in |
1078 ac_dir_suffix= ac_top_builddir= | 1519 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1079 fi | 1520 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1521 esac ;; | |
1522 esac | |
1523 ac_abs_top_builddir=$ac_pwd | |
1524 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
1525 # for backward compatibility: | |
1526 ac_top_builddir=$ac_top_build_prefix | |
1080 | 1527 |
1081 case $srcdir in | 1528 case $srcdir in |
1082 .) # No --srcdir option. We are building in place. | 1529 .) # We are building in place. |
1083 ac_srcdir=. | 1530 ac_srcdir=. |
1084 if test -z "$ac_top_builddir"; then | 1531 ac_top_srcdir=$ac_top_builddir_sub |
1085 ac_top_srcdir=. | 1532 ac_abs_top_srcdir=$ac_pwd ;; |
1086 else | 1533 [\\/]* | ?:[\\/]* ) # Absolute name. |
1087 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
1088 fi ;; | |
1089 [\\/]* | ?:[\\/]* ) # Absolute path. | |
1090 ac_srcdir=$srcdir$ac_dir_suffix; | 1534 ac_srcdir=$srcdir$ac_dir_suffix; |
1091 ac_top_srcdir=$srcdir ;; | 1535 ac_top_srcdir=$srcdir |
1092 *) # Relative path. | 1536 ac_abs_top_srcdir=$srcdir ;; |
1093 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 1537 *) # Relative name. |
1094 ac_top_srcdir=$ac_top_builddir$srcdir ;; | 1538 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
1095 esac | 1539 ac_top_srcdir=$ac_top_build_prefix$srcdir |
1096 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 1540 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
1097 # absolute. | 1541 esac |
1098 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 1542 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1099 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | 1543 |
1100 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 1544 cd "$ac_dir" || { ac_status=$?; continue; } |
1101 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 1545 # Check for guested configure. |
1102 | 1546 if test -f "$ac_srcdir/configure.gnu"; then |
1103 cd $ac_dir | 1547 echo && |
1104 # Check for guested configure; otherwise get Cygnus style configure. | 1548 $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1105 if test -f $ac_srcdir/configure.gnu; then | 1549 elif test -f "$ac_srcdir/configure"; then |
1106 echo | 1550 echo && |
1107 $SHELL $ac_srcdir/configure.gnu --help=recursive | 1551 $SHELL "$ac_srcdir/configure" --help=recursive |
1108 elif test -f $ac_srcdir/configure; then | |
1109 echo | |
1110 $SHELL $ac_srcdir/configure --help=recursive | |
1111 elif test -f $ac_srcdir/configure.ac || | |
1112 test -f $ac_srcdir/configure.in; then | |
1113 echo | |
1114 $ac_configure --help | |
1115 else | 1552 else |
1116 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 1553 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1117 fi | 1554 fi || ac_status=$? |
1118 cd $ac_popdir | 1555 cd "$ac_pwd" || { ac_status=$?; break; } |
1119 done | 1556 done |
1120 fi | 1557 fi |
1121 | 1558 |
1122 test -n "$ac_init_help" && exit 0 | 1559 test -n "$ac_init_help" && exit $ac_status |
1123 if $ac_init_version; then | 1560 if $ac_init_version; then |
1124 cat <<\_ACEOF | 1561 cat <<\_ACEOF |
1125 | 1562 configure |
1126 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 1563 generated by GNU Autoconf 2.60 |
1127 Free Software Foundation, Inc. | 1564 |
1565 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
1566 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
1128 This configure script is free software; the Free Software Foundation | 1567 This configure script is free software; the Free Software Foundation |
1129 gives unlimited permission to copy, distribute and modify it. | 1568 gives unlimited permission to copy, distribute and modify it. |
1130 _ACEOF | 1569 _ACEOF |
1131 exit 0 | 1570 exit |
1132 fi | 1571 fi |
1133 exec 5>config.log | 1572 cat >config.log <<_ACEOF |
1134 cat >&5 <<_ACEOF | |
1135 This file contains any messages produced by compilers while | 1573 This file contains any messages produced by compilers while |
1136 running configure, to aid debugging if configure makes a mistake. | 1574 running configure, to aid debugging if configure makes a mistake. |
1137 | 1575 |
1138 It was created by $as_me, which was | 1576 It was created by $as_me, which was |
1139 generated by GNU Autoconf 2.53. Invocation command line was | 1577 generated by GNU Autoconf 2.60. Invocation command line was |
1140 | 1578 |
1141 $ $0 $@ | 1579 $ $0 $@ |
1142 | 1580 |
1143 _ACEOF | 1581 _ACEOF |
1582 exec 5>>config.log | |
1144 { | 1583 { |
1145 cat <<_ASUNAME | 1584 cat <<_ASUNAME |
1146 ## --------- ## | 1585 ## --------- ## |
1147 ## Platform. ## | 1586 ## Platform. ## |
1148 ## --------- ## | 1587 ## --------- ## |
1157 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | 1596 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
1158 | 1597 |
1159 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | 1598 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1160 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | 1599 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1161 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 1600 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1162 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | 1601 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
1163 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | 1602 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1164 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | 1603 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1165 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | 1604 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1166 | 1605 |
1167 _ASUNAME | 1606 _ASUNAME |
1171 do | 1610 do |
1172 IFS=$as_save_IFS | 1611 IFS=$as_save_IFS |
1173 test -z "$as_dir" && as_dir=. | 1612 test -z "$as_dir" && as_dir=. |
1174 echo "PATH: $as_dir" | 1613 echo "PATH: $as_dir" |
1175 done | 1614 done |
1615 IFS=$as_save_IFS | |
1176 | 1616 |
1177 } >&5 | 1617 } >&5 |
1178 | 1618 |
1179 cat >&5 <<_ACEOF | 1619 cat >&5 <<_ACEOF |
1180 | 1620 |
1186 _ACEOF | 1626 _ACEOF |
1187 | 1627 |
1188 | 1628 |
1189 # Keep a trace of the command line. | 1629 # Keep a trace of the command line. |
1190 # Strip out --no-create and --no-recursion so they do not pile up. | 1630 # Strip out --no-create and --no-recursion so they do not pile up. |
1631 # Strip out --silent because we don't want to record it for future runs. | |
1191 # Also quote any args containing shell meta-characters. | 1632 # Also quote any args containing shell meta-characters. |
1633 # Make two passes to allow for proper duplicate-argument suppression. | |
1192 ac_configure_args= | 1634 ac_configure_args= |
1193 ac_sep= | 1635 ac_configure_args0= |
1194 for ac_arg | 1636 ac_configure_args1= |
1637 ac_must_keep_next=false | |
1638 for ac_pass in 1 2 | |
1195 do | 1639 do |
1196 case $ac_arg in | 1640 for ac_arg |
1197 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 1641 do |
1198 | --no-cr | --no-c | -n ) continue ;; | 1642 case $ac_arg in |
1199 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 1643 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1200 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 1644 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1201 continue ;; | 1645 | -silent | --silent | --silen | --sile | --sil) |
1202 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 1646 continue ;; |
1203 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1647 *\'*) |
1204 esac | 1648 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1205 case " $ac_configure_args " in | 1649 esac |
1206 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 1650 case $ac_pass in |
1207 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 1651 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1208 ac_sep=" " ;; | 1652 2) |
1209 esac | 1653 ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1210 # Get rid of the leading space. | 1654 if test $ac_must_keep_next = true; then |
1655 ac_must_keep_next=false # Got value, back to normal. | |
1656 else | |
1657 case $ac_arg in | |
1658 *=* | --config-cache | -C | -disable-* | --disable-* \ | |
1659 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
1660 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
1661 | -with-* | --with-* | -without-* | --without-* | --x) | |
1662 case "$ac_configure_args0 " in | |
1663 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
1664 esac | |
1665 ;; | |
1666 -* ) ac_must_keep_next=true ;; | |
1667 esac | |
1668 fi | |
1669 ac_configure_args="$ac_configure_args '$ac_arg'" | |
1670 ;; | |
1671 esac | |
1672 done | |
1211 done | 1673 done |
1674 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | |
1675 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | |
1212 | 1676 |
1213 # When interrupted or exit'd, cleanup temporary files, and complete | 1677 # When interrupted or exit'd, cleanup temporary files, and complete |
1214 # config.log. We remove comments because anyway the quotes in there | 1678 # config.log. We remove comments because anyway the quotes in there |
1215 # would cause problems or look ugly. | 1679 # would cause problems or look ugly. |
1216 # WARNING: Be sure not to use single quotes in there, as some shells, | 1680 # WARNING: Use '\'' to represent an apostrophe within the trap. |
1217 # such as our DU 5.0 friend, will then `close' the trap. | 1681 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
1218 trap 'exit_status=$? | 1682 trap 'exit_status=$? |
1219 # Save into config.log some information that might help in debugging. | 1683 # Save into config.log some information that might help in debugging. |
1220 { | 1684 { |
1221 echo | 1685 echo |
1686 | |
1222 cat <<\_ASBOX | 1687 cat <<\_ASBOX |
1223 ## ---------------- ## | 1688 ## ---------------- ## |
1224 ## Cache variables. ## | 1689 ## Cache variables. ## |
1225 ## ---------------- ## | 1690 ## ---------------- ## |
1226 _ASBOX | 1691 _ASBOX |
1227 echo | 1692 echo |
1228 # The following way of writing the cache mishandles newlines in values, | 1693 # The following way of writing the cache mishandles newlines in values, |
1229 { | 1694 ( |
1695 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
1696 eval ac_val=\$$ac_var | |
1697 case $ac_val in #( | |
1698 *${as_nl}*) | |
1699 case $ac_var in #( | |
1700 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | |
1701 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |
1702 esac | |
1703 case $ac_var in #( | |
1704 _ | IFS | as_nl) ;; #( | |
1705 *) $as_unset $ac_var ;; | |
1706 esac ;; | |
1707 esac | |
1708 done | |
1230 (set) 2>&1 | | 1709 (set) 2>&1 | |
1231 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 1710 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1232 *ac_space=\ *) | 1711 *${as_nl}ac_space=\ *) |
1233 sed -n \ | 1712 sed -n \ |
1234 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 1713 "s/'\''/'\''\\\\'\'''\''/g; |
1235 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 1714 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
1236 ;; | 1715 ;; #( |
1237 *) | 1716 *) |
1238 sed -n \ | 1717 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
1239 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 1718 ;; |
1240 ;; | 1719 esac | |
1241 esac; | 1720 sort |
1242 } | 1721 ) |
1243 echo | 1722 echo |
1723 | |
1724 cat <<\_ASBOX | |
1725 ## ----------------- ## | |
1726 ## Output variables. ## | |
1727 ## ----------------- ## | |
1728 _ASBOX | |
1729 echo | |
1730 for ac_var in $ac_subst_vars | |
1731 do | |
1732 eval ac_val=\$$ac_var | |
1733 case $ac_val in | |
1734 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1735 esac | |
1736 echo "$ac_var='\''$ac_val'\''" | |
1737 done | sort | |
1738 echo | |
1739 | |
1740 if test -n "$ac_subst_files"; then | |
1741 cat <<\_ASBOX | |
1742 ## ------------------- ## | |
1743 ## File substitutions. ## | |
1744 ## ------------------- ## | |
1745 _ASBOX | |
1746 echo | |
1747 for ac_var in $ac_subst_files | |
1748 do | |
1749 eval ac_val=\$$ac_var | |
1750 case $ac_val in | |
1751 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1752 esac | |
1753 echo "$ac_var='\''$ac_val'\''" | |
1754 done | sort | |
1755 echo | |
1756 fi | |
1757 | |
1244 if test -s confdefs.h; then | 1758 if test -s confdefs.h; then |
1245 cat <<\_ASBOX | 1759 cat <<\_ASBOX |
1246 ## ----------- ## | 1760 ## ----------- ## |
1247 ## confdefs.h. ## | 1761 ## confdefs.h. ## |
1248 ## ----------- ## | 1762 ## ----------- ## |
1249 _ASBOX | 1763 _ASBOX |
1250 echo | 1764 echo |
1251 sed "/^$/d" confdefs.h | 1765 cat confdefs.h |
1252 echo | 1766 echo |
1253 fi | 1767 fi |
1254 test "$ac_signal" != 0 && | 1768 test "$ac_signal" != 0 && |
1255 echo "$as_me: caught signal $ac_signal" | 1769 echo "$as_me: caught signal $ac_signal" |
1256 echo "$as_me: exit $exit_status" | 1770 echo "$as_me: exit $exit_status" |
1257 } >&5 | 1771 } >&5 |
1258 rm -f core core.* *.core && | 1772 rm -f core *.core core.conftest.* && |
1259 rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 1773 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1260 exit $exit_status | 1774 exit $exit_status |
1261 ' 0 | 1775 ' 0 |
1262 for ac_signal in 1 2 13 15; do | 1776 for ac_signal in 1 2 13 15; do |
1263 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 1777 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1264 done | 1778 done |
1265 ac_signal=0 | 1779 ac_signal=0 |
1266 | 1780 |
1267 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1781 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1268 rm -rf conftest* confdefs.h | 1782 rm -f -r conftest* confdefs.h |
1269 # AIX cpp loses on an empty file, so make sure it contains at least a newline. | |
1270 echo >confdefs.h | |
1271 | 1783 |
1272 # Predefined preprocessor variables. | 1784 # Predefined preprocessor variables. |
1273 | 1785 |
1274 cat >>confdefs.h <<_ACEOF | 1786 cat >>confdefs.h <<_ACEOF |
1275 #define PACKAGE_NAME "$PACKAGE_NAME" | 1787 #define PACKAGE_NAME "$PACKAGE_NAME" |
1296 _ACEOF | 1808 _ACEOF |
1297 | 1809 |
1298 | 1810 |
1299 # Let the site file select an alternate cache file if it wants to. | 1811 # Let the site file select an alternate cache file if it wants to. |
1300 # Prefer explicitly selected file to automatically selected ones. | 1812 # Prefer explicitly selected file to automatically selected ones. |
1301 if test -z "$CONFIG_SITE"; then | 1813 if test -n "$CONFIG_SITE"; then |
1302 if test "x$prefix" != xNONE; then | 1814 set x "$CONFIG_SITE" |
1303 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 1815 elif test "x$prefix" != xNONE; then |
1304 else | 1816 set x "$prefix/share/config.site" "$prefix/etc/config.site" |
1305 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 1817 else |
1306 fi | 1818 set x "$ac_default_prefix/share/config.site" \ |
1307 fi | 1819 "$ac_default_prefix/etc/config.site" |
1308 for ac_site_file in $CONFIG_SITE; do | 1820 fi |
1821 shift | |
1822 for ac_site_file | |
1823 do | |
1309 if test -r "$ac_site_file"; then | 1824 if test -r "$ac_site_file"; then |
1310 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 1825 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1311 echo "$as_me: loading site script $ac_site_file" >&6;} | 1826 echo "$as_me: loading site script $ac_site_file" >&6;} |
1312 sed 's/^/| /' "$ac_site_file" >&5 | 1827 sed 's/^/| /' "$ac_site_file" >&5 |
1313 . "$ac_site_file" | 1828 . "$ac_site_file" |
1319 # files actually), so we avoid doing that. | 1834 # files actually), so we avoid doing that. |
1320 if test -f "$cache_file"; then | 1835 if test -f "$cache_file"; then |
1321 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 1836 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1322 echo "$as_me: loading cache $cache_file" >&6;} | 1837 echo "$as_me: loading cache $cache_file" >&6;} |
1323 case $cache_file in | 1838 case $cache_file in |
1324 [\\/]* | ?:[\\/]* ) . $cache_file;; | 1839 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1325 *) . ./$cache_file;; | 1840 *) . "./$cache_file";; |
1326 esac | 1841 esac |
1327 fi | 1842 fi |
1328 else | 1843 else |
1329 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 1844 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1330 echo "$as_me: creating cache $cache_file" >&6;} | 1845 echo "$as_me: creating cache $cache_file" >&6;} |
1332 fi | 1847 fi |
1333 | 1848 |
1334 # Check that the precious variables saved in the cache have kept the same | 1849 # Check that the precious variables saved in the cache have kept the same |
1335 # value. | 1850 # value. |
1336 ac_cache_corrupted=false | 1851 ac_cache_corrupted=false |
1337 for ac_var in `(set) 2>&1 | | 1852 for ac_var in $ac_precious_vars; do |
1338 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | |
1339 eval ac_old_set=\$ac_cv_env_${ac_var}_set | 1853 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1340 eval ac_new_set=\$ac_env_${ac_var}_set | 1854 eval ac_new_set=\$ac_env_${ac_var}_set |
1341 eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 1855 eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1342 eval ac_new_val="\$ac_env_${ac_var}_value" | 1856 eval ac_new_val=\$ac_env_${ac_var}_value |
1343 case $ac_old_set,$ac_new_set in | 1857 case $ac_old_set,$ac_new_set in |
1344 set,) | 1858 set,) |
1345 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 1859 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1346 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 1860 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1347 ac_cache_corrupted=: ;; | 1861 ac_cache_corrupted=: ;; |
1350 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 1864 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1351 ac_cache_corrupted=: ;; | 1865 ac_cache_corrupted=: ;; |
1352 ,);; | 1866 ,);; |
1353 *) | 1867 *) |
1354 if test "x$ac_old_val" != "x$ac_new_val"; then | 1868 if test "x$ac_old_val" != "x$ac_new_val"; then |
1355 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 1869 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1356 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 1870 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1357 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | 1871 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1358 echo "$as_me: former value: $ac_old_val" >&2;} | 1872 echo "$as_me: former value: $ac_old_val" >&2;} |
1359 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | 1873 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1360 echo "$as_me: current value: $ac_new_val" >&2;} | 1874 echo "$as_me: current value: $ac_new_val" >&2;} |
1361 ac_cache_corrupted=: | 1875 ac_cache_corrupted=: |
1362 fi;; | 1876 fi;; |
1363 esac | 1877 esac |
1364 # Pass precious variables to config.status. | 1878 # Pass precious variables to config.status. |
1365 if test "$ac_new_set" = set; then | 1879 if test "$ac_new_set" = set; then |
1366 case $ac_new_val in | 1880 case $ac_new_val in |
1367 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 1881 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1368 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1369 *) ac_arg=$ac_var=$ac_new_val ;; | 1882 *) ac_arg=$ac_var=$ac_new_val ;; |
1370 esac | 1883 esac |
1371 case " $ac_configure_args " in | 1884 case " $ac_configure_args " in |
1372 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 1885 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1373 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 1886 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1380 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 1893 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1381 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 1894 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1382 { (exit 1); exit 1; }; } | 1895 { (exit 1); exit 1; }; } |
1383 fi | 1896 fi |
1384 | 1897 |
1898 | |
1899 | |
1900 | |
1901 | |
1902 | |
1903 | |
1904 | |
1905 | |
1906 | |
1907 | |
1908 | |
1909 | |
1910 | |
1911 | |
1912 | |
1913 | |
1385 ac_ext=c | 1914 ac_ext=c |
1386 ac_cpp='$CPP $CPPFLAGS' | 1915 ac_cpp='$CPP $CPPFLAGS' |
1387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 1916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 1917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1389 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 1918 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1390 | 1919 |
1391 | 1920 |
1392 | |
1393 | |
1394 | |
1395 | |
1396 | |
1397 | |
1398 | |
1399 | |
1400 | |
1401 | |
1402 | |
1403 | |
1404 | |
1405 | |
1406 | |
1407 | |
1408 ac_config_headers="$ac_config_headers config.h" | 1921 ac_config_headers="$ac_config_headers config.h" |
1409 | 1922 |
1410 | 1923 |
1411 | 1924 |
1412 # Quick and Dirty workaround for Autoconf-2.53 and Libtools-1.5 pair ... | 1925 # Quick and Dirty workaround for Autoconf-2.53 and Libtools-1.5 pair ... |
1413 # not to use additional tagged configuration. (default: CXX F77) | 1926 # not to use additional tagged configuration. (default: CXX F77) |
1414 # NOTICE: Please remove next line if situation changes. (aono) | 1927 # NOTICE: Please remove next line if situation changes. (aono) |
1415 tagnames= | 1928 tagnames= |
1416 | 1929 |
1417 ac_aux_dir= | 1930 ac_aux_dir= |
1418 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 1931 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
1419 if test -f $ac_dir/install-sh; then | 1932 if test -f "$ac_dir/install-sh"; then |
1420 ac_aux_dir=$ac_dir | 1933 ac_aux_dir=$ac_dir |
1421 ac_install_sh="$ac_aux_dir/install-sh -c" | 1934 ac_install_sh="$ac_aux_dir/install-sh -c" |
1422 break | 1935 break |
1423 elif test -f $ac_dir/install.sh; then | 1936 elif test -f "$ac_dir/install.sh"; then |
1424 ac_aux_dir=$ac_dir | 1937 ac_aux_dir=$ac_dir |
1425 ac_install_sh="$ac_aux_dir/install.sh -c" | 1938 ac_install_sh="$ac_aux_dir/install.sh -c" |
1426 break | 1939 break |
1427 elif test -f $ac_dir/shtool; then | 1940 elif test -f "$ac_dir/shtool"; then |
1428 ac_aux_dir=$ac_dir | 1941 ac_aux_dir=$ac_dir |
1429 ac_install_sh="$ac_aux_dir/shtool install -c" | 1942 ac_install_sh="$ac_aux_dir/shtool install -c" |
1430 break | 1943 break |
1431 fi | 1944 fi |
1432 done | 1945 done |
1433 if test -z "$ac_aux_dir"; then | 1946 if test -z "$ac_aux_dir"; then |
1434 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 1947 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
1435 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 1948 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
1436 { (exit 1); exit 1; }; } | 1949 { (exit 1); exit 1; }; } |
1437 fi | 1950 fi |
1438 ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 1951 |
1439 ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 1952 # These three variables are undocumented and unsupported, |
1440 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 1953 # and are intended to be withdrawn in a future Autoconf release. |
1954 # They can cause serious problems if a builder's source tree is in a directory | |
1955 # whose full name contains unusual characters. | |
1956 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
1957 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
1958 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
1959 | |
1441 | 1960 |
1442 # Make sure we can run config.sub. | 1961 # Make sure we can run config.sub. |
1443 $ac_config_sub sun4 >/dev/null 2>&1 || | 1962 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
1444 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 1963 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
1445 echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 1964 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
1446 { (exit 1); exit 1; }; } | 1965 { (exit 1); exit 1; }; } |
1447 | 1966 |
1448 echo "$as_me:$LINENO: checking build system type" >&5 | 1967 { echo "$as_me:$LINENO: checking build system type" >&5 |
1449 echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 1968 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } |
1450 if test "${ac_cv_build+set}" = set; then | 1969 if test "${ac_cv_build+set}" = set; then |
1451 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1970 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1452 else | 1971 else |
1453 ac_cv_build_alias=$build_alias | 1972 ac_build_alias=$build_alias |
1454 test -z "$ac_cv_build_alias" && | 1973 test "x$ac_build_alias" = x && |
1455 ac_cv_build_alias=`$ac_config_guess` | 1974 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
1456 test -z "$ac_cv_build_alias" && | 1975 test "x$ac_build_alias" = x && |
1457 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 1976 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
1458 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 1977 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
1459 { (exit 1); exit 1; }; } | 1978 { (exit 1); exit 1; }; } |
1460 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 1979 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
1461 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 1980 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
1462 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 1981 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
1463 { (exit 1); exit 1; }; } | 1982 { (exit 1); exit 1; }; } |
1464 | 1983 |
1465 fi | 1984 fi |
1466 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 1985 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
1467 echo "${ECHO_T}$ac_cv_build" >&6 | 1986 echo "${ECHO_T}$ac_cv_build" >&6; } |
1987 case $ac_cv_build in | |
1988 *-*-*) ;; | |
1989 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 | |
1990 echo "$as_me: error: invalid value of canonical build" >&2;} | |
1991 { (exit 1); exit 1; }; };; | |
1992 esac | |
1468 build=$ac_cv_build | 1993 build=$ac_cv_build |
1469 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 1994 ac_save_IFS=$IFS; IFS='-' |
1470 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 1995 set x $ac_cv_build |
1471 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 1996 shift |
1472 | 1997 build_cpu=$1 |
1473 | 1998 build_vendor=$2 |
1474 echo "$as_me:$LINENO: checking host system type" >&5 | 1999 shift; shift |
1475 echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 2000 # Remember, the first character of IFS is used to create $*, |
2001 # except with old shells: | |
2002 build_os=$* | |
2003 IFS=$ac_save_IFS | |
2004 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | |
2005 | |
2006 | |
2007 { echo "$as_me:$LINENO: checking host system type" >&5 | |
2008 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } | |
1476 if test "${ac_cv_host+set}" = set; then | 2009 if test "${ac_cv_host+set}" = set; then |
1477 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2010 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1478 else | 2011 else |
1479 ac_cv_host_alias=$host_alias | 2012 if test "x$host_alias" = x; then |
1480 test -z "$ac_cv_host_alias" && | 2013 ac_cv_host=$ac_cv_build |
1481 ac_cv_host_alias=$ac_cv_build_alias | 2014 else |
1482 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 2015 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
1483 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 2016 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
1484 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 2017 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
1485 { (exit 1); exit 1; }; } | 2018 { (exit 1); exit 1; }; } |
1486 | 2019 fi |
1487 fi | 2020 |
1488 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 2021 fi |
1489 echo "${ECHO_T}$ac_cv_host" >&6 | 2022 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
2023 echo "${ECHO_T}$ac_cv_host" >&6; } | |
2024 case $ac_cv_host in | |
2025 *-*-*) ;; | |
2026 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 | |
2027 echo "$as_me: error: invalid value of canonical host" >&2;} | |
2028 { (exit 1); exit 1; }; };; | |
2029 esac | |
1490 host=$ac_cv_host | 2030 host=$ac_cv_host |
1491 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 2031 ac_save_IFS=$IFS; IFS='-' |
1492 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 2032 set x $ac_cv_host |
1493 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 2033 shift |
1494 | 2034 host_cpu=$1 |
1495 | 2035 host_vendor=$2 |
1496 | 2036 shift; shift |
1497 | 2037 # Remember, the first character of IFS is used to create $*, |
1498 # Check whether --enable-debug or --disable-debug was given. | 2038 # except with old shells: |
2039 host_os=$* | |
2040 IFS=$ac_save_IFS | |
2041 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | |
2042 | |
2043 | |
2044 | |
2045 | |
2046 # Check whether --enable-debug was given. | |
1499 if test "${enable_debug+set}" = set; then | 2047 if test "${enable_debug+set}" = set; then |
1500 enableval="$enable_debug" | 2048 enableval=$enable_debug; case "${enableval}" in |
1501 case "${enableval}" in | |
1502 yes) debug=true ;; | 2049 yes) debug=true ;; |
1503 no) debug=false ;; | 2050 no) debug=false ;; |
1504 *) { { echo "$as_me:$LINENO: error: bad value for --enable-debug" >&5 | 2051 *) { { echo "$as_me:$LINENO: error: bad value for --enable-debug" >&5 |
1505 echo "$as_me: error: bad value for --enable-debug" >&2;} | 2052 echo "$as_me: error: bad value for --enable-debug" >&2;} |
1506 { (exit 1); exit 1; }; } | 2053 { (exit 1); exit 1; }; } |
1507 esac | 2054 esac |
1508 else | 2055 else |
1509 debug=false | 2056 debug=false |
1510 fi; | 2057 fi |
1511 | 2058 |
1512 # Check whether --enable-libraries or --disable-libraries was given. | 2059 |
2060 # Check whether --enable-libraries was given. | |
1513 if test "${enable_libraries+set}" = set; then | 2061 if test "${enable_libraries+set}" = set; then |
1514 enableval="$enable_libraries" | 2062 enableval=$enable_libraries; case "${enableval}" in |
1515 case "${enableval}" in | |
1516 yes) libraries=true ;; | 2063 yes) libraries=true ;; |
1517 no) libraries=false ;; | 2064 no) libraries=false ;; |
1518 *) { { echo "$as_me:$LINENO: error: bad value for --enable-libraries" >&5 | 2065 *) { { echo "$as_me:$LINENO: error: bad value for --enable-libraries" >&5 |
1519 echo "$as_me: error: bad value for --enable-libraries" >&2;} | 2066 echo "$as_me: error: bad value for --enable-libraries" >&2;} |
1520 { (exit 1); exit 1; }; } ;; | 2067 { (exit 1); exit 1; }; } ;; |
1521 esac | 2068 esac |
1522 else | 2069 else |
1523 libraries=true | 2070 libraries=true |
1524 fi; | 2071 fi |
1525 | 2072 |
1526 # Check whether --enable-server or --disable-server was given. | 2073 |
2074 # Check whether --enable-server was given. | |
1527 if test "${enable_server+set}" = set; then | 2075 if test "${enable_server+set}" = set; then |
1528 enableval="$enable_server" | 2076 enableval=$enable_server; case "${enableval}" in |
1529 case "${enableval}" in | |
1530 yes) server=true ;; | 2077 yes) server=true ;; |
1531 no) server=false ;; | 2078 no) server=false ;; |
1532 *) { { echo "$as_me:$LINENO: error: bad value for --enable-server" >&5 | 2079 *) { { echo "$as_me:$LINENO: error: bad value for --enable-server" >&5 |
1533 echo "$as_me: error: bad value for --enable-server" >&2;} | 2080 echo "$as_me: error: bad value for --enable-server" >&2;} |
1534 { (exit 1); exit 1; }; } ;; | 2081 { (exit 1); exit 1; }; } ;; |
1535 esac | 2082 esac |
1536 else | 2083 else |
1537 server=true | 2084 server=true |
1538 fi; | 2085 fi |
1539 | 2086 |
1540 # Check whether --enable-client or --disable-client was given. | 2087 |
2088 # Check whether --enable-client was given. | |
1541 if test "${enable_client+set}" = set; then | 2089 if test "${enable_client+set}" = set; then |
1542 enableval="$enable_client" | 2090 enableval=$enable_client; case "${enableval}" in |
1543 case "${enableval}" in | |
1544 yes) client=true ;; | 2091 yes) client=true ;; |
1545 no) client=false ;; | 2092 no) client=false ;; |
1546 *) { { echo "$as_me:$LINENO: error: bad value for --enable-client" >&5 | 2093 *) { { echo "$as_me:$LINENO: error: bad value for --enable-client" >&5 |
1547 echo "$as_me: error: bad value for --enable-client" >&2;} | 2094 echo "$as_me: error: bad value for --enable-client" >&2;} |
1548 { (exit 1); exit 1; }; } ;; | 2095 { (exit 1); exit 1; }; } ;; |
1549 esac | 2096 esac |
1550 else | 2097 else |
1551 client=false | 2098 client=false |
1552 fi; | 2099 fi |
1553 | 2100 |
1554 # Check whether --enable-client-utmp or --disable-client-utmp was given. | 2101 |
2102 # Check whether --enable-client-utmp was given. | |
1555 if test "${enable_client_utmp+set}" = set; then | 2103 if test "${enable_client_utmp+set}" = set; then |
1556 enableval="$enable_client_utmp" | 2104 enableval=$enable_client_utmp; case "${enableval}" in |
1557 case "${enableval}" in | |
1558 yes) client_utmp=true ;; | 2105 yes) client_utmp=true ;; |
1559 no) client_utmp=false ;; | 2106 no) client_utmp=false ;; |
1560 *) { { echo "$as_me:$LINENO: error: bad value for --enable-client-utmp" >&5 | 2107 *) { { echo "$as_me:$LINENO: error: bad value for --enable-client-utmp" >&5 |
1561 echo "$as_me: error: bad value for --enable-client-utmp" >&2;} | 2108 echo "$as_me: error: bad value for --enable-client-utmp" >&2;} |
1562 { (exit 1); exit 1; }; } ;; | 2109 { (exit 1); exit 1; }; } ;; |
1563 esac | 2110 esac |
1564 else | 2111 else |
1565 client_utmp=auto | 2112 client_utmp=auto |
1566 | 2113 |
1567 fi; | 2114 fi |
2115 | |
1568 | 2116 |
1569 if test $libraries = true; then | 2117 if test $libraries = true; then |
1570 SUBDIRS="\$(LIB_SUBDIRS)" | 2118 SUBDIRS="\$(LIB_SUBDIRS)" |
1571 WNNMANDIR="\$(LIB_WNNMANDIR)" | 2119 WNNMANDIR="\$(LIB_WNNMANDIR)" |
1572 fi | 2120 fi |
1580 | 2128 |
1581 | 2129 |
1582 | 2130 |
1583 | 2131 |
1584 | 2132 |
1585 # Check whether --enable-Wnn or --disable-Wnn was given. | 2133 # Check whether --enable-Wnn was given. |
1586 if test "${enable_Wnn+set}" = set; then | 2134 if test "${enable_Wnn+set}" = set; then |
1587 enableval="$enable_Wnn" | 2135 enableval=$enable_Wnn; case "${enableval}" in |
1588 case "${enableval}" in | |
1589 yes) Wnn="Wnn";; | 2136 yes) Wnn="Wnn";; |
1590 no) Wnn="" ;; | 2137 no) Wnn="" ;; |
1591 *) { { echo "$as_me:$LINENO: error: bad value for --enable-Wnn" >&5 | 2138 *) { { echo "$as_me:$LINENO: error: bad value for --enable-Wnn" >&5 |
1592 echo "$as_me: error: bad value for --enable-Wnn" >&2;} | 2139 echo "$as_me: error: bad value for --enable-Wnn" >&2;} |
1593 { (exit 1); exit 1; }; } ;; | 2140 { (exit 1); exit 1; }; } ;; |
1594 esac | 2141 esac |
1595 else | 2142 else |
1596 Wnn="Wnn" | 2143 Wnn="Wnn" |
1597 fi; | 2144 fi |
2145 | |
1598 | 2146 |
1599 | 2147 |
1600 if test "$server" = true -a "$Wnn" = Wnn; then | 2148 if test "$server" = true -a "$Wnn" = Wnn; then |
1601 # JSERVER_SUBDIRS1="\$(JSERVER_SUBDIRS1)" | 2149 # JSERVER_SUBDIRS1="\$(JSERVER_SUBDIRS1)" |
1602 JSERVER_SUBDIRS2="\$(JSERVER_SUBDIRS2)" | 2150 JSERVER_SUBDIRS2="\$(JSERVER_SUBDIRS2)" |
1604 # JSERVER_SUBDIRS1="" | 2152 # JSERVER_SUBDIRS1="" |
1605 JSERVER_SUBDIRS2="" | 2153 JSERVER_SUBDIRS2="" |
1606 fi | 2154 fi |
1607 | 2155 |
1608 | 2156 |
1609 # Check whether --enable-cWnn or --disable-cWnn was given. | 2157 # Check whether --enable-cWnn was given. |
1610 if test "${enable_cWnn+set}" = set; then | 2158 if test "${enable_cWnn+set}" = set; then |
1611 enableval="$enable_cWnn" | 2159 enableval=$enable_cWnn; case "${enableval}" in |
1612 case "${enableval}" in | |
1613 yes) cWnn="cWnn" ;; | 2160 yes) cWnn="cWnn" ;; |
1614 no) cWnn="" ;; | 2161 no) cWnn="" ;; |
1615 *) { { echo "$as_me:$LINENO: error: bad value for --enable-cWnn" >&5 | 2162 *) { { echo "$as_me:$LINENO: error: bad value for --enable-cWnn" >&5 |
1616 echo "$as_me: error: bad value for --enable-cWnn" >&2;} | 2163 echo "$as_me: error: bad value for --enable-cWnn" >&2;} |
1617 { (exit 1); exit 1; }; } ;; | 2164 { (exit 1); exit 1; }; } ;; |
1618 esac | 2165 esac |
1619 else | 2166 else |
1620 cWnn="cWnn" | 2167 cWnn="cWnn" |
1621 fi; | 2168 fi |
1622 | 2169 |
1623 | 2170 |
1624 # Check whether --enable-kWnn or --disable-kWnn was given. | 2171 |
2172 # Check whether --enable-kWnn was given. | |
1625 if test "${enable_kWnn+set}" = set; then | 2173 if test "${enable_kWnn+set}" = set; then |
1626 enableval="$enable_kWnn" | 2174 enableval=$enable_kWnn; case "${enableval}" in |
1627 case "${enableval}" in | |
1628 yes) kWnn="kWnn" ;; | 2175 yes) kWnn="kWnn" ;; |
1629 no) kWnn="" ;; | 2176 no) kWnn="" ;; |
1630 *) { { echo "$as_me:$LINENO: error: bad value for --enable-kWnn" >&5 | 2177 *) { { echo "$as_me:$LINENO: error: bad value for --enable-kWnn" >&5 |
1631 echo "$as_me: error: bad value for --enable-kWnn" >&2;} | 2178 echo "$as_me: error: bad value for --enable-kWnn" >&2;} |
1632 { (exit 1); exit 1; }; } ;; | 2179 { (exit 1); exit 1; }; } ;; |
1633 esac | 2180 esac |
1634 else | 2181 else |
1635 kWnn="kWnn" | 2182 kWnn="kWnn" |
1636 fi; | 2183 fi |
1637 | 2184 |
1638 | 2185 |
1639 | 2186 |
1640 | 2187 |
1641 | 2188 |
1642 # Check whether --with-libwnn or --without-libwnn was given. | 2189 |
2190 # Check whether --with-libwnn was given. | |
1643 if test "${with_libwnn+set}" = set; then | 2191 if test "${with_libwnn+set}" = set; then |
1644 withval="$with_libwnn" | 2192 withval=$with_libwnn; with_libwnn="${withval}" |
1645 with_libwnn="${withval}" | 2193 |
1646 | 2194 # Check whether --with-wnn-includes was given. |
1647 # Check whether --with-wnn-includes or --without-wnn-includes was given. | |
1648 if test "${with_wnn_includes+set}" = set; then | 2195 if test "${with_wnn_includes+set}" = set; then |
1649 withval="$with_wnn_includes" | 2196 withval=$with_wnn_includes; wnnincludedir="-I${withval}" |
1650 wnnincludedir="-I${withval}" | |
1651 else | 2197 else |
1652 wnnincludedir='' | 2198 wnnincludedir='' |
1653 fi; | 2199 fi |
1654 | 2200 |
1655 # Check whether --with-wnn-libraries or --without-wnn-libraries was given. | 2201 |
2202 # Check whether --with-wnn-libraries was given. | |
1656 if test "${with_wnn_libraries+set}" = set; then | 2203 if test "${with_wnn_libraries+set}" = set; then |
1657 withval="$with_wnn_libraries" | 2204 withval=$with_wnn_libraries; wnnlibdir="${withval}" |
1658 wnnlibdir="${withval}" | |
1659 else | 2205 else |
1660 wnnlibdir='/usr/local/lib' | 2206 wnnlibdir='/usr/local/lib' |
1661 fi; | 2207 fi |
2208 | |
1662 if test "X${with_libwnn}" = X-lwnn; then | 2209 if test "X${with_libwnn}" = X-lwnn; then |
1663 WNNJLIB="-L${wnnlibdir} -lwnn" | 2210 WNNJLIB="-L${wnnlibdir} -lwnn" |
1664 elif test X"`echo ${with_libwnn} | grep '^/.*'`" != X ; then | 2211 elif test X"`echo ${with_libwnn} | grep '^/.*'`" != X ; then |
1665 WNNJLIB="${with_libwnn}" | 2212 WNNJLIB="${with_libwnn}" |
1666 else | 2213 else |
1672 else | 2219 else |
1673 WNNJLIB="\$(top_builddir)/Wnn/jlib/libwnn.la" | 2220 WNNJLIB="\$(top_builddir)/Wnn/jlib/libwnn.la" |
1674 DEPWNNJLIB="\$(WNNJLIB)" | 2221 DEPWNNJLIB="\$(WNNJLIB)" |
1675 HINSI_DATA="\$(top_builddir)/Wnn/jd/hinsi.data" | 2222 HINSI_DATA="\$(top_builddir)/Wnn/jd/hinsi.data" |
1676 | 2223 |
1677 fi; | 2224 fi |
1678 | 2225 |
1679 | 2226 |
1680 | 2227 |
1681 | 2228 |
1682 | 2229 |
1683 # Check whether --with-libcwnn or --without-libcwnn was given. | 2230 |
2231 # Check whether --with-libcwnn was given. | |
1684 if test "${with_libcwnn+set}" = set; then | 2232 if test "${with_libcwnn+set}" = set; then |
1685 withval="$with_libcwnn" | 2233 withval=$with_libcwnn; |
1686 | 2234 |
1687 | 2235 # Check whether --with-cwnn-includes was given. |
1688 # Check whether --with-cwnn-includes or --without-cwnn-includes was given. | |
1689 if test "${with_cwnn_includes+set}" = set; then | 2236 if test "${with_cwnn_includes+set}" = set; then |
1690 withval="$with_cwnn_includes" | 2237 withval=$with_cwnn_includes; cwnnincludedir="-I${withval}" |
1691 cwnnincludedir="-I${withval}" | |
1692 else | 2238 else |
1693 cwnnincludedir='' | 2239 cwnnincludedir='' |
1694 fi; | 2240 fi |
1695 | 2241 |
1696 # Check whether --with-cwnn-libraries or --without-cwnn-libraries was given. | 2242 |
2243 # Check whether --with-cwnn-libraries was given. | |
1697 if test "${with_cwnn_libraries+set}" = set; then | 2244 if test "${with_cwnn_libraries+set}" = set; then |
1698 withval="$with_cwnn_libraries" | 2245 withval=$with_cwnn_libraries; cwnnlibdir="${withval}" |
1699 cwnnlibdir="${withval}" | |
1700 else | 2246 else |
1701 cwnnlibdir='/usr/local/lib' | 2247 cwnnlibdir='/usr/local/lib' |
1702 fi; | 2248 fi |
2249 | |
1703 if test "X${with_libcwnn}" = X-lcwnn; then | 2250 if test "X${with_libcwnn}" = X-lcwnn; then |
1704 CWNNJLIB="-L${cwnnlibdir} -lcwnn" | 2251 CWNNJLIB="-L${cwnnlibdir} -lcwnn" |
1705 elif test X"`echo ${with_libcwnn} | grep '^/.*'`" != X ; then | 2252 elif test X"`echo ${with_libcwnn} | grep '^/.*'`" != X ; then |
1706 CWNNJLIB="${with_libcwnn}" | 2253 CWNNJLIB="${with_libcwnn}" |
1707 else | 2254 else |
1715 CWNNJLIB="\$(top_builddir)/cWnn/jlib/libcwnn.la" | 2262 CWNNJLIB="\$(top_builddir)/cWnn/jlib/libcwnn.la" |
1716 DEPCWNNJLIB="\$(CWNNJLIB)" | 2263 DEPCWNNJLIB="\$(CWNNJLIB)" |
1717 CHINSI_DATA="\$(CWNNCDSRC)/cixing.data" | 2264 CHINSI_DATA="\$(CWNNCDSRC)/cixing.data" |
1718 THINSI_DATA="\$(TWNNTDSRC)/cixing.data" | 2265 THINSI_DATA="\$(TWNNTDSRC)/cixing.data" |
1719 | 2266 |
1720 fi; | 2267 fi |
1721 | 2268 |
1722 | 2269 |
1723 | 2270 |
1724 | 2271 |
1725 | 2272 |
1726 | 2273 |
1727 # Check whether --with-libkwnn or --without-libkwnn was given. | 2274 |
2275 # Check whether --with-libkwnn was given. | |
1728 if test "${with_libkwnn+set}" = set; then | 2276 if test "${with_libkwnn+set}" = set; then |
1729 withval="$with_libkwnn" | 2277 withval=$with_libkwnn; |
1730 | 2278 |
1731 | 2279 # Check whether --with-kwnn-includes was given. |
1732 # Check whether --with-kwnn-includes or --without-kwnn-includes was given. | |
1733 if test "${with_kwnn_includes+set}" = set; then | 2280 if test "${with_kwnn_includes+set}" = set; then |
1734 withval="$with_kwnn_includes" | 2281 withval=$with_kwnn_includes; kwnnincludedir="-I${withval}" |
1735 kwnnincludedir="-I${withval}" | |
1736 else | 2282 else |
1737 kwnnincludedir='' | 2283 kwnnincludedir='' |
1738 fi; | 2284 fi |
1739 | 2285 |
1740 # Check whether --with-kwnn-libraries or --without-kwnn-libraries was given. | 2286 |
2287 # Check whether --with-kwnn-libraries was given. | |
1741 if test "${with_kwnn_libraries+set}" = set; then | 2288 if test "${with_kwnn_libraries+set}" = set; then |
1742 withval="$with_kwnn_libraries" | 2289 withval=$with_kwnn_libraries; kwnnlibdir="${withval}" |
1743 kwnnlibdir="${withval}" | |
1744 else | 2290 else |
1745 kwnnlibdir='/usr/local/lib' | 2291 kwnnlibdir='/usr/local/lib' |
1746 fi; | 2292 fi |
2293 | |
1747 if test "X${with_libkwnn}" = X-lkwnn; then | 2294 if test "X${with_libkwnn}" = X-lkwnn; then |
1748 KWNNJLIB="-L${kwnnlibdir} -lkwnn" | 2295 KWNNJLIB="-L${kwnnlibdir} -lkwnn" |
1749 elif test X"`echo ${with_libkwnn} | grep '^/.*'`" != X ; then | 2296 elif test X"`echo ${with_libkwnn} | grep '^/.*'`" != X ; then |
1750 KWNNJLIB="${with_libkwnn}" | 2297 KWNNJLIB="${with_libkwnn}" |
1751 else | 2298 else |
1757 else | 2304 else |
1758 KWNNJLIB="\$(top_builddir)/kWnn/jlib/libkwnn.la" | 2305 KWNNJLIB="\$(top_builddir)/kWnn/jlib/libkwnn.la" |
1759 DEPKWNNJLIB="\$(KWNNJLIB)" | 2306 DEPKWNNJLIB="\$(KWNNJLIB)" |
1760 KHINSI_DATA="\$(KWNNKDSRC)/hinsi.data" | 2307 KHINSI_DATA="\$(KWNNKDSRC)/hinsi.data" |
1761 | 2308 |
1762 fi; | 2309 fi |
1763 | 2310 |
1764 | 2311 |
1765 | 2312 |
1766 | 2313 |
1767 | 2314 |
1768 # Check whether --enable-ipv6 or --disable-ipv6 was given. | 2315 |
2316 # Check whether --enable-ipv6 was given. | |
1769 if test "${enable_ipv6+set}" = set; then | 2317 if test "${enable_ipv6+set}" = set; then |
1770 enableval="$enable_ipv6" | 2318 enableval=$enable_ipv6; case "${enableval}" in |
1771 case "${enableval}" in | |
1772 yes) ipv6="-DINET6";; | 2319 yes) ipv6="-DINET6";; |
1773 no) ipv6="" ;; | 2320 no) ipv6="" ;; |
1774 *) { { echo "$as_me:$LINENO: error: bad value for --enable-ipv6" >&5 | 2321 *) { { echo "$as_me:$LINENO: error: bad value for --enable-ipv6" >&5 |
1775 echo "$as_me: error: bad value for --enable-ipv6" >&2;} | 2322 echo "$as_me: error: bad value for --enable-ipv6" >&2;} |
1776 { (exit 1); exit 1; }; } ;; | 2323 { (exit 1); exit 1; }; } ;; |
1777 esac | 2324 esac |
1778 else | 2325 else |
1779 ipv6="" | 2326 ipv6="" |
1780 fi; | 2327 fi |
1781 | 2328 |
1782 | 2329 |
1783 # Check whether --enable-unsafe-path or --disable-unsafe-path was given. | 2330 |
2331 # Check whether --enable-unsafe-path was given. | |
1784 if test "${enable_unsafe_path+set}" = set; then | 2332 if test "${enable_unsafe_path+set}" = set; then |
1785 enableval="$enable_unsafe_path" | 2333 enableval=$enable_unsafe_path; case "${enableval}" in |
1786 case "${enableval}" in | |
1787 yes) unsafe_path=true;; | 2334 yes) unsafe_path=true;; |
1788 no) unsafe_path=false;; | 2335 no) unsafe_path=false;; |
1789 *) { { echo "$as_me:$LINENO: error: bad value for --enable-unsafe-path" >&5 | 2336 *) { { echo "$as_me:$LINENO: error: bad value for --enable-unsafe-path" >&5 |
1790 echo "$as_me: error: bad value for --enable-unsafe-path" >&2;} | 2337 echo "$as_me: error: bad value for --enable-unsafe-path" >&2;} |
1791 { (exit 1); exit 1; }; } ;; | 2338 { (exit 1); exit 1; }; } ;; |
1792 esac | 2339 esac |
1793 else | 2340 else |
1794 unsafe_path=false | 2341 unsafe_path=false |
1795 fi; | 2342 fi |
2343 | |
1796 | 2344 |
1797 | 2345 |
1798 if test ${unsafe_path} = true; then | 2346 if test ${unsafe_path} = true; then |
1799 | 2347 |
1800 cat >>confdefs.h <<\_ACEOF | 2348 cat >>confdefs.h <<\_ACEOF |
1809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1810 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2358 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1811 if test -n "$ac_tool_prefix"; then | 2359 if test -n "$ac_tool_prefix"; then |
1812 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 2360 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1813 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 2361 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1814 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2362 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1816 if test "${ac_cv_prog_CC+set}" = set; then | 2364 if test "${ac_cv_prog_CC+set}" = set; then |
1817 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2365 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1818 else | 2366 else |
1819 if test -n "$CC"; then | 2367 if test -n "$CC"; then |
1820 ac_cv_prog_CC="$CC" # Let the user override the test. | 2368 ac_cv_prog_CC="$CC" # Let the user override the test. |
1823 for as_dir in $PATH | 2371 for as_dir in $PATH |
1824 do | 2372 do |
1825 IFS=$as_save_IFS | 2373 IFS=$as_save_IFS |
1826 test -z "$as_dir" && as_dir=. | 2374 test -z "$as_dir" && as_dir=. |
1827 for ac_exec_ext in '' $ac_executable_extensions; do | 2375 for ac_exec_ext in '' $ac_executable_extensions; do |
1828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
1829 ac_cv_prog_CC="${ac_tool_prefix}gcc" | 2377 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1831 break 2 | 2379 break 2 |
1832 fi | 2380 fi |
1833 done | 2381 done |
1834 done | 2382 done |
2383 IFS=$as_save_IFS | |
1835 | 2384 |
1836 fi | 2385 fi |
1837 fi | 2386 fi |
1838 CC=$ac_cv_prog_CC | 2387 CC=$ac_cv_prog_CC |
1839 if test -n "$CC"; then | 2388 if test -n "$CC"; then |
1840 echo "$as_me:$LINENO: result: $CC" >&5 | 2389 { echo "$as_me:$LINENO: result: $CC" >&5 |
1841 echo "${ECHO_T}$CC" >&6 | 2390 echo "${ECHO_T}$CC" >&6; } |
1842 else | 2391 else |
1843 echo "$as_me:$LINENO: result: no" >&5 | 2392 { echo "$as_me:$LINENO: result: no" >&5 |
1844 echo "${ECHO_T}no" >&6 | 2393 echo "${ECHO_T}no" >&6; } |
1845 fi | 2394 fi |
2395 | |
1846 | 2396 |
1847 fi | 2397 fi |
1848 if test -z "$ac_cv_prog_CC"; then | 2398 if test -z "$ac_cv_prog_CC"; then |
1849 ac_ct_CC=$CC | 2399 ac_ct_CC=$CC |
1850 # Extract the first word of "gcc", so it can be a program name with args. | 2400 # Extract the first word of "gcc", so it can be a program name with args. |
1851 set dummy gcc; ac_word=$2 | 2401 set dummy gcc; ac_word=$2 |
1852 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2402 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1854 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2404 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1855 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2405 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1856 else | 2406 else |
1857 if test -n "$ac_ct_CC"; then | 2407 if test -n "$ac_ct_CC"; then |
1858 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2408 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1861 for as_dir in $PATH | 2411 for as_dir in $PATH |
1862 do | 2412 do |
1863 IFS=$as_save_IFS | 2413 IFS=$as_save_IFS |
1864 test -z "$as_dir" && as_dir=. | 2414 test -z "$as_dir" && as_dir=. |
1865 for ac_exec_ext in '' $ac_executable_extensions; do | 2415 for ac_exec_ext in '' $ac_executable_extensions; do |
1866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
1867 ac_cv_prog_ac_ct_CC="gcc" | 2417 ac_cv_prog_ac_ct_CC="gcc" |
1868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1869 break 2 | 2419 break 2 |
1870 fi | 2420 fi |
1871 done | 2421 done |
1872 done | 2422 done |
2423 IFS=$as_save_IFS | |
1873 | 2424 |
1874 fi | 2425 fi |
1875 fi | 2426 fi |
1876 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2427 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1877 if test -n "$ac_ct_CC"; then | 2428 if test -n "$ac_ct_CC"; then |
1878 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2429 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1879 echo "${ECHO_T}$ac_ct_CC" >&6 | 2430 echo "${ECHO_T}$ac_ct_CC" >&6; } |
1880 else | 2431 else |
1881 echo "$as_me:$LINENO: result: no" >&5 | 2432 { echo "$as_me:$LINENO: result: no" >&5 |
1882 echo "${ECHO_T}no" >&6 | 2433 echo "${ECHO_T}no" >&6; } |
1883 fi | 2434 fi |
1884 | 2435 |
1885 CC=$ac_ct_CC | 2436 if test "x$ac_ct_CC" = x; then |
2437 CC="" | |
2438 else | |
2439 case $cross_compiling:$ac_tool_warned in | |
2440 yes:) | |
2441 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
2442 whose name does not start with the host triplet. If you think this | |
2443 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
2444 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
2445 whose name does not start with the host triplet. If you think this | |
2446 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
2447 ac_tool_warned=yes ;; | |
2448 esac | |
2449 CC=$ac_ct_CC | |
2450 fi | |
1886 else | 2451 else |
1887 CC="$ac_cv_prog_CC" | 2452 CC="$ac_cv_prog_CC" |
1888 fi | 2453 fi |
1889 | 2454 |
1890 if test -z "$CC"; then | 2455 if test -z "$CC"; then |
1891 if test -n "$ac_tool_prefix"; then | 2456 if test -n "$ac_tool_prefix"; then |
1892 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 2457 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1893 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 2458 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1894 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2459 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1896 if test "${ac_cv_prog_CC+set}" = set; then | 2461 if test "${ac_cv_prog_CC+set}" = set; then |
1897 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2462 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1898 else | 2463 else |
1899 if test -n "$CC"; then | 2464 if test -n "$CC"; then |
1900 ac_cv_prog_CC="$CC" # Let the user override the test. | 2465 ac_cv_prog_CC="$CC" # Let the user override the test. |
1903 for as_dir in $PATH | 2468 for as_dir in $PATH |
1904 do | 2469 do |
1905 IFS=$as_save_IFS | 2470 IFS=$as_save_IFS |
1906 test -z "$as_dir" && as_dir=. | 2471 test -z "$as_dir" && as_dir=. |
1907 for ac_exec_ext in '' $ac_executable_extensions; do | 2472 for ac_exec_ext in '' $ac_executable_extensions; do |
1908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
1909 ac_cv_prog_CC="${ac_tool_prefix}cc" | 2474 ac_cv_prog_CC="${ac_tool_prefix}cc" |
1910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1911 break 2 | 2476 break 2 |
1912 fi | 2477 fi |
1913 done | 2478 done |
1914 done | 2479 done |
2480 IFS=$as_save_IFS | |
1915 | 2481 |
1916 fi | 2482 fi |
1917 fi | 2483 fi |
1918 CC=$ac_cv_prog_CC | 2484 CC=$ac_cv_prog_CC |
1919 if test -n "$CC"; then | 2485 if test -n "$CC"; then |
1920 echo "$as_me:$LINENO: result: $CC" >&5 | 2486 { echo "$as_me:$LINENO: result: $CC" >&5 |
1921 echo "${ECHO_T}$CC" >&6 | 2487 echo "${ECHO_T}$CC" >&6; } |
1922 else | 2488 else |
1923 echo "$as_me:$LINENO: result: no" >&5 | 2489 { echo "$as_me:$LINENO: result: no" >&5 |
1924 echo "${ECHO_T}no" >&6 | 2490 echo "${ECHO_T}no" >&6; } |
1925 fi | 2491 fi |
1926 | 2492 |
1927 fi | 2493 |
1928 if test -z "$ac_cv_prog_CC"; then | |
1929 ac_ct_CC=$CC | |
1930 # Extract the first word of "cc", so it can be a program name with args. | |
1931 set dummy cc; ac_word=$2 | |
1932 echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
1933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
1934 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1935 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1936 else | |
1937 if test -n "$ac_ct_CC"; then | |
1938 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1939 else | |
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1941 for as_dir in $PATH | |
1942 do | |
1943 IFS=$as_save_IFS | |
1944 test -z "$as_dir" && as_dir=. | |
1945 for ac_exec_ext in '' $ac_executable_extensions; do | |
1946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
1947 ac_cv_prog_ac_ct_CC="cc" | |
1948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
1949 break 2 | |
1950 fi | 2494 fi |
1951 done | |
1952 done | |
1953 | |
1954 fi | |
1955 fi | |
1956 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1957 if test -n "$ac_ct_CC"; then | |
1958 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
1959 echo "${ECHO_T}$ac_ct_CC" >&6 | |
1960 else | |
1961 echo "$as_me:$LINENO: result: no" >&5 | |
1962 echo "${ECHO_T}no" >&6 | |
1963 fi | |
1964 | |
1965 CC=$ac_ct_CC | |
1966 else | |
1967 CC="$ac_cv_prog_CC" | |
1968 fi | |
1969 | |
1970 fi | 2495 fi |
1971 if test -z "$CC"; then | 2496 if test -z "$CC"; then |
1972 # Extract the first word of "cc", so it can be a program name with args. | 2497 # Extract the first word of "cc", so it can be a program name with args. |
1973 set dummy cc; ac_word=$2 | 2498 set dummy cc; ac_word=$2 |
1974 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2499 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1976 if test "${ac_cv_prog_CC+set}" = set; then | 2501 if test "${ac_cv_prog_CC+set}" = set; then |
1977 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2502 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1978 else | 2503 else |
1979 if test -n "$CC"; then | 2504 if test -n "$CC"; then |
1980 ac_cv_prog_CC="$CC" # Let the user override the test. | 2505 ac_cv_prog_CC="$CC" # Let the user override the test. |
1984 for as_dir in $PATH | 2509 for as_dir in $PATH |
1985 do | 2510 do |
1986 IFS=$as_save_IFS | 2511 IFS=$as_save_IFS |
1987 test -z "$as_dir" && as_dir=. | 2512 test -z "$as_dir" && as_dir=. |
1988 for ac_exec_ext in '' $ac_executable_extensions; do | 2513 for ac_exec_ext in '' $ac_executable_extensions; do |
1989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
1990 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 2515 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1991 ac_prog_rejected=yes | 2516 ac_prog_rejected=yes |
1992 continue | 2517 continue |
1993 fi | 2518 fi |
1994 ac_cv_prog_CC="cc" | 2519 ac_cv_prog_CC="cc" |
1995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1996 break 2 | 2521 break 2 |
1997 fi | 2522 fi |
1998 done | 2523 done |
1999 done | 2524 done |
2525 IFS=$as_save_IFS | |
2000 | 2526 |
2001 if test $ac_prog_rejected = yes; then | 2527 if test $ac_prog_rejected = yes; then |
2002 # We found a bogon in the path, so make sure we never use it. | 2528 # We found a bogon in the path, so make sure we never use it. |
2003 set dummy $ac_cv_prog_CC | 2529 set dummy $ac_cv_prog_CC |
2004 shift | 2530 shift |
2005 if test $# != 0; then | 2531 if test $# != 0; then |
2006 # We chose a different compiler from the bogus one. | 2532 # We chose a different compiler from the bogus one. |
2007 # However, it has the same basename, so the bogon will be chosen | 2533 # However, it has the same basename, so the bogon will be chosen |
2008 # first if we set CC to just the basename; use the full file name. | 2534 # first if we set CC to just the basename; use the full file name. |
2009 shift | 2535 shift |
2010 set dummy "$as_dir/$ac_word" ${1+"$@"} | 2536 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
2011 shift | |
2012 ac_cv_prog_CC="$@" | |
2013 fi | 2537 fi |
2014 fi | 2538 fi |
2015 fi | 2539 fi |
2016 fi | 2540 fi |
2017 CC=$ac_cv_prog_CC | 2541 CC=$ac_cv_prog_CC |
2018 if test -n "$CC"; then | 2542 if test -n "$CC"; then |
2019 echo "$as_me:$LINENO: result: $CC" >&5 | 2543 { echo "$as_me:$LINENO: result: $CC" >&5 |
2020 echo "${ECHO_T}$CC" >&6 | 2544 echo "${ECHO_T}$CC" >&6; } |
2021 else | 2545 else |
2022 echo "$as_me:$LINENO: result: no" >&5 | 2546 { echo "$as_me:$LINENO: result: no" >&5 |
2023 echo "${ECHO_T}no" >&6 | 2547 echo "${ECHO_T}no" >&6; } |
2024 fi | 2548 fi |
2549 | |
2025 | 2550 |
2026 fi | 2551 fi |
2027 if test -z "$CC"; then | 2552 if test -z "$CC"; then |
2028 if test -n "$ac_tool_prefix"; then | 2553 if test -n "$ac_tool_prefix"; then |
2029 for ac_prog in cl | 2554 for ac_prog in cl.exe |
2030 do | 2555 do |
2031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2556 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2032 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2557 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2033 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2558 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2035 if test "${ac_cv_prog_CC+set}" = set; then | 2560 if test "${ac_cv_prog_CC+set}" = set; then |
2036 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2561 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2037 else | 2562 else |
2038 if test -n "$CC"; then | 2563 if test -n "$CC"; then |
2039 ac_cv_prog_CC="$CC" # Let the user override the test. | 2564 ac_cv_prog_CC="$CC" # Let the user override the test. |
2042 for as_dir in $PATH | 2567 for as_dir in $PATH |
2043 do | 2568 do |
2044 IFS=$as_save_IFS | 2569 IFS=$as_save_IFS |
2045 test -z "$as_dir" && as_dir=. | 2570 test -z "$as_dir" && as_dir=. |
2046 for ac_exec_ext in '' $ac_executable_extensions; do | 2571 for ac_exec_ext in '' $ac_executable_extensions; do |
2047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
2048 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 2573 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2050 break 2 | 2575 break 2 |
2051 fi | 2576 fi |
2052 done | 2577 done |
2053 done | 2578 done |
2579 IFS=$as_save_IFS | |
2054 | 2580 |
2055 fi | 2581 fi |
2056 fi | 2582 fi |
2057 CC=$ac_cv_prog_CC | 2583 CC=$ac_cv_prog_CC |
2058 if test -n "$CC"; then | 2584 if test -n "$CC"; then |
2059 echo "$as_me:$LINENO: result: $CC" >&5 | 2585 { echo "$as_me:$LINENO: result: $CC" >&5 |
2060 echo "${ECHO_T}$CC" >&6 | 2586 echo "${ECHO_T}$CC" >&6; } |
2061 else | 2587 else |
2062 echo "$as_me:$LINENO: result: no" >&5 | 2588 { echo "$as_me:$LINENO: result: no" >&5 |
2063 echo "${ECHO_T}no" >&6 | 2589 echo "${ECHO_T}no" >&6; } |
2064 fi | 2590 fi |
2591 | |
2065 | 2592 |
2066 test -n "$CC" && break | 2593 test -n "$CC" && break |
2067 done | 2594 done |
2068 fi | 2595 fi |
2069 if test -z "$CC"; then | 2596 if test -z "$CC"; then |
2070 ac_ct_CC=$CC | 2597 ac_ct_CC=$CC |
2071 for ac_prog in cl | 2598 for ac_prog in cl.exe |
2072 do | 2599 do |
2073 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2600 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2074 set dummy $ac_prog; ac_word=$2 | 2601 set dummy $ac_prog; ac_word=$2 |
2075 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2602 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2077 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2604 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2078 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2605 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2079 else | 2606 else |
2080 if test -n "$ac_ct_CC"; then | 2607 if test -n "$ac_ct_CC"; then |
2081 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2608 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2084 for as_dir in $PATH | 2611 for as_dir in $PATH |
2085 do | 2612 do |
2086 IFS=$as_save_IFS | 2613 IFS=$as_save_IFS |
2087 test -z "$as_dir" && as_dir=. | 2614 test -z "$as_dir" && as_dir=. |
2088 for ac_exec_ext in '' $ac_executable_extensions; do | 2615 for ac_exec_ext in '' $ac_executable_extensions; do |
2089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
2090 ac_cv_prog_ac_ct_CC="$ac_prog" | 2617 ac_cv_prog_ac_ct_CC="$ac_prog" |
2091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2092 break 2 | 2619 break 2 |
2093 fi | 2620 fi |
2094 done | 2621 done |
2095 done | 2622 done |
2623 IFS=$as_save_IFS | |
2096 | 2624 |
2097 fi | 2625 fi |
2098 fi | 2626 fi |
2099 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2627 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2100 if test -n "$ac_ct_CC"; then | 2628 if test -n "$ac_ct_CC"; then |
2101 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2629 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2102 echo "${ECHO_T}$ac_ct_CC" >&6 | 2630 echo "${ECHO_T}$ac_ct_CC" >&6; } |
2103 else | 2631 else |
2104 echo "$as_me:$LINENO: result: no" >&5 | 2632 { echo "$as_me:$LINENO: result: no" >&5 |
2105 echo "${ECHO_T}no" >&6 | 2633 echo "${ECHO_T}no" >&6; } |
2106 fi | 2634 fi |
2635 | |
2107 | 2636 |
2108 test -n "$ac_ct_CC" && break | 2637 test -n "$ac_ct_CC" && break |
2109 done | 2638 done |
2110 | 2639 |
2111 CC=$ac_ct_CC | 2640 if test "x$ac_ct_CC" = x; then |
2112 fi | 2641 CC="" |
2113 | 2642 else |
2114 fi | 2643 case $cross_compiling:$ac_tool_warned in |
2115 | 2644 yes:) |
2116 | 2645 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2117 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 | 2646 whose name does not start with the host triplet. If you think this |
2118 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} | 2647 configuration is useful to you, please write to autoconf@gnu.org." >&5 |
2648 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
2649 whose name does not start with the host triplet. If you think this | |
2650 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
2651 ac_tool_warned=yes ;; | |
2652 esac | |
2653 CC=$ac_ct_CC | |
2654 fi | |
2655 fi | |
2656 | |
2657 fi | |
2658 | |
2659 | |
2660 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | |
2661 See \`config.log' for more details." >&5 | |
2662 echo "$as_me: error: no acceptable C compiler found in \$PATH | |
2663 See \`config.log' for more details." >&2;} | |
2119 { (exit 1); exit 1; }; } | 2664 { (exit 1); exit 1; }; } |
2120 | 2665 |
2121 # Provide some information about the compiler. | 2666 # Provide some information about the compiler. |
2122 echo "$as_me:$LINENO:" \ | 2667 echo "$as_me:$LINENO: checking for C compiler version" >&5 |
2123 "checking for C compiler version" >&5 | |
2124 ac_compiler=`set X $ac_compile; echo $2` | 2668 ac_compiler=`set X $ac_compile; echo $2` |
2125 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 2669 { (ac_try="$ac_compiler --version >&5" |
2126 (eval $ac_compiler --version </dev/null >&5) 2>&5 | 2670 case "(($ac_try" in |
2671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2672 *) ac_try_echo=$ac_try;; | |
2673 esac | |
2674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2675 (eval "$ac_compiler --version >&5") 2>&5 | |
2127 ac_status=$? | 2676 ac_status=$? |
2128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2129 (exit $ac_status); } | 2678 (exit $ac_status); } |
2130 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 2679 { (ac_try="$ac_compiler -v >&5" |
2131 (eval $ac_compiler -v </dev/null >&5) 2>&5 | 2680 case "(($ac_try" in |
2681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2682 *) ac_try_echo=$ac_try;; | |
2683 esac | |
2684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2685 (eval "$ac_compiler -v >&5") 2>&5 | |
2132 ac_status=$? | 2686 ac_status=$? |
2133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2134 (exit $ac_status); } | 2688 (exit $ac_status); } |
2135 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 2689 { (ac_try="$ac_compiler -V >&5" |
2136 (eval $ac_compiler -V </dev/null >&5) 2>&5 | 2690 case "(($ac_try" in |
2691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2692 *) ac_try_echo=$ac_try;; | |
2693 esac | |
2694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2695 (eval "$ac_compiler -V >&5") 2>&5 | |
2137 ac_status=$? | 2696 ac_status=$? |
2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2139 (exit $ac_status); } | 2698 (exit $ac_status); } |
2140 | 2699 |
2141 cat >conftest.$ac_ext <<_ACEOF | 2700 cat >conftest.$ac_ext <<_ACEOF |
2142 #line $LINENO "configure" | 2701 /* confdefs.h. */ |
2143 #include "confdefs.h" | 2702 _ACEOF |
2144 | 2703 cat confdefs.h >>conftest.$ac_ext |
2145 #ifdef F77_DUMMY_MAIN | 2704 cat >>conftest.$ac_ext <<_ACEOF |
2146 # ifdef __cplusplus | 2705 /* end confdefs.h. */ |
2147 extern "C" | 2706 |
2148 # endif | |
2149 int F77_DUMMY_MAIN() { return 1; } | |
2150 #endif | |
2151 int | 2707 int |
2152 main () | 2708 main () |
2153 { | 2709 { |
2154 | 2710 |
2155 ; | 2711 ; |
2156 return 0; | 2712 return 0; |
2157 } | 2713 } |
2158 _ACEOF | 2714 _ACEOF |
2159 ac_clean_files_save=$ac_clean_files | 2715 ac_clean_files_save=$ac_clean_files |
2160 ac_clean_files="$ac_clean_files a.out a.exe" | 2716 ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2161 # Try to create an executable without -o first, disregard a.out. | 2717 # Try to create an executable without -o first, disregard a.out. |
2162 # It will help us diagnose broken compilers, and finding out an intuition | 2718 # It will help us diagnose broken compilers, and finding out an intuition |
2163 # of exeext. | 2719 # of exeext. |
2164 echo "$as_me:$LINENO: checking for C compiler default output" >&5 | 2720 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2165 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | 2721 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
2166 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 2722 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2167 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 2723 # |
2168 (eval $ac_link_default) 2>&5 | 2724 # List of possible output files, starting from the most likely. |
2725 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | |
2726 # only as a last resort. b.out is created by i960 compilers. | |
2727 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | |
2728 # | |
2729 # The IRIX 6 linker writes into existing files which may not be | |
2730 # executable, retaining their permissions. Remove them first so a | |
2731 # subsequent execution test works. | |
2732 ac_rmfiles= | |
2733 for ac_file in $ac_files | |
2734 do | |
2735 case $ac_file in | |
2736 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | |
2737 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
2738 esac | |
2739 done | |
2740 rm -f $ac_rmfiles | |
2741 | |
2742 if { (ac_try="$ac_link_default" | |
2743 case "(($ac_try" in | |
2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2745 *) ac_try_echo=$ac_try;; | |
2746 esac | |
2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2748 (eval "$ac_link_default") 2>&5 | |
2169 ac_status=$? | 2749 ac_status=$? |
2170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2171 (exit $ac_status); }; then | 2751 (exit $ac_status); }; then |
2172 # Find the output, starting from the most likely. This scheme is | 2752 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2173 # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 2753 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2174 # resort. | 2754 # in a Makefile. We should not override ac_cv_exeext if it was cached, |
2175 | 2755 # so that the user can short-circuit this test for compilers unknown to |
2176 # Be careful to initialize this variable, since it used to be cached. | 2756 # Autoconf. |
2177 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 2757 for ac_file in $ac_files |
2178 ac_cv_exeext= | 2758 do |
2179 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; | 2759 test -f "$ac_file" || continue |
2180 ls a.out conftest 2>/dev/null; | |
2181 ls a.* conftest.* 2>/dev/null`; do | |
2182 case $ac_file in | 2760 case $ac_file in |
2183 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; | 2761 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
2184 a.out ) # We found the default executable, but exeext='' is most | 2762 ;; |
2185 # certainly right. | 2763 [ab].out ) |
2186 break;; | 2764 # We found the default executable, but exeext='' is most |
2187 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2765 # certainly right. |
2188 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. | 2766 break;; |
2189 export ac_cv_exeext | 2767 *.* ) |
2190 break;; | 2768 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2191 * ) break;; | 2769 then :; else |
2770 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
2771 fi | |
2772 # We set ac_cv_exeext here because the later test for it is not | |
2773 # safe: cross compilers may not add the suffix if given an `-o' | |
2774 # argument, so we may need to know it at that point already. | |
2775 # Even if this section looks crufty: it has the advantage of | |
2776 # actually working. | |
2777 break;; | |
2778 * ) | |
2779 break;; | |
2192 esac | 2780 esac |
2193 done | 2781 done |
2782 test "$ac_cv_exeext" = no && ac_cv_exeext= | |
2783 | |
2194 else | 2784 else |
2195 echo "$as_me: failed program was:" >&5 | 2785 echo "$as_me: failed program was:" >&5 |
2196 cat conftest.$ac_ext >&5 | 2786 sed 's/^/| /' conftest.$ac_ext >&5 |
2197 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 | 2787 |
2198 echo "$as_me: error: C compiler cannot create executables" >&2;} | 2788 { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2789 See \`config.log' for more details." >&5 | |
2790 echo "$as_me: error: C compiler cannot create executables | |
2791 See \`config.log' for more details." >&2;} | |
2199 { (exit 77); exit 77; }; } | 2792 { (exit 77); exit 77; }; } |
2200 fi | 2793 fi |
2201 | 2794 |
2202 ac_exeext=$ac_cv_exeext | 2795 ac_exeext=$ac_cv_exeext |
2203 echo "$as_me:$LINENO: result: $ac_file" >&5 | 2796 { echo "$as_me:$LINENO: result: $ac_file" >&5 |
2204 echo "${ECHO_T}$ac_file" >&6 | 2797 echo "${ECHO_T}$ac_file" >&6; } |
2205 | 2798 |
2206 # Check the compiler produces executables we can run. If not, either | 2799 # Check that the compiler produces executables we can run. If not, either |
2207 # the compiler is broken, or we cross compile. | 2800 # the compiler is broken, or we cross compile. |
2208 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | 2801 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
2209 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | 2802 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
2210 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 2803 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2211 # If not cross compiling, check that we can run a simple program. | 2804 # If not cross compiling, check that we can run a simple program. |
2212 if test "$cross_compiling" != yes; then | 2805 if test "$cross_compiling" != yes; then |
2213 if { ac_try='./$ac_file' | 2806 if { ac_try='./$ac_file' |
2214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2807 { (case "(($ac_try" in |
2215 (eval $ac_try) 2>&5 | 2808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2809 *) ac_try_echo=$ac_try;; | |
2810 esac | |
2811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2812 (eval "$ac_try") 2>&5 | |
2216 ac_status=$? | 2813 ac_status=$? |
2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2218 (exit $ac_status); }; }; then | 2815 (exit $ac_status); }; }; then |
2219 cross_compiling=no | 2816 cross_compiling=no |
2220 else | 2817 else |
2221 if test "$cross_compiling" = maybe; then | 2818 if test "$cross_compiling" = maybe; then |
2222 cross_compiling=yes | 2819 cross_compiling=yes |
2223 else | 2820 else |
2224 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | 2821 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
2225 If you meant to cross compile, use \`--host'." >&5 | 2822 If you meant to cross compile, use \`--host'. |
2823 See \`config.log' for more details." >&5 | |
2226 echo "$as_me: error: cannot run C compiled programs. | 2824 echo "$as_me: error: cannot run C compiled programs. |
2227 If you meant to cross compile, use \`--host'." >&2;} | 2825 If you meant to cross compile, use \`--host'. |
2826 See \`config.log' for more details." >&2;} | |
2228 { (exit 1); exit 1; }; } | 2827 { (exit 1); exit 1; }; } |
2229 fi | 2828 fi |
2230 fi | 2829 fi |
2231 fi | 2830 fi |
2232 echo "$as_me:$LINENO: result: yes" >&5 | 2831 { echo "$as_me:$LINENO: result: yes" >&5 |
2233 echo "${ECHO_T}yes" >&6 | 2832 echo "${ECHO_T}yes" >&6; } |
2234 | 2833 |
2235 rm -f a.out a.exe conftest$ac_cv_exeext | 2834 rm -f a.out a.exe conftest$ac_cv_exeext b.out |
2236 ac_clean_files=$ac_clean_files_save | 2835 ac_clean_files=$ac_clean_files_save |
2237 # Check the compiler produces executables we can run. If not, either | 2836 # Check that the compiler produces executables we can run. If not, either |
2238 # the compiler is broken, or we cross compile. | 2837 # the compiler is broken, or we cross compile. |
2239 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 2838 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2240 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 2839 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
2241 echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 2840 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
2242 echo "${ECHO_T}$cross_compiling" >&6 | 2841 echo "${ECHO_T}$cross_compiling" >&6; } |
2243 | 2842 |
2244 echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 2843 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
2245 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 2844 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
2246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 2845 if { (ac_try="$ac_link" |
2247 (eval $ac_link) 2>&5 | 2846 case "(($ac_try" in |
2847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2848 *) ac_try_echo=$ac_try;; | |
2849 esac | |
2850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2851 (eval "$ac_link") 2>&5 | |
2248 ac_status=$? | 2852 ac_status=$? |
2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2250 (exit $ac_status); }; then | 2854 (exit $ac_status); }; then |
2251 # If both `conftest.exe' and `conftest' are `present' (well, observable) | 2855 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2252 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 2856 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2253 # work properly (i.e., refer to `conftest.exe'), while it won't with | 2857 # work properly (i.e., refer to `conftest.exe'), while it won't with |
2254 # `rm'. | 2858 # `rm'. |
2255 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do | 2859 for ac_file in conftest.exe conftest conftest.*; do |
2860 test -f "$ac_file" || continue | |
2256 case $ac_file in | 2861 case $ac_file in |
2257 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; | 2862 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
2258 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2863 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2259 export ac_cv_exeext | 2864 break;; |
2260 break;; | |
2261 * ) break;; | 2865 * ) break;; |
2262 esac | 2866 esac |
2263 done | 2867 done |
2264 else | 2868 else |
2265 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 | 2869 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
2266 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} | 2870 See \`config.log' for more details." >&5 |
2871 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | |
2872 See \`config.log' for more details." >&2;} | |
2267 { (exit 1); exit 1; }; } | 2873 { (exit 1); exit 1; }; } |
2268 fi | 2874 fi |
2269 | 2875 |
2270 rm -f conftest$ac_cv_exeext | 2876 rm -f conftest$ac_cv_exeext |
2271 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 2877 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2272 echo "${ECHO_T}$ac_cv_exeext" >&6 | 2878 echo "${ECHO_T}$ac_cv_exeext" >&6; } |
2273 | 2879 |
2274 rm -f conftest.$ac_ext | 2880 rm -f conftest.$ac_ext |
2275 EXEEXT=$ac_cv_exeext | 2881 EXEEXT=$ac_cv_exeext |
2276 ac_exeext=$EXEEXT | 2882 ac_exeext=$EXEEXT |
2277 echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 2883 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2278 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 2884 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
2279 if test "${ac_cv_objext+set}" = set; then | 2885 if test "${ac_cv_objext+set}" = set; then |
2280 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2886 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2281 else | 2887 else |
2282 cat >conftest.$ac_ext <<_ACEOF | 2888 cat >conftest.$ac_ext <<_ACEOF |
2283 #line $LINENO "configure" | 2889 /* confdefs.h. */ |
2284 #include "confdefs.h" | 2890 _ACEOF |
2285 | 2891 cat confdefs.h >>conftest.$ac_ext |
2286 #ifdef F77_DUMMY_MAIN | 2892 cat >>conftest.$ac_ext <<_ACEOF |
2287 # ifdef __cplusplus | 2893 /* end confdefs.h. */ |
2288 extern "C" | 2894 |
2289 # endif | |
2290 int F77_DUMMY_MAIN() { return 1; } | |
2291 #endif | |
2292 int | 2895 int |
2293 main () | 2896 main () |
2294 { | 2897 { |
2295 | 2898 |
2296 ; | 2899 ; |
2297 return 0; | 2900 return 0; |
2298 } | 2901 } |
2299 _ACEOF | 2902 _ACEOF |
2300 rm -f conftest.o conftest.obj | 2903 rm -f conftest.o conftest.obj |
2301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2904 if { (ac_try="$ac_compile" |
2302 (eval $ac_compile) 2>&5 | 2905 case "(($ac_try" in |
2906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2907 *) ac_try_echo=$ac_try;; | |
2908 esac | |
2909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2910 (eval "$ac_compile") 2>&5 | |
2303 ac_status=$? | 2911 ac_status=$? |
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2305 (exit $ac_status); }; then | 2913 (exit $ac_status); }; then |
2306 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 2914 for ac_file in conftest.o conftest.obj conftest.*; do |
2915 test -f "$ac_file" || continue; | |
2307 case $ac_file in | 2916 case $ac_file in |
2308 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; | 2917 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
2309 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 2918 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2310 break;; | 2919 break;; |
2311 esac | 2920 esac |
2312 done | 2921 done |
2313 else | 2922 else |
2314 echo "$as_me: failed program was:" >&5 | 2923 echo "$as_me: failed program was:" >&5 |
2315 cat conftest.$ac_ext >&5 | 2924 sed 's/^/| /' conftest.$ac_ext >&5 |
2316 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 | 2925 |
2317 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} | 2926 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2927 See \`config.log' for more details." >&5 | |
2928 echo "$as_me: error: cannot compute suffix of object files: cannot compile | |
2929 See \`config.log' for more details." >&2;} | |
2318 { (exit 1); exit 1; }; } | 2930 { (exit 1); exit 1; }; } |
2319 fi | 2931 fi |
2320 | 2932 |
2321 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 2933 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2322 fi | 2934 fi |
2323 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 2935 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2324 echo "${ECHO_T}$ac_cv_objext" >&6 | 2936 echo "${ECHO_T}$ac_cv_objext" >&6; } |
2325 OBJEXT=$ac_cv_objext | 2937 OBJEXT=$ac_cv_objext |
2326 ac_objext=$OBJEXT | 2938 ac_objext=$OBJEXT |
2327 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 2939 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2328 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 2940 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
2329 if test "${ac_cv_c_compiler_gnu+set}" = set; then | 2941 if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2330 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2942 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2331 else | 2943 else |
2332 cat >conftest.$ac_ext <<_ACEOF | 2944 cat >conftest.$ac_ext <<_ACEOF |
2333 #line $LINENO "configure" | 2945 /* confdefs.h. */ |
2334 #include "confdefs.h" | 2946 _ACEOF |
2335 | 2947 cat confdefs.h >>conftest.$ac_ext |
2336 #ifdef F77_DUMMY_MAIN | 2948 cat >>conftest.$ac_ext <<_ACEOF |
2337 # ifdef __cplusplus | 2949 /* end confdefs.h. */ |
2338 extern "C" | 2950 |
2339 # endif | |
2340 int F77_DUMMY_MAIN() { return 1; } | |
2341 #endif | |
2342 int | 2951 int |
2343 main () | 2952 main () |
2344 { | 2953 { |
2345 #ifndef __GNUC__ | 2954 #ifndef __GNUC__ |
2346 choke me | 2955 choke me |
2349 ; | 2958 ; |
2350 return 0; | 2959 return 0; |
2351 } | 2960 } |
2352 _ACEOF | 2961 _ACEOF |
2353 rm -f conftest.$ac_objext | 2962 rm -f conftest.$ac_objext |
2354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2963 if { (ac_try="$ac_compile" |
2355 (eval $ac_compile) 2>&5 | 2964 case "(($ac_try" in |
2965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2966 *) ac_try_echo=$ac_try;; | |
2967 esac | |
2968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2969 (eval "$ac_compile") 2>conftest.er1 | |
2970 ac_status=$? | |
2971 grep -v '^ *+' conftest.er1 >conftest.err | |
2972 rm -f conftest.er1 | |
2973 cat conftest.err >&5 | |
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2975 (exit $ac_status); } && | |
2976 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
2977 { (case "(($ac_try" in | |
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2979 *) ac_try_echo=$ac_try;; | |
2980 esac | |
2981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2982 (eval "$ac_try") 2>&5 | |
2356 ac_status=$? | 2983 ac_status=$? |
2357 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2358 (exit $ac_status); } && | 2985 (exit $ac_status); }; } && |
2359 { ac_try='test -s conftest.$ac_objext' | 2986 { ac_try='test -s conftest.$ac_objext' |
2360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2987 { (case "(($ac_try" in |
2361 (eval $ac_try) 2>&5 | 2988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2989 *) ac_try_echo=$ac_try;; | |
2990 esac | |
2991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2992 (eval "$ac_try") 2>&5 | |
2362 ac_status=$? | 2993 ac_status=$? |
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2364 (exit $ac_status); }; }; then | 2995 (exit $ac_status); }; }; then |
2365 ac_compiler_gnu=yes | 2996 ac_compiler_gnu=yes |
2366 else | 2997 else |
2367 echo "$as_me: failed program was:" >&5 | 2998 echo "$as_me: failed program was:" >&5 |
2368 cat conftest.$ac_ext >&5 | 2999 sed 's/^/| /' conftest.$ac_ext >&5 |
2369 ac_compiler_gnu=no | 3000 |
2370 fi | 3001 ac_compiler_gnu=no |
2371 rm -f conftest.$ac_objext conftest.$ac_ext | 3002 fi |
3003 | |
3004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2372 ac_cv_c_compiler_gnu=$ac_compiler_gnu | 3005 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2373 | 3006 |
2374 fi | 3007 fi |
2375 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 3008 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2376 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 3009 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
2377 GCC=`test $ac_compiler_gnu = yes && echo yes` | 3010 GCC=`test $ac_compiler_gnu = yes && echo yes` |
2378 ac_test_CFLAGS=${CFLAGS+set} | 3011 ac_test_CFLAGS=${CFLAGS+set} |
2379 ac_save_CFLAGS=$CFLAGS | 3012 ac_save_CFLAGS=$CFLAGS |
2380 CFLAGS="-g" | 3013 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2381 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 3014 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
2382 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | |
2383 if test "${ac_cv_prog_cc_g+set}" = set; then | 3015 if test "${ac_cv_prog_cc_g+set}" = set; then |
2384 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3016 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2385 else | 3017 else |
2386 cat >conftest.$ac_ext <<_ACEOF | 3018 ac_save_c_werror_flag=$ac_c_werror_flag |
2387 #line $LINENO "configure" | 3019 ac_c_werror_flag=yes |
2388 #include "confdefs.h" | 3020 ac_cv_prog_cc_g=no |
2389 | 3021 CFLAGS="-g" |
2390 #ifdef F77_DUMMY_MAIN | 3022 cat >conftest.$ac_ext <<_ACEOF |
2391 # ifdef __cplusplus | 3023 /* confdefs.h. */ |
2392 extern "C" | 3024 _ACEOF |
2393 # endif | 3025 cat confdefs.h >>conftest.$ac_ext |
2394 int F77_DUMMY_MAIN() { return 1; } | 3026 cat >>conftest.$ac_ext <<_ACEOF |
2395 #endif | 3027 /* end confdefs.h. */ |
3028 | |
2396 int | 3029 int |
2397 main () | 3030 main () |
2398 { | 3031 { |
2399 | 3032 |
2400 ; | 3033 ; |
2401 return 0; | 3034 return 0; |
2402 } | 3035 } |
2403 _ACEOF | 3036 _ACEOF |
2404 rm -f conftest.$ac_objext | 3037 rm -f conftest.$ac_objext |
2405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3038 if { (ac_try="$ac_compile" |
2406 (eval $ac_compile) 2>&5 | 3039 case "(($ac_try" in |
3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3041 *) ac_try_echo=$ac_try;; | |
3042 esac | |
3043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3044 (eval "$ac_compile") 2>conftest.er1 | |
3045 ac_status=$? | |
3046 grep -v '^ *+' conftest.er1 >conftest.err | |
3047 rm -f conftest.er1 | |
3048 cat conftest.err >&5 | |
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3050 (exit $ac_status); } && | |
3051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
3052 { (case "(($ac_try" in | |
3053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3054 *) ac_try_echo=$ac_try;; | |
3055 esac | |
3056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3057 (eval "$ac_try") 2>&5 | |
2407 ac_status=$? | 3058 ac_status=$? |
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2409 (exit $ac_status); } && | 3060 (exit $ac_status); }; } && |
2410 { ac_try='test -s conftest.$ac_objext' | 3061 { ac_try='test -s conftest.$ac_objext' |
2411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3062 { (case "(($ac_try" in |
2412 (eval $ac_try) 2>&5 | 3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3064 *) ac_try_echo=$ac_try;; | |
3065 esac | |
3066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3067 (eval "$ac_try") 2>&5 | |
2413 ac_status=$? | 3068 ac_status=$? |
2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2415 (exit $ac_status); }; }; then | 3070 (exit $ac_status); }; }; then |
2416 ac_cv_prog_cc_g=yes | 3071 ac_cv_prog_cc_g=yes |
2417 else | 3072 else |
2418 echo "$as_me: failed program was:" >&5 | 3073 echo "$as_me: failed program was:" >&5 |
2419 cat conftest.$ac_ext >&5 | 3074 sed 's/^/| /' conftest.$ac_ext >&5 |
2420 ac_cv_prog_cc_g=no | 3075 |
2421 fi | 3076 CFLAGS="" |
2422 rm -f conftest.$ac_objext conftest.$ac_ext | 3077 cat >conftest.$ac_ext <<_ACEOF |
2423 fi | 3078 /* confdefs.h. */ |
2424 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 3079 _ACEOF |
2425 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 3080 cat confdefs.h >>conftest.$ac_ext |
3081 cat >>conftest.$ac_ext <<_ACEOF | |
3082 /* end confdefs.h. */ | |
3083 | |
3084 int | |
3085 main () | |
3086 { | |
3087 | |
3088 ; | |
3089 return 0; | |
3090 } | |
3091 _ACEOF | |
3092 rm -f conftest.$ac_objext | |
3093 if { (ac_try="$ac_compile" | |
3094 case "(($ac_try" in | |
3095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3096 *) ac_try_echo=$ac_try;; | |
3097 esac | |
3098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3099 (eval "$ac_compile") 2>conftest.er1 | |
3100 ac_status=$? | |
3101 grep -v '^ *+' conftest.er1 >conftest.err | |
3102 rm -f conftest.er1 | |
3103 cat conftest.err >&5 | |
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3105 (exit $ac_status); } && | |
3106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
3107 { (case "(($ac_try" in | |
3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3109 *) ac_try_echo=$ac_try;; | |
3110 esac | |
3111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3112 (eval "$ac_try") 2>&5 | |
3113 ac_status=$? | |
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3115 (exit $ac_status); }; } && | |
3116 { ac_try='test -s conftest.$ac_objext' | |
3117 { (case "(($ac_try" in | |
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3119 *) ac_try_echo=$ac_try;; | |
3120 esac | |
3121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3122 (eval "$ac_try") 2>&5 | |
3123 ac_status=$? | |
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3125 (exit $ac_status); }; }; then | |
3126 : | |
3127 else | |
3128 echo "$as_me: failed program was:" >&5 | |
3129 sed 's/^/| /' conftest.$ac_ext >&5 | |
3130 | |
3131 ac_c_werror_flag=$ac_save_c_werror_flag | |
3132 CFLAGS="-g" | |
3133 cat >conftest.$ac_ext <<_ACEOF | |
3134 /* confdefs.h. */ | |
3135 _ACEOF | |
3136 cat confdefs.h >>conftest.$ac_ext | |
3137 cat >>conftest.$ac_ext <<_ACEOF | |
3138 /* end confdefs.h. */ | |
3139 | |
3140 int | |
3141 main () | |
3142 { | |
3143 | |
3144 ; | |
3145 return 0; | |
3146 } | |
3147 _ACEOF | |
3148 rm -f conftest.$ac_objext | |
3149 if { (ac_try="$ac_compile" | |
3150 case "(($ac_try" in | |
3151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3152 *) ac_try_echo=$ac_try;; | |
3153 esac | |
3154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3155 (eval "$ac_compile") 2>conftest.er1 | |
3156 ac_status=$? | |
3157 grep -v '^ *+' conftest.er1 >conftest.err | |
3158 rm -f conftest.er1 | |
3159 cat conftest.err >&5 | |
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3161 (exit $ac_status); } && | |
3162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
3163 { (case "(($ac_try" in | |
3164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3165 *) ac_try_echo=$ac_try;; | |
3166 esac | |
3167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3168 (eval "$ac_try") 2>&5 | |
3169 ac_status=$? | |
3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3171 (exit $ac_status); }; } && | |
3172 { ac_try='test -s conftest.$ac_objext' | |
3173 { (case "(($ac_try" in | |
3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3175 *) ac_try_echo=$ac_try;; | |
3176 esac | |
3177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3178 (eval "$ac_try") 2>&5 | |
3179 ac_status=$? | |
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3181 (exit $ac_status); }; }; then | |
3182 ac_cv_prog_cc_g=yes | |
3183 else | |
3184 echo "$as_me: failed program was:" >&5 | |
3185 sed 's/^/| /' conftest.$ac_ext >&5 | |
3186 | |
3187 | |
3188 fi | |
3189 | |
3190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3191 fi | |
3192 | |
3193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3194 fi | |
3195 | |
3196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3197 ac_c_werror_flag=$ac_save_c_werror_flag | |
3198 fi | |
3199 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | |
3200 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } | |
2426 if test "$ac_test_CFLAGS" = set; then | 3201 if test "$ac_test_CFLAGS" = set; then |
2427 CFLAGS=$ac_save_CFLAGS | 3202 CFLAGS=$ac_save_CFLAGS |
2428 elif test $ac_cv_prog_cc_g = yes; then | 3203 elif test $ac_cv_prog_cc_g = yes; then |
2429 if test "$GCC" = yes; then | 3204 if test "$GCC" = yes; then |
2430 CFLAGS="-g -O2" | 3205 CFLAGS="-g -O2" |
2436 CFLAGS="-O2" | 3211 CFLAGS="-O2" |
2437 else | 3212 else |
2438 CFLAGS= | 3213 CFLAGS= |
2439 fi | 3214 fi |
2440 fi | 3215 fi |
2441 # Some people use a C++ compiler to compile C. Since we use `exit', | 3216 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
2442 # in C++ we need to declare it. In case someone uses the same compiler | 3217 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
2443 # for both compiling C and C++ we need to have the C++ compiler decide | 3218 if test "${ac_cv_prog_cc_c89+set}" = set; then |
2444 # the declaration of exit, since it's the most demanding environment. | 3219 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3220 else | |
3221 ac_cv_prog_cc_c89=no | |
3222 ac_save_CC=$CC | |
2445 cat >conftest.$ac_ext <<_ACEOF | 3223 cat >conftest.$ac_ext <<_ACEOF |
2446 #ifndef __cplusplus | 3224 /* confdefs.h. */ |
2447 choke me | |
2448 #endif | |
2449 _ACEOF | 3225 _ACEOF |
2450 rm -f conftest.$ac_objext | 3226 cat confdefs.h >>conftest.$ac_ext |
2451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3227 cat >>conftest.$ac_ext <<_ACEOF |
2452 (eval $ac_compile) 2>&5 | 3228 /* end confdefs.h. */ |
2453 ac_status=$? | 3229 #include <stdarg.h> |
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3230 #include <stdio.h> |
2455 (exit $ac_status); } && | 3231 #include <sys/types.h> |
2456 { ac_try='test -s conftest.$ac_objext' | 3232 #include <sys/stat.h> |
2457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3233 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2458 (eval $ac_try) 2>&5 | 3234 struct buf { int x; }; |
2459 ac_status=$? | 3235 FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3236 static char *e (p, i) |
2461 (exit $ac_status); }; }; then | 3237 char **p; |
2462 for ac_declaration in \ | 3238 int i; |
2463 ''\ | 3239 { |
2464 '#include <stdlib.h>' \ | 3240 return p[i]; |
2465 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 3241 } |
2466 'extern "C" void std::exit (int); using std::exit;' \ | 3242 static char *f (char * (*g) (char **, int), char **p, ...) |
2467 'extern "C" void exit (int) throw ();' \ | 3243 { |
2468 'extern "C" void exit (int);' \ | 3244 char *s; |
2469 'void exit (int);' | 3245 va_list v; |
2470 do | 3246 va_start (v,p); |
2471 cat >conftest.$ac_ext <<_ACEOF | 3247 s = g (p, va_arg (v,int)); |
2472 #line $LINENO "configure" | 3248 va_end (v); |
2473 #include "confdefs.h" | 3249 return s; |
2474 #include <stdlib.h> | 3250 } |
2475 $ac_declaration | 3251 |
2476 #ifdef F77_DUMMY_MAIN | 3252 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2477 # ifdef __cplusplus | 3253 function prototypes and stuff, but not '\xHH' hex character constants. |
2478 extern "C" | 3254 These don't provoke an error unfortunately, instead are silently treated |
2479 # endif | 3255 as 'x'. The following induces an error, until -std is added to get |
2480 int F77_DUMMY_MAIN() { return 1; } | 3256 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2481 #endif | 3257 array size at least. It's necessary to write '\x00'==0 to get something |
3258 that's true only with -std. */ | |
3259 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
3260 | |
3261 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
3262 inside strings and character constants. */ | |
3263 #define FOO(x) 'x' | |
3264 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
3265 | |
3266 int test (int i, double x); | |
3267 struct s1 {int (*f) (int a);}; | |
3268 struct s2 {int (*f) (double a);}; | |
3269 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
3270 int argc; | |
3271 char **argv; | |
2482 int | 3272 int |
2483 main () | 3273 main () |
2484 { | 3274 { |
2485 exit (42); | 3275 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2486 ; | 3276 ; |
2487 return 0; | 3277 return 0; |
2488 } | 3278 } |
2489 _ACEOF | 3279 _ACEOF |
2490 rm -f conftest.$ac_objext | 3280 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
2491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3281 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2492 (eval $ac_compile) 2>&5 | 3282 do |
3283 CC="$ac_save_CC $ac_arg" | |
3284 rm -f conftest.$ac_objext | |
3285 if { (ac_try="$ac_compile" | |
3286 case "(($ac_try" in | |
3287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3288 *) ac_try_echo=$ac_try;; | |
3289 esac | |
3290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3291 (eval "$ac_compile") 2>conftest.er1 | |
3292 ac_status=$? | |
3293 grep -v '^ *+' conftest.er1 >conftest.err | |
3294 rm -f conftest.er1 | |
3295 cat conftest.err >&5 | |
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3297 (exit $ac_status); } && | |
3298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
3299 { (case "(($ac_try" in | |
3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3301 *) ac_try_echo=$ac_try;; | |
3302 esac | |
3303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3304 (eval "$ac_try") 2>&5 | |
2493 ac_status=$? | 3305 ac_status=$? |
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2495 (exit $ac_status); } && | 3307 (exit $ac_status); }; } && |
2496 { ac_try='test -s conftest.$ac_objext' | 3308 { ac_try='test -s conftest.$ac_objext' |
2497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3309 { (case "(($ac_try" in |
2498 (eval $ac_try) 2>&5 | 3310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3311 *) ac_try_echo=$ac_try;; | |
3312 esac | |
3313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3314 (eval "$ac_try") 2>&5 | |
2499 ac_status=$? | 3315 ac_status=$? |
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2501 (exit $ac_status); }; }; then | 3317 (exit $ac_status); }; }; then |
2502 : | 3318 ac_cv_prog_cc_c89=$ac_arg |
2503 else | 3319 else |
2504 echo "$as_me: failed program was:" >&5 | 3320 echo "$as_me: failed program was:" >&5 |
2505 cat conftest.$ac_ext >&5 | 3321 sed 's/^/| /' conftest.$ac_ext >&5 |
2506 continue | 3322 |
2507 fi | 3323 |
2508 rm -f conftest.$ac_objext conftest.$ac_ext | 3324 fi |
2509 cat >conftest.$ac_ext <<_ACEOF | 3325 |
2510 #line $LINENO "configure" | 3326 rm -f core conftest.err conftest.$ac_objext |
2511 #include "confdefs.h" | 3327 test "x$ac_cv_prog_cc_c89" != "xno" && break |
2512 $ac_declaration | |
2513 #ifdef F77_DUMMY_MAIN | |
2514 # ifdef __cplusplus | |
2515 extern "C" | |
2516 # endif | |
2517 int F77_DUMMY_MAIN() { return 1; } | |
2518 #endif | |
2519 int | |
2520 main () | |
2521 { | |
2522 exit (42); | |
2523 ; | |
2524 return 0; | |
2525 } | |
2526 _ACEOF | |
2527 rm -f conftest.$ac_objext | |
2528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2529 (eval $ac_compile) 2>&5 | |
2530 ac_status=$? | |
2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2532 (exit $ac_status); } && | |
2533 { ac_try='test -s conftest.$ac_objext' | |
2534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2535 (eval $ac_try) 2>&5 | |
2536 ac_status=$? | |
2537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2538 (exit $ac_status); }; }; then | |
2539 break | |
2540 else | |
2541 echo "$as_me: failed program was:" >&5 | |
2542 cat conftest.$ac_ext >&5 | |
2543 fi | |
2544 rm -f conftest.$ac_objext conftest.$ac_ext | |
2545 done | 3328 done |
2546 rm -f conftest* | 3329 rm -f conftest.$ac_ext |
2547 if test -n "$ac_declaration"; then | 3330 CC=$ac_save_CC |
2548 echo '#ifdef __cplusplus' >>confdefs.h | 3331 |
2549 echo $ac_declaration >>confdefs.h | 3332 fi |
2550 echo '#endif' >>confdefs.h | 3333 # AC_CACHE_VAL |
2551 fi | 3334 case "x$ac_cv_prog_cc_c89" in |
2552 | 3335 x) |
2553 else | 3336 { echo "$as_me:$LINENO: result: none needed" >&5 |
2554 echo "$as_me: failed program was:" >&5 | 3337 echo "${ECHO_T}none needed" >&6; } ;; |
2555 cat conftest.$ac_ext >&5 | 3338 xno) |
2556 fi | 3339 { echo "$as_me:$LINENO: result: unsupported" >&5 |
2557 rm -f conftest.$ac_objext conftest.$ac_ext | 3340 echo "${ECHO_T}unsupported" >&6; } ;; |
3341 *) | |
3342 CC="$CC $ac_cv_prog_cc_c89" | |
3343 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | |
3344 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; | |
3345 esac | |
3346 | |
3347 | |
2558 ac_ext=c | 3348 ac_ext=c |
2559 ac_cpp='$CPP $CPPFLAGS' | 3349 ac_cpp='$CPP $CPPFLAGS' |
2560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2562 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3352 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2632 ac_ext=c | 3422 ac_ext=c |
2633 ac_cpp='$CPP $CPPFLAGS' | 3423 ac_cpp='$CPP $CPPFLAGS' |
2634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2636 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3426 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2637 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 3427 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
2638 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 3428 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
2639 # On Suns, sometimes $CPP names a directory. | 3429 # On Suns, sometimes $CPP names a directory. |
2640 if test -n "$CPP" && test -d "$CPP"; then | 3430 if test -n "$CPP" && test -d "$CPP"; then |
2641 CPP= | 3431 CPP= |
2642 fi | 3432 fi |
2643 if test -z "$CPP"; then | 3433 if test -z "$CPP"; then |
2650 ac_preproc_ok=false | 3440 ac_preproc_ok=false |
2651 for ac_c_preproc_warn_flag in '' yes | 3441 for ac_c_preproc_warn_flag in '' yes |
2652 do | 3442 do |
2653 # Use a header file that comes with gcc, so configuring glibc | 3443 # Use a header file that comes with gcc, so configuring glibc |
2654 # with a fresh cross-compiler works. | 3444 # with a fresh cross-compiler works. |
3445 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3446 # <limits.h> exists even on freestanding compilers. | |
2655 # On the NeXT, cc -E runs the code through the compiler's parser, | 3447 # On the NeXT, cc -E runs the code through the compiler's parser, |
2656 # not just through cpp. "Syntax error" is here to catch this case. | 3448 # not just through cpp. "Syntax error" is here to catch this case. |
2657 cat >conftest.$ac_ext <<_ACEOF | 3449 cat >conftest.$ac_ext <<_ACEOF |
2658 #line $LINENO "configure" | 3450 /* confdefs.h. */ |
2659 #include "confdefs.h" | |
2660 #include <assert.h> | |
2661 Syntax error | |
2662 _ACEOF | 3451 _ACEOF |
2663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3452 cat confdefs.h >>conftest.$ac_ext |
2664 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3453 cat >>conftest.$ac_ext <<_ACEOF |
3454 /* end confdefs.h. */ | |
3455 #ifdef __STDC__ | |
3456 # include <limits.h> | |
3457 #else | |
3458 # include <assert.h> | |
3459 #endif | |
3460 Syntax error | |
3461 _ACEOF | |
3462 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
3463 case "(($ac_try" in | |
3464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3465 *) ac_try_echo=$ac_try;; | |
3466 esac | |
3467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3468 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
2665 ac_status=$? | 3469 ac_status=$? |
2666 egrep -v '^ *\+' conftest.er1 >conftest.err | 3470 grep -v '^ *+' conftest.er1 >conftest.err |
2667 rm -f conftest.er1 | 3471 rm -f conftest.er1 |
2668 cat conftest.err >&5 | 3472 cat conftest.err >&5 |
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2670 (exit $ac_status); } >/dev/null; then | 3474 (exit $ac_status); } >/dev/null; then |
2671 if test -s conftest.err; then | 3475 if test -s conftest.err; then |
2672 ac_cpp_err=$ac_c_preproc_warn_flag | 3476 ac_cpp_err=$ac_c_preproc_warn_flag |
3477 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | |
2673 else | 3478 else |
2674 ac_cpp_err= | 3479 ac_cpp_err= |
2675 fi | 3480 fi |
2676 else | 3481 else |
2677 ac_cpp_err=yes | 3482 ac_cpp_err=yes |
2678 fi | 3483 fi |
2679 if test -z "$ac_cpp_err"; then | 3484 if test -z "$ac_cpp_err"; then |
2680 : | 3485 : |
2681 else | 3486 else |
2682 echo "$as_me: failed program was:" >&5 | 3487 echo "$as_me: failed program was:" >&5 |
2683 cat conftest.$ac_ext >&5 | 3488 sed 's/^/| /' conftest.$ac_ext >&5 |
3489 | |
2684 # Broken: fails on valid input. | 3490 # Broken: fails on valid input. |
2685 continue | 3491 continue |
2686 fi | 3492 fi |
3493 | |
2687 rm -f conftest.err conftest.$ac_ext | 3494 rm -f conftest.err conftest.$ac_ext |
2688 | 3495 |
2689 # OK, works on sane cases. Now check whether non-existent headers | 3496 # OK, works on sane cases. Now check whether nonexistent headers |
2690 # can be detected and how. | 3497 # can be detected and how. |
2691 cat >conftest.$ac_ext <<_ACEOF | 3498 cat >conftest.$ac_ext <<_ACEOF |
2692 #line $LINENO "configure" | 3499 /* confdefs.h. */ |
2693 #include "confdefs.h" | 3500 _ACEOF |
3501 cat confdefs.h >>conftest.$ac_ext | |
3502 cat >>conftest.$ac_ext <<_ACEOF | |
3503 /* end confdefs.h. */ | |
2694 #include <ac_nonexistent.h> | 3504 #include <ac_nonexistent.h> |
2695 _ACEOF | 3505 _ACEOF |
2696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3506 if { (ac_try="$ac_cpp conftest.$ac_ext" |
2697 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3507 case "(($ac_try" in |
3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3509 *) ac_try_echo=$ac_try;; | |
3510 esac | |
3511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3512 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
2698 ac_status=$? | 3513 ac_status=$? |
2699 egrep -v '^ *\+' conftest.er1 >conftest.err | 3514 grep -v '^ *+' conftest.er1 >conftest.err |
2700 rm -f conftest.er1 | 3515 rm -f conftest.er1 |
2701 cat conftest.err >&5 | 3516 cat conftest.err >&5 |
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2703 (exit $ac_status); } >/dev/null; then | 3518 (exit $ac_status); } >/dev/null; then |
2704 if test -s conftest.err; then | 3519 if test -s conftest.err; then |
2705 ac_cpp_err=$ac_c_preproc_warn_flag | 3520 ac_cpp_err=$ac_c_preproc_warn_flag |
3521 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | |
2706 else | 3522 else |
2707 ac_cpp_err= | 3523 ac_cpp_err= |
2708 fi | 3524 fi |
2709 else | 3525 else |
2710 ac_cpp_err=yes | 3526 ac_cpp_err=yes |
2712 if test -z "$ac_cpp_err"; then | 3528 if test -z "$ac_cpp_err"; then |
2713 # Broken: success on invalid input. | 3529 # Broken: success on invalid input. |
2714 continue | 3530 continue |
2715 else | 3531 else |
2716 echo "$as_me: failed program was:" >&5 | 3532 echo "$as_me: failed program was:" >&5 |
2717 cat conftest.$ac_ext >&5 | 3533 sed 's/^/| /' conftest.$ac_ext >&5 |
3534 | |
2718 # Passes both tests. | 3535 # Passes both tests. |
2719 ac_preproc_ok=: | 3536 ac_preproc_ok=: |
2720 break | 3537 break |
2721 fi | 3538 fi |
3539 | |
2722 rm -f conftest.err conftest.$ac_ext | 3540 rm -f conftest.err conftest.$ac_ext |
2723 | 3541 |
2724 done | 3542 done |
2725 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3543 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
2726 rm -f conftest.err conftest.$ac_ext | 3544 rm -f conftest.err conftest.$ac_ext |
2734 fi | 3552 fi |
2735 CPP=$ac_cv_prog_CPP | 3553 CPP=$ac_cv_prog_CPP |
2736 else | 3554 else |
2737 ac_cv_prog_CPP=$CPP | 3555 ac_cv_prog_CPP=$CPP |
2738 fi | 3556 fi |
2739 echo "$as_me:$LINENO: result: $CPP" >&5 | 3557 { echo "$as_me:$LINENO: result: $CPP" >&5 |
2740 echo "${ECHO_T}$CPP" >&6 | 3558 echo "${ECHO_T}$CPP" >&6; } |
2741 ac_preproc_ok=false | 3559 ac_preproc_ok=false |
2742 for ac_c_preproc_warn_flag in '' yes | 3560 for ac_c_preproc_warn_flag in '' yes |
2743 do | 3561 do |
2744 # Use a header file that comes with gcc, so configuring glibc | 3562 # Use a header file that comes with gcc, so configuring glibc |
2745 # with a fresh cross-compiler works. | 3563 # with a fresh cross-compiler works. |
3564 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3565 # <limits.h> exists even on freestanding compilers. | |
2746 # On the NeXT, cc -E runs the code through the compiler's parser, | 3566 # On the NeXT, cc -E runs the code through the compiler's parser, |
2747 # not just through cpp. "Syntax error" is here to catch this case. | 3567 # not just through cpp. "Syntax error" is here to catch this case. |
2748 cat >conftest.$ac_ext <<_ACEOF | 3568 cat >conftest.$ac_ext <<_ACEOF |
2749 #line $LINENO "configure" | 3569 /* confdefs.h. */ |
2750 #include "confdefs.h" | |
2751 #include <assert.h> | |
2752 Syntax error | |
2753 _ACEOF | 3570 _ACEOF |
2754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3571 cat confdefs.h >>conftest.$ac_ext |
2755 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3572 cat >>conftest.$ac_ext <<_ACEOF |
3573 /* end confdefs.h. */ | |
3574 #ifdef __STDC__ | |
3575 # include <limits.h> | |
3576 #else | |
3577 # include <assert.h> | |
3578 #endif | |
3579 Syntax error | |
3580 _ACEOF | |
3581 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
3582 case "(($ac_try" in | |
3583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3584 *) ac_try_echo=$ac_try;; | |
3585 esac | |
3586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
2756 ac_status=$? | 3588 ac_status=$? |
2757 egrep -v '^ *\+' conftest.er1 >conftest.err | 3589 grep -v '^ *+' conftest.er1 >conftest.err |
2758 rm -f conftest.er1 | 3590 rm -f conftest.er1 |
2759 cat conftest.err >&5 | 3591 cat conftest.err >&5 |
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2761 (exit $ac_status); } >/dev/null; then | 3593 (exit $ac_status); } >/dev/null; then |
2762 if test -s conftest.err; then | 3594 if test -s conftest.err; then |
2763 ac_cpp_err=$ac_c_preproc_warn_flag | 3595 ac_cpp_err=$ac_c_preproc_warn_flag |
3596 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | |
2764 else | 3597 else |
2765 ac_cpp_err= | 3598 ac_cpp_err= |
2766 fi | 3599 fi |
2767 else | 3600 else |
2768 ac_cpp_err=yes | 3601 ac_cpp_err=yes |
2769 fi | 3602 fi |
2770 if test -z "$ac_cpp_err"; then | 3603 if test -z "$ac_cpp_err"; then |
2771 : | 3604 : |
2772 else | 3605 else |
2773 echo "$as_me: failed program was:" >&5 | 3606 echo "$as_me: failed program was:" >&5 |
2774 cat conftest.$ac_ext >&5 | 3607 sed 's/^/| /' conftest.$ac_ext >&5 |
3608 | |
2775 # Broken: fails on valid input. | 3609 # Broken: fails on valid input. |
2776 continue | 3610 continue |
2777 fi | 3611 fi |
3612 | |
2778 rm -f conftest.err conftest.$ac_ext | 3613 rm -f conftest.err conftest.$ac_ext |
2779 | 3614 |
2780 # OK, works on sane cases. Now check whether non-existent headers | 3615 # OK, works on sane cases. Now check whether nonexistent headers |
2781 # can be detected and how. | 3616 # can be detected and how. |
2782 cat >conftest.$ac_ext <<_ACEOF | 3617 cat >conftest.$ac_ext <<_ACEOF |
2783 #line $LINENO "configure" | 3618 /* confdefs.h. */ |
2784 #include "confdefs.h" | 3619 _ACEOF |
3620 cat confdefs.h >>conftest.$ac_ext | |
3621 cat >>conftest.$ac_ext <<_ACEOF | |
3622 /* end confdefs.h. */ | |
2785 #include <ac_nonexistent.h> | 3623 #include <ac_nonexistent.h> |
2786 _ACEOF | 3624 _ACEOF |
2787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3625 if { (ac_try="$ac_cpp conftest.$ac_ext" |
2788 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3626 case "(($ac_try" in |
3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3628 *) ac_try_echo=$ac_try;; | |
3629 esac | |
3630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3631 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
2789 ac_status=$? | 3632 ac_status=$? |
2790 egrep -v '^ *\+' conftest.er1 >conftest.err | 3633 grep -v '^ *+' conftest.er1 >conftest.err |
2791 rm -f conftest.er1 | 3634 rm -f conftest.er1 |
2792 cat conftest.err >&5 | 3635 cat conftest.err >&5 |
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2794 (exit $ac_status); } >/dev/null; then | 3637 (exit $ac_status); } >/dev/null; then |
2795 if test -s conftest.err; then | 3638 if test -s conftest.err; then |
2796 ac_cpp_err=$ac_c_preproc_warn_flag | 3639 ac_cpp_err=$ac_c_preproc_warn_flag |
3640 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | |
2797 else | 3641 else |
2798 ac_cpp_err= | 3642 ac_cpp_err= |
2799 fi | 3643 fi |
2800 else | 3644 else |
2801 ac_cpp_err=yes | 3645 ac_cpp_err=yes |
2803 if test -z "$ac_cpp_err"; then | 3647 if test -z "$ac_cpp_err"; then |
2804 # Broken: success on invalid input. | 3648 # Broken: success on invalid input. |
2805 continue | 3649 continue |
2806 else | 3650 else |
2807 echo "$as_me: failed program was:" >&5 | 3651 echo "$as_me: failed program was:" >&5 |
2808 cat conftest.$ac_ext >&5 | 3652 sed 's/^/| /' conftest.$ac_ext >&5 |
3653 | |
2809 # Passes both tests. | 3654 # Passes both tests. |
2810 ac_preproc_ok=: | 3655 ac_preproc_ok=: |
2811 break | 3656 break |
2812 fi | 3657 fi |
3658 | |
2813 rm -f conftest.err conftest.$ac_ext | 3659 rm -f conftest.err conftest.$ac_ext |
2814 | 3660 |
2815 done | 3661 done |
2816 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3662 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
2817 rm -f conftest.err conftest.$ac_ext | 3663 rm -f conftest.err conftest.$ac_ext |
2818 if $ac_preproc_ok; then | 3664 if $ac_preproc_ok; then |
2819 : | 3665 : |
2820 else | 3666 else |
2821 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 | 3667 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
2822 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} | 3668 See \`config.log' for more details." >&5 |
3669 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | |
3670 See \`config.log' for more details." >&2;} | |
2823 { (exit 1); exit 1; }; } | 3671 { (exit 1); exit 1; }; } |
2824 fi | 3672 fi |
2825 | 3673 |
2826 ac_ext=c | 3674 ac_ext=c |
2827 ac_cpp='$CPP $CPPFLAGS' | 3675 ac_cpp='$CPP $CPPFLAGS' |
2839 # AIX /bin/install | 3687 # AIX /bin/install |
2840 # AmigaOS /C/install, which installs bootblocks on floppy discs | 3688 # AmigaOS /C/install, which installs bootblocks on floppy discs |
2841 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3689 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2842 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3690 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2843 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3691 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3692 # OS/2's system install, which has a completely different semantic | |
2844 # ./install, which can be erroneously created by make from ./install.sh. | 3693 # ./install, which can be erroneously created by make from ./install.sh. |
2845 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 3694 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
2846 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 3695 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
2847 if test -z "$INSTALL"; then | 3696 if test -z "$INSTALL"; then |
2848 if test "${ac_cv_path_install+set}" = set; then | 3697 if test "${ac_cv_path_install+set}" = set; then |
2849 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3698 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2850 else | 3699 else |
2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2855 test -z "$as_dir" && as_dir=. | 3704 test -z "$as_dir" && as_dir=. |
2856 # Account for people who put trailing slashes in PATH elements. | 3705 # Account for people who put trailing slashes in PATH elements. |
2857 case $as_dir/ in | 3706 case $as_dir/ in |
2858 ./ | .// | /cC/* | \ | 3707 ./ | .// | /cC/* | \ |
2859 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 3708 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
3709 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | |
2860 /usr/ucb/* ) ;; | 3710 /usr/ucb/* ) ;; |
2861 *) | 3711 *) |
2862 # OSF1 and SCO ODT 3.0 have their own names for install. | 3712 # OSF1 and SCO ODT 3.0 have their own names for install. |
2863 # Don't use installbsd from OSF since it installs stuff as root | 3713 # Don't use installbsd from OSF since it installs stuff as root |
2864 # by default. | 3714 # by default. |
2865 for ac_prog in ginstall scoinst install; do | 3715 for ac_prog in ginstall scoinst install; do |
2866 for ac_exec_ext in '' $ac_executable_extensions; do | 3716 for ac_exec_ext in '' $ac_executable_extensions; do |
2867 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 3717 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then |
2868 if test $ac_prog = install && | 3718 if test $ac_prog = install && |
2869 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 3719 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2870 # AIX install. It has an incompatible calling convention. | 3720 # AIX install. It has an incompatible calling convention. |
2871 : | 3721 : |
2872 elif test $ac_prog = install && | 3722 elif test $ac_prog = install && |
2873 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 3723 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2874 # program-specific install script used by HP pwplus--don't use. | 3724 # program-specific install script used by HP pwplus--don't use. |
2875 : | 3725 : |
2876 else | 3726 else |
2877 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 3727 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
2878 break 3 | 3728 break 3 |
2879 fi | 3729 fi |
2880 fi | 3730 fi |
2881 done | 3731 done |
2882 done | 3732 done |
2883 ;; | 3733 ;; |
2884 esac | 3734 esac |
2885 done | 3735 done |
3736 IFS=$as_save_IFS | |
2886 | 3737 |
2887 | 3738 |
2888 fi | 3739 fi |
2889 if test "${ac_cv_path_install+set}" = set; then | 3740 if test "${ac_cv_path_install+set}" = set; then |
2890 INSTALL=$ac_cv_path_install | 3741 INSTALL=$ac_cv_path_install |
2891 else | 3742 else |
2892 # As a last resort, use the slow shell script. We don't cache a | 3743 # As a last resort, use the slow shell script. Don't cache a |
2893 # path for INSTALL within a source directory, because that will | 3744 # value for INSTALL within a source directory, because that will |
2894 # break other packages using the cache if that directory is | 3745 # break other packages using the cache if that directory is |
2895 # removed, or if the path is relative. | 3746 # removed, or if the value is a relative name. |
2896 INSTALL=$ac_install_sh | 3747 INSTALL=$ac_install_sh |
2897 fi | 3748 fi |
2898 fi | 3749 fi |
2899 echo "$as_me:$LINENO: result: $INSTALL" >&5 | 3750 { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2900 echo "${ECHO_T}$INSTALL" >&6 | 3751 echo "${ECHO_T}$INSTALL" >&6; } |
2901 | 3752 |
2902 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 3753 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2903 # It thinks the first close brace ends the variable substitution. | 3754 # It thinks the first close brace ends the variable substitution. |
2904 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 3755 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2905 | 3756 |
2906 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 3757 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
2907 | 3758 |
2908 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 3759 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2909 | 3760 |
2910 echo "$as_me:$LINENO: checking whether ln -s works" >&5 | 3761 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
2911 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | 3762 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } |
2912 LN_S=$as_ln_s | 3763 LN_S=$as_ln_s |
2913 if test "$LN_S" = "ln -s"; then | 3764 if test "$LN_S" = "ln -s"; then |
2914 echo "$as_me:$LINENO: result: yes" >&5 | 3765 { echo "$as_me:$LINENO: result: yes" >&5 |
2915 echo "${ECHO_T}yes" >&6 | 3766 echo "${ECHO_T}yes" >&6; } |
2916 else | 3767 else |
2917 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | 3768 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
2918 echo "${ECHO_T}no, using $LN_S" >&6 | 3769 echo "${ECHO_T}no, using $LN_S" >&6; } |
2919 fi | 3770 fi |
2920 | 3771 |
2921 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3772 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2922 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 | 3773 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } |
2923 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` | 3774 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2924 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 3775 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
2925 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3776 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2926 else | 3777 else |
2927 cat >conftest.make <<\_ACEOF | 3778 cat >conftest.make <<\_ACEOF |
3779 SHELL = /bin/sh | |
2928 all: | 3780 all: |
2929 @echo 'ac_maketemp="${MAKE}"' | 3781 @echo '@@@%%%=$(MAKE)=@@@%%%' |
2930 _ACEOF | 3782 _ACEOF |
2931 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 3783 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
2932 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | 3784 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2933 if test -n "$ac_maketemp"; then | 3785 *@@@%%%=?*=@@@%%%*) |
2934 eval ac_cv_prog_make_${ac_make}_set=yes | 3786 eval ac_cv_prog_make_${ac_make}_set=yes;; |
2935 else | 3787 *) |
2936 eval ac_cv_prog_make_${ac_make}_set=no | 3788 eval ac_cv_prog_make_${ac_make}_set=no;; |
2937 fi | 3789 esac |
2938 rm -f conftest.make | 3790 rm -f conftest.make |
2939 fi | 3791 fi |
2940 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 3792 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
2941 echo "$as_me:$LINENO: result: yes" >&5 | 3793 { echo "$as_me:$LINENO: result: yes" >&5 |
2942 echo "${ECHO_T}yes" >&6 | 3794 echo "${ECHO_T}yes" >&6; } |
2943 SET_MAKE= | 3795 SET_MAKE= |
2944 else | 3796 else |
2945 echo "$as_me:$LINENO: result: no" >&5 | 3797 { echo "$as_me:$LINENO: result: no" >&5 |
2946 echo "${ECHO_T}no" >&6 | 3798 echo "${ECHO_T}no" >&6; } |
2947 SET_MAKE="MAKE=${MAKE-make}" | 3799 SET_MAKE="MAKE=${MAKE-make}" |
2948 fi | 3800 fi |
2949 | 3801 |
2950 # Check whether --enable-shared or --disable-shared was given. | 3802 # Check whether --enable-shared was given. |
2951 if test "${enable_shared+set}" = set; then | 3803 if test "${enable_shared+set}" = set; then |
2952 enableval="$enable_shared" | 3804 enableval=$enable_shared; p=${PACKAGE-default} |
2953 p=${PACKAGE-default} | |
2954 case $enableval in | 3805 case $enableval in |
2955 yes) enable_shared=yes ;; | 3806 yes) enable_shared=yes ;; |
2956 no) enable_shared=no ;; | 3807 no) enable_shared=no ;; |
2957 *) | 3808 *) |
2958 enable_shared=no | 3809 enable_shared=no |
2967 IFS="$lt_save_ifs" | 3818 IFS="$lt_save_ifs" |
2968 ;; | 3819 ;; |
2969 esac | 3820 esac |
2970 else | 3821 else |
2971 enable_shared=yes | 3822 enable_shared=yes |
2972 fi; | 3823 fi |
2973 | 3824 |
2974 # Check whether --enable-static or --disable-static was given. | 3825 |
3826 # Check whether --enable-static was given. | |
2975 if test "${enable_static+set}" = set; then | 3827 if test "${enable_static+set}" = set; then |
2976 enableval="$enable_static" | 3828 enableval=$enable_static; p=${PACKAGE-default} |
2977 p=${PACKAGE-default} | |
2978 case $enableval in | 3829 case $enableval in |
2979 yes) enable_static=yes ;; | 3830 yes) enable_static=yes ;; |
2980 no) enable_static=no ;; | 3831 no) enable_static=no ;; |
2981 *) | 3832 *) |
2982 enable_static=no | 3833 enable_static=no |
2991 IFS="$lt_save_ifs" | 3842 IFS="$lt_save_ifs" |
2992 ;; | 3843 ;; |
2993 esac | 3844 esac |
2994 else | 3845 else |
2995 enable_static=yes | 3846 enable_static=yes |
2996 fi; | 3847 fi |
2997 | 3848 |
2998 # Check whether --enable-fast-install or --disable-fast-install was given. | 3849 |
3850 # Check whether --enable-fast-install was given. | |
2999 if test "${enable_fast_install+set}" = set; then | 3851 if test "${enable_fast_install+set}" = set; then |
3000 enableval="$enable_fast_install" | 3852 enableval=$enable_fast_install; p=${PACKAGE-default} |
3001 p=${PACKAGE-default} | |
3002 case $enableval in | 3853 case $enableval in |
3003 yes) enable_fast_install=yes ;; | 3854 yes) enable_fast_install=yes ;; |
3004 no) enable_fast_install=no ;; | 3855 no) enable_fast_install=no ;; |
3005 *) | 3856 *) |
3006 enable_fast_install=no | 3857 enable_fast_install=no |
3015 IFS="$lt_save_ifs" | 3866 IFS="$lt_save_ifs" |
3016 ;; | 3867 ;; |
3017 esac | 3868 esac |
3018 else | 3869 else |
3019 enable_fast_install=yes | 3870 enable_fast_install=yes |
3020 fi; | 3871 fi |
3021 | 3872 |
3022 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 | 3873 |
3023 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 | 3874 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 |
3875 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } | |
3024 if test "${lt_cv_path_SED+set}" = set; then | 3876 if test "${lt_cv_path_SED+set}" = set; then |
3025 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3877 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3026 else | 3878 else |
3027 # Loop through the user's path and test for sed and gsed. | 3879 # Loop through the user's path and test for sed and gsed. |
3028 # Then use that list of sed's as ones to test for truncation. | 3880 # Then use that list of sed's as ones to test for truncation. |
3042 lt_ac_max=0 | 3894 lt_ac_max=0 |
3043 lt_ac_count=0 | 3895 lt_ac_count=0 |
3044 # Add /usr/xpg4/bin/sed as it is typically found on Solaris | 3896 # Add /usr/xpg4/bin/sed as it is typically found on Solaris |
3045 # along with /bin/sed that truncates output. | 3897 # along with /bin/sed that truncates output. |
3046 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do | 3898 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do |
3047 test ! -f $lt_ac_sed && break | 3899 test ! -f $lt_ac_sed && continue |
3048 cat /dev/null > conftest.in | 3900 cat /dev/null > conftest.in |
3049 lt_ac_count=0 | 3901 lt_ac_count=0 |
3050 echo $ECHO_N "0123456789$ECHO_C" >conftest.in | 3902 echo $ECHO_N "0123456789$ECHO_C" >conftest.in |
3051 # Check for GNU sed and select it if it is found. | 3903 # Check for GNU sed and select it if it is found. |
3052 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then | 3904 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then |
3067 lt_ac_max=$lt_ac_count | 3919 lt_ac_max=$lt_ac_count |
3068 lt_cv_path_SED=$lt_ac_sed | 3920 lt_cv_path_SED=$lt_ac_sed |
3069 fi | 3921 fi |
3070 done | 3922 done |
3071 done | 3923 done |
3924 | |
3925 fi | |
3926 | |
3072 SED=$lt_cv_path_SED | 3927 SED=$lt_cv_path_SED |
3073 | 3928 { echo "$as_me:$LINENO: result: $SED" >&5 |
3074 fi | 3929 echo "${ECHO_T}$SED" >&6; } |
3075 | 3930 |
3076 echo "$as_me:$LINENO: result: $SED" >&5 | 3931 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
3077 echo "${ECHO_T}$SED" >&6 | 3932 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
3078 | 3933 if test "${ac_cv_path_GREP+set}" = set; then |
3079 echo "$as_me:$LINENO: checking for egrep" >&5 | |
3080 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | |
3081 if test "${ac_cv_prog_egrep+set}" = set; then | |
3082 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3934 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3083 else | 3935 else |
3084 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | 3936 # Extract the first word of "grep ggrep" to use in msg output |
3085 then ac_cv_prog_egrep='grep -E' | 3937 if test -z "$GREP"; then |
3086 else ac_cv_prog_egrep='egrep' | 3938 set dummy grep ggrep; ac_prog_name=$2 |
3939 if test "${ac_cv_path_GREP+set}" = set; then | |
3940 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3941 else | |
3942 ac_path_GREP_found=false | |
3943 # Loop through the user's path and test for each of PROGNAME-LIST | |
3944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3945 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
3946 do | |
3947 IFS=$as_save_IFS | |
3948 test -z "$as_dir" && as_dir=. | |
3949 for ac_prog in grep ggrep; do | |
3950 for ac_exec_ext in '' $ac_executable_extensions; do | |
3951 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
3952 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue | |
3953 # Check for GNU ac_path_GREP and select it if it is found. | |
3954 # Check for GNU $ac_path_GREP | |
3955 case `"$ac_path_GREP" --version 2>&1` in | |
3956 *GNU*) | |
3957 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
3958 *) | |
3959 ac_count=0 | |
3960 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | |
3961 while : | |
3962 do | |
3963 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
3964 mv "conftest.tmp" "conftest.in" | |
3965 cp "conftest.in" "conftest.nl" | |
3966 echo 'GREP' >> "conftest.nl" | |
3967 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
3968 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
3969 ac_count=`expr $ac_count + 1` | |
3970 if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
3971 # Best one so far, save it but keep looking for a better one | |
3972 ac_cv_path_GREP="$ac_path_GREP" | |
3973 ac_path_GREP_max=$ac_count | |
3087 fi | 3974 fi |
3088 fi | 3975 # 10*(2^10) chars as input seems more than enough |
3089 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | 3976 test $ac_count -gt 10 && break |
3090 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | 3977 done |
3091 EGREP=$ac_cv_prog_egrep | 3978 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3092 | 3979 esac |
3093 | 3980 |
3094 | 3981 |
3095 # Check whether --with-gnu-ld or --without-gnu-ld was given. | 3982 $ac_path_GREP_found && break 3 |
3983 done | |
3984 done | |
3985 | |
3986 done | |
3987 IFS=$as_save_IFS | |
3988 | |
3989 | |
3990 fi | |
3991 | |
3992 GREP="$ac_cv_path_GREP" | |
3993 if test -z "$GREP"; then | |
3994 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
3995 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
3996 { (exit 1); exit 1; }; } | |
3997 fi | |
3998 | |
3999 else | |
4000 ac_cv_path_GREP=$GREP | |
4001 fi | |
4002 | |
4003 | |
4004 fi | |
4005 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | |
4006 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } | |
4007 GREP="$ac_cv_path_GREP" | |
4008 | |
4009 | |
4010 { echo "$as_me:$LINENO: checking for egrep" >&5 | |
4011 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } | |
4012 if test "${ac_cv_path_EGREP+set}" = set; then | |
4013 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4014 else | |
4015 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
4016 then ac_cv_path_EGREP="$GREP -E" | |
4017 else | |
4018 # Extract the first word of "egrep" to use in msg output | |
4019 if test -z "$EGREP"; then | |
4020 set dummy egrep; ac_prog_name=$2 | |
4021 if test "${ac_cv_path_EGREP+set}" = set; then | |
4022 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4023 else | |
4024 ac_path_EGREP_found=false | |
4025 # Loop through the user's path and test for each of PROGNAME-LIST | |
4026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4027 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
4028 do | |
4029 IFS=$as_save_IFS | |
4030 test -z "$as_dir" && as_dir=. | |
4031 for ac_prog in egrep; do | |
4032 for ac_exec_ext in '' $ac_executable_extensions; do | |
4033 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
4034 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue | |
4035 # Check for GNU ac_path_EGREP and select it if it is found. | |
4036 # Check for GNU $ac_path_EGREP | |
4037 case `"$ac_path_EGREP" --version 2>&1` in | |
4038 *GNU*) | |
4039 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
4040 *) | |
4041 ac_count=0 | |
4042 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | |
4043 while : | |
4044 do | |
4045 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
4046 mv "conftest.tmp" "conftest.in" | |
4047 cp "conftest.in" "conftest.nl" | |
4048 echo 'EGREP' >> "conftest.nl" | |
4049 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
4050 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
4051 ac_count=`expr $ac_count + 1` | |
4052 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
4053 # Best one so far, save it but keep looking for a better one | |
4054 ac_cv_path_EGREP="$ac_path_EGREP" | |
4055 ac_path_EGREP_max=$ac_count | |
4056 fi | |
4057 # 10*(2^10) chars as input seems more than enough | |
4058 test $ac_count -gt 10 && break | |
4059 done | |
4060 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
4061 esac | |
4062 | |
4063 | |
4064 $ac_path_EGREP_found && break 3 | |
4065 done | |
4066 done | |
4067 | |
4068 done | |
4069 IFS=$as_save_IFS | |
4070 | |
4071 | |
4072 fi | |
4073 | |
4074 EGREP="$ac_cv_path_EGREP" | |
4075 if test -z "$EGREP"; then | |
4076 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
4077 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
4078 { (exit 1); exit 1; }; } | |
4079 fi | |
4080 | |
4081 else | |
4082 ac_cv_path_EGREP=$EGREP | |
4083 fi | |
4084 | |
4085 | |
4086 fi | |
4087 fi | |
4088 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | |
4089 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } | |
4090 EGREP="$ac_cv_path_EGREP" | |
4091 | |
4092 | |
4093 | |
4094 # Check whether --with-gnu-ld was given. | |
3096 if test "${with_gnu_ld+set}" = set; then | 4095 if test "${with_gnu_ld+set}" = set; then |
3097 withval="$with_gnu_ld" | 4096 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
3098 test "$withval" = no || with_gnu_ld=yes | |
3099 else | 4097 else |
3100 with_gnu_ld=no | 4098 with_gnu_ld=no |
3101 fi; | 4099 fi |
4100 | |
3102 ac_prog=ld | 4101 ac_prog=ld |
3103 if test "$GCC" = yes; then | 4102 if test "$GCC" = yes; then |
3104 # Check if gcc -print-prog-name=ld gives a path. | 4103 # Check if gcc -print-prog-name=ld gives a path. |
3105 echo "$as_me:$LINENO: checking for ld used by $CC" >&5 | 4104 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
3106 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 | 4105 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } |
3107 case $host in | 4106 case $host in |
3108 *-*-mingw*) | 4107 *-*-mingw*) |
3109 # gcc leaves a trailing carriage return which upsets mingw | 4108 # gcc leaves a trailing carriage return which upsets mingw |
3110 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 4109 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
3111 *) | 4110 *) |
3113 esac | 4112 esac |
3114 case $ac_prog in | 4113 case $ac_prog in |
3115 # Accept absolute paths. | 4114 # Accept absolute paths. |
3116 [\\/]* | ?:[\\/]*) | 4115 [\\/]* | ?:[\\/]*) |
3117 re_direlt='/[^/][^/]*/\.\./' | 4116 re_direlt='/[^/][^/]*/\.\./' |
3118 # Canonicalize the path of ld | 4117 # Canonicalize the pathname of ld |
3119 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` | 4118 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` |
3120 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | 4119 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
3121 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` | 4120 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` |
3122 done | 4121 done |
3123 test -z "$LD" && LD="$ac_prog" | 4122 test -z "$LD" && LD="$ac_prog" |
3130 # If it is relative, then search for the first ld in PATH. | 4129 # If it is relative, then search for the first ld in PATH. |
3131 with_gnu_ld=unknown | 4130 with_gnu_ld=unknown |
3132 ;; | 4131 ;; |
3133 esac | 4132 esac |
3134 elif test "$with_gnu_ld" = yes; then | 4133 elif test "$with_gnu_ld" = yes; then |
3135 echo "$as_me:$LINENO: checking for GNU ld" >&5 | 4134 { echo "$as_me:$LINENO: checking for GNU ld" >&5 |
3136 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 | 4135 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } |
3137 else | 4136 else |
3138 echo "$as_me:$LINENO: checking for non-GNU ld" >&5 | 4137 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
3139 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 | 4138 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } |
3140 fi | 4139 fi |
3141 if test "${lt_cv_path_LD+set}" = set; then | 4140 if test "${lt_cv_path_LD+set}" = set; then |
3142 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4141 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3143 else | 4142 else |
3144 if test -z "$LD"; then | 4143 if test -z "$LD"; then |
3147 IFS="$lt_save_ifs" | 4146 IFS="$lt_save_ifs" |
3148 test -z "$ac_dir" && ac_dir=. | 4147 test -z "$ac_dir" && ac_dir=. |
3149 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 4148 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
3150 lt_cv_path_LD="$ac_dir/$ac_prog" | 4149 lt_cv_path_LD="$ac_dir/$ac_prog" |
3151 # Check to see if the program is GNU ld. I'd rather use --version, | 4150 # Check to see if the program is GNU ld. I'd rather use --version, |
3152 # but apparently some GNU ld's only accept -v. | 4151 # but apparently some variants of GNU ld only accept -v. |
3153 # Break only if it was the GNU/non-GNU ld that we prefer. | 4152 # Break only if it was the GNU/non-GNU ld that we prefer. |
3154 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | 4153 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
3155 *GNU* | *'with BFD'*) | 4154 *GNU* | *'with BFD'*) |
3156 test "$with_gnu_ld" != no && break | 4155 test "$with_gnu_ld" != no && break |
3157 ;; | 4156 ;; |
3167 fi | 4166 fi |
3168 fi | 4167 fi |
3169 | 4168 |
3170 LD="$lt_cv_path_LD" | 4169 LD="$lt_cv_path_LD" |
3171 if test -n "$LD"; then | 4170 if test -n "$LD"; then |
3172 echo "$as_me:$LINENO: result: $LD" >&5 | 4171 { echo "$as_me:$LINENO: result: $LD" >&5 |
3173 echo "${ECHO_T}$LD" >&6 | 4172 echo "${ECHO_T}$LD" >&6; } |
3174 else | 4173 else |
3175 echo "$as_me:$LINENO: result: no" >&5 | 4174 { echo "$as_me:$LINENO: result: no" >&5 |
3176 echo "${ECHO_T}no" >&6 | 4175 echo "${ECHO_T}no" >&6; } |
3177 fi | 4176 fi |
3178 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 | 4177 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
3179 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} | 4178 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
3180 { (exit 1); exit 1; }; } | 4179 { (exit 1); exit 1; }; } |
3181 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 | 4180 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
3182 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 | 4181 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } |
3183 if test "${lt_cv_prog_gnu_ld+set}" = set; then | 4182 if test "${lt_cv_prog_gnu_ld+set}" = set; then |
3184 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4183 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3185 else | 4184 else |
3186 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 4185 # I'd rather use --version here, but apparently some GNU lds only accept -v. |
3187 case `"$LD" -v 2>&1 </dev/null` in | 4186 case `$LD -v 2>&1 </dev/null` in |
3188 *GNU* | *'with BFD'*) | 4187 *GNU* | *'with BFD'*) |
3189 lt_cv_prog_gnu_ld=yes | 4188 lt_cv_prog_gnu_ld=yes |
3190 ;; | 4189 ;; |
3191 *) | 4190 *) |
3192 lt_cv_prog_gnu_ld=no | 4191 lt_cv_prog_gnu_ld=no |
3193 ;; | 4192 ;; |
3194 esac | 4193 esac |
3195 fi | 4194 fi |
3196 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 | 4195 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
3197 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 | 4196 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } |
3198 with_gnu_ld=$lt_cv_prog_gnu_ld | 4197 with_gnu_ld=$lt_cv_prog_gnu_ld |
3199 | 4198 |
3200 | 4199 |
3201 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 | 4200 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
3202 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 | 4201 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } |
3203 if test "${lt_cv_ld_reload_flag+set}" = set; then | 4202 if test "${lt_cv_ld_reload_flag+set}" = set; then |
3204 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4203 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3205 else | 4204 else |
3206 lt_cv_ld_reload_flag='-r' | 4205 lt_cv_ld_reload_flag='-r' |
3207 fi | 4206 fi |
3208 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 | 4207 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
3209 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 | 4208 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } |
3210 reload_flag=$lt_cv_ld_reload_flag | 4209 reload_flag=$lt_cv_ld_reload_flag |
3211 case $reload_flag in | 4210 case $reload_flag in |
3212 "" | " "*) ;; | 4211 "" | " "*) ;; |
3213 *) reload_flag=" $reload_flag" ;; | 4212 *) reload_flag=" $reload_flag" ;; |
3214 esac | 4213 esac |
3215 reload_cmds='$LD$reload_flag -o $output$reload_objs' | 4214 reload_cmds='$LD$reload_flag -o $output$reload_objs' |
3216 | 4215 case $host_os in |
3217 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 | 4216 darwin*) |
3218 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 | 4217 if test "$GCC" = yes; then |
4218 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' | |
4219 else | |
4220 reload_cmds='$LD$reload_flag -o $output$reload_objs' | |
4221 fi | |
4222 ;; | |
4223 esac | |
4224 | |
4225 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 | |
4226 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; } | |
3219 if test "${lt_cv_path_NM+set}" = set; then | 4227 if test "${lt_cv_path_NM+set}" = set; then |
3220 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4228 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3221 else | 4229 else |
3222 if test -n "$NM"; then | 4230 if test -n "$NM"; then |
3223 # Let the user override the test. | 4231 # Let the user override the test. |
3224 lt_cv_path_NM="$NM" | 4232 lt_cv_path_NM="$NM" |
3225 else | 4233 else |
3226 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 4234 lt_nm_to_check="${ac_tool_prefix}nm" |
3227 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do | 4235 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
3228 IFS="$lt_save_ifs" | 4236 lt_nm_to_check="$lt_nm_to_check nm" |
3229 test -z "$ac_dir" && ac_dir=. | 4237 fi |
3230 tmp_nm="$ac_dir/${ac_tool_prefix}nm" | 4238 for lt_tmp_nm in $lt_nm_to_check; do |
3231 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then | 4239 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
3232 # Check to see if the nm accepts a BSD-compat flag. | 4240 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
3233 # Adding the `sed 1q' prevents false positives on HP-UX, which says: | 4241 IFS="$lt_save_ifs" |
3234 # nm: unknown option "B" ignored | 4242 test -z "$ac_dir" && ac_dir=. |
3235 # Tru64's nm complains that /dev/null is an invalid object file | 4243 tmp_nm="$ac_dir/$lt_tmp_nm" |
3236 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in | 4244 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
3237 */dev/null* | *'Invalid file or object type'*) | 4245 # Check to see if the nm accepts a BSD-compat flag. |
3238 lt_cv_path_NM="$tmp_nm -B" | 4246 # Adding the `sed 1q' prevents false positives on HP-UX, which says: |
3239 break | 4247 # nm: unknown option "B" ignored |
3240 ;; | 4248 # Tru64's nm complains that /dev/null is an invalid object file |
3241 *) | 4249 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
3242 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in | 4250 */dev/null* | *'Invalid file or object type'*) |
3243 */dev/null*) | 4251 lt_cv_path_NM="$tmp_nm -B" |
3244 lt_cv_path_NM="$tmp_nm -p" | |
3245 break | 4252 break |
3246 ;; | 4253 ;; |
3247 *) | 4254 *) |
3248 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | 4255 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
3249 continue # so that we can try to find one that supports BSD flags | 4256 */dev/null*) |
4257 lt_cv_path_NM="$tmp_nm -p" | |
4258 break | |
4259 ;; | |
4260 *) | |
4261 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | |
4262 continue # so that we can try to find one that supports BSD flags | |
4263 ;; | |
4264 esac | |
3250 ;; | 4265 ;; |
3251 esac | 4266 esac |
3252 esac | 4267 fi |
3253 fi | 4268 done |
4269 IFS="$lt_save_ifs" | |
3254 done | 4270 done |
3255 IFS="$lt_save_ifs" | |
3256 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm | 4271 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm |
3257 fi | 4272 fi |
3258 fi | 4273 fi |
3259 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 | 4274 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 |
3260 echo "${ECHO_T}$lt_cv_path_NM" >&6 | 4275 echo "${ECHO_T}$lt_cv_path_NM" >&6; } |
3261 NM="$lt_cv_path_NM" | 4276 NM="$lt_cv_path_NM" |
3262 | 4277 |
3263 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 | 4278 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 |
3264 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 | 4279 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; } |
3265 if test "${lt_cv_deplibs_check_method+set}" = set; then | 4280 if test "${lt_cv_deplibs_check_method+set}" = set; then |
3266 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4281 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3267 else | 4282 else |
3268 lt_cv_file_magic_cmd='$MAGIC_CMD' | 4283 lt_cv_file_magic_cmd='$MAGIC_CMD' |
3269 lt_cv_file_magic_test_file= | 4284 lt_cv_file_magic_test_file= |
3286 | 4301 |
3287 beos*) | 4302 beos*) |
3288 lt_cv_deplibs_check_method=pass_all | 4303 lt_cv_deplibs_check_method=pass_all |
3289 ;; | 4304 ;; |
3290 | 4305 |
3291 bsdi4*) | 4306 bsdi[45]*) |
3292 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' | 4307 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
3293 lt_cv_file_magic_cmd='/usr/bin/file -L' | 4308 lt_cv_file_magic_cmd='/usr/bin/file -L' |
3294 lt_cv_file_magic_test_file=/shlib/libc.so | 4309 lt_cv_file_magic_test_file=/shlib/libc.so |
3295 ;; | 4310 ;; |
3296 | 4311 |
3297 cygwin* | mingw* | pw32*) | 4312 cygwin*) |
3298 # win32_libid is a shell function defined in ltmain.sh | 4313 # func_win32_libid is a shell function defined in ltmain.sh |
3299 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | 4314 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
3300 lt_cv_file_magic_cmd='win32_libid' | 4315 lt_cv_file_magic_cmd='func_win32_libid' |
3301 ;; | 4316 ;; |
3302 | 4317 |
4318 mingw* | pw32*) | |
4319 # Base MSYS/MinGW do not provide the 'file' command needed by | |
4320 # func_win32_libid shell function, so use a weaker test based on 'objdump'. | |
4321 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' | |
4322 lt_cv_file_magic_cmd='$OBJDUMP -f' | |
4323 ;; | |
4324 | |
3303 darwin* | rhapsody*) | 4325 darwin* | rhapsody*) |
3304 # this will be overwritten by pass_all, but leave it in just in case | |
3305 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' | |
3306 lt_cv_file_magic_cmd='/usr/bin/file -L' | |
3307 case "$host_os" in | |
3308 rhapsody* | darwin1.[012]) | |
3309 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` | |
3310 ;; | |
3311 *) # Darwin 1.3 on | |
3312 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' | |
3313 ;; | |
3314 esac | |
3315 lt_cv_deplibs_check_method=pass_all | 4326 lt_cv_deplibs_check_method=pass_all |
3316 ;; | 4327 ;; |
3317 | 4328 |
3318 freebsd*) | 4329 freebsd* | kfreebsd*-gnu | dragonfly*) |
3319 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | 4330 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
3320 case $host_cpu in | 4331 case $host_cpu in |
3321 i*86 ) | 4332 i*86 ) |
3322 # Not sure whether the presence of OpenBSD here was a mistake. | 4333 # Not sure whether the presence of OpenBSD here was a mistake. |
3323 # Let's accept both of them until this is cleared up. | 4334 # Let's accept both of them until this is cleared up. |
3324 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' | 4335 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
3325 lt_cv_file_magic_cmd=/usr/bin/file | 4336 lt_cv_file_magic_cmd=/usr/bin/file |
3326 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | 4337 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
3327 ;; | 4338 ;; |
3328 esac | 4339 esac |
3329 else | 4340 else |
3335 lt_cv_deplibs_check_method=pass_all | 4346 lt_cv_deplibs_check_method=pass_all |
3336 ;; | 4347 ;; |
3337 | 4348 |
3338 hpux10.20* | hpux11*) | 4349 hpux10.20* | hpux11*) |
3339 lt_cv_file_magic_cmd=/usr/bin/file | 4350 lt_cv_file_magic_cmd=/usr/bin/file |
3340 case "$host_cpu" in | 4351 case $host_cpu in |
3341 ia64*) | 4352 ia64*) |
3342 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' | 4353 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
3343 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so | 4354 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
3344 ;; | 4355 ;; |
3345 hppa*64*) | 4356 hppa*64*) |
3351 lt_cv_file_magic_test_file=/usr/lib/libc.sl | 4362 lt_cv_file_magic_test_file=/usr/lib/libc.sl |
3352 ;; | 4363 ;; |
3353 esac | 4364 esac |
3354 ;; | 4365 ;; |
3355 | 4366 |
4367 interix3*) | |
4368 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here | |
4369 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' | |
4370 ;; | |
4371 | |
3356 irix5* | irix6* | nonstopux*) | 4372 irix5* | irix6* | nonstopux*) |
3357 case $host_os in | 4373 case $LD in |
3358 irix5* | nonstopux*) | 4374 *-32|*"-32 ") libmagic=32-bit;; |
3359 # this will be overridden with pass_all, but let us keep it just in case | 4375 *-n32|*"-n32 ") libmagic=N32;; |
3360 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" | 4376 *-64|*"-64 ") libmagic=64-bit;; |
3361 ;; | 4377 *) libmagic=never-match;; |
3362 *) | |
3363 case $LD in | |
3364 *-32|*"-32 ") libmagic=32-bit;; | |
3365 *-n32|*"-n32 ") libmagic=N32;; | |
3366 *-64|*"-64 ") libmagic=64-bit;; | |
3367 *) libmagic=never-match;; | |
3368 esac | |
3369 # this will be overridden with pass_all, but let us keep it just in case | |
3370 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" | |
3371 ;; | |
3372 esac | 4378 esac |
3373 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` | |
3374 lt_cv_deplibs_check_method=pass_all | 4379 lt_cv_deplibs_check_method=pass_all |
3375 ;; | 4380 ;; |
3376 | 4381 |
3377 # This must be Linux ELF. | 4382 # This must be Linux ELF. |
3378 linux*) | 4383 linux*) |
3379 case $host_cpu in | 4384 lt_cv_deplibs_check_method=pass_all |
3380 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) | |
3381 lt_cv_deplibs_check_method=pass_all ;; | |
3382 *) | |
3383 # glibc up to 2.1.1 does not perform some relocations on ARM | |
3384 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; | |
3385 esac | |
3386 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | |
3387 ;; | 4385 ;; |
3388 | 4386 |
3389 netbsd*) | 4387 netbsd*) |
3390 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | 4388 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
3391 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' | 4389 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
3398 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' | 4396 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
3399 lt_cv_file_magic_cmd=/usr/bin/file | 4397 lt_cv_file_magic_cmd=/usr/bin/file |
3400 lt_cv_file_magic_test_file=/usr/lib/libnls.so | 4398 lt_cv_file_magic_test_file=/usr/lib/libnls.so |
3401 ;; | 4399 ;; |
3402 | 4400 |
3403 nto-qnx) | 4401 nto-qnx*) |
3404 lt_cv_deplibs_check_method=unknown | 4402 lt_cv_deplibs_check_method=unknown |
3405 ;; | 4403 ;; |
3406 | 4404 |
3407 openbsd*) | 4405 openbsd*) |
3408 lt_cv_file_magic_cmd=/usr/bin/file | |
3409 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | |
3410 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 4406 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
3411 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' | 4407 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
3412 else | 4408 else |
3413 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' | 4409 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
3414 fi | 4410 fi |
3415 ;; | 4411 ;; |
3416 | 4412 |
3417 osf3* | osf4* | osf5*) | 4413 osf3* | osf4* | osf5*) |
3418 # this will be overridden with pass_all, but let us keep it just in case | |
3419 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' | |
3420 lt_cv_file_magic_test_file=/shlib/libc.so | |
3421 lt_cv_deplibs_check_method=pass_all | 4414 lt_cv_deplibs_check_method=pass_all |
3422 ;; | 4415 ;; |
3423 | 4416 |
3424 sco3.2v5*) | 4417 solaris*) |
3425 lt_cv_deplibs_check_method=pass_all | 4418 lt_cv_deplibs_check_method=pass_all |
3426 ;; | 4419 ;; |
3427 | 4420 |
3428 solaris*) | 4421 sysv4 | sysv4.3*) |
3429 lt_cv_deplibs_check_method=pass_all | |
3430 lt_cv_file_magic_test_file=/lib/libc.so | |
3431 ;; | |
3432 | |
3433 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | |
3434 case $host_vendor in | 4422 case $host_vendor in |
3435 motorola) | 4423 motorola) |
3436 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]' | 4424 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]' |
3437 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | 4425 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
3438 ;; | 4426 ;; |
3449 lt_cv_file_magic_test_file=/lib/libc.so | 4437 lt_cv_file_magic_test_file=/lib/libc.so |
3450 ;; | 4438 ;; |
3451 siemens) | 4439 siemens) |
3452 lt_cv_deplibs_check_method=pass_all | 4440 lt_cv_deplibs_check_method=pass_all |
3453 ;; | 4441 ;; |
4442 pc) | |
4443 lt_cv_deplibs_check_method=pass_all | |
4444 ;; | |
3454 esac | 4445 esac |
3455 ;; | 4446 ;; |
3456 | 4447 |
3457 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) | 4448 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
3458 lt_cv_deplibs_check_method=pass_all | 4449 lt_cv_deplibs_check_method=pass_all |
3459 ;; | 4450 ;; |
3460 esac | 4451 esac |
3461 | 4452 |
3462 fi | 4453 fi |
3463 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 | 4454 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
3464 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 | 4455 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } |
3465 file_magic_cmd=$lt_cv_file_magic_cmd | 4456 file_magic_cmd=$lt_cv_file_magic_cmd |
3466 deplibs_check_method=$lt_cv_deplibs_check_method | 4457 deplibs_check_method=$lt_cv_deplibs_check_method |
3467 test -z "$deplibs_check_method" && deplibs_check_method=unknown | 4458 test -z "$deplibs_check_method" && deplibs_check_method=unknown |
3468 | 4459 |
3469 | 4460 |
3470 | 4461 |
3471 | 4462 |
3472 # If no C compiler was specified, use CC. | 4463 # If no C compiler was specified, use CC. |
3473 LTCC=${LTCC-"$CC"} | 4464 LTCC=${LTCC-"$CC"} |
3474 | 4465 |
4466 # If no C compiler flags were specified, use CFLAGS. | |
4467 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | |
4468 | |
3475 # Allow CC to be a program name with arguments. | 4469 # Allow CC to be a program name with arguments. |
3476 compiler=$CC | 4470 compiler=$CC |
3477 | 4471 |
3478 | 4472 |
3479 # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | 4473 # Check whether --enable-libtool-lock was given. |
3480 if test "${enable_libtool_lock+set}" = set; then | 4474 if test "${enable_libtool_lock+set}" = set; then |
3481 enableval="$enable_libtool_lock" | 4475 enableval=$enable_libtool_lock; |
3482 | 4476 fi |
3483 fi; | 4477 |
3484 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | 4478 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
3485 | 4479 |
3486 # Some flags need to be propagated to the compiler or linker for good | 4480 # Some flags need to be propagated to the compiler or linker for good |
3487 # libtool support. | 4481 # libtool support. |
3488 case $host in | 4482 case $host in |
3505 fi | 4499 fi |
3506 rm -rf conftest* | 4500 rm -rf conftest* |
3507 ;; | 4501 ;; |
3508 *-*-irix6*) | 4502 *-*-irix6*) |
3509 # Find out which ABI we are using. | 4503 # Find out which ABI we are using. |
3510 echo '#line 3510 "configure"' > conftest.$ac_ext | 4504 echo '#line 4504 "configure"' > conftest.$ac_ext |
3511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3512 (eval $ac_compile) 2>&5 | 4506 (eval $ac_compile) 2>&5 |
3513 ac_status=$? | 4507 ac_status=$? |
3514 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3515 (exit $ac_status); }; then | 4509 (exit $ac_status); }; then |
3548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3549 (eval $ac_compile) 2>&5 | 4543 (eval $ac_compile) 2>&5 |
3550 ac_status=$? | 4544 ac_status=$? |
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3552 (exit $ac_status); }; then | 4546 (exit $ac_status); }; then |
3553 case "`/usr/bin/file conftest.o`" in | 4547 case `/usr/bin/file conftest.o` in |
3554 *32-bit*) | 4548 *32-bit*) |
3555 case $host in | 4549 case $host in |
3556 x86_64-*linux*) | 4550 x86_64-*linux*) |
3557 LD="${LD-ld} -m elf_i386" | 4551 LD="${LD-ld} -m elf_i386" |
3558 ;; | 4552 ;; |
3559 ppc64-*linux*) | 4553 ppc64-*linux*|powerpc64-*linux*) |
3560 LD="${LD-ld} -m elf32ppclinux" | 4554 LD="${LD-ld} -m elf32ppclinux" |
3561 ;; | 4555 ;; |
3562 s390x-*linux*) | 4556 s390x-*linux*) |
3563 LD="${LD-ld} -m elf_s390" | 4557 LD="${LD-ld} -m elf_s390" |
3564 ;; | 4558 ;; |
3590 | 4584 |
3591 *-*-sco3.2v5*) | 4585 *-*-sco3.2v5*) |
3592 # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 4586 # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
3593 SAVE_CFLAGS="$CFLAGS" | 4587 SAVE_CFLAGS="$CFLAGS" |
3594 CFLAGS="$CFLAGS -belf" | 4588 CFLAGS="$CFLAGS -belf" |
3595 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 | 4589 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
3596 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 | 4590 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } |
3597 if test "${lt_cv_cc_needs_belf+set}" = set; then | 4591 if test "${lt_cv_cc_needs_belf+set}" = set; then |
3598 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4592 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3599 else | 4593 else |
3600 ac_ext=c | 4594 ac_ext=c |
3601 ac_cpp='$CPP $CPPFLAGS' | 4595 ac_cpp='$CPP $CPPFLAGS' |
3602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3604 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4598 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3605 | 4599 |
3606 cat >conftest.$ac_ext <<_ACEOF | 4600 cat >conftest.$ac_ext <<_ACEOF |
3607 #line $LINENO "configure" | 4601 /* confdefs.h. */ |
3608 #include "confdefs.h" | 4602 _ACEOF |
3609 | 4603 cat confdefs.h >>conftest.$ac_ext |
3610 #ifdef F77_DUMMY_MAIN | 4604 cat >>conftest.$ac_ext <<_ACEOF |
3611 # ifdef __cplusplus | 4605 /* end confdefs.h. */ |
3612 extern "C" | 4606 |
3613 # endif | |
3614 int F77_DUMMY_MAIN() { return 1; } | |
3615 #endif | |
3616 int | 4607 int |
3617 main () | 4608 main () |
3618 { | 4609 { |
3619 | 4610 |
3620 ; | 4611 ; |
3621 return 0; | 4612 return 0; |
3622 } | 4613 } |
3623 _ACEOF | 4614 _ACEOF |
3624 rm -f conftest.$ac_objext conftest$ac_exeext | 4615 rm -f conftest.$ac_objext conftest$ac_exeext |
3625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4616 if { (ac_try="$ac_link" |
3626 (eval $ac_link) 2>&5 | 4617 case "(($ac_try" in |
4618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4619 *) ac_try_echo=$ac_try;; | |
4620 esac | |
4621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4622 (eval "$ac_link") 2>conftest.er1 | |
4623 ac_status=$? | |
4624 grep -v '^ *+' conftest.er1 >conftest.err | |
4625 rm -f conftest.er1 | |
4626 cat conftest.err >&5 | |
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4628 (exit $ac_status); } && | |
4629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
4630 { (case "(($ac_try" in | |
4631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4632 *) ac_try_echo=$ac_try;; | |
4633 esac | |
4634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4635 (eval "$ac_try") 2>&5 | |
3627 ac_status=$? | 4636 ac_status=$? |
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3629 (exit $ac_status); } && | 4638 (exit $ac_status); }; } && |
3630 { ac_try='test -s conftest$ac_exeext' | 4639 { ac_try='test -s conftest$ac_exeext' |
3631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4640 { (case "(($ac_try" in |
3632 (eval $ac_try) 2>&5 | 4641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4642 *) ac_try_echo=$ac_try;; | |
4643 esac | |
4644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4645 (eval "$ac_try") 2>&5 | |
3633 ac_status=$? | 4646 ac_status=$? |
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3635 (exit $ac_status); }; }; then | 4648 (exit $ac_status); }; }; then |
3636 lt_cv_cc_needs_belf=yes | 4649 lt_cv_cc_needs_belf=yes |
3637 else | 4650 else |
3638 echo "$as_me: failed program was:" >&5 | 4651 echo "$as_me: failed program was:" >&5 |
3639 cat conftest.$ac_ext >&5 | 4652 sed 's/^/| /' conftest.$ac_ext >&5 |
3640 lt_cv_cc_needs_belf=no | 4653 |
3641 fi | 4654 lt_cv_cc_needs_belf=no |
3642 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4655 fi |
4656 | |
4657 rm -f core conftest.err conftest.$ac_objext \ | |
4658 conftest$ac_exeext conftest.$ac_ext | |
3643 ac_ext=c | 4659 ac_ext=c |
3644 ac_cpp='$CPP $CPPFLAGS' | 4660 ac_cpp='$CPP $CPPFLAGS' |
3645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3647 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4663 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3648 | 4664 |
3649 fi | 4665 fi |
3650 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 | 4666 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 |
3651 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 | 4667 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } |
3652 if test x"$lt_cv_cc_needs_belf" != x"yes"; then | 4668 if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
3653 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | 4669 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
3654 CFLAGS="$SAVE_CFLAGS" | 4670 CFLAGS="$SAVE_CFLAGS" |
3655 fi | 4671 fi |
3656 ;; | 4672 ;; |
4673 sparc*-*solaris*) | |
4674 # Find out which ABI we are using. | |
4675 echo 'int i;' > conftest.$ac_ext | |
4676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
4677 (eval $ac_compile) 2>&5 | |
4678 ac_status=$? | |
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4680 (exit $ac_status); }; then | |
4681 case `/usr/bin/file conftest.o` in | |
4682 *64-bit*) | |
4683 case $lt_cv_prog_gnu_ld in | |
4684 yes*) LD="${LD-ld} -m elf64_sparc" ;; | |
4685 *) LD="${LD-ld} -64" ;; | |
4686 esac | |
4687 ;; | |
4688 esac | |
4689 fi | |
4690 rm -rf conftest* | |
4691 ;; | |
4692 | |
3657 | 4693 |
3658 esac | 4694 esac |
3659 | 4695 |
3660 need_locks="$enable_libtool_lock" | 4696 need_locks="$enable_libtool_lock" |
3661 | 4697 |
3662 | 4698 |
3663 | 4699 |
3664 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 4700 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
3665 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 4701 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
3666 if test "${ac_cv_header_stdc+set}" = set; then | 4702 if test "${ac_cv_header_stdc+set}" = set; then |
3667 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4703 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3668 else | 4704 else |
3669 cat >conftest.$ac_ext <<_ACEOF | 4705 cat >conftest.$ac_ext <<_ACEOF |
3670 #line $LINENO "configure" | 4706 /* confdefs.h. */ |
3671 #include "confdefs.h" | 4707 _ACEOF |
4708 cat confdefs.h >>conftest.$ac_ext | |
4709 cat >>conftest.$ac_ext <<_ACEOF | |
4710 /* end confdefs.h. */ | |
3672 #include <stdlib.h> | 4711 #include <stdlib.h> |
3673 #include <stdarg.h> | 4712 #include <stdarg.h> |
3674 #include <string.h> | 4713 #include <string.h> |
3675 #include <float.h> | 4714 #include <float.h> |
3676 | 4715 |
4716 int | |
4717 main () | |
4718 { | |
4719 | |
4720 ; | |
4721 return 0; | |
4722 } | |
3677 _ACEOF | 4723 _ACEOF |
3678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4724 rm -f conftest.$ac_objext |
3679 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4725 if { (ac_try="$ac_compile" |
4726 case "(($ac_try" in | |
4727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4728 *) ac_try_echo=$ac_try;; | |
4729 esac | |
4730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4731 (eval "$ac_compile") 2>conftest.er1 | |
3680 ac_status=$? | 4732 ac_status=$? |
3681 egrep -v '^ *\+' conftest.er1 >conftest.err | 4733 grep -v '^ *+' conftest.er1 >conftest.err |
3682 rm -f conftest.er1 | 4734 rm -f conftest.er1 |
3683 cat conftest.err >&5 | 4735 cat conftest.err >&5 |
3684 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3685 (exit $ac_status); } >/dev/null; then | 4737 (exit $ac_status); } && |
3686 if test -s conftest.err; then | 4738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3687 ac_cpp_err=$ac_c_preproc_warn_flag | 4739 { (case "(($ac_try" in |
3688 else | 4740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3689 ac_cpp_err= | 4741 *) ac_try_echo=$ac_try;; |
3690 fi | 4742 esac |
3691 else | 4743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3692 ac_cpp_err=yes | 4744 (eval "$ac_try") 2>&5 |
3693 fi | 4745 ac_status=$? |
3694 if test -z "$ac_cpp_err"; then | 4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4747 (exit $ac_status); }; } && | |
4748 { ac_try='test -s conftest.$ac_objext' | |
4749 { (case "(($ac_try" in | |
4750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4751 *) ac_try_echo=$ac_try;; | |
4752 esac | |
4753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4754 (eval "$ac_try") 2>&5 | |
4755 ac_status=$? | |
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4757 (exit $ac_status); }; }; then | |
3695 ac_cv_header_stdc=yes | 4758 ac_cv_header_stdc=yes |
3696 else | 4759 else |
3697 echo "$as_me: failed program was:" >&5 | 4760 echo "$as_me: failed program was:" >&5 |
3698 cat conftest.$ac_ext >&5 | 4761 sed 's/^/| /' conftest.$ac_ext >&5 |
3699 ac_cv_header_stdc=no | 4762 |
3700 fi | 4763 ac_cv_header_stdc=no |
3701 rm -f conftest.err conftest.$ac_ext | 4764 fi |
4765 | |
4766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3702 | 4767 |
3703 if test $ac_cv_header_stdc = yes; then | 4768 if test $ac_cv_header_stdc = yes; then |
3704 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 4769 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3705 cat >conftest.$ac_ext <<_ACEOF | 4770 cat >conftest.$ac_ext <<_ACEOF |
3706 #line $LINENO "configure" | 4771 /* confdefs.h. */ |
3707 #include "confdefs.h" | 4772 _ACEOF |
4773 cat confdefs.h >>conftest.$ac_ext | |
4774 cat >>conftest.$ac_ext <<_ACEOF | |
4775 /* end confdefs.h. */ | |
3708 #include <string.h> | 4776 #include <string.h> |
3709 | 4777 |
3710 _ACEOF | 4778 _ACEOF |
3711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3712 egrep "memchr" >/dev/null 2>&1; then | 4780 $EGREP "memchr" >/dev/null 2>&1; then |
3713 : | 4781 : |
3714 else | 4782 else |
3715 ac_cv_header_stdc=no | 4783 ac_cv_header_stdc=no |
3716 fi | 4784 fi |
3717 rm -f conftest* | 4785 rm -f conftest* |
3719 fi | 4787 fi |
3720 | 4788 |
3721 if test $ac_cv_header_stdc = yes; then | 4789 if test $ac_cv_header_stdc = yes; then |
3722 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 4790 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3723 cat >conftest.$ac_ext <<_ACEOF | 4791 cat >conftest.$ac_ext <<_ACEOF |
3724 #line $LINENO "configure" | 4792 /* confdefs.h. */ |
3725 #include "confdefs.h" | 4793 _ACEOF |
4794 cat confdefs.h >>conftest.$ac_ext | |
4795 cat >>conftest.$ac_ext <<_ACEOF | |
4796 /* end confdefs.h. */ | |
3726 #include <stdlib.h> | 4797 #include <stdlib.h> |
3727 | 4798 |
3728 _ACEOF | 4799 _ACEOF |
3729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3730 egrep "free" >/dev/null 2>&1; then | 4801 $EGREP "free" >/dev/null 2>&1; then |
3731 : | 4802 : |
3732 else | 4803 else |
3733 ac_cv_header_stdc=no | 4804 ac_cv_header_stdc=no |
3734 fi | 4805 fi |
3735 rm -f conftest* | 4806 rm -f conftest* |
3740 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 4811 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3741 if test "$cross_compiling" = yes; then | 4812 if test "$cross_compiling" = yes; then |
3742 : | 4813 : |
3743 else | 4814 else |
3744 cat >conftest.$ac_ext <<_ACEOF | 4815 cat >conftest.$ac_ext <<_ACEOF |
3745 #line $LINENO "configure" | 4816 /* confdefs.h. */ |
3746 #include "confdefs.h" | 4817 _ACEOF |
4818 cat confdefs.h >>conftest.$ac_ext | |
4819 cat >>conftest.$ac_ext <<_ACEOF | |
4820 /* end confdefs.h. */ | |
3747 #include <ctype.h> | 4821 #include <ctype.h> |
4822 #include <stdlib.h> | |
3748 #if ((' ' & 0x0FF) == 0x020) | 4823 #if ((' ' & 0x0FF) == 0x020) |
3749 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 4824 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3750 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 4825 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3751 #else | 4826 #else |
3752 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | 4827 # define ISLOWER(c) \ |
3753 || ('j' <= (c) && (c) <= 'r') \ | 4828 (('a' <= (c) && (c) <= 'i') \ |
3754 || ('s' <= (c) && (c) <= 'z')) | 4829 || ('j' <= (c) && (c) <= 'r') \ |
4830 || ('s' <= (c) && (c) <= 'z')) | |
3755 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 4831 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
3756 #endif | 4832 #endif |
3757 | 4833 |
3758 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 4834 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3759 int | 4835 int |
3760 main () | 4836 main () |
3761 { | 4837 { |
3762 int i; | 4838 int i; |
3763 for (i = 0; i < 256; i++) | 4839 for (i = 0; i < 256; i++) |
3764 if (XOR (islower (i), ISLOWER (i)) | 4840 if (XOR (islower (i), ISLOWER (i)) |
3765 || toupper (i) != TOUPPER (i)) | 4841 || toupper (i) != TOUPPER (i)) |
3766 exit(2); | 4842 return 2; |
3767 exit (0); | 4843 return 0; |
3768 } | 4844 } |
3769 _ACEOF | 4845 _ACEOF |
3770 rm -f conftest$ac_exeext | 4846 rm -f conftest$ac_exeext |
3771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4847 if { (ac_try="$ac_link" |
3772 (eval $ac_link) 2>&5 | 4848 case "(($ac_try" in |
4849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4850 *) ac_try_echo=$ac_try;; | |
4851 esac | |
4852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4853 (eval "$ac_link") 2>&5 | |
3773 ac_status=$? | 4854 ac_status=$? |
3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3775 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 4856 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4857 { (case "(($ac_try" in |
3777 (eval $ac_try) 2>&5 | 4858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4859 *) ac_try_echo=$ac_try;; | |
4860 esac | |
4861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4862 (eval "$ac_try") 2>&5 | |
3778 ac_status=$? | 4863 ac_status=$? |
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3780 (exit $ac_status); }; }; then | 4865 (exit $ac_status); }; }; then |
3781 : | 4866 : |
3782 else | 4867 else |
3783 echo "$as_me: program exited with status $ac_status" >&5 | 4868 echo "$as_me: program exited with status $ac_status" >&5 |
3784 echo "$as_me: failed program was:" >&5 | 4869 echo "$as_me: failed program was:" >&5 |
3785 cat conftest.$ac_ext >&5 | 4870 sed 's/^/| /' conftest.$ac_ext >&5 |
4871 | |
3786 ( exit $ac_status ) | 4872 ( exit $ac_status ) |
3787 ac_cv_header_stdc=no | 4873 ac_cv_header_stdc=no |
3788 fi | 4874 fi |
3789 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 4875 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3790 fi | 4876 fi |
3791 fi | 4877 |
3792 fi | 4878 |
3793 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 4879 fi |
3794 echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 4880 fi |
4881 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
4882 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } | |
3795 if test $ac_cv_header_stdc = yes; then | 4883 if test $ac_cv_header_stdc = yes; then |
3796 | 4884 |
3797 cat >>confdefs.h <<\_ACEOF | 4885 cat >>confdefs.h <<\_ACEOF |
3798 #define STDC_HEADERS 1 | 4886 #define STDC_HEADERS 1 |
3799 _ACEOF | 4887 _ACEOF |
3809 | 4897 |
3810 | 4898 |
3811 | 4899 |
3812 | 4900 |
3813 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 4901 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
3814 inttypes.h stdint.h unistd.h | 4902 inttypes.h stdint.h unistd.h |
3815 do | 4903 do |
3816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4904 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3817 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 4905 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 4906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
3819 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 4907 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
3820 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4908 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3821 else | 4909 else |
3822 cat >conftest.$ac_ext <<_ACEOF | 4910 cat >conftest.$ac_ext <<_ACEOF |
3823 #line $LINENO "configure" | 4911 /* confdefs.h. */ |
3824 #include "confdefs.h" | 4912 _ACEOF |
4913 cat confdefs.h >>conftest.$ac_ext | |
4914 cat >>conftest.$ac_ext <<_ACEOF | |
4915 /* end confdefs.h. */ | |
3825 $ac_includes_default | 4916 $ac_includes_default |
3826 | 4917 |
3827 #include <$ac_header> | 4918 #include <$ac_header> |
3828 _ACEOF | 4919 _ACEOF |
3829 rm -f conftest.$ac_objext | 4920 rm -f conftest.$ac_objext |
3830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4921 if { (ac_try="$ac_compile" |
3831 (eval $ac_compile) 2>&5 | 4922 case "(($ac_try" in |
4923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4924 *) ac_try_echo=$ac_try;; | |
4925 esac | |
4926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4927 (eval "$ac_compile") 2>conftest.er1 | |
4928 ac_status=$? | |
4929 grep -v '^ *+' conftest.er1 >conftest.err | |
4930 rm -f conftest.er1 | |
4931 cat conftest.err >&5 | |
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4933 (exit $ac_status); } && | |
4934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
4935 { (case "(($ac_try" in | |
4936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4937 *) ac_try_echo=$ac_try;; | |
4938 esac | |
4939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4940 (eval "$ac_try") 2>&5 | |
3832 ac_status=$? | 4941 ac_status=$? |
3833 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3834 (exit $ac_status); } && | 4943 (exit $ac_status); }; } && |
3835 { ac_try='test -s conftest.$ac_objext' | 4944 { ac_try='test -s conftest.$ac_objext' |
3836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4945 { (case "(($ac_try" in |
3837 (eval $ac_try) 2>&5 | 4946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4947 *) ac_try_echo=$ac_try;; | |
4948 esac | |
4949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4950 (eval "$ac_try") 2>&5 | |
3838 ac_status=$? | 4951 ac_status=$? |
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3840 (exit $ac_status); }; }; then | 4953 (exit $ac_status); }; }; then |
3841 eval "$as_ac_Header=yes" | 4954 eval "$as_ac_Header=yes" |
3842 else | 4955 else |
3843 echo "$as_me: failed program was:" >&5 | 4956 echo "$as_me: failed program was:" >&5 |
3844 cat conftest.$ac_ext >&5 | 4957 sed 's/^/| /' conftest.$ac_ext >&5 |
3845 eval "$as_ac_Header=no" | 4958 |
3846 fi | 4959 eval "$as_ac_Header=no" |
3847 rm -f conftest.$ac_objext conftest.$ac_ext | 4960 fi |
3848 fi | 4961 |
3849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 4962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 4963 fi |
4964 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4965 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4966 echo "${ECHO_T}$ac_res" >&6; } | |
3851 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 4967 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
3852 cat >>confdefs.h <<_ACEOF | 4968 cat >>confdefs.h <<_ACEOF |
3853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4969 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3854 _ACEOF | 4970 _ACEOF |
3855 | 4971 |
3860 | 4976 |
3861 | 4977 |
3862 for ac_header in dlfcn.h | 4978 for ac_header in dlfcn.h |
3863 do | 4979 do |
3864 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4980 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3865 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 4981 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
3866 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 4982 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 4983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
3868 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 4984 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
3869 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4985 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3870 fi | 4986 fi |
3871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 4987 ac_res=`eval echo '${'$as_ac_Header'}'` |
3872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 4988 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
4989 echo "${ECHO_T}$ac_res" >&6; } | |
3873 else | 4990 else |
3874 # Is the header compilable? | 4991 # Is the header compilable? |
3875 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 4992 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
3876 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 4993 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
3877 cat >conftest.$ac_ext <<_ACEOF | 4994 cat >conftest.$ac_ext <<_ACEOF |
3878 #line $LINENO "configure" | 4995 /* confdefs.h. */ |
3879 #include "confdefs.h" | 4996 _ACEOF |
4997 cat confdefs.h >>conftest.$ac_ext | |
4998 cat >>conftest.$ac_ext <<_ACEOF | |
4999 /* end confdefs.h. */ | |
3880 $ac_includes_default | 5000 $ac_includes_default |
3881 #include <$ac_header> | 5001 #include <$ac_header> |
3882 _ACEOF | 5002 _ACEOF |
3883 rm -f conftest.$ac_objext | 5003 rm -f conftest.$ac_objext |
3884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5004 if { (ac_try="$ac_compile" |
3885 (eval $ac_compile) 2>&5 | 5005 case "(($ac_try" in |
5006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5007 *) ac_try_echo=$ac_try;; | |
5008 esac | |
5009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5010 (eval "$ac_compile") 2>conftest.er1 | |
5011 ac_status=$? | |
5012 grep -v '^ *+' conftest.er1 >conftest.err | |
5013 rm -f conftest.er1 | |
5014 cat conftest.err >&5 | |
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5016 (exit $ac_status); } && | |
5017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
5018 { (case "(($ac_try" in | |
5019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5020 *) ac_try_echo=$ac_try;; | |
5021 esac | |
5022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5023 (eval "$ac_try") 2>&5 | |
3886 ac_status=$? | 5024 ac_status=$? |
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3888 (exit $ac_status); } && | 5026 (exit $ac_status); }; } && |
3889 { ac_try='test -s conftest.$ac_objext' | 5027 { ac_try='test -s conftest.$ac_objext' |
3890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5028 { (case "(($ac_try" in |
3891 (eval $ac_try) 2>&5 | 5029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5030 *) ac_try_echo=$ac_try;; | |
5031 esac | |
5032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5033 (eval "$ac_try") 2>&5 | |
3892 ac_status=$? | 5034 ac_status=$? |
3893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3894 (exit $ac_status); }; }; then | 5036 (exit $ac_status); }; }; then |
3895 ac_header_compiler=yes | 5037 ac_header_compiler=yes |
3896 else | 5038 else |
3897 echo "$as_me: failed program was:" >&5 | 5039 echo "$as_me: failed program was:" >&5 |
3898 cat conftest.$ac_ext >&5 | 5040 sed 's/^/| /' conftest.$ac_ext >&5 |
3899 ac_header_compiler=no | 5041 |
3900 fi | 5042 ac_header_compiler=no |
3901 rm -f conftest.$ac_objext conftest.$ac_ext | 5043 fi |
3902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 5044 |
3903 echo "${ECHO_T}$ac_header_compiler" >&6 | 5045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5046 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
5047 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
3904 | 5048 |
3905 # Is the header present? | 5049 # Is the header present? |
3906 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 5050 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
3907 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 5051 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
3908 cat >conftest.$ac_ext <<_ACEOF | 5052 cat >conftest.$ac_ext <<_ACEOF |
3909 #line $LINENO "configure" | 5053 /* confdefs.h. */ |
3910 #include "confdefs.h" | 5054 _ACEOF |
5055 cat confdefs.h >>conftest.$ac_ext | |
5056 cat >>conftest.$ac_ext <<_ACEOF | |
5057 /* end confdefs.h. */ | |
3911 #include <$ac_header> | 5058 #include <$ac_header> |
3912 _ACEOF | 5059 _ACEOF |
3913 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 5060 if { (ac_try="$ac_cpp conftest.$ac_ext" |
3914 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 5061 case "(($ac_try" in |
5062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5063 *) ac_try_echo=$ac_try;; | |
5064 esac | |
5065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5066 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3915 ac_status=$? | 5067 ac_status=$? |
3916 egrep -v '^ *\+' conftest.er1 >conftest.err | 5068 grep -v '^ *+' conftest.er1 >conftest.err |
3917 rm -f conftest.er1 | 5069 rm -f conftest.er1 |
3918 cat conftest.err >&5 | 5070 cat conftest.err >&5 |
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3920 (exit $ac_status); } >/dev/null; then | 5072 (exit $ac_status); } >/dev/null; then |
3921 if test -s conftest.err; then | 5073 if test -s conftest.err; then |
3922 ac_cpp_err=$ac_c_preproc_warn_flag | 5074 ac_cpp_err=$ac_c_preproc_warn_flag |
5075 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | |
3923 else | 5076 else |
3924 ac_cpp_err= | 5077 ac_cpp_err= |
3925 fi | 5078 fi |
3926 else | 5079 else |
3927 ac_cpp_err=yes | 5080 ac_cpp_err=yes |
3928 fi | 5081 fi |
3929 if test -z "$ac_cpp_err"; then | 5082 if test -z "$ac_cpp_err"; then |
3930 ac_header_preproc=yes | 5083 ac_header_preproc=yes |
3931 else | 5084 else |
3932 echo "$as_me: failed program was:" >&5 | 5085 echo "$as_me: failed program was:" >&5 |
3933 cat conftest.$ac_ext >&5 | 5086 sed 's/^/| /' conftest.$ac_ext >&5 |
5087 | |
3934 ac_header_preproc=no | 5088 ac_header_preproc=no |
3935 fi | 5089 fi |
5090 | |
3936 rm -f conftest.err conftest.$ac_ext | 5091 rm -f conftest.err conftest.$ac_ext |
3937 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 5092 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
3938 echo "${ECHO_T}$ac_header_preproc" >&6 | 5093 echo "${ECHO_T}$ac_header_preproc" >&6; } |
3939 | 5094 |
3940 # So? What about this header? | 5095 # So? What about this header? |
3941 case $ac_header_compiler:$ac_header_preproc in | 5096 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
3942 yes:no ) | 5097 yes:no: ) |
3943 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 5098 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
3944 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 5099 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
3945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 5100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
3946 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 5101 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
3947 no:yes ) | 5102 ac_header_preproc=yes |
5103 ;; | |
5104 no:yes:* ) | |
3948 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 5105 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
3949 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 5106 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
3950 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 5107 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
3951 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 5108 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5109 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
5110 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
5111 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
5112 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
3952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 5113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
3953 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 5114 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
3954 esac | 5115 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
3955 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 5116 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
3956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 5117 |
3957 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 5118 ;; |
5119 esac | |
5120 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
5121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | |
5122 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
3958 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5123 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3959 else | 5124 else |
3960 eval "$as_ac_Header=$ac_header_preproc" | 5125 eval "$as_ac_Header=\$ac_header_preproc" |
3961 fi | 5126 fi |
3962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 5127 ac_res=`eval echo '${'$as_ac_Header'}'` |
3963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 5128 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
5129 echo "${ECHO_T}$ac_res" >&6; } | |
3964 | 5130 |
3965 fi | 5131 fi |
3966 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 5132 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
3967 cat >>confdefs.h <<_ACEOF | 5133 cat >>confdefs.h <<_ACEOF |
3968 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3970 | 5136 |
3971 fi | 5137 fi |
3972 | 5138 |
3973 done | 5139 done |
3974 | 5140 |
3975 ac_ext=cc | 5141 ac_ext=cpp |
3976 ac_cpp='$CXXCPP $CPPFLAGS' | 5142 ac_cpp='$CXXCPP $CPPFLAGS' |
3977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 5144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 5145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3980 if test -n "$ac_tool_prefix"; then | 5146 if test -z "$CXX"; then |
3981 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 5147 if test -n "$CCC"; then |
5148 CXX=$CCC | |
5149 else | |
5150 if test -n "$ac_tool_prefix"; then | |
5151 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | |
3982 do | 5152 do |
3983 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 5153 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3984 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 5154 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3985 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5155 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3987 if test "${ac_cv_prog_CXX+set}" = set; then | 5157 if test "${ac_cv_prog_CXX+set}" = set; then |
3988 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5158 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3989 else | 5159 else |
3990 if test -n "$CXX"; then | 5160 if test -n "$CXX"; then |
3991 ac_cv_prog_CXX="$CXX" # Let the user override the test. | 5161 ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3994 for as_dir in $PATH | 5164 for as_dir in $PATH |
3995 do | 5165 do |
3996 IFS=$as_save_IFS | 5166 IFS=$as_save_IFS |
3997 test -z "$as_dir" && as_dir=. | 5167 test -z "$as_dir" && as_dir=. |
3998 for ac_exec_ext in '' $ac_executable_extensions; do | 5168 for ac_exec_ext in '' $ac_executable_extensions; do |
3999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
4000 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 5170 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
4001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4002 break 2 | 5172 break 2 |
4003 fi | 5173 fi |
4004 done | 5174 done |
4005 done | 5175 done |
5176 IFS=$as_save_IFS | |
4006 | 5177 |
4007 fi | 5178 fi |
4008 fi | 5179 fi |
4009 CXX=$ac_cv_prog_CXX | 5180 CXX=$ac_cv_prog_CXX |
4010 if test -n "$CXX"; then | 5181 if test -n "$CXX"; then |
4011 echo "$as_me:$LINENO: result: $CXX" >&5 | 5182 { echo "$as_me:$LINENO: result: $CXX" >&5 |
4012 echo "${ECHO_T}$CXX" >&6 | 5183 echo "${ECHO_T}$CXX" >&6; } |
4013 else | 5184 else |
4014 echo "$as_me:$LINENO: result: no" >&5 | 5185 { echo "$as_me:$LINENO: result: no" >&5 |
4015 echo "${ECHO_T}no" >&6 | 5186 echo "${ECHO_T}no" >&6; } |
4016 fi | 5187 fi |
5188 | |
4017 | 5189 |
4018 test -n "$CXX" && break | 5190 test -n "$CXX" && break |
4019 done | 5191 done |
4020 fi | 5192 fi |
4021 if test -z "$CXX"; then | 5193 if test -z "$CXX"; then |
4022 ac_ct_CXX=$CXX | 5194 ac_ct_CXX=$CXX |
4023 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 5195 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
4024 do | 5196 do |
4025 # Extract the first word of "$ac_prog", so it can be a program name with args. | 5197 # Extract the first word of "$ac_prog", so it can be a program name with args. |
4026 set dummy $ac_prog; ac_word=$2 | 5198 set dummy $ac_prog; ac_word=$2 |
4027 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5199 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4029 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 5201 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
4030 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5202 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4031 else | 5203 else |
4032 if test -n "$ac_ct_CXX"; then | 5204 if test -n "$ac_ct_CXX"; then |
4033 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 5205 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
4036 for as_dir in $PATH | 5208 for as_dir in $PATH |
4037 do | 5209 do |
4038 IFS=$as_save_IFS | 5210 IFS=$as_save_IFS |
4039 test -z "$as_dir" && as_dir=. | 5211 test -z "$as_dir" && as_dir=. |
4040 for ac_exec_ext in '' $ac_executable_extensions; do | 5212 for ac_exec_ext in '' $ac_executable_extensions; do |
4041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
4042 ac_cv_prog_ac_ct_CXX="$ac_prog" | 5214 ac_cv_prog_ac_ct_CXX="$ac_prog" |
4043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4044 break 2 | 5216 break 2 |
4045 fi | 5217 fi |
4046 done | 5218 done |
4047 done | 5219 done |
5220 IFS=$as_save_IFS | |
4048 | 5221 |
4049 fi | 5222 fi |
4050 fi | 5223 fi |
4051 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 5224 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
4052 if test -n "$ac_ct_CXX"; then | 5225 if test -n "$ac_ct_CXX"; then |
4053 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 5226 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
4054 echo "${ECHO_T}$ac_ct_CXX" >&6 | 5227 echo "${ECHO_T}$ac_ct_CXX" >&6; } |
4055 else | 5228 else |
4056 echo "$as_me:$LINENO: result: no" >&5 | 5229 { echo "$as_me:$LINENO: result: no" >&5 |
4057 echo "${ECHO_T}no" >&6 | 5230 echo "${ECHO_T}no" >&6; } |
4058 fi | 5231 fi |
5232 | |
4059 | 5233 |
4060 test -n "$ac_ct_CXX" && break | 5234 test -n "$ac_ct_CXX" && break |
4061 done | 5235 done |
4062 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | 5236 |
4063 | 5237 if test "x$ac_ct_CXX" = x; then |
4064 CXX=$ac_ct_CXX | 5238 CXX="g++" |
4065 fi | 5239 else |
4066 | 5240 case $cross_compiling:$ac_tool_warned in |
4067 | 5241 yes:) |
5242 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
5243 whose name does not start with the host triplet. If you think this | |
5244 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
5245 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
5246 whose name does not start with the host triplet. If you think this | |
5247 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
5248 ac_tool_warned=yes ;; | |
5249 esac | |
5250 CXX=$ac_ct_CXX | |
5251 fi | |
5252 fi | |
5253 | |
5254 fi | |
5255 fi | |
4068 # Provide some information about the compiler. | 5256 # Provide some information about the compiler. |
4069 echo "$as_me:$LINENO:" \ | 5257 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
4070 "checking for C++ compiler version" >&5 | |
4071 ac_compiler=`set X $ac_compile; echo $2` | 5258 ac_compiler=`set X $ac_compile; echo $2` |
4072 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 5259 { (ac_try="$ac_compiler --version >&5" |
4073 (eval $ac_compiler --version </dev/null >&5) 2>&5 | 5260 case "(($ac_try" in |
5261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5262 *) ac_try_echo=$ac_try;; | |
5263 esac | |
5264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5265 (eval "$ac_compiler --version >&5") 2>&5 | |
4074 ac_status=$? | 5266 ac_status=$? |
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4076 (exit $ac_status); } | 5268 (exit $ac_status); } |
4077 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 5269 { (ac_try="$ac_compiler -v >&5" |
4078 (eval $ac_compiler -v </dev/null >&5) 2>&5 | 5270 case "(($ac_try" in |
5271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5272 *) ac_try_echo=$ac_try;; | |
5273 esac | |
5274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5275 (eval "$ac_compiler -v >&5") 2>&5 | |
4079 ac_status=$? | 5276 ac_status=$? |
4080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4081 (exit $ac_status); } | 5278 (exit $ac_status); } |
4082 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 5279 { (ac_try="$ac_compiler -V >&5" |
4083 (eval $ac_compiler -V </dev/null >&5) 2>&5 | 5280 case "(($ac_try" in |
5281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5282 *) ac_try_echo=$ac_try;; | |
5283 esac | |
5284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5285 (eval "$ac_compiler -V >&5") 2>&5 | |
4084 ac_status=$? | 5286 ac_status=$? |
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4086 (exit $ac_status); } | 5288 (exit $ac_status); } |
4087 | 5289 |
4088 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 5290 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
4089 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | 5291 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } |
4090 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 5292 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
4091 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5293 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4092 else | 5294 else |
4093 cat >conftest.$ac_ext <<_ACEOF | 5295 cat >conftest.$ac_ext <<_ACEOF |
4094 #line $LINENO "configure" | 5296 /* confdefs.h. */ |
4095 #include "confdefs.h" | 5297 _ACEOF |
4096 | 5298 cat confdefs.h >>conftest.$ac_ext |
4097 #ifdef F77_DUMMY_MAIN | 5299 cat >>conftest.$ac_ext <<_ACEOF |
4098 # ifdef __cplusplus | 5300 /* end confdefs.h. */ |
4099 extern "C" | 5301 |
4100 # endif | |
4101 int F77_DUMMY_MAIN() { return 1; } | |
4102 #endif | |
4103 int | 5302 int |
4104 main () | 5303 main () |
4105 { | 5304 { |
4106 #ifndef __GNUC__ | 5305 #ifndef __GNUC__ |
4107 choke me | 5306 choke me |
4110 ; | 5309 ; |
4111 return 0; | 5310 return 0; |
4112 } | 5311 } |
4113 _ACEOF | 5312 _ACEOF |
4114 rm -f conftest.$ac_objext | 5313 rm -f conftest.$ac_objext |
4115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5314 if { (ac_try="$ac_compile" |
4116 (eval $ac_compile) 2>&5 | 5315 case "(($ac_try" in |
5316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5317 *) ac_try_echo=$ac_try;; | |
5318 esac | |
5319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5320 (eval "$ac_compile") 2>conftest.er1 | |
5321 ac_status=$? | |
5322 grep -v '^ *+' conftest.er1 >conftest.err | |
5323 rm -f conftest.er1 | |
5324 cat conftest.err >&5 | |
5325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5326 (exit $ac_status); } && | |
5327 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | |
5328 { (case "(($ac_try" in | |
5329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5330 *) ac_try_echo=$ac_try;; | |
5331 esac | |
5332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5333 (eval "$ac_try") 2>&5 | |
4117 ac_status=$? | 5334 ac_status=$? |
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4119 (exit $ac_status); } && | 5336 (exit $ac_status); }; } && |
4120 { ac_try='test -s conftest.$ac_objext' | 5337 { ac_try='test -s conftest.$ac_objext' |
4121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5338 { (case "(($ac_try" in |
4122 (eval $ac_try) 2>&5 | 5339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5340 *) ac_try_echo=$ac_try;; | |
5341 esac | |
5342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5343 (eval "$ac_try") 2>&5 | |
4123 ac_status=$? | 5344 ac_status=$? |
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4125 (exit $ac_status); }; }; then | 5346 (exit $ac_status); }; }; then |
4126 ac_compiler_gnu=yes | 5347 ac_compiler_gnu=yes |
4127 else | 5348 else |
4128 echo "$as_me: failed program was:" >&5 | 5349 echo "$as_me: failed program was:" >&5 |
4129 cat conftest.$ac_ext >&5 | 5350 sed 's/^/| /' conftest.$ac_ext >&5 |
4130 ac_compiler_gnu=no | 5351 |
4131 fi | 5352 ac_compiler_gnu=no |
4132 rm -f conftest.$ac_objext conftest.$ac_ext | 5353 fi |
5354 | |
5355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4133 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 5356 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
4134 | 5357 |
4135 fi | 5358 fi |
4136 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 5359 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
4137 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | 5360 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } |
4138 GXX=`test $ac_compiler_gnu = yes && echo yes` | 5361 GXX=`test $ac_compiler_gnu = yes && echo yes` |
4139 ac_test_CXXFLAGS=${CXXFLAGS+set} | 5362 ac_test_CXXFLAGS=${CXXFLAGS+set} |
4140 ac_save_CXXFLAGS=$CXXFLAGS | 5363 ac_save_CXXFLAGS=$CXXFLAGS |
4141 CXXFLAGS="-g" | 5364 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
4142 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 5365 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } |
4143 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | |
4144 if test "${ac_cv_prog_cxx_g+set}" = set; then | 5366 if test "${ac_cv_prog_cxx_g+set}" = set; then |
4145 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5367 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4146 else | 5368 else |
4147 cat >conftest.$ac_ext <<_ACEOF | 5369 ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
4148 #line $LINENO "configure" | 5370 ac_cxx_werror_flag=yes |
4149 #include "confdefs.h" | 5371 ac_cv_prog_cxx_g=no |
4150 | 5372 CXXFLAGS="-g" |
4151 #ifdef F77_DUMMY_MAIN | 5373 cat >conftest.$ac_ext <<_ACEOF |
4152 # ifdef __cplusplus | 5374 /* confdefs.h. */ |
4153 extern "C" | 5375 _ACEOF |
4154 # endif | 5376 cat confdefs.h >>conftest.$ac_ext |
4155 int F77_DUMMY_MAIN() { return 1; } | 5377 cat >>conftest.$ac_ext <<_ACEOF |
4156 #endif | 5378 /* end confdefs.h. */ |
5379 | |
4157 int | 5380 int |
4158 main () | 5381 main () |
4159 { | 5382 { |
4160 | 5383 |
4161 ; | 5384 ; |
4162 return 0; | 5385 return 0; |
4163 } | 5386 } |
4164 _ACEOF | 5387 _ACEOF |
4165 rm -f conftest.$ac_objext | 5388 rm -f conftest.$ac_objext |
4166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5389 if { (ac_try="$ac_compile" |
4167 (eval $ac_compile) 2>&5 | 5390 case "(($ac_try" in |
5391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5392 *) ac_try_echo=$ac_try;; | |
5393 esac | |
5394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5395 (eval "$ac_compile") 2>conftest.er1 | |
5396 ac_status=$? | |
5397 grep -v '^ *+' conftest.er1 >conftest.err | |
5398 rm -f conftest.er1 | |
5399 cat conftest.err >&5 | |
5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5401 (exit $ac_status); } && | |
5402 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | |
5403 { (case "(($ac_try" in | |
5404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5405 *) ac_try_echo=$ac_try;; | |
5406 esac | |
5407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5408 (eval "$ac_try") 2>&5 | |
4168 ac_status=$? | 5409 ac_status=$? |
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4170 (exit $ac_status); } && | 5411 (exit $ac_status); }; } && |
4171 { ac_try='test -s conftest.$ac_objext' | 5412 { ac_try='test -s conftest.$ac_objext' |
4172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5413 { (case "(($ac_try" in |
4173 (eval $ac_try) 2>&5 | 5414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5415 *) ac_try_echo=$ac_try;; | |
5416 esac | |
5417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5418 (eval "$ac_try") 2>&5 | |
4174 ac_status=$? | 5419 ac_status=$? |
4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4176 (exit $ac_status); }; }; then | 5421 (exit $ac_status); }; }; then |
4177 ac_cv_prog_cxx_g=yes | 5422 ac_cv_prog_cxx_g=yes |
4178 else | 5423 else |
4179 echo "$as_me: failed program was:" >&5 | 5424 echo "$as_me: failed program was:" >&5 |
4180 cat conftest.$ac_ext >&5 | 5425 sed 's/^/| /' conftest.$ac_ext >&5 |
4181 ac_cv_prog_cxx_g=no | 5426 |
4182 fi | 5427 CXXFLAGS="" |
4183 rm -f conftest.$ac_objext conftest.$ac_ext | 5428 cat >conftest.$ac_ext <<_ACEOF |
4184 fi | 5429 /* confdefs.h. */ |
4185 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 5430 _ACEOF |
4186 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | 5431 cat confdefs.h >>conftest.$ac_ext |
5432 cat >>conftest.$ac_ext <<_ACEOF | |
5433 /* end confdefs.h. */ | |
5434 | |
5435 int | |
5436 main () | |
5437 { | |
5438 | |
5439 ; | |
5440 return 0; | |
5441 } | |
5442 _ACEOF | |
5443 rm -f conftest.$ac_objext | |
5444 if { (ac_try="$ac_compile" | |
5445 case "(($ac_try" in | |
5446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5447 *) ac_try_echo=$ac_try;; | |
5448 esac | |
5449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5450 (eval "$ac_compile") 2>conftest.er1 | |
5451 ac_status=$? | |
5452 grep -v '^ *+' conftest.er1 >conftest.err | |
5453 rm -f conftest.er1 | |
5454 cat conftest.err >&5 | |
5455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5456 (exit $ac_status); } && | |
5457 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | |
5458 { (case "(($ac_try" in | |
5459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5460 *) ac_try_echo=$ac_try;; | |
5461 esac | |
5462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5463 (eval "$ac_try") 2>&5 | |
5464 ac_status=$? | |
5465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5466 (exit $ac_status); }; } && | |
5467 { ac_try='test -s conftest.$ac_objext' | |
5468 { (case "(($ac_try" in | |
5469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5470 *) ac_try_echo=$ac_try;; | |
5471 esac | |
5472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5473 (eval "$ac_try") 2>&5 | |
5474 ac_status=$? | |
5475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5476 (exit $ac_status); }; }; then | |
5477 : | |
5478 else | |
5479 echo "$as_me: failed program was:" >&5 | |
5480 sed 's/^/| /' conftest.$ac_ext >&5 | |
5481 | |
5482 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | |
5483 CXXFLAGS="-g" | |
5484 cat >conftest.$ac_ext <<_ACEOF | |
5485 /* confdefs.h. */ | |
5486 _ACEOF | |
5487 cat confdefs.h >>conftest.$ac_ext | |
5488 cat >>conftest.$ac_ext <<_ACEOF | |
5489 /* end confdefs.h. */ | |
5490 | |
5491 int | |
5492 main () | |
5493 { | |
5494 | |
5495 ; | |
5496 return 0; | |
5497 } | |
5498 _ACEOF | |
5499 rm -f conftest.$ac_objext | |
5500 if { (ac_try="$ac_compile" | |
5501 case "(($ac_try" in | |
5502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5503 *) ac_try_echo=$ac_try;; | |
5504 esac | |
5505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5506 (eval "$ac_compile") 2>conftest.er1 | |
5507 ac_status=$? | |
5508 grep -v '^ *+' conftest.er1 >conftest.err | |
5509 rm -f conftest.er1 | |
5510 cat conftest.err >&5 | |
5511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5512 (exit $ac_status); } && | |
5513 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | |
5514 { (case "(($ac_try" in | |
5515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5516 *) ac_try_echo=$ac_try;; | |
5517 esac | |
5518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5519 (eval "$ac_try") 2>&5 | |
5520 ac_status=$? | |
5521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5522 (exit $ac_status); }; } && | |
5523 { ac_try='test -s conftest.$ac_objext' | |
5524 { (case "(($ac_try" in | |
5525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5526 *) ac_try_echo=$ac_try;; | |
5527 esac | |
5528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5529 (eval "$ac_try") 2>&5 | |
5530 ac_status=$? | |
5531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5532 (exit $ac_status); }; }; then | |
5533 ac_cv_prog_cxx_g=yes | |
5534 else | |
5535 echo "$as_me: failed program was:" >&5 | |
5536 sed 's/^/| /' conftest.$ac_ext >&5 | |
5537 | |
5538 | |
5539 fi | |
5540 | |
5541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5542 fi | |
5543 | |
5544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5545 fi | |
5546 | |
5547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5548 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | |
5549 fi | |
5550 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | |
5551 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } | |
4187 if test "$ac_test_CXXFLAGS" = set; then | 5552 if test "$ac_test_CXXFLAGS" = set; then |
4188 CXXFLAGS=$ac_save_CXXFLAGS | 5553 CXXFLAGS=$ac_save_CXXFLAGS |
4189 elif test $ac_cv_prog_cxx_g = yes; then | 5554 elif test $ac_cv_prog_cxx_g = yes; then |
4190 if test "$GXX" = yes; then | 5555 if test "$GXX" = yes; then |
4191 CXXFLAGS="-g -O2" | 5556 CXXFLAGS="-g -O2" |
4197 CXXFLAGS="-O2" | 5562 CXXFLAGS="-O2" |
4198 else | 5563 else |
4199 CXXFLAGS= | 5564 CXXFLAGS= |
4200 fi | 5565 fi |
4201 fi | 5566 fi |
4202 for ac_declaration in \ | 5567 ac_ext=cpp |
4203 ''\ | |
4204 '#include <stdlib.h>' \ | |
4205 'extern "C" void std::exit (int) throw (); using std::exit;' \ | |
4206 'extern "C" void std::exit (int); using std::exit;' \ | |
4207 'extern "C" void exit (int) throw ();' \ | |
4208 'extern "C" void exit (int);' \ | |
4209 'void exit (int);' | |
4210 do | |
4211 cat >conftest.$ac_ext <<_ACEOF | |
4212 #line $LINENO "configure" | |
4213 #include "confdefs.h" | |
4214 #include <stdlib.h> | |
4215 $ac_declaration | |
4216 #ifdef F77_DUMMY_MAIN | |
4217 # ifdef __cplusplus | |
4218 extern "C" | |
4219 # endif | |
4220 int F77_DUMMY_MAIN() { return 1; } | |
4221 #endif | |
4222 int | |
4223 main () | |
4224 { | |
4225 exit (42); | |
4226 ; | |
4227 return 0; | |
4228 } | |
4229 _ACEOF | |
4230 rm -f conftest.$ac_objext | |
4231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
4232 (eval $ac_compile) 2>&5 | |
4233 ac_status=$? | |
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4235 (exit $ac_status); } && | |
4236 { ac_try='test -s conftest.$ac_objext' | |
4237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
4238 (eval $ac_try) 2>&5 | |
4239 ac_status=$? | |
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4241 (exit $ac_status); }; }; then | |
4242 : | |
4243 else | |
4244 echo "$as_me: failed program was:" >&5 | |
4245 cat conftest.$ac_ext >&5 | |
4246 continue | |
4247 fi | |
4248 rm -f conftest.$ac_objext conftest.$ac_ext | |
4249 cat >conftest.$ac_ext <<_ACEOF | |
4250 #line $LINENO "configure" | |
4251 #include "confdefs.h" | |
4252 $ac_declaration | |
4253 #ifdef F77_DUMMY_MAIN | |
4254 # ifdef __cplusplus | |
4255 extern "C" | |
4256 # endif | |
4257 int F77_DUMMY_MAIN() { return 1; } | |
4258 #endif | |
4259 int | |
4260 main () | |
4261 { | |
4262 exit (42); | |
4263 ; | |
4264 return 0; | |
4265 } | |
4266 _ACEOF | |
4267 rm -f conftest.$ac_objext | |
4268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
4269 (eval $ac_compile) 2>&5 | |
4270 ac_status=$? | |
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4272 (exit $ac_status); } && | |
4273 { ac_try='test -s conftest.$ac_objext' | |
4274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
4275 (eval $ac_try) 2>&5 | |
4276 ac_status=$? | |
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4278 (exit $ac_status); }; }; then | |
4279 break | |
4280 else | |
4281 echo "$as_me: failed program was:" >&5 | |
4282 cat conftest.$ac_ext >&5 | |
4283 fi | |
4284 rm -f conftest.$ac_objext conftest.$ac_ext | |
4285 done | |
4286 rm -f conftest* | |
4287 if test -n "$ac_declaration"; then | |
4288 echo '#ifdef __cplusplus' >>confdefs.h | |
4289 echo $ac_declaration >>confdefs.h | |
4290 echo '#endif' >>confdefs.h | |
4291 fi | |
4292 | |
4293 ac_ext=cc | |
4294 ac_cpp='$CXXCPP $CPPFLAGS' | 5568 ac_cpp='$CXXCPP $CPPFLAGS' |
4295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 5570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 5571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4298 | 5572 |
4299 ac_ext=cc | 5573 |
5574 | |
5575 if test -n "$CXX" && ( test "X$CXX" != "Xno" && | |
5576 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || | |
5577 (test "X$CXX" != "Xg++"))) ; then | |
5578 ac_ext=cpp | |
4300 ac_cpp='$CXXCPP $CPPFLAGS' | 5579 ac_cpp='$CXXCPP $CPPFLAGS' |
4301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 5581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 5582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4304 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 | 5583 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
4305 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 | 5584 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } |
4306 if test -z "$CXXCPP"; then | 5585 if test -z "$CXXCPP"; then |
4307 if test "${ac_cv_prog_CXXCPP+set}" = set; then | 5586 if test "${ac_cv_prog_CXXCPP+set}" = set; then |
4308 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5587 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4309 else | 5588 else |
4310 # Double quotes because CXXCPP needs to be expanded | 5589 # Double quotes because CXXCPP needs to be expanded |
4313 ac_preproc_ok=false | 5592 ac_preproc_ok=false |
4314 for ac_cxx_preproc_warn_flag in '' yes | 5593 for ac_cxx_preproc_warn_flag in '' yes |
4315 do | 5594 do |
4316 # Use a header file that comes with gcc, so configuring glibc | 5595 # Use a header file that comes with gcc, so configuring glibc |
4317 # with a fresh cross-compiler works. | 5596 # with a fresh cross-compiler works. |
5597 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
5598 # <limits.h> exists even on freestanding compilers. | |
4318 # On the NeXT, cc -E runs the code through the compiler's parser, | 5599 # On the NeXT, cc -E runs the code through the compiler's parser, |
4319 # not just through cpp. "Syntax error" is here to catch this case. | 5600 # not just through cpp. "Syntax error" is here to catch this case. |
4320 cat >conftest.$ac_ext <<_ACEOF | 5601 cat >conftest.$ac_ext <<_ACEOF |
4321 #line $LINENO "configure" | 5602 /* confdefs.h. */ |
4322 #include "confdefs.h" | |
4323 #include <assert.h> | |
4324 Syntax error | |
4325 _ACEOF | 5603 _ACEOF |
4326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 5604 cat confdefs.h >>conftest.$ac_ext |
4327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 5605 cat >>conftest.$ac_ext <<_ACEOF |
5606 /* end confdefs.h. */ | |
5607 #ifdef __STDC__ | |
5608 # include <limits.h> | |
5609 #else | |
5610 # include <assert.h> | |
5611 #endif | |
5612 Syntax error | |
5613 _ACEOF | |
5614 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
5615 case "(($ac_try" in | |
5616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5617 *) ac_try_echo=$ac_try;; | |
5618 esac | |
5619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5620 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4328 ac_status=$? | 5621 ac_status=$? |
4329 egrep -v '^ *\+' conftest.er1 >conftest.err | 5622 grep -v '^ *+' conftest.er1 >conftest.err |
4330 rm -f conftest.er1 | 5623 rm -f conftest.er1 |
4331 cat conftest.err >&5 | 5624 cat conftest.err >&5 |
4332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5625 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4333 (exit $ac_status); } >/dev/null; then | 5626 (exit $ac_status); } >/dev/null; then |
4334 if test -s conftest.err; then | 5627 if test -s conftest.err; then |
4335 ac_cpp_err=$ac_cxx_preproc_warn_flag | 5628 ac_cpp_err=$ac_cxx_preproc_warn_flag |
5629 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | |
4336 else | 5630 else |
4337 ac_cpp_err= | 5631 ac_cpp_err= |
4338 fi | 5632 fi |
4339 else | 5633 else |
4340 ac_cpp_err=yes | 5634 ac_cpp_err=yes |
4341 fi | 5635 fi |
4342 if test -z "$ac_cpp_err"; then | 5636 if test -z "$ac_cpp_err"; then |
4343 : | 5637 : |
4344 else | 5638 else |
4345 echo "$as_me: failed program was:" >&5 | 5639 echo "$as_me: failed program was:" >&5 |
4346 cat conftest.$ac_ext >&5 | 5640 sed 's/^/| /' conftest.$ac_ext >&5 |
5641 | |
4347 # Broken: fails on valid input. | 5642 # Broken: fails on valid input. |
4348 continue | 5643 continue |
4349 fi | 5644 fi |
5645 | |
4350 rm -f conftest.err conftest.$ac_ext | 5646 rm -f conftest.err conftest.$ac_ext |
4351 | 5647 |
4352 # OK, works on sane cases. Now check whether non-existent headers | 5648 # OK, works on sane cases. Now check whether nonexistent headers |
4353 # can be detected and how. | 5649 # can be detected and how. |
4354 cat >conftest.$ac_ext <<_ACEOF | 5650 cat >conftest.$ac_ext <<_ACEOF |
4355 #line $LINENO "configure" | 5651 /* confdefs.h. */ |
4356 #include "confdefs.h" | 5652 _ACEOF |
5653 cat confdefs.h >>conftest.$ac_ext | |
5654 cat >>conftest.$ac_ext <<_ACEOF | |
5655 /* end confdefs.h. */ | |
4357 #include <ac_nonexistent.h> | 5656 #include <ac_nonexistent.h> |
4358 _ACEOF | 5657 _ACEOF |
4359 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 5658 if { (ac_try="$ac_cpp conftest.$ac_ext" |
4360 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 5659 case "(($ac_try" in |
5660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5661 *) ac_try_echo=$ac_try;; | |
5662 esac | |
5663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5664 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4361 ac_status=$? | 5665 ac_status=$? |
4362 egrep -v '^ *\+' conftest.er1 >conftest.err | 5666 grep -v '^ *+' conftest.er1 >conftest.err |
4363 rm -f conftest.er1 | 5667 rm -f conftest.er1 |
4364 cat conftest.err >&5 | 5668 cat conftest.err >&5 |
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4366 (exit $ac_status); } >/dev/null; then | 5670 (exit $ac_status); } >/dev/null; then |
4367 if test -s conftest.err; then | 5671 if test -s conftest.err; then |
4368 ac_cpp_err=$ac_cxx_preproc_warn_flag | 5672 ac_cpp_err=$ac_cxx_preproc_warn_flag |
5673 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | |
4369 else | 5674 else |
4370 ac_cpp_err= | 5675 ac_cpp_err= |
4371 fi | 5676 fi |
4372 else | 5677 else |
4373 ac_cpp_err=yes | 5678 ac_cpp_err=yes |
4375 if test -z "$ac_cpp_err"; then | 5680 if test -z "$ac_cpp_err"; then |
4376 # Broken: success on invalid input. | 5681 # Broken: success on invalid input. |
4377 continue | 5682 continue |
4378 else | 5683 else |
4379 echo "$as_me: failed program was:" >&5 | 5684 echo "$as_me: failed program was:" >&5 |
4380 cat conftest.$ac_ext >&5 | 5685 sed 's/^/| /' conftest.$ac_ext >&5 |
5686 | |
4381 # Passes both tests. | 5687 # Passes both tests. |
4382 ac_preproc_ok=: | 5688 ac_preproc_ok=: |
4383 break | 5689 break |
4384 fi | 5690 fi |
5691 | |
4385 rm -f conftest.err conftest.$ac_ext | 5692 rm -f conftest.err conftest.$ac_ext |
4386 | 5693 |
4387 done | 5694 done |
4388 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 5695 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4389 rm -f conftest.err conftest.$ac_ext | 5696 rm -f conftest.err conftest.$ac_ext |
4397 fi | 5704 fi |
4398 CXXCPP=$ac_cv_prog_CXXCPP | 5705 CXXCPP=$ac_cv_prog_CXXCPP |
4399 else | 5706 else |
4400 ac_cv_prog_CXXCPP=$CXXCPP | 5707 ac_cv_prog_CXXCPP=$CXXCPP |
4401 fi | 5708 fi |
4402 echo "$as_me:$LINENO: result: $CXXCPP" >&5 | 5709 { echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
4403 echo "${ECHO_T}$CXXCPP" >&6 | 5710 echo "${ECHO_T}$CXXCPP" >&6; } |
4404 ac_preproc_ok=false | 5711 ac_preproc_ok=false |
4405 for ac_cxx_preproc_warn_flag in '' yes | 5712 for ac_cxx_preproc_warn_flag in '' yes |
4406 do | 5713 do |
4407 # Use a header file that comes with gcc, so configuring glibc | 5714 # Use a header file that comes with gcc, so configuring glibc |
4408 # with a fresh cross-compiler works. | 5715 # with a fresh cross-compiler works. |
5716 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
5717 # <limits.h> exists even on freestanding compilers. | |
4409 # On the NeXT, cc -E runs the code through the compiler's parser, | 5718 # On the NeXT, cc -E runs the code through the compiler's parser, |
4410 # not just through cpp. "Syntax error" is here to catch this case. | 5719 # not just through cpp. "Syntax error" is here to catch this case. |
4411 cat >conftest.$ac_ext <<_ACEOF | 5720 cat >conftest.$ac_ext <<_ACEOF |
4412 #line $LINENO "configure" | 5721 /* confdefs.h. */ |
4413 #include "confdefs.h" | |
4414 #include <assert.h> | |
4415 Syntax error | |
4416 _ACEOF | 5722 _ACEOF |
4417 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 5723 cat confdefs.h >>conftest.$ac_ext |
4418 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 5724 cat >>conftest.$ac_ext <<_ACEOF |
5725 /* end confdefs.h. */ | |
5726 #ifdef __STDC__ | |
5727 # include <limits.h> | |
5728 #else | |
5729 # include <assert.h> | |
5730 #endif | |
5731 Syntax error | |
5732 _ACEOF | |
5733 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
5734 case "(($ac_try" in | |
5735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5736 *) ac_try_echo=$ac_try;; | |
5737 esac | |
5738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4419 ac_status=$? | 5740 ac_status=$? |
4420 egrep -v '^ *\+' conftest.er1 >conftest.err | 5741 grep -v '^ *+' conftest.er1 >conftest.err |
4421 rm -f conftest.er1 | 5742 rm -f conftest.er1 |
4422 cat conftest.err >&5 | 5743 cat conftest.err >&5 |
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4424 (exit $ac_status); } >/dev/null; then | 5745 (exit $ac_status); } >/dev/null; then |
4425 if test -s conftest.err; then | 5746 if test -s conftest.err; then |
4426 ac_cpp_err=$ac_cxx_preproc_warn_flag | 5747 ac_cpp_err=$ac_cxx_preproc_warn_flag |
5748 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | |
4427 else | 5749 else |
4428 ac_cpp_err= | 5750 ac_cpp_err= |
4429 fi | 5751 fi |
4430 else | 5752 else |
4431 ac_cpp_err=yes | 5753 ac_cpp_err=yes |
4432 fi | 5754 fi |
4433 if test -z "$ac_cpp_err"; then | 5755 if test -z "$ac_cpp_err"; then |
4434 : | 5756 : |
4435 else | 5757 else |
4436 echo "$as_me: failed program was:" >&5 | 5758 echo "$as_me: failed program was:" >&5 |
4437 cat conftest.$ac_ext >&5 | 5759 sed 's/^/| /' conftest.$ac_ext >&5 |
5760 | |
4438 # Broken: fails on valid input. | 5761 # Broken: fails on valid input. |
4439 continue | 5762 continue |
4440 fi | 5763 fi |
5764 | |
4441 rm -f conftest.err conftest.$ac_ext | 5765 rm -f conftest.err conftest.$ac_ext |
4442 | 5766 |
4443 # OK, works on sane cases. Now check whether non-existent headers | 5767 # OK, works on sane cases. Now check whether nonexistent headers |
4444 # can be detected and how. | 5768 # can be detected and how. |
4445 cat >conftest.$ac_ext <<_ACEOF | 5769 cat >conftest.$ac_ext <<_ACEOF |
4446 #line $LINENO "configure" | 5770 /* confdefs.h. */ |
4447 #include "confdefs.h" | 5771 _ACEOF |
5772 cat confdefs.h >>conftest.$ac_ext | |
5773 cat >>conftest.$ac_ext <<_ACEOF | |
5774 /* end confdefs.h. */ | |
4448 #include <ac_nonexistent.h> | 5775 #include <ac_nonexistent.h> |
4449 _ACEOF | 5776 _ACEOF |
4450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 5777 if { (ac_try="$ac_cpp conftest.$ac_ext" |
4451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 5778 case "(($ac_try" in |
5779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5780 *) ac_try_echo=$ac_try;; | |
5781 esac | |
5782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5783 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4452 ac_status=$? | 5784 ac_status=$? |
4453 egrep -v '^ *\+' conftest.er1 >conftest.err | 5785 grep -v '^ *+' conftest.er1 >conftest.err |
4454 rm -f conftest.er1 | 5786 rm -f conftest.er1 |
4455 cat conftest.err >&5 | 5787 cat conftest.err >&5 |
4456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4457 (exit $ac_status); } >/dev/null; then | 5789 (exit $ac_status); } >/dev/null; then |
4458 if test -s conftest.err; then | 5790 if test -s conftest.err; then |
4459 ac_cpp_err=$ac_cxx_preproc_warn_flag | 5791 ac_cpp_err=$ac_cxx_preproc_warn_flag |
5792 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | |
4460 else | 5793 else |
4461 ac_cpp_err= | 5794 ac_cpp_err= |
4462 fi | 5795 fi |
4463 else | 5796 else |
4464 ac_cpp_err=yes | 5797 ac_cpp_err=yes |
4466 if test -z "$ac_cpp_err"; then | 5799 if test -z "$ac_cpp_err"; then |
4467 # Broken: success on invalid input. | 5800 # Broken: success on invalid input. |
4468 continue | 5801 continue |
4469 else | 5802 else |
4470 echo "$as_me: failed program was:" >&5 | 5803 echo "$as_me: failed program was:" >&5 |
4471 cat conftest.$ac_ext >&5 | 5804 sed 's/^/| /' conftest.$ac_ext >&5 |
5805 | |
4472 # Passes both tests. | 5806 # Passes both tests. |
4473 ac_preproc_ok=: | 5807 ac_preproc_ok=: |
4474 break | 5808 break |
4475 fi | 5809 fi |
5810 | |
4476 rm -f conftest.err conftest.$ac_ext | 5811 rm -f conftest.err conftest.$ac_ext |
4477 | 5812 |
4478 done | 5813 done |
4479 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 5814 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4480 rm -f conftest.err conftest.$ac_ext | 5815 rm -f conftest.err conftest.$ac_ext |
4481 if $ac_preproc_ok; then | 5816 if $ac_preproc_ok; then |
4482 : | 5817 : |
4483 else | 5818 else |
4484 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5 | 5819 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
4485 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;} | 5820 See \`config.log' for more details." >&5 |
5821 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check | |
5822 See \`config.log' for more details." >&2;} | |
4486 { (exit 1); exit 1; }; } | 5823 { (exit 1); exit 1; }; } |
4487 fi | 5824 fi |
4488 | 5825 |
4489 ac_ext=cc | 5826 ac_ext=cpp |
4490 ac_cpp='$CXXCPP $CPPFLAGS' | 5827 ac_cpp='$CXXCPP $CPPFLAGS' |
4491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 5829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 5830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5831 | |
5832 fi | |
4494 | 5833 |
4495 | 5834 |
4496 ac_ext=f | 5835 ac_ext=f |
4497 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' | 5836 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
4498 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 5837 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4499 ac_compiler_gnu=$ac_cv_f77_compiler_gnu | 5838 ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
4500 if test -n "$ac_tool_prefix"; then | 5839 if test -n "$ac_tool_prefix"; then |
4501 for ac_prog in g77 f77 xlf cf77 cft77 frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 fc | 5840 for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn |
4502 do | 5841 do |
4503 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 5842 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4504 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 5843 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4505 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5844 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4507 if test "${ac_cv_prog_F77+set}" = set; then | 5846 if test "${ac_cv_prog_F77+set}" = set; then |
4508 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5847 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4509 else | 5848 else |
4510 if test -n "$F77"; then | 5849 if test -n "$F77"; then |
4511 ac_cv_prog_F77="$F77" # Let the user override the test. | 5850 ac_cv_prog_F77="$F77" # Let the user override the test. |
4514 for as_dir in $PATH | 5853 for as_dir in $PATH |
4515 do | 5854 do |
4516 IFS=$as_save_IFS | 5855 IFS=$as_save_IFS |
4517 test -z "$as_dir" && as_dir=. | 5856 test -z "$as_dir" && as_dir=. |
4518 for ac_exec_ext in '' $ac_executable_extensions; do | 5857 for ac_exec_ext in '' $ac_executable_extensions; do |
4519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
4520 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" | 5859 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" |
4521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4522 break 2 | 5861 break 2 |
4523 fi | 5862 fi |
4524 done | 5863 done |
4525 done | 5864 done |
5865 IFS=$as_save_IFS | |
4526 | 5866 |
4527 fi | 5867 fi |
4528 fi | 5868 fi |
4529 F77=$ac_cv_prog_F77 | 5869 F77=$ac_cv_prog_F77 |
4530 if test -n "$F77"; then | 5870 if test -n "$F77"; then |
4531 echo "$as_me:$LINENO: result: $F77" >&5 | 5871 { echo "$as_me:$LINENO: result: $F77" >&5 |
4532 echo "${ECHO_T}$F77" >&6 | 5872 echo "${ECHO_T}$F77" >&6; } |
4533 else | 5873 else |
4534 echo "$as_me:$LINENO: result: no" >&5 | 5874 { echo "$as_me:$LINENO: result: no" >&5 |
4535 echo "${ECHO_T}no" >&6 | 5875 echo "${ECHO_T}no" >&6; } |
4536 fi | 5876 fi |
5877 | |
4537 | 5878 |
4538 test -n "$F77" && break | 5879 test -n "$F77" && break |
4539 done | 5880 done |
4540 fi | 5881 fi |
4541 if test -z "$F77"; then | 5882 if test -z "$F77"; then |
4542 ac_ct_F77=$F77 | 5883 ac_ct_F77=$F77 |
4543 for ac_prog in g77 f77 xlf cf77 cft77 frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 fc | 5884 for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn |
4544 do | 5885 do |
4545 # Extract the first word of "$ac_prog", so it can be a program name with args. | 5886 # Extract the first word of "$ac_prog", so it can be a program name with args. |
4546 set dummy $ac_prog; ac_word=$2 | 5887 set dummy $ac_prog; ac_word=$2 |
4547 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5888 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4549 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then | 5890 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then |
4550 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5891 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4551 else | 5892 else |
4552 if test -n "$ac_ct_F77"; then | 5893 if test -n "$ac_ct_F77"; then |
4553 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. | 5894 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. |
4556 for as_dir in $PATH | 5897 for as_dir in $PATH |
4557 do | 5898 do |
4558 IFS=$as_save_IFS | 5899 IFS=$as_save_IFS |
4559 test -z "$as_dir" && as_dir=. | 5900 test -z "$as_dir" && as_dir=. |
4560 for ac_exec_ext in '' $ac_executable_extensions; do | 5901 for ac_exec_ext in '' $ac_executable_extensions; do |
4561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
4562 ac_cv_prog_ac_ct_F77="$ac_prog" | 5903 ac_cv_prog_ac_ct_F77="$ac_prog" |
4563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4564 break 2 | 5905 break 2 |
4565 fi | 5906 fi |
4566 done | 5907 done |
4567 done | 5908 done |
5909 IFS=$as_save_IFS | |
4568 | 5910 |
4569 fi | 5911 fi |
4570 fi | 5912 fi |
4571 ac_ct_F77=$ac_cv_prog_ac_ct_F77 | 5913 ac_ct_F77=$ac_cv_prog_ac_ct_F77 |
4572 if test -n "$ac_ct_F77"; then | 5914 if test -n "$ac_ct_F77"; then |
4573 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 | 5915 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 |
4574 echo "${ECHO_T}$ac_ct_F77" >&6 | 5916 echo "${ECHO_T}$ac_ct_F77" >&6; } |
4575 else | 5917 else |
4576 echo "$as_me:$LINENO: result: no" >&5 | 5918 { echo "$as_me:$LINENO: result: no" >&5 |
4577 echo "${ECHO_T}no" >&6 | 5919 echo "${ECHO_T}no" >&6; } |
4578 fi | 5920 fi |
5921 | |
4579 | 5922 |
4580 test -n "$ac_ct_F77" && break | 5923 test -n "$ac_ct_F77" && break |
4581 done | 5924 done |
4582 | 5925 |
4583 F77=$ac_ct_F77 | 5926 if test "x$ac_ct_F77" = x; then |
5927 F77="" | |
5928 else | |
5929 case $cross_compiling:$ac_tool_warned in | |
5930 yes:) | |
5931 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
5932 whose name does not start with the host triplet. If you think this | |
5933 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
5934 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
5935 whose name does not start with the host triplet. If you think this | |
5936 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
5937 ac_tool_warned=yes ;; | |
5938 esac | |
5939 F77=$ac_ct_F77 | |
5940 fi | |
4584 fi | 5941 fi |
4585 | 5942 |
4586 | 5943 |
4587 # Provide some information about the compiler. | 5944 # Provide some information about the compiler. |
4588 echo "$as_me:4588:" \ | 5945 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 |
4589 "checking for Fortran 77 compiler version" >&5 | |
4590 ac_compiler=`set X $ac_compile; echo $2` | 5946 ac_compiler=`set X $ac_compile; echo $2` |
4591 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 5947 { (ac_try="$ac_compiler --version >&5" |
4592 (eval $ac_compiler --version </dev/null >&5) 2>&5 | 5948 case "(($ac_try" in |
5949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5950 *) ac_try_echo=$ac_try;; | |
5951 esac | |
5952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5953 (eval "$ac_compiler --version >&5") 2>&5 | |
4593 ac_status=$? | 5954 ac_status=$? |
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4595 (exit $ac_status); } | 5956 (exit $ac_status); } |
4596 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 5957 { (ac_try="$ac_compiler -v >&5" |
4597 (eval $ac_compiler -v </dev/null >&5) 2>&5 | 5958 case "(($ac_try" in |
5959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5960 *) ac_try_echo=$ac_try;; | |
5961 esac | |
5962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5963 (eval "$ac_compiler -v >&5") 2>&5 | |
4598 ac_status=$? | 5964 ac_status=$? |
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4600 (exit $ac_status); } | 5966 (exit $ac_status); } |
4601 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 5967 { (ac_try="$ac_compiler -V >&5" |
4602 (eval $ac_compiler -V </dev/null >&5) 2>&5 | 5968 case "(($ac_try" in |
5969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5970 *) ac_try_echo=$ac_try;; | |
5971 esac | |
5972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5973 (eval "$ac_compiler -V >&5") 2>&5 | |
4603 ac_status=$? | 5974 ac_status=$? |
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4605 (exit $ac_status); } | 5976 (exit $ac_status); } |
5977 rm -f a.out | |
4606 | 5978 |
4607 # If we don't use `.F' as extension, the preprocessor is not run on the | 5979 # If we don't use `.F' as extension, the preprocessor is not run on the |
4608 # input file. | 5980 # input file. (Note that this only needs to work for GNU compilers.) |
4609 ac_save_ext=$ac_ext | 5981 ac_save_ext=$ac_ext |
4610 ac_ext=F | 5982 ac_ext=F |
4611 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 | 5983 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 |
4612 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 | 5984 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; } |
4613 if test "${ac_cv_f77_compiler_gnu+set}" = set; then | 5985 if test "${ac_cv_f77_compiler_gnu+set}" = set; then |
4614 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5986 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4615 else | 5987 else |
4616 cat >conftest.$ac_ext <<_ACEOF | 5988 cat >conftest.$ac_ext <<_ACEOF |
4617 program main | 5989 program main |
4620 #endif | 5992 #endif |
4621 | 5993 |
4622 end | 5994 end |
4623 _ACEOF | 5995 _ACEOF |
4624 rm -f conftest.$ac_objext | 5996 rm -f conftest.$ac_objext |
4625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5997 if { (ac_try="$ac_compile" |
4626 (eval $ac_compile) 2>&5 | 5998 case "(($ac_try" in |
5999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6000 *) ac_try_echo=$ac_try;; | |
6001 esac | |
6002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6003 (eval "$ac_compile") 2>conftest.er1 | |
6004 ac_status=$? | |
6005 grep -v '^ *+' conftest.er1 >conftest.err | |
6006 rm -f conftest.er1 | |
6007 cat conftest.err >&5 | |
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6009 (exit $ac_status); } && | |
6010 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' | |
6011 { (case "(($ac_try" in | |
6012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6013 *) ac_try_echo=$ac_try;; | |
6014 esac | |
6015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6016 (eval "$ac_try") 2>&5 | |
4627 ac_status=$? | 6017 ac_status=$? |
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4629 (exit $ac_status); } && | 6019 (exit $ac_status); }; } && |
4630 { ac_try='test -s conftest.$ac_objext' | 6020 { ac_try='test -s conftest.$ac_objext' |
4631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6021 { (case "(($ac_try" in |
4632 (eval $ac_try) 2>&5 | 6022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6023 *) ac_try_echo=$ac_try;; | |
6024 esac | |
6025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6026 (eval "$ac_try") 2>&5 | |
4633 ac_status=$? | 6027 ac_status=$? |
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4635 (exit $ac_status); }; }; then | 6029 (exit $ac_status); }; }; then |
4636 ac_compiler_gnu=yes | 6030 ac_compiler_gnu=yes |
4637 else | 6031 else |
4638 echo "$as_me: failed program was:" >&5 | 6032 echo "$as_me: failed program was:" >&5 |
4639 cat conftest.$ac_ext >&5 | 6033 sed 's/^/| /' conftest.$ac_ext >&5 |
4640 ac_compiler_gnu=no | 6034 |
4641 fi | 6035 ac_compiler_gnu=no |
4642 rm -f conftest.$ac_objext conftest.$ac_ext | 6036 fi |
6037 | |
6038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4643 ac_cv_f77_compiler_gnu=$ac_compiler_gnu | 6039 ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
4644 | 6040 |
4645 fi | 6041 fi |
4646 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 | 6042 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
4647 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 | 6043 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; } |
4648 ac_ext=$ac_save_ext | 6044 ac_ext=$ac_save_ext |
4649 G77=`test $ac_compiler_gnu = yes && echo yes` | |
4650 ac_test_FFLAGS=${FFLAGS+set} | 6045 ac_test_FFLAGS=${FFLAGS+set} |
4651 ac_save_FFLAGS=$FFLAGS | 6046 ac_save_FFLAGS=$FFLAGS |
4652 FFLAGS= | 6047 FFLAGS= |
4653 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 | 6048 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 |
4654 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 | 6049 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; } |
4655 if test "${ac_cv_prog_f77_g+set}" = set; then | 6050 if test "${ac_cv_prog_f77_g+set}" = set; then |
4656 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6051 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4657 else | 6052 else |
4658 FFLAGS=-g | 6053 FFLAGS=-g |
4659 cat >conftest.$ac_ext <<_ACEOF | 6054 cat >conftest.$ac_ext <<_ACEOF |
4660 program main | 6055 program main |
4661 | 6056 |
4662 end | 6057 end |
4663 _ACEOF | 6058 _ACEOF |
4664 rm -f conftest.$ac_objext | 6059 rm -f conftest.$ac_objext |
4665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6060 if { (ac_try="$ac_compile" |
4666 (eval $ac_compile) 2>&5 | 6061 case "(($ac_try" in |
6062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6063 *) ac_try_echo=$ac_try;; | |
6064 esac | |
6065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6066 (eval "$ac_compile") 2>conftest.er1 | |
6067 ac_status=$? | |
6068 grep -v '^ *+' conftest.er1 >conftest.err | |
6069 rm -f conftest.er1 | |
6070 cat conftest.err >&5 | |
6071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6072 (exit $ac_status); } && | |
6073 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' | |
6074 { (case "(($ac_try" in | |
6075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6076 *) ac_try_echo=$ac_try;; | |
6077 esac | |
6078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6079 (eval "$ac_try") 2>&5 | |
4667 ac_status=$? | 6080 ac_status=$? |
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4669 (exit $ac_status); } && | 6082 (exit $ac_status); }; } && |
4670 { ac_try='test -s conftest.$ac_objext' | 6083 { ac_try='test -s conftest.$ac_objext' |
4671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6084 { (case "(($ac_try" in |
4672 (eval $ac_try) 2>&5 | 6085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6086 *) ac_try_echo=$ac_try;; | |
6087 esac | |
6088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6089 (eval "$ac_try") 2>&5 | |
4673 ac_status=$? | 6090 ac_status=$? |
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4675 (exit $ac_status); }; }; then | 6092 (exit $ac_status); }; }; then |
4676 ac_cv_prog_f77_g=yes | 6093 ac_cv_prog_f77_g=yes |
4677 else | 6094 else |
4678 echo "$as_me: failed program was:" >&5 | 6095 echo "$as_me: failed program was:" >&5 |
4679 cat conftest.$ac_ext >&5 | 6096 sed 's/^/| /' conftest.$ac_ext >&5 |
4680 ac_cv_prog_f77_g=no | 6097 |
4681 fi | 6098 ac_cv_prog_f77_g=no |
4682 rm -f conftest.$ac_objext conftest.$ac_ext | 6099 fi |
4683 | 6100 |
4684 fi | 6101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4685 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 | 6102 |
4686 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 | 6103 fi |
6104 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 | |
6105 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; } | |
4687 if test "$ac_test_FFLAGS" = set; then | 6106 if test "$ac_test_FFLAGS" = set; then |
4688 FFLAGS=$ac_save_FFLAGS | 6107 FFLAGS=$ac_save_FFLAGS |
4689 elif test $ac_cv_prog_f77_g = yes; then | 6108 elif test $ac_cv_prog_f77_g = yes; then |
4690 if test "$G77" = yes; then | 6109 if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
4691 FFLAGS="-g -O2" | 6110 FFLAGS="-g -O2" |
4692 else | 6111 else |
4693 FFLAGS="-g" | 6112 FFLAGS="-g" |
4694 fi | 6113 fi |
4695 else | 6114 else |
4696 if test "$G77" = yes; then | 6115 if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
4697 FFLAGS="-O2" | 6116 FFLAGS="-O2" |
4698 else | 6117 else |
4699 FFLAGS= | 6118 FFLAGS= |
4700 fi | 6119 fi |
4701 fi | 6120 fi |
6121 | |
6122 G77=`test $ac_compiler_gnu = yes && echo yes` | |
4702 ac_ext=c | 6123 ac_ext=c |
4703 ac_cpp='$CPP $CPPFLAGS' | 6124 ac_cpp='$CPP $CPPFLAGS' |
4704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 6125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 6126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4706 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 6127 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4708 | 6129 |
4709 | 6130 |
4710 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! | 6131 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! |
4711 | 6132 |
4712 # find the maximum length of command line arguments | 6133 # find the maximum length of command line arguments |
4713 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 | 6134 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 |
4714 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 | 6135 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } |
4715 if test "${lt_cv_sys_max_cmd_len+set}" = set; then | 6136 if test "${lt_cv_sys_max_cmd_len+set}" = set; then |
4716 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6137 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4717 else | 6138 else |
4718 i=0 | 6139 i=0 |
4719 testring="ABCD" | 6140 teststring="ABCD" |
4720 | 6141 |
4721 case $build_os in | 6142 case $build_os in |
4722 msdosdjgpp*) | 6143 msdosdjgpp*) |
4723 # On DJGPP, this test can blow up pretty badly due to problems in libc | 6144 # On DJGPP, this test can blow up pretty badly due to problems in libc |
4724 # (any single argument exceeding 2000 bytes causes a buffer overrun | 6145 # (any single argument exceeding 2000 bytes causes a buffer overrun |
4743 # Instead, let's just punt: use the minimum linelength reported by | 6164 # Instead, let's just punt: use the minimum linelength reported by |
4744 # all of the supported platforms: 8192 (on NT/2K/XP). | 6165 # all of the supported platforms: 8192 (on NT/2K/XP). |
4745 lt_cv_sys_max_cmd_len=8192; | 6166 lt_cv_sys_max_cmd_len=8192; |
4746 ;; | 6167 ;; |
4747 | 6168 |
4748 *) | 6169 amigaos*) |
6170 # On AmigaOS with pdksh, this test takes hours, literally. | |
6171 # So we just punt and use a minimum line length of 8192. | |
6172 lt_cv_sys_max_cmd_len=8192; | |
6173 ;; | |
6174 | |
6175 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) | |
6176 # This has been around since 386BSD, at least. Likely further. | |
6177 if test -x /sbin/sysctl; then | |
6178 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` | |
6179 elif test -x /usr/sbin/sysctl; then | |
6180 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` | |
6181 else | |
6182 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs | |
6183 fi | |
6184 # And add a safety zone | |
6185 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` | |
6186 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` | |
6187 ;; | |
6188 | |
6189 interix*) | |
6190 # We know the value 262144 and hardcode it with a safety zone (like BSD) | |
6191 lt_cv_sys_max_cmd_len=196608 | |
6192 ;; | |
6193 | |
6194 osf*) | |
6195 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure | |
6196 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not | |
6197 # nice to cause kernel panics so lets avoid the loop below. | |
6198 # First set a reasonable default. | |
6199 lt_cv_sys_max_cmd_len=16384 | |
6200 # | |
6201 if test -x /sbin/sysconfig; then | |
6202 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in | |
6203 *1*) lt_cv_sys_max_cmd_len=-1 ;; | |
6204 esac | |
6205 fi | |
6206 ;; | |
6207 sco3.2v5*) | |
6208 lt_cv_sys_max_cmd_len=102400 | |
6209 ;; | |
6210 sysv5* | sco5v6* | sysv4.2uw2*) | |
6211 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` | |
6212 if test -n "$kargmax"; then | |
6213 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` | |
6214 else | |
6215 lt_cv_sys_max_cmd_len=32768 | |
6216 fi | |
6217 ;; | |
6218 *) | |
4749 # If test is not a shell built-in, we'll probably end up computing a | 6219 # If test is not a shell built-in, we'll probably end up computing a |
4750 # maximum length that is only half of the actual maximum length, but | 6220 # maximum length that is only half of the actual maximum length, but |
4751 # we can't tell. | 6221 # we can't tell. |
4752 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ | 6222 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
4753 = "XX$testring") >/dev/null 2>&1 && | 6223 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ |
4754 new_result=`expr "X$testring" : ".*" 2>&1` && | 6224 = "XX$teststring") >/dev/null 2>&1 && |
6225 new_result=`expr "X$teststring" : ".*" 2>&1` && | |
4755 lt_cv_sys_max_cmd_len=$new_result && | 6226 lt_cv_sys_max_cmd_len=$new_result && |
4756 test $i != 17 # 1/2 MB should be enough | 6227 test $i != 17 # 1/2 MB should be enough |
4757 do | 6228 do |
4758 i=`expr $i + 1` | 6229 i=`expr $i + 1` |
4759 testring=$testring$testring | 6230 teststring=$teststring$teststring |
4760 done | 6231 done |
4761 testring= | 6232 teststring= |
4762 # Add a significant safety factor because C++ compilers can tack on massive | 6233 # Add a significant safety factor because C++ compilers can tack on massive |
4763 # amounts of additional arguments before passing them to the linker. | 6234 # amounts of additional arguments before passing them to the linker. |
4764 # It appears as though 1/2 is a usable value. | 6235 # It appears as though 1/2 is a usable value. |
4765 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` | 6236 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
4766 ;; | 6237 ;; |
4767 esac | 6238 esac |
4768 | 6239 |
4769 fi | 6240 fi |
4770 | 6241 |
4771 if test -n $lt_cv_sys_max_cmd_len ; then | 6242 if test -n $lt_cv_sys_max_cmd_len ; then |
4772 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 | 6243 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 |
4773 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 | 6244 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } |
4774 else | 6245 else |
4775 echo "$as_me:$LINENO: result: none" >&5 | 6246 { echo "$as_me:$LINENO: result: none" >&5 |
4776 echo "${ECHO_T}none" >&6 | 6247 echo "${ECHO_T}none" >&6; } |
4777 fi | 6248 fi |
4778 | 6249 |
4779 | 6250 |
4780 | 6251 |
4781 | 6252 |
4782 # Check for command to grab the raw symbol name followed by C symbol from nm. | 6253 # Check for command to grab the raw symbol name followed by C symbol from nm. |
4783 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 | 6254 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 |
4784 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 | 6255 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } |
4785 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then | 6256 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then |
4786 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6257 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4787 else | 6258 else |
4788 | 6259 |
4789 # These are sane defaults that work on at least a few old systems. | 6260 # These are sane defaults that work on at least a few old systems. |
4792 # Character class describing NM global symbol codes. | 6263 # Character class describing NM global symbol codes. |
4793 symcode='[BCDEGRST]' | 6264 symcode='[BCDEGRST]' |
4794 | 6265 |
4795 # Regexp to match symbols that can be accessed directly from C. | 6266 # Regexp to match symbols that can be accessed directly from C. |
4796 sympat='\([_A-Za-z][_A-Za-z0-9]*\)' | 6267 sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
4797 | |
4798 # Transform the above into a raw symbol and a C symbol. | |
4799 symxfrm='\1 \2\3 \3' | |
4800 | 6268 |
4801 # Transform an extracted symbol line into a proper C declaration | 6269 # Transform an extracted symbol line into a proper C declaration |
4802 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" | 6270 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" |
4803 | 6271 |
4804 # Transform an extracted symbol line into symbol name and symbol address | 6272 # Transform an extracted symbol line into symbol name and symbol address |
4817 symcode='[ABCDEGRST]' | 6285 symcode='[ABCDEGRST]' |
4818 fi | 6286 fi |
4819 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | 6287 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
4820 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" | 6288 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" |
4821 ;; | 6289 ;; |
6290 linux*) | |
6291 if test "$host_cpu" = ia64; then | |
6292 symcode='[ABCDGIRSTW]' | |
6293 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | |
6294 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" | |
6295 fi | |
6296 ;; | |
4822 irix* | nonstopux*) | 6297 irix* | nonstopux*) |
4823 symcode='[BCDEGRST]' | 6298 symcode='[BCDEGRST]' |
4824 ;; | 6299 ;; |
4825 osf*) | 6300 osf*) |
4826 symcode='[BCDEGQRST]' | 6301 symcode='[BCDEGQRST]' |
4827 ;; | 6302 ;; |
4828 solaris* | sysv5*) | 6303 solaris*) |
4829 symcode='[BDT]' | 6304 symcode='[BDRT]' |
6305 ;; | |
6306 sco3.2v5*) | |
6307 symcode='[DT]' | |
6308 ;; | |
6309 sysv4.2uw2*) | |
6310 symcode='[DT]' | |
6311 ;; | |
6312 sysv5* | sco5v6* | unixware* | OpenUNIX*) | |
6313 symcode='[ABDT]' | |
4830 ;; | 6314 ;; |
4831 sysv4) | 6315 sysv4) |
4832 symcode='[DFNSTU]' | 6316 symcode='[DFNSTU]' |
4833 ;; | 6317 ;; |
4834 esac | 6318 esac |
4842 esac | 6326 esac |
4843 | 6327 |
4844 # If we're using GNU nm, then use its standard symbol codes. | 6328 # If we're using GNU nm, then use its standard symbol codes. |
4845 case `$NM -V 2>&1` in | 6329 case `$NM -V 2>&1` in |
4846 *GNU* | *'with BFD'*) | 6330 *GNU* | *'with BFD'*) |
4847 symcode='[ABCDGISTW]' ;; | 6331 symcode='[ABCDGIRSTW]' ;; |
4848 esac | 6332 esac |
4849 | 6333 |
4850 # Try without a prefix undercore, then with it. | 6334 # Try without a prefix undercore, then with it. |
4851 for ac_symprfx in "" "_"; do | 6335 for ac_symprfx in "" "_"; do |
4852 | 6336 |
6337 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. | |
6338 symxfrm="\\1 $ac_symprfx\\2 \\2" | |
6339 | |
4853 # Write the raw and C identifiers. | 6340 # Write the raw and C identifiers. |
4854 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" | 6341 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
4855 | 6342 |
4856 # Check to see that the pipe works correctly. | 6343 # Check to see that the pipe works correctly. |
4857 pipe_works=no | 6344 pipe_works=no |
4858 | 6345 |
4859 rm -f conftest* | 6346 rm -f conftest* |
4967 | 6454 |
4968 if test -z "$lt_cv_sys_global_symbol_pipe"; then | 6455 if test -z "$lt_cv_sys_global_symbol_pipe"; then |
4969 lt_cv_sys_global_symbol_to_cdecl= | 6456 lt_cv_sys_global_symbol_to_cdecl= |
4970 fi | 6457 fi |
4971 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then | 6458 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
4972 echo "$as_me:$LINENO: result: failed" >&5 | 6459 { echo "$as_me:$LINENO: result: failed" >&5 |
4973 echo "${ECHO_T}failed" >&6 | 6460 echo "${ECHO_T}failed" >&6; } |
4974 else | 6461 else |
4975 echo "$as_me:$LINENO: result: ok" >&5 | 6462 { echo "$as_me:$LINENO: result: ok" >&5 |
4976 echo "${ECHO_T}ok" >&6 | 6463 echo "${ECHO_T}ok" >&6; } |
4977 fi | 6464 fi |
4978 | 6465 |
4979 echo "$as_me:$LINENO: checking for objdir" >&5 | 6466 { echo "$as_me:$LINENO: checking for objdir" >&5 |
4980 echo $ECHO_N "checking for objdir... $ECHO_C" >&6 | 6467 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } |
4981 if test "${lt_cv_objdir+set}" = set; then | 6468 if test "${lt_cv_objdir+set}" = set; then |
4982 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6469 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4983 else | 6470 else |
4984 rm -f .libs 2>/dev/null | 6471 rm -f .libs 2>/dev/null |
4985 mkdir .libs 2>/dev/null | 6472 mkdir .libs 2>/dev/null |
4989 # MS-DOS does not allow filenames that begin with a dot. | 6476 # MS-DOS does not allow filenames that begin with a dot. |
4990 lt_cv_objdir=_libs | 6477 lt_cv_objdir=_libs |
4991 fi | 6478 fi |
4992 rmdir .libs 2>/dev/null | 6479 rmdir .libs 2>/dev/null |
4993 fi | 6480 fi |
4994 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 | 6481 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 |
4995 echo "${ECHO_T}$lt_cv_objdir" >&6 | 6482 echo "${ECHO_T}$lt_cv_objdir" >&6; } |
4996 objdir=$lt_cv_objdir | 6483 objdir=$lt_cv_objdir |
4997 | 6484 |
4998 | 6485 |
4999 | 6486 |
5000 | 6487 |
5011 ;; | 6498 ;; |
5012 esac | 6499 esac |
5013 | 6500 |
5014 # Sed substitution that helps us do robust quoting. It backslashifies | 6501 # Sed substitution that helps us do robust quoting. It backslashifies |
5015 # metacharacters that are still active within double-quoted strings. | 6502 # metacharacters that are still active within double-quoted strings. |
5016 Xsed='sed -e s/^X//' | 6503 Xsed='sed -e 1s/^X//' |
5017 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' | 6504 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' |
5018 | 6505 |
5019 # Same as above, but do not quote variable references. | 6506 # Same as above, but do not quote variable references. |
5020 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' | 6507 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' |
5021 | 6508 |
5031 | 6518 |
5032 # Global variables: | 6519 # Global variables: |
5033 default_ofile=libtool | 6520 default_ofile=libtool |
5034 can_build_shared=yes | 6521 can_build_shared=yes |
5035 | 6522 |
5036 # All known linkers require a `.a' archive for static linking (except M$VC, | 6523 # All known linkers require a `.a' archive for static linking (except MSVC, |
5037 # which needs '.lib'). | 6524 # which needs '.lib'). |
5038 libext=a | 6525 libext=a |
5039 ltmain="$ac_aux_dir/ltmain.sh" | 6526 ltmain="$ac_aux_dir/ltmain.sh" |
5040 ofile="$default_ofile" | 6527 ofile="$default_ofile" |
5041 with_gnu_ld="$lt_cv_prog_gnu_ld" | 6528 with_gnu_ld="$lt_cv_prog_gnu_ld" |
5042 | 6529 |
5043 if test -n "$ac_tool_prefix"; then | 6530 if test -n "$ac_tool_prefix"; then |
5044 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | 6531 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
5045 set dummy ${ac_tool_prefix}ar; ac_word=$2 | 6532 set dummy ${ac_tool_prefix}ar; ac_word=$2 |
5046 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 6533 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 6534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5048 if test "${ac_cv_prog_AR+set}" = set; then | 6535 if test "${ac_cv_prog_AR+set}" = set; then |
5049 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6536 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5050 else | 6537 else |
5051 if test -n "$AR"; then | 6538 if test -n "$AR"; then |
5052 ac_cv_prog_AR="$AR" # Let the user override the test. | 6539 ac_cv_prog_AR="$AR" # Let the user override the test. |
5055 for as_dir in $PATH | 6542 for as_dir in $PATH |
5056 do | 6543 do |
5057 IFS=$as_save_IFS | 6544 IFS=$as_save_IFS |
5058 test -z "$as_dir" && as_dir=. | 6545 test -z "$as_dir" && as_dir=. |
5059 for ac_exec_ext in '' $ac_executable_extensions; do | 6546 for ac_exec_ext in '' $ac_executable_extensions; do |
5060 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 6547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
5061 ac_cv_prog_AR="${ac_tool_prefix}ar" | 6548 ac_cv_prog_AR="${ac_tool_prefix}ar" |
5062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5063 break 2 | 6550 break 2 |
5064 fi | 6551 fi |
5065 done | 6552 done |
5066 done | 6553 done |
6554 IFS=$as_save_IFS | |
5067 | 6555 |
5068 fi | 6556 fi |
5069 fi | 6557 fi |
5070 AR=$ac_cv_prog_AR | 6558 AR=$ac_cv_prog_AR |
5071 if test -n "$AR"; then | 6559 if test -n "$AR"; then |
5072 echo "$as_me:$LINENO: result: $AR" >&5 | 6560 { echo "$as_me:$LINENO: result: $AR" >&5 |
5073 echo "${ECHO_T}$AR" >&6 | 6561 echo "${ECHO_T}$AR" >&6; } |
5074 else | 6562 else |
5075 echo "$as_me:$LINENO: result: no" >&5 | 6563 { echo "$as_me:$LINENO: result: no" >&5 |
5076 echo "${ECHO_T}no" >&6 | 6564 echo "${ECHO_T}no" >&6; } |
5077 fi | 6565 fi |
6566 | |
5078 | 6567 |
5079 fi | 6568 fi |
5080 if test -z "$ac_cv_prog_AR"; then | 6569 if test -z "$ac_cv_prog_AR"; then |
5081 ac_ct_AR=$AR | 6570 ac_ct_AR=$AR |
5082 # Extract the first word of "ar", so it can be a program name with args. | 6571 # Extract the first word of "ar", so it can be a program name with args. |
5083 set dummy ar; ac_word=$2 | 6572 set dummy ar; ac_word=$2 |
5084 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 6573 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 6574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5086 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then | 6575 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then |
5087 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6576 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5088 else | 6577 else |
5089 if test -n "$ac_ct_AR"; then | 6578 if test -n "$ac_ct_AR"; then |
5090 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. | 6579 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
5093 for as_dir in $PATH | 6582 for as_dir in $PATH |
5094 do | 6583 do |
5095 IFS=$as_save_IFS | 6584 IFS=$as_save_IFS |
5096 test -z "$as_dir" && as_dir=. | 6585 test -z "$as_dir" && as_dir=. |
5097 for ac_exec_ext in '' $ac_executable_extensions; do | 6586 for ac_exec_ext in '' $ac_executable_extensions; do |
5098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 6587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
5099 ac_cv_prog_ac_ct_AR="ar" | 6588 ac_cv_prog_ac_ct_AR="ar" |
5100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5101 break 2 | 6590 break 2 |
5102 fi | 6591 fi |
5103 done | 6592 done |
5104 done | 6593 done |
5105 | 6594 IFS=$as_save_IFS |
5106 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false" | 6595 |
5107 fi | 6596 fi |
5108 fi | 6597 fi |
5109 ac_ct_AR=$ac_cv_prog_ac_ct_AR | 6598 ac_ct_AR=$ac_cv_prog_ac_ct_AR |
5110 if test -n "$ac_ct_AR"; then | 6599 if test -n "$ac_ct_AR"; then |
5111 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 | 6600 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 |
5112 echo "${ECHO_T}$ac_ct_AR" >&6 | 6601 echo "${ECHO_T}$ac_ct_AR" >&6; } |
5113 else | 6602 else |
5114 echo "$as_me:$LINENO: result: no" >&5 | 6603 { echo "$as_me:$LINENO: result: no" >&5 |
5115 echo "${ECHO_T}no" >&6 | 6604 echo "${ECHO_T}no" >&6; } |
5116 fi | 6605 fi |
5117 | 6606 |
5118 AR=$ac_ct_AR | 6607 if test "x$ac_ct_AR" = x; then |
6608 AR="false" | |
6609 else | |
6610 case $cross_compiling:$ac_tool_warned in | |
6611 yes:) | |
6612 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
6613 whose name does not start with the host triplet. If you think this | |
6614 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
6615 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
6616 whose name does not start with the host triplet. If you think this | |
6617 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
6618 ac_tool_warned=yes ;; | |
6619 esac | |
6620 AR=$ac_ct_AR | |
6621 fi | |
5119 else | 6622 else |
5120 AR="$ac_cv_prog_AR" | 6623 AR="$ac_cv_prog_AR" |
5121 fi | 6624 fi |
5122 | 6625 |
5123 if test -n "$ac_tool_prefix"; then | 6626 if test -n "$ac_tool_prefix"; then |
5124 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 6627 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
5125 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 6628 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
5126 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 6629 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 6630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5128 if test "${ac_cv_prog_RANLIB+set}" = set; then | 6631 if test "${ac_cv_prog_RANLIB+set}" = set; then |
5129 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6632 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5130 else | 6633 else |
5131 if test -n "$RANLIB"; then | 6634 if test -n "$RANLIB"; then |
5132 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 6635 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
5135 for as_dir in $PATH | 6638 for as_dir in $PATH |
5136 do | 6639 do |
5137 IFS=$as_save_IFS | 6640 IFS=$as_save_IFS |
5138 test -z "$as_dir" && as_dir=. | 6641 test -z "$as_dir" && as_dir=. |
5139 for ac_exec_ext in '' $ac_executable_extensions; do | 6642 for ac_exec_ext in '' $ac_executable_extensions; do |
5140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 6643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
5141 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 6644 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
5142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5143 break 2 | 6646 break 2 |
5144 fi | 6647 fi |
5145 done | 6648 done |
5146 done | 6649 done |
6650 IFS=$as_save_IFS | |
5147 | 6651 |
5148 fi | 6652 fi |
5149 fi | 6653 fi |
5150 RANLIB=$ac_cv_prog_RANLIB | 6654 RANLIB=$ac_cv_prog_RANLIB |
5151 if test -n "$RANLIB"; then | 6655 if test -n "$RANLIB"; then |
5152 echo "$as_me:$LINENO: result: $RANLIB" >&5 | 6656 { echo "$as_me:$LINENO: result: $RANLIB" >&5 |
5153 echo "${ECHO_T}$RANLIB" >&6 | 6657 echo "${ECHO_T}$RANLIB" >&6; } |
5154 else | 6658 else |
5155 echo "$as_me:$LINENO: result: no" >&5 | 6659 { echo "$as_me:$LINENO: result: no" >&5 |
5156 echo "${ECHO_T}no" >&6 | 6660 echo "${ECHO_T}no" >&6; } |
5157 fi | 6661 fi |
6662 | |
5158 | 6663 |
5159 fi | 6664 fi |
5160 if test -z "$ac_cv_prog_RANLIB"; then | 6665 if test -z "$ac_cv_prog_RANLIB"; then |
5161 ac_ct_RANLIB=$RANLIB | 6666 ac_ct_RANLIB=$RANLIB |
5162 # Extract the first word of "ranlib", so it can be a program name with args. | 6667 # Extract the first word of "ranlib", so it can be a program name with args. |
5163 set dummy ranlib; ac_word=$2 | 6668 set dummy ranlib; ac_word=$2 |
5164 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 6669 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 6670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5166 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 6671 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
5167 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6672 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5168 else | 6673 else |
5169 if test -n "$ac_ct_RANLIB"; then | 6674 if test -n "$ac_ct_RANLIB"; then |
5170 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 6675 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
5173 for as_dir in $PATH | 6678 for as_dir in $PATH |
5174 do | 6679 do |
5175 IFS=$as_save_IFS | 6680 IFS=$as_save_IFS |
5176 test -z "$as_dir" && as_dir=. | 6681 test -z "$as_dir" && as_dir=. |
5177 for ac_exec_ext in '' $ac_executable_extensions; do | 6682 for ac_exec_ext in '' $ac_executable_extensions; do |
5178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 6683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
5179 ac_cv_prog_ac_ct_RANLIB="ranlib" | 6684 ac_cv_prog_ac_ct_RANLIB="ranlib" |
5180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5181 break 2 | 6686 break 2 |
5182 fi | 6687 fi |
5183 done | 6688 done |
5184 done | 6689 done |
5185 | 6690 IFS=$as_save_IFS |
5186 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | 6691 |
5187 fi | 6692 fi |
5188 fi | 6693 fi |
5189 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 6694 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
5190 if test -n "$ac_ct_RANLIB"; then | 6695 if test -n "$ac_ct_RANLIB"; then |
5191 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 6696 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
5192 echo "${ECHO_T}$ac_ct_RANLIB" >&6 | 6697 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } |
5193 else | 6698 else |
5194 echo "$as_me:$LINENO: result: no" >&5 | 6699 { echo "$as_me:$LINENO: result: no" >&5 |
5195 echo "${ECHO_T}no" >&6 | 6700 echo "${ECHO_T}no" >&6; } |
5196 fi | 6701 fi |
5197 | 6702 |
5198 RANLIB=$ac_ct_RANLIB | 6703 if test "x$ac_ct_RANLIB" = x; then |
6704 RANLIB=":" | |
6705 else | |
6706 case $cross_compiling:$ac_tool_warned in | |
6707 yes:) | |
6708 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
6709 whose name does not start with the host triplet. If you think this | |
6710 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
6711 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
6712 whose name does not start with the host triplet. If you think this | |
6713 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
6714 ac_tool_warned=yes ;; | |
6715 esac | |
6716 RANLIB=$ac_ct_RANLIB | |
6717 fi | |
5199 else | 6718 else |
5200 RANLIB="$ac_cv_prog_RANLIB" | 6719 RANLIB="$ac_cv_prog_RANLIB" |
5201 fi | 6720 fi |
5202 | 6721 |
5203 if test -n "$ac_tool_prefix"; then | 6722 if test -n "$ac_tool_prefix"; then |
5204 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 6723 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
5205 set dummy ${ac_tool_prefix}strip; ac_word=$2 | 6724 set dummy ${ac_tool_prefix}strip; ac_word=$2 |
5206 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 6725 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 6726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5208 if test "${ac_cv_prog_STRIP+set}" = set; then | 6727 if test "${ac_cv_prog_STRIP+set}" = set; then |
5209 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6728 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5210 else | 6729 else |
5211 if test -n "$STRIP"; then | 6730 if test -n "$STRIP"; then |
5212 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 6731 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
5215 for as_dir in $PATH | 6734 for as_dir in $PATH |
5216 do | 6735 do |
5217 IFS=$as_save_IFS | 6736 IFS=$as_save_IFS |
5218 test -z "$as_dir" && as_dir=. | 6737 test -z "$as_dir" && as_dir=. |
5219 for ac_exec_ext in '' $ac_executable_extensions; do | 6738 for ac_exec_ext in '' $ac_executable_extensions; do |
5220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 6739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
5221 ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 6740 ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
5222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5223 break 2 | 6742 break 2 |
5224 fi | 6743 fi |
5225 done | 6744 done |
5226 done | 6745 done |
6746 IFS=$as_save_IFS | |
5227 | 6747 |
5228 fi | 6748 fi |
5229 fi | 6749 fi |
5230 STRIP=$ac_cv_prog_STRIP | 6750 STRIP=$ac_cv_prog_STRIP |
5231 if test -n "$STRIP"; then | 6751 if test -n "$STRIP"; then |
5232 echo "$as_me:$LINENO: result: $STRIP" >&5 | 6752 { echo "$as_me:$LINENO: result: $STRIP" >&5 |
5233 echo "${ECHO_T}$STRIP" >&6 | 6753 echo "${ECHO_T}$STRIP" >&6; } |
5234 else | 6754 else |
5235 echo "$as_me:$LINENO: result: no" >&5 | 6755 { echo "$as_me:$LINENO: result: no" >&5 |
5236 echo "${ECHO_T}no" >&6 | 6756 echo "${ECHO_T}no" >&6; } |
5237 fi | 6757 fi |
6758 | |
5238 | 6759 |
5239 fi | 6760 fi |
5240 if test -z "$ac_cv_prog_STRIP"; then | 6761 if test -z "$ac_cv_prog_STRIP"; then |
5241 ac_ct_STRIP=$STRIP | 6762 ac_ct_STRIP=$STRIP |
5242 # Extract the first word of "strip", so it can be a program name with args. | 6763 # Extract the first word of "strip", so it can be a program name with args. |
5243 set dummy strip; ac_word=$2 | 6764 set dummy strip; ac_word=$2 |
5244 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 6765 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 6766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5246 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | 6767 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
5247 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6768 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5248 else | 6769 else |
5249 if test -n "$ac_ct_STRIP"; then | 6770 if test -n "$ac_ct_STRIP"; then |
5250 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 6771 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
5253 for as_dir in $PATH | 6774 for as_dir in $PATH |
5254 do | 6775 do |
5255 IFS=$as_save_IFS | 6776 IFS=$as_save_IFS |
5256 test -z "$as_dir" && as_dir=. | 6777 test -z "$as_dir" && as_dir=. |
5257 for ac_exec_ext in '' $ac_executable_extensions; do | 6778 for ac_exec_ext in '' $ac_executable_extensions; do |
5258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 6779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
5259 ac_cv_prog_ac_ct_STRIP="strip" | 6780 ac_cv_prog_ac_ct_STRIP="strip" |
5260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5261 break 2 | 6782 break 2 |
5262 fi | 6783 fi |
5263 done | 6784 done |
5264 done | 6785 done |
5265 | 6786 IFS=$as_save_IFS |
5266 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | 6787 |
5267 fi | 6788 fi |
5268 fi | 6789 fi |
5269 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 6790 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
5270 if test -n "$ac_ct_STRIP"; then | 6791 if test -n "$ac_ct_STRIP"; then |
5271 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | 6792 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
5272 echo "${ECHO_T}$ac_ct_STRIP" >&6 | 6793 echo "${ECHO_T}$ac_ct_STRIP" >&6; } |
5273 else | 6794 else |
5274 echo "$as_me:$LINENO: result: no" >&5 | 6795 { echo "$as_me:$LINENO: result: no" >&5 |
5275 echo "${ECHO_T}no" >&6 | 6796 echo "${ECHO_T}no" >&6; } |
5276 fi | 6797 fi |
5277 | 6798 |
5278 STRIP=$ac_ct_STRIP | 6799 if test "x$ac_ct_STRIP" = x; then |
6800 STRIP=":" | |
6801 else | |
6802 case $cross_compiling:$ac_tool_warned in | |
6803 yes:) | |
6804 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
6805 whose name does not start with the host triplet. If you think this | |
6806 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
6807 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
6808 whose name does not start with the host triplet. If you think this | |
6809 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
6810 ac_tool_warned=yes ;; | |
6811 esac | |
6812 STRIP=$ac_ct_STRIP | |
6813 fi | |
5279 else | 6814 else |
5280 STRIP="$ac_cv_prog_STRIP" | 6815 STRIP="$ac_cv_prog_STRIP" |
5281 fi | 6816 fi |
5282 | 6817 |
5283 | 6818 |
5288 test -z "$AR" && AR=ar | 6823 test -z "$AR" && AR=ar |
5289 test -z "$AR_FLAGS" && AR_FLAGS=cru | 6824 test -z "$AR_FLAGS" && AR_FLAGS=cru |
5290 test -z "$AS" && AS=as | 6825 test -z "$AS" && AS=as |
5291 test -z "$CC" && CC=cc | 6826 test -z "$CC" && CC=cc |
5292 test -z "$LTCC" && LTCC=$CC | 6827 test -z "$LTCC" && LTCC=$CC |
6828 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS | |
5293 test -z "$DLLTOOL" && DLLTOOL=dlltool | 6829 test -z "$DLLTOOL" && DLLTOOL=dlltool |
5294 test -z "$LD" && LD=ld | 6830 test -z "$LD" && LD=ld |
5295 test -z "$LN_S" && LN_S="ln -s" | 6831 test -z "$LN_S" && LN_S="ln -s" |
5296 test -z "$MAGIC_CMD" && MAGIC_CMD=file | 6832 test -z "$MAGIC_CMD" && MAGIC_CMD=file |
5297 test -z "$NM" && NM=nm | 6833 test -z "$NM" && NM=nm |
5307 old_postuninstall_cmds= | 6843 old_postuninstall_cmds= |
5308 | 6844 |
5309 if test -n "$RANLIB"; then | 6845 if test -n "$RANLIB"; then |
5310 case $host_os in | 6846 case $host_os in |
5311 openbsd*) | 6847 openbsd*) |
5312 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" | 6848 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
5313 ;; | 6849 ;; |
5314 *) | 6850 *) |
5315 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" | 6851 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
5316 ;; | 6852 ;; |
5317 esac | 6853 esac |
5318 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" | 6854 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
5319 fi | 6855 fi |
6856 | |
6857 for cc_temp in $compiler""; do | |
6858 case $cc_temp in | |
6859 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; | |
6860 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; | |
6861 \-*) ;; | |
6862 *) break;; | |
6863 esac | |
6864 done | |
6865 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | |
6866 | |
5320 | 6867 |
5321 # Only perform the check for file, if the check method requires it | 6868 # Only perform the check for file, if the check method requires it |
5322 case $deplibs_check_method in | 6869 case $deplibs_check_method in |
5323 file_magic*) | 6870 file_magic*) |
5324 if test "$file_magic_cmd" = '$MAGIC_CMD'; then | 6871 if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
5325 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 | 6872 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 |
5326 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 | 6873 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } |
5327 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | 6874 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
5328 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6875 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5329 else | 6876 else |
5330 case $MAGIC_CMD in | 6877 case $MAGIC_CMD in |
5331 [\\/*] | ?:[\\/]*) | 6878 [\\/*] | ?:[\\/]*) |
5341 if test -f $ac_dir/${ac_tool_prefix}file; then | 6888 if test -f $ac_dir/${ac_tool_prefix}file; then |
5342 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" | 6889 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" |
5343 if test -n "$file_magic_test_file"; then | 6890 if test -n "$file_magic_test_file"; then |
5344 case $deplibs_check_method in | 6891 case $deplibs_check_method in |
5345 "file_magic "*) | 6892 "file_magic "*) |
5346 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | 6893 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
5347 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 6894 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
5348 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 6895 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
5349 $EGREP "$file_magic_regex" > /dev/null; then | 6896 $EGREP "$file_magic_regex" > /dev/null; then |
5350 : | 6897 : |
5351 else | 6898 else |
5373 esac | 6920 esac |
5374 fi | 6921 fi |
5375 | 6922 |
5376 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 6923 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
5377 if test -n "$MAGIC_CMD"; then | 6924 if test -n "$MAGIC_CMD"; then |
5378 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 | 6925 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
5379 echo "${ECHO_T}$MAGIC_CMD" >&6 | 6926 echo "${ECHO_T}$MAGIC_CMD" >&6; } |
5380 else | 6927 else |
5381 echo "$as_me:$LINENO: result: no" >&5 | 6928 { echo "$as_me:$LINENO: result: no" >&5 |
5382 echo "${ECHO_T}no" >&6 | 6929 echo "${ECHO_T}no" >&6; } |
5383 fi | 6930 fi |
5384 | 6931 |
5385 if test -z "$lt_cv_path_MAGIC_CMD"; then | 6932 if test -z "$lt_cv_path_MAGIC_CMD"; then |
5386 if test -n "$ac_tool_prefix"; then | 6933 if test -n "$ac_tool_prefix"; then |
5387 echo "$as_me:$LINENO: checking for file" >&5 | 6934 { echo "$as_me:$LINENO: checking for file" >&5 |
5388 echo $ECHO_N "checking for file... $ECHO_C" >&6 | 6935 echo $ECHO_N "checking for file... $ECHO_C" >&6; } |
5389 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | 6936 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
5390 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6937 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5391 else | 6938 else |
5392 case $MAGIC_CMD in | 6939 case $MAGIC_CMD in |
5393 [\\/*] | ?:[\\/]*) | 6940 [\\/*] | ?:[\\/]*) |
5403 if test -f $ac_dir/file; then | 6950 if test -f $ac_dir/file; then |
5404 lt_cv_path_MAGIC_CMD="$ac_dir/file" | 6951 lt_cv_path_MAGIC_CMD="$ac_dir/file" |
5405 if test -n "$file_magic_test_file"; then | 6952 if test -n "$file_magic_test_file"; then |
5406 case $deplibs_check_method in | 6953 case $deplibs_check_method in |
5407 "file_magic "*) | 6954 "file_magic "*) |
5408 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | 6955 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
5409 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 6956 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
5410 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 6957 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
5411 $EGREP "$file_magic_regex" > /dev/null; then | 6958 $EGREP "$file_magic_regex" > /dev/null; then |
5412 : | 6959 : |
5413 else | 6960 else |
5435 esac | 6982 esac |
5436 fi | 6983 fi |
5437 | 6984 |
5438 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 6985 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
5439 if test -n "$MAGIC_CMD"; then | 6986 if test -n "$MAGIC_CMD"; then |
5440 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 | 6987 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
5441 echo "${ECHO_T}$MAGIC_CMD" >&6 | 6988 echo "${ECHO_T}$MAGIC_CMD" >&6; } |
5442 else | 6989 else |
5443 echo "$as_me:$LINENO: result: no" >&5 | 6990 { echo "$as_me:$LINENO: result: no" >&5 |
5444 echo "${ECHO_T}no" >&6 | 6991 echo "${ECHO_T}no" >&6; } |
5445 fi | 6992 fi |
5446 | 6993 |
5447 else | 6994 else |
5448 MAGIC_CMD=: | 6995 MAGIC_CMD=: |
5449 fi | 6996 fi |
5454 esac | 7001 esac |
5455 | 7002 |
5456 enable_dlopen=no | 7003 enable_dlopen=no |
5457 enable_win32_dll=no | 7004 enable_win32_dll=no |
5458 | 7005 |
5459 # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | 7006 # Check whether --enable-libtool-lock was given. |
5460 if test "${enable_libtool_lock+set}" = set; then | 7007 if test "${enable_libtool_lock+set}" = set; then |
5461 enableval="$enable_libtool_lock" | 7008 enableval=$enable_libtool_lock; |
5462 | 7009 fi |
5463 fi; | 7010 |
5464 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | 7011 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
5465 | 7012 |
5466 | 7013 |
5467 # Check whether --with-pic or --without-pic was given. | 7014 # Check whether --with-pic was given. |
5468 if test "${with_pic+set}" = set; then | 7015 if test "${with_pic+set}" = set; then |
5469 withval="$with_pic" | 7016 withval=$with_pic; pic_mode="$withval" |
5470 pic_mode="$withval" | |
5471 else | 7017 else |
5472 pic_mode=default | 7018 pic_mode=default |
5473 fi; | 7019 fi |
7020 | |
5474 test -z "$pic_mode" && pic_mode=default | 7021 test -z "$pic_mode" && pic_mode=default |
5475 | 7022 |
5476 # Use C for the default configuration in the libtool script | 7023 # Use C for the default configuration in the libtool script |
5477 tagname= | 7024 tagname= |
5478 lt_save_CC="$CC" | 7025 lt_save_CC="$CC" |
5498 | 7045 |
5499 | 7046 |
5500 # If no C compiler was specified, use CC. | 7047 # If no C compiler was specified, use CC. |
5501 LTCC=${LTCC-"$CC"} | 7048 LTCC=${LTCC-"$CC"} |
5502 | 7049 |
7050 # If no C compiler flags were specified, use CFLAGS. | |
7051 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | |
7052 | |
5503 # Allow CC to be a program name with arguments. | 7053 # Allow CC to be a program name with arguments. |
5504 compiler=$CC | 7054 compiler=$CC |
5505 | 7055 |
5506 | 7056 |
5507 # | 7057 # save warnings/boilerplate of simple test code |
5508 # Check for any special shared library compilation flags. | 7058 ac_outfile=conftest.$ac_objext |
5509 # | 7059 printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
5510 lt_prog_cc_shlib= | 7060 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
5511 if test "$GCC" = no; then | 7061 _lt_compiler_boilerplate=`cat conftest.err` |
5512 case $host_os in | 7062 $rm conftest* |
5513 sco3.2v5*) | 7063 |
5514 lt_prog_cc_shlib='-belf' | 7064 ac_outfile=conftest.$ac_objext |
5515 ;; | 7065 printf "$lt_simple_link_test_code" >conftest.$ac_ext |
5516 esac | 7066 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
5517 fi | 7067 _lt_linker_boilerplate=`cat conftest.err` |
5518 if test -n "$lt_prog_cc_shlib"; then | 7068 $rm conftest* |
5519 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 | |
5520 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} | |
5521 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then : | |
5522 else | |
5523 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 | |
5524 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} | |
5525 lt_cv_prog_cc_can_build_shared=no | |
5526 fi | |
5527 fi | |
5528 | |
5529 | |
5530 # | |
5531 # Check to make sure the static flag actually works. | |
5532 # | |
5533 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 | |
5534 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 | |
5535 if test "${lt_prog_compiler_static_works+set}" = set; then | |
5536 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
5537 else | |
5538 lt_prog_compiler_static_works=no | |
5539 save_LDFLAGS="$LDFLAGS" | |
5540 LDFLAGS="$LDFLAGS $lt_prog_compiler_static" | |
5541 printf "$lt_simple_link_test_code" > conftest.$ac_ext | |
5542 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | |
5543 # The compiler can only warn and ignore the option if not recognized | |
5544 # So say no if there are warnings | |
5545 if test -s conftest.err; then | |
5546 # Append any errors to the config.log. | |
5547 cat conftest.err 1>&5 | |
5548 else | |
5549 lt_prog_compiler_static_works=yes | |
5550 fi | |
5551 fi | |
5552 $rm conftest* | |
5553 LDFLAGS="$save_LDFLAGS" | |
5554 | |
5555 fi | |
5556 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 | |
5557 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 | |
5558 | |
5559 if test x"$lt_prog_compiler_static_works" = xyes; then | |
5560 : | |
5561 else | |
5562 lt_prog_compiler_static= | |
5563 fi | |
5564 | |
5565 | 7069 |
5566 | 7070 |
5567 | 7071 |
5568 lt_prog_compiler_no_builtin_flag= | 7072 lt_prog_compiler_no_builtin_flag= |
5569 | 7073 |
5570 if test "$GCC" = yes; then | 7074 if test "$GCC" = yes; then |
5571 lt_prog_compiler_no_builtin_flag=' -fno-builtin' | 7075 lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
5572 | 7076 |
5573 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 | 7077 |
5574 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 | 7078 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
7079 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } | |
5575 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then | 7080 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
5576 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7081 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5577 else | 7082 else |
5578 lt_cv_prog_compiler_rtti_exceptions=no | 7083 lt_cv_prog_compiler_rtti_exceptions=no |
5579 ac_outfile=conftest.$ac_objext | 7084 ac_outfile=conftest.$ac_objext |
5583 # (2) before a word containing "conftest.", or (3) at the end. | 7088 # (2) before a word containing "conftest.", or (3) at the end. |
5584 # Note that $ac_compile itself does not contain backslashes and begins | 7089 # Note that $ac_compile itself does not contain backslashes and begins |
5585 # with a dollar sign (not a hyphen), so the echo should work correctly. | 7090 # with a dollar sign (not a hyphen), so the echo should work correctly. |
5586 # The option is referenced via a variable to avoid confusing sed. | 7091 # The option is referenced via a variable to avoid confusing sed. |
5587 lt_compile=`echo "$ac_compile" | $SED \ | 7092 lt_compile=`echo "$ac_compile" | $SED \ |
5588 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 7093 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
5589 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 7094 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
5590 -e 's:$: $lt_compiler_flag:'` | 7095 -e 's:$: $lt_compiler_flag:'` |
5591 (eval echo "\"\$as_me:5591: $lt_compile\"" >&5) | 7096 (eval echo "\"\$as_me:7096: $lt_compile\"" >&5) |
5592 (eval "$lt_compile" 2>conftest.err) | 7097 (eval "$lt_compile" 2>conftest.err) |
5593 ac_status=$? | 7098 ac_status=$? |
5594 cat conftest.err >&5 | 7099 cat conftest.err >&5 |
5595 echo "$as_me:5595: \$? = $ac_status" >&5 | 7100 echo "$as_me:7100: \$? = $ac_status" >&5 |
5596 if (exit $ac_status) && test -s "$ac_outfile"; then | 7101 if (exit $ac_status) && test -s "$ac_outfile"; then |
5597 # The compiler can only warn and ignore the option if not recognized | 7102 # The compiler can only warn and ignore the option if not recognized |
5598 # So say no if there are warnings | 7103 # So say no if there are warnings other than the usual output. |
5599 if test ! -s conftest.err; then | 7104 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
7105 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
7106 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then | |
5600 lt_cv_prog_compiler_rtti_exceptions=yes | 7107 lt_cv_prog_compiler_rtti_exceptions=yes |
5601 fi | 7108 fi |
5602 fi | 7109 fi |
5603 $rm conftest* | 7110 $rm conftest* |
5604 | 7111 |
5605 fi | 7112 fi |
5606 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 | 7113 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
5607 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 | 7114 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
5608 | 7115 |
5609 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then | 7116 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
5610 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" | 7117 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
5611 else | 7118 else |
5612 : | 7119 : |
5616 | 7123 |
5617 lt_prog_compiler_wl= | 7124 lt_prog_compiler_wl= |
5618 lt_prog_compiler_pic= | 7125 lt_prog_compiler_pic= |
5619 lt_prog_compiler_static= | 7126 lt_prog_compiler_static= |
5620 | 7127 |
5621 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 | 7128 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
5622 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | 7129 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } |
5623 | 7130 |
5624 if test "$GCC" = yes; then | 7131 if test "$GCC" = yes; then |
5625 lt_prog_compiler_wl='-Wl,' | 7132 lt_prog_compiler_wl='-Wl,' |
5626 lt_prog_compiler_static='-static' | 7133 lt_prog_compiler_static='-static' |
5627 | 7134 |
5655 # PIC is the default on this platform | 7162 # PIC is the default on this platform |
5656 # Common symbols not allowed in MH_DYLIB files | 7163 # Common symbols not allowed in MH_DYLIB files |
5657 lt_prog_compiler_pic='-fno-common' | 7164 lt_prog_compiler_pic='-fno-common' |
5658 ;; | 7165 ;; |
5659 | 7166 |
7167 interix3*) | |
7168 # Interix 3.x gcc -fpic/-fPIC options generate broken code. | |
7169 # Instead, we relocate shared libraries at runtime. | |
7170 ;; | |
7171 | |
5660 msdosdjgpp*) | 7172 msdosdjgpp*) |
5661 # Just because we use GCC doesn't mean we suddenly get shared libraries | 7173 # Just because we use GCC doesn't mean we suddenly get shared libraries |
5662 # on systems that don't support them. | 7174 # on systems that don't support them. |
5663 lt_prog_compiler_can_build_shared=no | 7175 lt_prog_compiler_can_build_shared=no |
5664 enable_shared=no | 7176 enable_shared=no |
5671 ;; | 7183 ;; |
5672 | 7184 |
5673 hpux*) | 7185 hpux*) |
5674 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 7186 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
5675 # not for PA HP-UX. | 7187 # not for PA HP-UX. |
5676 case "$host_cpu" in | 7188 case $host_cpu in |
5677 hppa*64*|ia64*) | 7189 hppa*64*|ia64*) |
5678 # +Z the default | 7190 # +Z the default |
5679 ;; | 7191 ;; |
5680 *) | 7192 *) |
5681 lt_prog_compiler_pic='-fPIC' | 7193 lt_prog_compiler_pic='-fPIC' |
5697 lt_prog_compiler_static='-Bstatic' | 7209 lt_prog_compiler_static='-Bstatic' |
5698 else | 7210 else |
5699 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' | 7211 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
5700 fi | 7212 fi |
5701 ;; | 7213 ;; |
7214 darwin*) | |
7215 # PIC is the default on this platform | |
7216 # Common symbols not allowed in MH_DYLIB files | |
7217 case $cc_basename in | |
7218 xlc*) | |
7219 lt_prog_compiler_pic='-qnocommon' | |
7220 lt_prog_compiler_wl='-Wl,' | |
7221 ;; | |
7222 esac | |
7223 ;; | |
5702 | 7224 |
5703 mingw* | pw32* | os2*) | 7225 mingw* | pw32* | os2*) |
5704 # This hack is so that the source file can tell whether it is being | 7226 # This hack is so that the source file can tell whether it is being |
5705 # built for inclusion in a dll (and should export symbols for example). | 7227 # built for inclusion in a dll (and should export symbols for example). |
5706 lt_prog_compiler_pic='-DDLL_EXPORT' | 7228 lt_prog_compiler_pic='-DDLL_EXPORT' |
5708 | 7230 |
5709 hpux9* | hpux10* | hpux11*) | 7231 hpux9* | hpux10* | hpux11*) |
5710 lt_prog_compiler_wl='-Wl,' | 7232 lt_prog_compiler_wl='-Wl,' |
5711 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 7233 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
5712 # not for PA HP-UX. | 7234 # not for PA HP-UX. |
5713 case "$host_cpu" in | 7235 case $host_cpu in |
5714 hppa*64*|ia64*) | 7236 hppa*64*|ia64*) |
5715 # +Z the default | 7237 # +Z the default |
5716 ;; | 7238 ;; |
5717 *) | 7239 *) |
5718 lt_prog_compiler_pic='+Z' | 7240 lt_prog_compiler_pic='+Z' |
5732 lt_prog_compiler_pic='-KPIC' | 7254 lt_prog_compiler_pic='-KPIC' |
5733 lt_prog_compiler_static='-Bstatic' | 7255 lt_prog_compiler_static='-Bstatic' |
5734 ;; | 7256 ;; |
5735 | 7257 |
5736 linux*) | 7258 linux*) |
5737 case $CC in | 7259 case $cc_basename in |
5738 icc|ecc) | 7260 icc* | ecc*) |
5739 lt_prog_compiler_wl='-Wl,' | 7261 lt_prog_compiler_wl='-Wl,' |
5740 lt_prog_compiler_pic='-KPIC' | 7262 lt_prog_compiler_pic='-KPIC' |
5741 lt_prog_compiler_static='-static' | 7263 lt_prog_compiler_static='-static' |
5742 ;; | 7264 ;; |
5743 ccc) | 7265 pgcc* | pgf77* | pgf90* | pgf95*) |
7266 # Portland Group compilers (*not* the Pentium gcc compiler, | |
7267 # which looks to be a dead project) | |
7268 lt_prog_compiler_wl='-Wl,' | |
7269 lt_prog_compiler_pic='-fpic' | |
7270 lt_prog_compiler_static='-Bstatic' | |
7271 ;; | |
7272 ccc*) | |
5744 lt_prog_compiler_wl='-Wl,' | 7273 lt_prog_compiler_wl='-Wl,' |
5745 # All Alpha code is PIC. | 7274 # All Alpha code is PIC. |
5746 lt_prog_compiler_static='-non_shared' | 7275 lt_prog_compiler_static='-non_shared' |
5747 ;; | 7276 ;; |
5748 esac | 7277 esac |
5752 lt_prog_compiler_wl='-Wl,' | 7281 lt_prog_compiler_wl='-Wl,' |
5753 # All OSF/1 code is PIC. | 7282 # All OSF/1 code is PIC. |
5754 lt_prog_compiler_static='-non_shared' | 7283 lt_prog_compiler_static='-non_shared' |
5755 ;; | 7284 ;; |
5756 | 7285 |
5757 sco3.2v5*) | |
5758 lt_prog_compiler_pic='-Kpic' | |
5759 lt_prog_compiler_static='-dn' | |
5760 ;; | |
5761 | |
5762 solaris*) | 7286 solaris*) |
5763 lt_prog_compiler_wl='-Wl,' | |
5764 lt_prog_compiler_pic='-KPIC' | 7287 lt_prog_compiler_pic='-KPIC' |
5765 lt_prog_compiler_static='-Bstatic' | 7288 lt_prog_compiler_static='-Bstatic' |
7289 case $cc_basename in | |
7290 f77* | f90* | f95*) | |
7291 lt_prog_compiler_wl='-Qoption ld ';; | |
7292 *) | |
7293 lt_prog_compiler_wl='-Wl,';; | |
7294 esac | |
5766 ;; | 7295 ;; |
5767 | 7296 |
5768 sunos4*) | 7297 sunos4*) |
5769 lt_prog_compiler_wl='-Qoption ld ' | 7298 lt_prog_compiler_wl='-Qoption ld ' |
5770 lt_prog_compiler_pic='-PIC' | 7299 lt_prog_compiler_pic='-PIC' |
5771 lt_prog_compiler_static='-Bstatic' | 7300 lt_prog_compiler_static='-Bstatic' |
5772 ;; | 7301 ;; |
5773 | 7302 |
5774 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 7303 sysv4 | sysv4.2uw2* | sysv4.3*) |
5775 lt_prog_compiler_wl='-Wl,' | 7304 lt_prog_compiler_wl='-Wl,' |
5776 lt_prog_compiler_pic='-KPIC' | 7305 lt_prog_compiler_pic='-KPIC' |
5777 lt_prog_compiler_static='-Bstatic' | 7306 lt_prog_compiler_static='-Bstatic' |
5778 ;; | 7307 ;; |
5779 | 7308 |
5782 lt_prog_compiler_pic='-Kconform_pic' | 7311 lt_prog_compiler_pic='-Kconform_pic' |
5783 lt_prog_compiler_static='-Bstatic' | 7312 lt_prog_compiler_static='-Bstatic' |
5784 fi | 7313 fi |
5785 ;; | 7314 ;; |
5786 | 7315 |
7316 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) | |
7317 lt_prog_compiler_wl='-Wl,' | |
7318 lt_prog_compiler_pic='-KPIC' | |
7319 lt_prog_compiler_static='-Bstatic' | |
7320 ;; | |
7321 | |
7322 unicos*) | |
7323 lt_prog_compiler_wl='-Wl,' | |
7324 lt_prog_compiler_can_build_shared=no | |
7325 ;; | |
7326 | |
5787 uts4*) | 7327 uts4*) |
5788 lt_prog_compiler_pic='-pic' | 7328 lt_prog_compiler_pic='-pic' |
5789 lt_prog_compiler_static='-Bstatic' | 7329 lt_prog_compiler_static='-Bstatic' |
5790 ;; | 7330 ;; |
5791 | 7331 |
5793 lt_prog_compiler_can_build_shared=no | 7333 lt_prog_compiler_can_build_shared=no |
5794 ;; | 7334 ;; |
5795 esac | 7335 esac |
5796 fi | 7336 fi |
5797 | 7337 |
5798 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 | 7338 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 |
5799 echo "${ECHO_T}$lt_prog_compiler_pic" >&6 | 7339 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } |
5800 | 7340 |
5801 # | 7341 # |
5802 # Check to make sure the PIC flag actually works. | 7342 # Check to make sure the PIC flag actually works. |
5803 # | 7343 # |
5804 if test -n "$lt_prog_compiler_pic"; then | 7344 if test -n "$lt_prog_compiler_pic"; then |
5805 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 | 7345 |
5806 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 | 7346 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
7347 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } | |
5807 if test "${lt_prog_compiler_pic_works+set}" = set; then | 7348 if test "${lt_prog_compiler_pic_works+set}" = set; then |
5808 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7349 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5809 else | 7350 else |
5810 lt_prog_compiler_pic_works=no | 7351 lt_prog_compiler_pic_works=no |
5811 ac_outfile=conftest.$ac_objext | 7352 ac_outfile=conftest.$ac_objext |
5815 # (2) before a word containing "conftest.", or (3) at the end. | 7356 # (2) before a word containing "conftest.", or (3) at the end. |
5816 # Note that $ac_compile itself does not contain backslashes and begins | 7357 # Note that $ac_compile itself does not contain backslashes and begins |
5817 # with a dollar sign (not a hyphen), so the echo should work correctly. | 7358 # with a dollar sign (not a hyphen), so the echo should work correctly. |
5818 # The option is referenced via a variable to avoid confusing sed. | 7359 # The option is referenced via a variable to avoid confusing sed. |
5819 lt_compile=`echo "$ac_compile" | $SED \ | 7360 lt_compile=`echo "$ac_compile" | $SED \ |
5820 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 7361 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
5821 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 7362 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
5822 -e 's:$: $lt_compiler_flag:'` | 7363 -e 's:$: $lt_compiler_flag:'` |
5823 (eval echo "\"\$as_me:5823: $lt_compile\"" >&5) | 7364 (eval echo "\"\$as_me:7364: $lt_compile\"" >&5) |
5824 (eval "$lt_compile" 2>conftest.err) | 7365 (eval "$lt_compile" 2>conftest.err) |
5825 ac_status=$? | 7366 ac_status=$? |
5826 cat conftest.err >&5 | 7367 cat conftest.err >&5 |
5827 echo "$as_me:5827: \$? = $ac_status" >&5 | 7368 echo "$as_me:7368: \$? = $ac_status" >&5 |
5828 if (exit $ac_status) && test -s "$ac_outfile"; then | 7369 if (exit $ac_status) && test -s "$ac_outfile"; then |
5829 # The compiler can only warn and ignore the option if not recognized | 7370 # The compiler can only warn and ignore the option if not recognized |
5830 # So say no if there are warnings | 7371 # So say no if there are warnings other than the usual output. |
5831 if test ! -s conftest.err; then | 7372 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
7373 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
7374 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then | |
5832 lt_prog_compiler_pic_works=yes | 7375 lt_prog_compiler_pic_works=yes |
5833 fi | 7376 fi |
5834 fi | 7377 fi |
5835 $rm conftest* | 7378 $rm conftest* |
5836 | 7379 |
5837 fi | 7380 fi |
5838 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 | 7381 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 |
5839 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 | 7382 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; } |
5840 | 7383 |
5841 if test x"$lt_prog_compiler_pic_works" = xyes; then | 7384 if test x"$lt_prog_compiler_pic_works" = xyes; then |
5842 case $lt_prog_compiler_pic in | 7385 case $lt_prog_compiler_pic in |
5843 "" | " "*) ;; | 7386 "" | " "*) ;; |
5844 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; | 7387 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
5847 lt_prog_compiler_pic= | 7390 lt_prog_compiler_pic= |
5848 lt_prog_compiler_can_build_shared=no | 7391 lt_prog_compiler_can_build_shared=no |
5849 fi | 7392 fi |
5850 | 7393 |
5851 fi | 7394 fi |
5852 case "$host_os" in | 7395 case $host_os in |
5853 # For platforms which do not support PIC, -DPIC is meaningless: | 7396 # For platforms which do not support PIC, -DPIC is meaningless: |
5854 *djgpp*) | 7397 *djgpp*) |
5855 lt_prog_compiler_pic= | 7398 lt_prog_compiler_pic= |
5856 ;; | 7399 ;; |
5857 *) | 7400 *) |
5858 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" | 7401 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
5859 ;; | 7402 ;; |
5860 esac | 7403 esac |
5861 | 7404 |
5862 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | 7405 # |
5863 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | 7406 # Check to make sure the static flag actually works. |
7407 # | |
7408 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" | |
7409 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 | |
7410 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } | |
7411 if test "${lt_prog_compiler_static_works+set}" = set; then | |
7412 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
7413 else | |
7414 lt_prog_compiler_static_works=no | |
7415 save_LDFLAGS="$LDFLAGS" | |
7416 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" | |
7417 printf "$lt_simple_link_test_code" > conftest.$ac_ext | |
7418 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | |
7419 # The linker can only warn and ignore the option if not recognized | |
7420 # So say no if there are warnings | |
7421 if test -s conftest.err; then | |
7422 # Append any errors to the config.log. | |
7423 cat conftest.err 1>&5 | |
7424 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp | |
7425 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
7426 if diff conftest.exp conftest.er2 >/dev/null; then | |
7427 lt_prog_compiler_static_works=yes | |
7428 fi | |
7429 else | |
7430 lt_prog_compiler_static_works=yes | |
7431 fi | |
7432 fi | |
7433 $rm conftest* | |
7434 LDFLAGS="$save_LDFLAGS" | |
7435 | |
7436 fi | |
7437 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 | |
7438 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; } | |
7439 | |
7440 if test x"$lt_prog_compiler_static_works" = xyes; then | |
7441 : | |
7442 else | |
7443 lt_prog_compiler_static= | |
7444 fi | |
7445 | |
7446 | |
7447 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | |
7448 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } | |
5864 if test "${lt_cv_prog_compiler_c_o+set}" = set; then | 7449 if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
5865 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7450 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5866 else | 7451 else |
5867 lt_cv_prog_compiler_c_o=no | 7452 lt_cv_prog_compiler_c_o=no |
5868 $rm -r conftest 2>/dev/null | 7453 $rm -r conftest 2>/dev/null |
5869 mkdir conftest | 7454 mkdir conftest |
5870 cd conftest | 7455 cd conftest |
5871 mkdir out | 7456 mkdir out |
5872 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 7457 printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
5873 | 7458 |
5874 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | |
5875 # that will create temporary files in the current directory regardless of | |
5876 # the output directory. Thus, making CWD read-only will cause this test | |
5877 # to fail, enabling locking or at least warning the user not to do parallel | |
5878 # builds. | |
5879 chmod -w . | |
5880 | |
5881 lt_compiler_flag="-o out/conftest2.$ac_objext" | 7459 lt_compiler_flag="-o out/conftest2.$ac_objext" |
5882 # Insert the option either (1) after the last *FLAGS variable, or | 7460 # Insert the option either (1) after the last *FLAGS variable, or |
5883 # (2) before a word containing "conftest.", or (3) at the end. | 7461 # (2) before a word containing "conftest.", or (3) at the end. |
5884 # Note that $ac_compile itself does not contain backslashes and begins | 7462 # Note that $ac_compile itself does not contain backslashes and begins |
5885 # with a dollar sign (not a hyphen), so the echo should work correctly. | 7463 # with a dollar sign (not a hyphen), so the echo should work correctly. |
5886 lt_compile=`echo "$ac_compile" | $SED \ | 7464 lt_compile=`echo "$ac_compile" | $SED \ |
5887 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 7465 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
5888 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 7466 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
5889 -e 's:$: $lt_compiler_flag:'` | 7467 -e 's:$: $lt_compiler_flag:'` |
5890 (eval echo "\"\$as_me:5890: $lt_compile\"" >&5) | 7468 (eval echo "\"\$as_me:7468: $lt_compile\"" >&5) |
5891 (eval "$lt_compile" 2>out/conftest.err) | 7469 (eval "$lt_compile" 2>out/conftest.err) |
5892 ac_status=$? | 7470 ac_status=$? |
5893 cat out/conftest.err >&5 | 7471 cat out/conftest.err >&5 |
5894 echo "$as_me:5894: \$? = $ac_status" >&5 | 7472 echo "$as_me:7472: \$? = $ac_status" >&5 |
5895 if (exit $ac_status) && test -s out/conftest2.$ac_objext | 7473 if (exit $ac_status) && test -s out/conftest2.$ac_objext |
5896 then | 7474 then |
5897 # The compiler can only warn and ignore the option if not recognized | 7475 # The compiler can only warn and ignore the option if not recognized |
5898 # So say no if there are warnings | 7476 # So say no if there are warnings |
5899 if test ! -s out/conftest.err; then | 7477 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
7478 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | |
7479 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then | |
5900 lt_cv_prog_compiler_c_o=yes | 7480 lt_cv_prog_compiler_c_o=yes |
5901 fi | 7481 fi |
5902 fi | 7482 fi |
5903 chmod u+w . | 7483 chmod u+w . 2>&5 |
5904 $rm conftest* out/* | 7484 $rm conftest* |
5905 rmdir out | 7485 # SGI C++ compiler will create directory out/ii_files/ for |
7486 # template instantiation | |
7487 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files | |
7488 $rm out/* && rmdir out | |
5906 cd .. | 7489 cd .. |
5907 rmdir conftest | 7490 rmdir conftest |
5908 $rm conftest* | 7491 $rm conftest* |
5909 | 7492 |
5910 fi | 7493 fi |
5911 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 | 7494 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
5912 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 | 7495 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } |
5913 | 7496 |
5914 | 7497 |
5915 hard_links="nottested" | 7498 hard_links="nottested" |
5916 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then | 7499 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
5917 # do not overwrite the value of need_locks provided by the user | 7500 # do not overwrite the value of need_locks provided by the user |
5918 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 | 7501 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
5919 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 7502 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } |
5920 hard_links=yes | 7503 hard_links=yes |
5921 $rm conftest* | 7504 $rm conftest* |
5922 ln conftest.a conftest.b 2>/dev/null && hard_links=no | 7505 ln conftest.a conftest.b 2>/dev/null && hard_links=no |
5923 touch conftest.a | 7506 touch conftest.a |
5924 ln conftest.a conftest.b 2>&5 || hard_links=no | 7507 ln conftest.a conftest.b 2>&5 || hard_links=no |
5925 ln conftest.a conftest.b 2>/dev/null && hard_links=no | 7508 ln conftest.a conftest.b 2>/dev/null && hard_links=no |
5926 echo "$as_me:$LINENO: result: $hard_links" >&5 | 7509 { echo "$as_me:$LINENO: result: $hard_links" >&5 |
5927 echo "${ECHO_T}$hard_links" >&6 | 7510 echo "${ECHO_T}$hard_links" >&6; } |
5928 if test "$hard_links" = no; then | 7511 if test "$hard_links" = no; then |
5929 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 7512 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
5930 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 7513 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
5931 need_locks=warn | 7514 need_locks=warn |
5932 fi | 7515 fi |
5933 else | 7516 else |
5934 need_locks=no | 7517 need_locks=no |
5935 fi | 7518 fi |
5936 | 7519 |
5937 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 7520 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
5938 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 7521 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
5939 | 7522 |
5940 runpath_var= | 7523 runpath_var= |
5941 allow_undefined_flag= | 7524 allow_undefined_flag= |
5942 enable_shared_with_static_runtimes=no | 7525 enable_shared_with_static_runtimes=no |
5943 archive_cmds= | 7526 archive_cmds= |
5971 # platforms (ab)use it in PIC code, but their linkers get confused if | 7554 # platforms (ab)use it in PIC code, but their linkers get confused if |
5972 # the symbol is explicitly referenced. Since portable code cannot | 7555 # the symbol is explicitly referenced. Since portable code cannot |
5973 # rely on this symbol name, it's probably fine to never include it in | 7556 # rely on this symbol name, it's probably fine to never include it in |
5974 # preloaded symbol tables. | 7557 # preloaded symbol tables. |
5975 extract_expsyms_cmds= | 7558 extract_expsyms_cmds= |
7559 # Just being paranoid about ensuring that cc_basename is set. | |
7560 for cc_temp in $compiler""; do | |
7561 case $cc_temp in | |
7562 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; | |
7563 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; | |
7564 \-*) ;; | |
7565 *) break;; | |
7566 esac | |
7567 done | |
7568 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | |
5976 | 7569 |
5977 case $host_os in | 7570 case $host_os in |
5978 cygwin* | mingw* | pw32*) | 7571 cygwin* | mingw* | pw32*) |
5979 # FIXME: the MSVC++ port hasn't been tested in a loooong time | 7572 # FIXME: the MSVC++ port hasn't been tested in a loooong time |
5980 # When not using gcc, we currently assume that we are using | 7573 # When not using gcc, we currently assume that we are using |
5981 # Microsoft Visual C++. | 7574 # Microsoft Visual C++. |
5982 if test "$GCC" != yes; then | 7575 if test "$GCC" != yes; then |
5983 with_gnu_ld=no | 7576 with_gnu_ld=no |
5984 fi | 7577 fi |
5985 ;; | 7578 ;; |
7579 interix*) | |
7580 # we just hope/assume this is gcc and not c89 (= MSVC++) | |
7581 with_gnu_ld=yes | |
7582 ;; | |
5986 openbsd*) | 7583 openbsd*) |
5987 with_gnu_ld=no | 7584 with_gnu_ld=no |
5988 ;; | 7585 ;; |
5989 esac | 7586 esac |
5990 | 7587 |
5991 ld_shlibs=yes | 7588 ld_shlibs=yes |
5992 if test "$with_gnu_ld" = yes; then | 7589 if test "$with_gnu_ld" = yes; then |
5993 # If archive_cmds runs LD, not CC, wlarc should be empty | 7590 # If archive_cmds runs LD, not CC, wlarc should be empty |
5994 wlarc='${wl}' | 7591 wlarc='${wl}' |
7592 | |
7593 # Set some defaults for GNU ld with shared library support. These | |
7594 # are reset later if shared libraries are not supported. Putting them | |
7595 # here allows them to be overridden if necessary. | |
7596 runpath_var=LD_RUN_PATH | |
7597 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' | |
7598 export_dynamic_flag_spec='${wl}--export-dynamic' | |
7599 # ancient GNU ld didn't support --whole-archive et. al. | |
7600 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then | |
7601 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | |
7602 else | |
7603 whole_archive_flag_spec= | |
7604 fi | |
7605 supports_anon_versioning=no | |
7606 case `$LD -v 2>/dev/null` in | |
7607 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 | |
7608 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | |
7609 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... | |
7610 *\ 2.11.*) ;; # other 2.11 versions | |
7611 *) supports_anon_versioning=yes ;; | |
7612 esac | |
5995 | 7613 |
5996 # See if GNU ld supports shared libraries. | 7614 # See if GNU ld supports shared libraries. |
5997 case $host_os in | 7615 case $host_os in |
5998 aix3* | aix4* | aix5*) | 7616 aix3* | aix4* | aix5*) |
5999 # On AIX/PPC, the GNU linker is very broken | 7617 # On AIX/PPC, the GNU linker is very broken |
6041 # as there is no search path for DLLs. | 7659 # as there is no search path for DLLs. |
6042 hardcode_libdir_flag_spec='-L$libdir' | 7660 hardcode_libdir_flag_spec='-L$libdir' |
6043 allow_undefined_flag=unsupported | 7661 allow_undefined_flag=unsupported |
6044 always_export_symbols=no | 7662 always_export_symbols=no |
6045 enable_shared_with_static_runtimes=yes | 7663 enable_shared_with_static_runtimes=yes |
6046 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 7664 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
6047 | 7665 |
6048 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 7666 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
6049 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 7667 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
6050 # If the export-symbols file already is a .def file (1st line | 7668 # If the export-symbols file already is a .def file (1st line |
6051 # is EXPORTS), use it as is; otherwise, prepend... | 7669 # is EXPORTS), use it as is; otherwise, prepend... |
6052 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 7670 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
6053 cp $export_symbols $output_objdir/$soname.def; | 7671 cp $export_symbols $output_objdir/$soname.def; |
6054 else | 7672 else |
6055 echo EXPORTS > $output_objdir/$soname.def; | 7673 echo EXPORTS > $output_objdir/$soname.def; |
6056 cat $export_symbols >> $output_objdir/$soname.def; | 7674 cat $export_symbols >> $output_objdir/$soname.def; |
6057 fi~ | 7675 fi~ |
6058 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 7676 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
7677 else | |
7678 ld_shlibs=no | |
7679 fi | |
7680 ;; | |
7681 | |
7682 interix3*) | |
7683 hardcode_direct=no | |
7684 hardcode_shlibpath_var=no | |
7685 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | |
7686 export_dynamic_flag_spec='${wl}-E' | |
7687 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. | |
7688 # Instead, shared libraries are loaded at an image base (0x10000000 by | |
7689 # default) and relocated if they conflict, which is a slow very memory | |
7690 # consuming and fragmenting process. To avoid this, we pick a random, | |
7691 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link | |
7692 # time. Moving up from 0x10000000 also allows more sbrk(2) space. | |
7693 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' | |
7694 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' | |
7695 ;; | |
7696 | |
7697 linux*) | |
7698 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | |
7699 tmp_addflag= | |
7700 case $cc_basename,$host_cpu in | |
7701 pgcc*) # Portland Group C compiler | |
7702 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' | |
7703 tmp_addflag=' $pic_flag' | |
7704 ;; | |
7705 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers | |
7706 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' | |
7707 tmp_addflag=' $pic_flag -Mnomain' ;; | |
7708 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 | |
7709 tmp_addflag=' -i_dynamic' ;; | |
7710 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 | |
7711 tmp_addflag=' -i_dynamic -nofor_main' ;; | |
7712 ifc* | ifort*) # Intel Fortran compiler | |
7713 tmp_addflag=' -nofor_main' ;; | |
7714 esac | |
7715 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
7716 | |
7717 if test $supports_anon_versioning = yes; then | |
7718 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ | |
7719 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ | |
7720 $echo "local: *; };" >> $output_objdir/$libname.ver~ | |
7721 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | |
7722 fi | |
6059 else | 7723 else |
6060 ld_shlibs=no | 7724 ld_shlibs=no |
6061 fi | 7725 fi |
6062 ;; | 7726 ;; |
6063 | 7727 |
6069 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 7733 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
6070 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 7734 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
6071 fi | 7735 fi |
6072 ;; | 7736 ;; |
6073 | 7737 |
6074 solaris* | sysv5*) | 7738 solaris*) |
6075 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then | 7739 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
6076 ld_shlibs=no | 7740 ld_shlibs=no |
6077 cat <<EOF 1>&2 | 7741 cat <<EOF 1>&2 |
6078 | 7742 |
6079 *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 7743 *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
6090 else | 7754 else |
6091 ld_shlibs=no | 7755 ld_shlibs=no |
6092 fi | 7756 fi |
6093 ;; | 7757 ;; |
6094 | 7758 |
7759 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) | |
7760 case `$LD -v 2>&1` in | |
7761 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) | |
7762 ld_shlibs=no | |
7763 cat <<_LT_EOF 1>&2 | |
7764 | |
7765 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not | |
7766 *** reliably create shared libraries on SCO systems. Therefore, libtool | |
7767 *** is disabling shared libraries support. We urge you to upgrade GNU | |
7768 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify | |
7769 *** your PATH or compiler configuration so that the native linker is | |
7770 *** used, and then restart. | |
7771 | |
7772 _LT_EOF | |
7773 ;; | |
7774 *) | |
7775 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | |
7776 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' | |
7777 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' | |
7778 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' | |
7779 else | |
7780 ld_shlibs=no | |
7781 fi | |
7782 ;; | |
7783 esac | |
7784 ;; | |
7785 | |
6095 sunos4*) | 7786 sunos4*) |
6096 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 7787 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
6097 wlarc= | 7788 wlarc= |
6098 hardcode_direct=yes | 7789 hardcode_direct=yes |
6099 hardcode_shlibpath_var=no | 7790 hardcode_shlibpath_var=no |
6107 ld_shlibs=no | 7798 ld_shlibs=no |
6108 fi | 7799 fi |
6109 ;; | 7800 ;; |
6110 esac | 7801 esac |
6111 | 7802 |
6112 if test "$ld_shlibs" = yes; then | 7803 if test "$ld_shlibs" = no; then |
6113 runpath_var=LD_RUN_PATH | 7804 runpath_var= |
6114 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' | 7805 hardcode_libdir_flag_spec= |
6115 export_dynamic_flag_spec='${wl}--export-dynamic' | 7806 export_dynamic_flag_spec= |
6116 # ancient GNU ld didn't support --whole-archive et. al. | 7807 whole_archive_flag_spec= |
6117 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then | |
6118 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | |
6119 else | |
6120 whole_archive_flag_spec= | |
6121 fi | |
6122 fi | 7808 fi |
6123 else | 7809 else |
6124 # PORTME fill in a description of your system's linker (not GNU ld) | 7810 # PORTME fill in a description of your system's linker (not GNU ld) |
6125 case $host_os in | 7811 case $host_os in |
6126 aix3*) | 7812 aix3*) |
6128 always_export_symbols=yes | 7814 always_export_symbols=yes |
6129 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' | 7815 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' |
6130 # Note: this linker hardcodes the directories in LIBPATH if there | 7816 # Note: this linker hardcodes the directories in LIBPATH if there |
6131 # are no directories specified by -L. | 7817 # are no directories specified by -L. |
6132 hardcode_minus_L=yes | 7818 hardcode_minus_L=yes |
6133 if test "$GCC" = yes && test -z "$link_static_flag"; then | 7819 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
6134 # Neither direct hardcoding nor static linking is supported with a | 7820 # Neither direct hardcoding nor static linking is supported with a |
6135 # broken collect2. | 7821 # broken collect2. |
6136 hardcode_direct=unsupported | 7822 hardcode_direct=unsupported |
6137 fi | 7823 fi |
6138 ;; | 7824 ;; |
6162 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 7848 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
6163 aix_use_runtimelinking=yes | 7849 aix_use_runtimelinking=yes |
6164 break | 7850 break |
6165 fi | 7851 fi |
6166 done | 7852 done |
7853 ;; | |
6167 esac | 7854 esac |
6168 | 7855 |
6169 exp_sym_flag='-bexport' | 7856 exp_sym_flag='-bexport' |
6170 no_entry_flag='-bnoentry' | 7857 no_entry_flag='-bnoentry' |
6171 fi | 7858 fi |
6180 hardcode_direct=yes | 7867 hardcode_direct=yes |
6181 hardcode_libdir_separator=':' | 7868 hardcode_libdir_separator=':' |
6182 link_all_deplibs=yes | 7869 link_all_deplibs=yes |
6183 | 7870 |
6184 if test "$GCC" = yes; then | 7871 if test "$GCC" = yes; then |
6185 case $host_os in aix4.012|aix4.012.*) | 7872 case $host_os in aix4.[012]|aix4.[012].*) |
6186 # We only want to do this on AIX 4.2 and lower, the check | 7873 # We only want to do this on AIX 4.2 and lower, the check |
6187 # below for broken collect2 doesn't work under 4.3+ | 7874 # below for broken collect2 doesn't work under 4.3+ |
6188 collect2name=`${CC} -print-prog-name=collect2` | 7875 collect2name=`${CC} -print-prog-name=collect2` |
6189 if test -f "$collect2name" && \ | 7876 if test -f "$collect2name" && \ |
6190 strings "$collect2name" | grep resolve_lib_name >/dev/null | 7877 strings "$collect2name" | grep resolve_lib_name >/dev/null |
6199 # to unsupported forces relinking | 7886 # to unsupported forces relinking |
6200 hardcode_minus_L=yes | 7887 hardcode_minus_L=yes |
6201 hardcode_libdir_flag_spec='-L$libdir' | 7888 hardcode_libdir_flag_spec='-L$libdir' |
6202 hardcode_libdir_separator= | 7889 hardcode_libdir_separator= |
6203 fi | 7890 fi |
7891 ;; | |
6204 esac | 7892 esac |
6205 shared_flag='-shared' | 7893 shared_flag='-shared' |
7894 if test "$aix_use_runtimelinking" = yes; then | |
7895 shared_flag="$shared_flag "'${wl}-G' | |
7896 fi | |
6206 else | 7897 else |
6207 # not using gcc | 7898 # not using gcc |
6208 if test "$host_cpu" = ia64; then | 7899 if test "$host_cpu" = ia64; then |
6209 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 7900 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
6210 # chokes on -Wl,-G. The following line is correct: | 7901 # chokes on -Wl,-G. The following line is correct: |
6211 shared_flag='-G' | 7902 shared_flag='-G' |
6212 else | 7903 else |
6213 if test "$aix_use_runtimelinking" = yes; then | 7904 if test "$aix_use_runtimelinking" = yes; then |
6214 shared_flag='${wl}-G' | 7905 shared_flag='${wl}-G' |
6215 else | 7906 else |
6216 shared_flag='${wl}-bM:SRE' | 7907 shared_flag='${wl}-bM:SRE' |
6217 fi | 7908 fi |
6218 fi | 7909 fi |
6219 fi | 7910 fi |
6220 | 7911 |
6221 # It seems that -bexpall does not export symbols beginning with | 7912 # It seems that -bexpall does not export symbols beginning with |
6222 # underscore (_), so it is better to generate a list of symbols to export. | 7913 # underscore (_), so it is better to generate a list of symbols to export. |
6225 # Warning - without using the other runtime loading flags (-brtl), | 7916 # Warning - without using the other runtime loading flags (-brtl), |
6226 # -berok will link without error, but may produce a broken library. | 7917 # -berok will link without error, but may produce a broken library. |
6227 allow_undefined_flag='-berok' | 7918 allow_undefined_flag='-berok' |
6228 # Determine the default libpath from the value encoded in an empty executable. | 7919 # Determine the default libpath from the value encoded in an empty executable. |
6229 cat >conftest.$ac_ext <<_ACEOF | 7920 cat >conftest.$ac_ext <<_ACEOF |
6230 #line $LINENO "configure" | 7921 /* confdefs.h. */ |
6231 #include "confdefs.h" | 7922 _ACEOF |
6232 | 7923 cat confdefs.h >>conftest.$ac_ext |
6233 #ifdef F77_DUMMY_MAIN | 7924 cat >>conftest.$ac_ext <<_ACEOF |
6234 # ifdef __cplusplus | 7925 /* end confdefs.h. */ |
6235 extern "C" | 7926 |
6236 # endif | |
6237 int F77_DUMMY_MAIN() { return 1; } | |
6238 #endif | |
6239 int | 7927 int |
6240 main () | 7928 main () |
6241 { | 7929 { |
6242 | 7930 |
6243 ; | 7931 ; |
6244 return 0; | 7932 return 0; |
6245 } | 7933 } |
6246 _ACEOF | 7934 _ACEOF |
6247 rm -f conftest.$ac_objext conftest$ac_exeext | 7935 rm -f conftest.$ac_objext conftest$ac_exeext |
6248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7936 if { (ac_try="$ac_link" |
6249 (eval $ac_link) 2>&5 | 7937 case "(($ac_try" in |
7938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7939 *) ac_try_echo=$ac_try;; | |
7940 esac | |
7941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7942 (eval "$ac_link") 2>conftest.er1 | |
7943 ac_status=$? | |
7944 grep -v '^ *+' conftest.er1 >conftest.err | |
7945 rm -f conftest.er1 | |
7946 cat conftest.err >&5 | |
7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7948 (exit $ac_status); } && | |
7949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
7950 { (case "(($ac_try" in | |
7951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7952 *) ac_try_echo=$ac_try;; | |
7953 esac | |
7954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7955 (eval "$ac_try") 2>&5 | |
6250 ac_status=$? | 7956 ac_status=$? |
6251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6252 (exit $ac_status); } && | 7958 (exit $ac_status); }; } && |
6253 { ac_try='test -s conftest$ac_exeext' | 7959 { ac_try='test -s conftest$ac_exeext' |
6254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7960 { (case "(($ac_try" in |
6255 (eval $ac_try) 2>&5 | 7961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7962 *) ac_try_echo=$ac_try;; | |
7963 esac | |
7964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7965 (eval "$ac_try") 2>&5 | |
6256 ac_status=$? | 7966 ac_status=$? |
6257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6258 (exit $ac_status); }; }; then | 7968 (exit $ac_status); }; }; then |
6259 | 7969 |
6260 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | 7970 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
6262 # Check for a 64-bit object if we didn't find anything. | 7972 # Check for a 64-bit object if we didn't find anything. |
6263 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | 7973 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
6264 }'`; fi | 7974 }'`; fi |
6265 else | 7975 else |
6266 echo "$as_me: failed program was:" >&5 | 7976 echo "$as_me: failed program was:" >&5 |
6267 cat conftest.$ac_ext >&5 | 7977 sed 's/^/| /' conftest.$ac_ext >&5 |
6268 fi | 7978 |
6269 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7979 |
7980 fi | |
7981 | |
7982 rm -f core conftest.err conftest.$ac_objext \ | |
7983 conftest$ac_exeext conftest.$ac_ext | |
6270 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 7984 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
6271 | 7985 |
6272 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | 7986 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
6273 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" | 7987 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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
6274 else | 7988 else |
6275 if test "$host_cpu" = ia64; then | 7989 if test "$host_cpu" = ia64; then |
6276 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' | 7990 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
6277 allow_undefined_flag="-z nodefs" | 7991 allow_undefined_flag="-z nodefs" |
6278 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | 7992 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" |
6279 else | 7993 else |
6280 # Determine the default libpath from the value encoded in an empty executable. | 7994 # Determine the default libpath from the value encoded in an empty executable. |
6281 cat >conftest.$ac_ext <<_ACEOF | 7995 cat >conftest.$ac_ext <<_ACEOF |
6282 #line $LINENO "configure" | 7996 /* confdefs.h. */ |
6283 #include "confdefs.h" | 7997 _ACEOF |
6284 | 7998 cat confdefs.h >>conftest.$ac_ext |
6285 #ifdef F77_DUMMY_MAIN | 7999 cat >>conftest.$ac_ext <<_ACEOF |
6286 # ifdef __cplusplus | 8000 /* end confdefs.h. */ |
6287 extern "C" | 8001 |
6288 # endif | |
6289 int F77_DUMMY_MAIN() { return 1; } | |
6290 #endif | |
6291 int | 8002 int |
6292 main () | 8003 main () |
6293 { | 8004 { |
6294 | 8005 |
6295 ; | 8006 ; |
6296 return 0; | 8007 return 0; |
6297 } | 8008 } |
6298 _ACEOF | 8009 _ACEOF |
6299 rm -f conftest.$ac_objext conftest$ac_exeext | 8010 rm -f conftest.$ac_objext conftest$ac_exeext |
6300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8011 if { (ac_try="$ac_link" |
6301 (eval $ac_link) 2>&5 | 8012 case "(($ac_try" in |
8013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8014 *) ac_try_echo=$ac_try;; | |
8015 esac | |
8016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8017 (eval "$ac_link") 2>conftest.er1 | |
8018 ac_status=$? | |
8019 grep -v '^ *+' conftest.er1 >conftest.err | |
8020 rm -f conftest.er1 | |
8021 cat conftest.err >&5 | |
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8023 (exit $ac_status); } && | |
8024 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
8025 { (case "(($ac_try" in | |
8026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8027 *) ac_try_echo=$ac_try;; | |
8028 esac | |
8029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8030 (eval "$ac_try") 2>&5 | |
6302 ac_status=$? | 8031 ac_status=$? |
6303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6304 (exit $ac_status); } && | 8033 (exit $ac_status); }; } && |
6305 { ac_try='test -s conftest$ac_exeext' | 8034 { ac_try='test -s conftest$ac_exeext' |
6306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8035 { (case "(($ac_try" in |
6307 (eval $ac_try) 2>&5 | 8036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8037 *) ac_try_echo=$ac_try;; | |
8038 esac | |
8039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8040 (eval "$ac_try") 2>&5 | |
6308 ac_status=$? | 8041 ac_status=$? |
6309 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6310 (exit $ac_status); }; }; then | 8043 (exit $ac_status); }; }; then |
6311 | 8044 |
6312 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | 8045 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
6314 # Check for a 64-bit object if we didn't find anything. | 8047 # Check for a 64-bit object if we didn't find anything. |
6315 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | 8048 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
6316 }'`; fi | 8049 }'`; fi |
6317 else | 8050 else |
6318 echo "$as_me: failed program was:" >&5 | 8051 echo "$as_me: failed program was:" >&5 |
6319 cat conftest.$ac_ext >&5 | 8052 sed 's/^/| /' conftest.$ac_ext >&5 |
6320 fi | 8053 |
6321 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8054 |
8055 fi | |
8056 | |
8057 rm -f core conftest.err conftest.$ac_objext \ | |
8058 conftest$ac_exeext conftest.$ac_ext | |
6322 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 8059 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
6323 | 8060 |
6324 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | 8061 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
6325 # Warning - without using the other run time loading flags, | 8062 # Warning - without using the other run time loading flags, |
6326 # -berok will link without error, but may produce a broken library. | 8063 # -berok will link without error, but may produce a broken library. |
6327 no_undefined_flag=' ${wl}-bernotok' | 8064 no_undefined_flag=' ${wl}-bernotok' |
6328 allow_undefined_flag=' ${wl}-berok' | 8065 allow_undefined_flag=' ${wl}-berok' |
6329 # -bexpall does not export symbols beginning with underscore (_) | |
6330 always_export_symbols=yes | |
6331 # Exported symbols can be pulled into shared objects from archives | 8066 # Exported symbols can be pulled into shared objects from archives |
6332 whole_archive_flag_spec=' ' | 8067 whole_archive_flag_spec='$convenience' |
6333 archive_cmds_need_lc=yes | 8068 archive_cmds_need_lc=yes |
6334 # This is similar to how AIX traditionally builds it's shared libraries. | 8069 # This is similar to how AIX traditionally builds its shared libraries. |
6335 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | 8070 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' |
6336 fi | 8071 fi |
6337 fi | 8072 fi |
6338 ;; | 8073 ;; |
6339 | 8074 |
6340 amigaos*) | 8075 amigaos*) |
6343 hardcode_minus_L=yes | 8078 hardcode_minus_L=yes |
6344 # see comment about different semantics on the GNU ld section | 8079 # see comment about different semantics on the GNU ld section |
6345 ld_shlibs=no | 8080 ld_shlibs=no |
6346 ;; | 8081 ;; |
6347 | 8082 |
6348 bsdi4*) | 8083 bsdi[45]*) |
6349 export_dynamic_flag_spec=-rdynamic | 8084 export_dynamic_flag_spec=-rdynamic |
6350 ;; | 8085 ;; |
6351 | 8086 |
6352 cygwin* | mingw* | pw32*) | 8087 cygwin* | mingw* | pw32*) |
6353 # When not using gcc, we currently assume that we are using | 8088 # When not using gcc, we currently assume that we are using |
6357 hardcode_libdir_flag_spec=' ' | 8092 hardcode_libdir_flag_spec=' ' |
6358 allow_undefined_flag=unsupported | 8093 allow_undefined_flag=unsupported |
6359 # Tell ltmain to make .lib files, not .a files. | 8094 # Tell ltmain to make .lib files, not .a files. |
6360 libext=lib | 8095 libext=lib |
6361 # Tell ltmain to make .dll files, not .so files. | 8096 # Tell ltmain to make .dll files, not .so files. |
6362 shrext=".dll" | 8097 shrext_cmds=".dll" |
6363 # FIXME: Setting linknames here is a bad hack. | 8098 # FIXME: Setting linknames here is a bad hack. |
6364 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' | 8099 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
6365 # The linker will automatically build a .lib file if we build a DLL. | 8100 # The linker will automatically build a .lib file if we build a DLL. |
6366 old_archive_From_new_cmds='true' | 8101 old_archive_From_new_cmds='true' |
6367 # FIXME: Should let the user specify the lib program. | 8102 # FIXME: Should let the user specify the lib program. |
6369 fix_srcfile_path='`cygpath -w "$srcfile"`' | 8104 fix_srcfile_path='`cygpath -w "$srcfile"`' |
6370 enable_shared_with_static_runtimes=yes | 8105 enable_shared_with_static_runtimes=yes |
6371 ;; | 8106 ;; |
6372 | 8107 |
6373 darwin* | rhapsody*) | 8108 darwin* | rhapsody*) |
6374 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 8109 case $host_os in |
8110 rhapsody* | darwin1.[012]) | |
8111 allow_undefined_flag='${wl}-undefined ${wl}suppress' | |
8112 ;; | |
8113 *) # Darwin 1.3 on | |
8114 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then | |
8115 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' | |
8116 else | |
8117 case ${MACOSX_DEPLOYMENT_TARGET} in | |
8118 10.[012]) | |
8119 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' | |
8120 ;; | |
8121 10.*) | |
8122 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' | |
8123 ;; | |
8124 esac | |
8125 fi | |
8126 ;; | |
8127 esac | |
6375 archive_cmds_need_lc=no | 8128 archive_cmds_need_lc=no |
6376 case "$host_os" in | |
6377 rhapsody* | darwin1.[012]) | |
6378 allow_undefined_flag='-undefined suppress' | |
6379 ;; | |
6380 *) # Darwin 1.3 on | |
6381 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' | |
6382 ;; | |
6383 esac | |
6384 # FIXME: Relying on posixy $() will cause problems for | |
6385 # cross-compilation, but unfortunately the echo tests do not | |
6386 # yet detect zsh echo's removal of \ escapes. Also zsh mangles | |
6387 # `"' quotes if we put them in here... so don't! | |
6388 lt_int_apple_cc_single_mod=no | |
6389 output_verbose_link_cmd='echo' | |
6390 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then | |
6391 lt_int_apple_cc_single_mod=yes | |
6392 fi | |
6393 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | |
6394 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | |
6395 else | |
6396 archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | |
6397 fi | |
6398 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | |
6399 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | |
6400 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | |
6401 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
6402 else | |
6403 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
6404 fi | |
6405 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
6406 hardcode_direct=no | 8129 hardcode_direct=no |
6407 hardcode_automatic=yes | 8130 hardcode_automatic=yes |
6408 hardcode_shlibpath_var=unsupported | 8131 hardcode_shlibpath_var=unsupported |
6409 whole_archive_flag_spec='-all_load $convenience' | 8132 whole_archive_flag_spec='' |
6410 link_all_deplibs=yes | 8133 link_all_deplibs=yes |
8134 if test "$GCC" = yes ; then | |
8135 output_verbose_link_cmd='echo' | |
8136 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | |
8137 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' | |
8138 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds | |
8139 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
8140 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
8141 else | |
8142 case $cc_basename in | |
8143 xlc*) | |
8144 output_verbose_link_cmd='echo' | |
8145 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' | |
8146 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' | |
8147 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds | |
8148 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
8149 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
8150 ;; | |
8151 *) | |
8152 ld_shlibs=no | |
8153 ;; | |
8154 esac | |
6411 fi | 8155 fi |
6412 ;; | 8156 ;; |
6413 | 8157 |
6414 dgux*) | 8158 dgux*) |
6415 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 8159 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
6439 hardcode_minus_L=yes | 8183 hardcode_minus_L=yes |
6440 hardcode_shlibpath_var=no | 8184 hardcode_shlibpath_var=no |
6441 ;; | 8185 ;; |
6442 | 8186 |
6443 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 8187 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
6444 freebsd*) | 8188 freebsd* | kfreebsd*-gnu | dragonfly*) |
6445 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | 8189 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
6446 hardcode_libdir_flag_spec='-R$libdir' | 8190 hardcode_libdir_flag_spec='-R$libdir' |
6447 hardcode_direct=yes | 8191 hardcode_direct=yes |
6448 hardcode_shlibpath_var=no | 8192 hardcode_shlibpath_var=no |
6449 ;; | 8193 ;; |
6462 # but as the default location of the library. | 8206 # but as the default location of the library. |
6463 hardcode_minus_L=yes | 8207 hardcode_minus_L=yes |
6464 export_dynamic_flag_spec='${wl}-E' | 8208 export_dynamic_flag_spec='${wl}-E' |
6465 ;; | 8209 ;; |
6466 | 8210 |
6467 hpux10* | hpux11*) | 8211 hpux10*) |
6468 if test "$GCC" = yes -a "$with_gnu_ld" = no; then | 8212 if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
6469 case "$host_cpu" in | 8213 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
6470 hppa*64*|ia64*) | 8214 else |
8215 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | |
8216 fi | |
8217 if test "$with_gnu_ld" = no; then | |
8218 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | |
8219 hardcode_libdir_separator=: | |
8220 | |
8221 hardcode_direct=yes | |
8222 export_dynamic_flag_spec='${wl}-E' | |
8223 | |
8224 # hardcode_minus_L: Not really in the search PATH, | |
8225 # but as the default location of the library. | |
8226 hardcode_minus_L=yes | |
8227 fi | |
8228 ;; | |
8229 | |
8230 hpux11*) | |
8231 if test "$GCC" = yes -a "$with_gnu_ld" = no; then | |
8232 case $host_cpu in | |
8233 hppa*64*) | |
6471 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 8234 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
8235 ;; | |
8236 ia64*) | |
8237 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' | |
6472 ;; | 8238 ;; |
6473 *) | 8239 *) |
6474 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 8240 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
6475 ;; | 8241 ;; |
6476 esac | 8242 esac |
6477 else | 8243 else |
6478 case "$host_cpu" in | 8244 case $host_cpu in |
6479 hppa*64*|ia64*) | 8245 hppa*64*) |
6480 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' | 8246 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
8247 ;; | |
8248 ia64*) | |
8249 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' | |
6481 ;; | 8250 ;; |
6482 *) | 8251 *) |
6483 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 8252 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
6484 ;; | 8253 ;; |
6485 esac | 8254 esac |
6486 fi | 8255 fi |
6487 if test "$with_gnu_ld" = no; then | 8256 if test "$with_gnu_ld" = no; then |
6488 case "$host_cpu" in | 8257 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
6489 hppa*64*) | 8258 hardcode_libdir_separator=: |
6490 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 8259 |
8260 case $host_cpu in | |
8261 hppa*64*|ia64*) | |
6491 hardcode_libdir_flag_spec_ld='+b $libdir' | 8262 hardcode_libdir_flag_spec_ld='+b $libdir' |
6492 hardcode_libdir_separator=: | |
6493 hardcode_direct=no | 8263 hardcode_direct=no |
6494 hardcode_shlibpath_var=no | 8264 hardcode_shlibpath_var=no |
6495 ;; | 8265 ;; |
6496 ia64*) | |
6497 hardcode_libdir_flag_spec='-L$libdir' | |
6498 hardcode_direct=no | |
6499 hardcode_shlibpath_var=no | |
6500 | |
6501 # hardcode_minus_L: Not really in the search PATH, | |
6502 # but as the default location of the library. | |
6503 hardcode_minus_L=yes | |
6504 ;; | |
6505 *) | 8266 *) |
6506 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | |
6507 hardcode_libdir_separator=: | |
6508 hardcode_direct=yes | 8267 hardcode_direct=yes |
6509 export_dynamic_flag_spec='${wl}-E' | 8268 export_dynamic_flag_spec='${wl}-E' |
6510 | 8269 |
6511 # hardcode_minus_L: Not really in the search PATH, | 8270 # hardcode_minus_L: Not really in the search PATH, |
6512 # but as the default location of the library. | 8271 # but as the default location of the library. |
6550 openbsd*) | 8309 openbsd*) |
6551 hardcode_direct=yes | 8310 hardcode_direct=yes |
6552 hardcode_shlibpath_var=no | 8311 hardcode_shlibpath_var=no |
6553 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 8312 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
6554 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 8313 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
8314 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' | |
6555 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 8315 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
6556 export_dynamic_flag_spec='${wl}-E' | 8316 export_dynamic_flag_spec='${wl}-E' |
6557 else | 8317 else |
6558 case $host_os in | 8318 case $host_os in |
6559 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | 8319 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
6595 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 8355 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
6596 else | 8356 else |
6597 allow_undefined_flag=' -expect_unresolved \*' | 8357 allow_undefined_flag=' -expect_unresolved \*' |
6598 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 8358 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
6599 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ | 8359 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
6600 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' | 8360 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' |
6601 | 8361 |
6602 # Both c and cxx compiler support -rpath directly | 8362 # Both c and cxx compiler support -rpath directly |
6603 hardcode_libdir_flag_spec='-rpath $libdir' | 8363 hardcode_libdir_flag_spec='-rpath $libdir' |
6604 fi | 8364 fi |
6605 hardcode_libdir_separator=: | 8365 hardcode_libdir_separator=: |
6606 ;; | 8366 ;; |
6607 | 8367 |
6608 sco3.2v5*) | |
6609 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
6610 hardcode_shlibpath_var=no | |
6611 export_dynamic_flag_spec='${wl}-Bexport' | |
6612 runpath_var=LD_RUN_PATH | |
6613 hardcode_runpath_var=yes | |
6614 ;; | |
6615 | |
6616 solaris*) | 8368 solaris*) |
6617 no_undefined_flag=' -z text' | 8369 no_undefined_flag=' -z text' |
6618 if test "$GCC" = yes; then | 8370 if test "$GCC" = yes; then |
8371 wlarc='${wl}' | |
6619 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 8372 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
6620 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 8373 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
6621 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' | 8374 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
6622 else | 8375 else |
8376 wlarc='' | |
6623 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 8377 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
6624 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 8378 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
6625 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 8379 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
6626 fi | 8380 fi |
6627 hardcode_libdir_flag_spec='-R$libdir' | 8381 hardcode_libdir_flag_spec='-R$libdir' |
6628 hardcode_shlibpath_var=no | 8382 hardcode_shlibpath_var=no |
6629 case $host_os in | 8383 case $host_os in |
6630 solaris2.[0-5] | solaris2.[0-5].*) ;; | 8384 solaris2.[0-5] | solaris2.[0-5].*) ;; |
6631 *) # Supported since Solaris 2.6 (maybe 2.5.1?) | 8385 *) |
6632 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; | 8386 # The compiler driver will combine linker options so we |
8387 # cannot just pass the convience library names through | |
8388 # without $wl, iff we do not link with $LD. | |
8389 # Luckily, gcc supports the same syntax we need for Sun Studio. | |
8390 # Supported since Solaris 2.6 (maybe 2.5.1?) | |
8391 case $wlarc in | |
8392 '') | |
8393 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; | |
8394 *) | |
8395 whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; | |
8396 esac ;; | |
6633 esac | 8397 esac |
6634 link_all_deplibs=yes | 8398 link_all_deplibs=yes |
6635 ;; | 8399 ;; |
6636 | 8400 |
6637 sunos4*) | 8401 sunos4*) |
6684 hardcode_runpath_var=yes | 8448 hardcode_runpath_var=yes |
6685 ld_shlibs=yes | 8449 ld_shlibs=yes |
6686 fi | 8450 fi |
6687 ;; | 8451 ;; |
6688 | 8452 |
6689 sysv4.2uw2*) | 8453 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) |
6690 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 8454 no_undefined_flag='${wl}-z,text' |
6691 hardcode_direct=yes | 8455 archive_cmds_need_lc=no |
6692 hardcode_minus_L=no | |
6693 hardcode_shlibpath_var=no | |
6694 hardcode_runpath_var=yes | |
6695 runpath_var=LD_RUN_PATH | |
6696 ;; | |
6697 | |
6698 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) | |
6699 no_undefined_flag='${wl}-z ${wl}text' | |
6700 if test "$GCC" = yes; then | |
6701 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
6702 else | |
6703 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
6704 fi | |
6705 runpath_var='LD_RUN_PATH' | |
6706 hardcode_shlibpath_var=no | |
6707 ;; | |
6708 | |
6709 sysv5*) | |
6710 no_undefined_flag=' -z text' | |
6711 # $CC -shared without GNU ld will not create a library from C++ | |
6712 # object files and a static libstdc++, better avoid it by now | |
6713 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
6714 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | |
6715 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | |
6716 hardcode_libdir_flag_spec= | |
6717 hardcode_shlibpath_var=no | 8456 hardcode_shlibpath_var=no |
6718 runpath_var='LD_RUN_PATH' | 8457 runpath_var='LD_RUN_PATH' |
8458 | |
8459 if test "$GCC" = yes; then | |
8460 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
8461 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
8462 else | |
8463 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
8464 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
8465 fi | |
8466 ;; | |
8467 | |
8468 sysv5* | sco3.2v5* | sco5v6*) | |
8469 # Note: We can NOT use -z defs as we might desire, because we do not | |
8470 # link with -lc, and that would cause any symbols used from libc to | |
8471 # always be unresolved, which means just about no library would | |
8472 # ever link correctly. If we're not using GNU ld we use -z text | |
8473 # though, which does catch some bad symbols but isn't as heavy-handed | |
8474 # as -z defs. | |
8475 no_undefined_flag='${wl}-z,text' | |
8476 allow_undefined_flag='${wl}-z,nodefs' | |
8477 archive_cmds_need_lc=no | |
8478 hardcode_shlibpath_var=no | |
8479 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' | |
8480 hardcode_libdir_separator=':' | |
8481 link_all_deplibs=yes | |
8482 export_dynamic_flag_spec='${wl}-Bexport' | |
8483 runpath_var='LD_RUN_PATH' | |
8484 | |
8485 if test "$GCC" = yes; then | |
8486 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
8487 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
8488 else | |
8489 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
8490 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
8491 fi | |
6719 ;; | 8492 ;; |
6720 | 8493 |
6721 uts4*) | 8494 uts4*) |
6722 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 8495 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
6723 hardcode_libdir_flag_spec='-L$libdir' | 8496 hardcode_libdir_flag_spec='-L$libdir' |
6728 ld_shlibs=no | 8501 ld_shlibs=no |
6729 ;; | 8502 ;; |
6730 esac | 8503 esac |
6731 fi | 8504 fi |
6732 | 8505 |
6733 echo "$as_me:$LINENO: result: $ld_shlibs" >&5 | 8506 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5 |
6734 echo "${ECHO_T}$ld_shlibs" >&6 | 8507 echo "${ECHO_T}$ld_shlibs" >&6; } |
6735 test "$ld_shlibs" = no && can_build_shared=no | 8508 test "$ld_shlibs" = no && can_build_shared=no |
6736 | |
6737 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | |
6738 if test "$GCC" = yes; then | |
6739 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | |
6740 fi | |
6741 | 8509 |
6742 # | 8510 # |
6743 # Do we need to explicitly link libc? | 8511 # Do we need to explicitly link libc? |
6744 # | 8512 # |
6745 case "x$archive_cmds_need_lc" in | 8513 case "x$archive_cmds_need_lc" in |
6754 ;; | 8522 ;; |
6755 '$CC '*) | 8523 '$CC '*) |
6756 # Test whether the compiler implicitly links with -lc since on some | 8524 # Test whether the compiler implicitly links with -lc since on some |
6757 # systems, -lgcc has to come before -lc. If gcc already passes -lc | 8525 # systems, -lgcc has to come before -lc. If gcc already passes -lc |
6758 # to ld, don't add -lc before -lgcc. | 8526 # to ld, don't add -lc before -lgcc. |
6759 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 | 8527 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
6760 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 8528 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } |
6761 $rm conftest* | 8529 $rm conftest* |
6762 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 8530 printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
6763 | 8531 |
6764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6765 (eval $ac_compile) 2>&5 | 8533 (eval $ac_compile) 2>&5 |
6769 soname=conftest | 8537 soname=conftest |
6770 lib=conftest | 8538 lib=conftest |
6771 libobjs=conftest.$ac_objext | 8539 libobjs=conftest.$ac_objext |
6772 deplibs= | 8540 deplibs= |
6773 wl=$lt_prog_compiler_wl | 8541 wl=$lt_prog_compiler_wl |
8542 pic_flag=$lt_prog_compiler_pic | |
6774 compiler_flags=-v | 8543 compiler_flags=-v |
6775 linker_flags=-v | 8544 linker_flags=-v |
6776 verstring= | 8545 verstring= |
6777 output_objdir=. | 8546 output_objdir=. |
6778 libname=conftest | 8547 libname=conftest |
6791 allow_undefined_flag=$lt_save_allow_undefined_flag | 8560 allow_undefined_flag=$lt_save_allow_undefined_flag |
6792 else | 8561 else |
6793 cat conftest.err 1>&5 | 8562 cat conftest.err 1>&5 |
6794 fi | 8563 fi |
6795 $rm conftest* | 8564 $rm conftest* |
6796 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 | 8565 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 |
6797 echo "${ECHO_T}$archive_cmds_need_lc" >&6 | 8566 echo "${ECHO_T}$archive_cmds_need_lc" >&6; } |
6798 ;; | 8567 ;; |
6799 esac | 8568 esac |
6800 fi | 8569 fi |
6801 ;; | 8570 ;; |
6802 esac | 8571 esac |
6803 | 8572 |
6804 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | 8573 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
6805 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 8574 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } |
6806 hardcode_action= | |
6807 if test -n "$hardcode_libdir_flag_spec" || \ | |
6808 test -n "$runpath_var " || \ | |
6809 test "X$hardcode_automatic"="Xyes" ; then | |
6810 | |
6811 # We can hardcode non-existant directories. | |
6812 if test "$hardcode_direct" != no && | |
6813 # If the only mechanism to avoid hardcoding is shlibpath_var, we | |
6814 # have to relink, otherwise we might link with an installed library | |
6815 # when we should be linking with a yet-to-be-installed one | |
6816 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && | |
6817 test "$hardcode_minus_L" != no; then | |
6818 # Linking always hardcodes the temporary library directory. | |
6819 hardcode_action=relink | |
6820 else | |
6821 # We can link without hardcoding, and we can hardcode nonexisting dirs. | |
6822 hardcode_action=immediate | |
6823 fi | |
6824 else | |
6825 # We cannot hardcode anything, or else we can only hardcode existing | |
6826 # directories. | |
6827 hardcode_action=unsupported | |
6828 fi | |
6829 echo "$as_me:$LINENO: result: $hardcode_action" >&5 | |
6830 echo "${ECHO_T}$hardcode_action" >&6 | |
6831 | |
6832 if test "$hardcode_action" = relink; then | |
6833 # Fast installation is not supported | |
6834 enable_fast_install=no | |
6835 elif test "$shlibpath_overrides_runpath" = yes || | |
6836 test "$enable_shared" = no; then | |
6837 # Fast installation is not necessary | |
6838 enable_fast_install=needless | |
6839 fi | |
6840 | |
6841 striplib= | |
6842 old_striplib= | |
6843 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | |
6844 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | |
6845 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | |
6846 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | |
6847 test -z "$striplib" && striplib="$STRIP --strip-unneeded" | |
6848 echo "$as_me:$LINENO: result: yes" >&5 | |
6849 echo "${ECHO_T}yes" >&6 | |
6850 else | |
6851 # FIXME - insert some real tests, host_os isn't really good enough | |
6852 case $host_os in | |
6853 darwin*) | |
6854 if test -n "$STRIP" ; then | |
6855 striplib="$STRIP -x" | |
6856 echo "$as_me:$LINENO: result: yes" >&5 | |
6857 echo "${ECHO_T}yes" >&6 | |
6858 else | |
6859 echo "$as_me:$LINENO: result: no" >&5 | |
6860 echo "${ECHO_T}no" >&6 | |
6861 fi | |
6862 ;; | |
6863 *) | |
6864 echo "$as_me:$LINENO: result: no" >&5 | |
6865 echo "${ECHO_T}no" >&6 | |
6866 ;; | |
6867 esac | |
6868 fi | |
6869 | |
6870 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 | |
6871 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | |
6872 library_names_spec= | 8575 library_names_spec= |
6873 libname_spec='lib$name' | 8576 libname_spec='lib$name' |
6874 soname_spec= | 8577 soname_spec= |
6875 shrext=".so" | 8578 shrext_cmds=".so" |
6876 postinstall_cmds= | 8579 postinstall_cmds= |
6877 postuninstall_cmds= | 8580 postuninstall_cmds= |
6878 finish_cmds= | 8581 finish_cmds= |
6879 finish_eval= | 8582 finish_eval= |
6880 shlibpath_var= | 8583 shlibpath_var= |
6958 ;; | 8661 ;; |
6959 | 8662 |
6960 amigaos*) | 8663 amigaos*) |
6961 library_names_spec='$libname.ixlibrary $libname.a' | 8664 library_names_spec='$libname.ixlibrary $libname.a' |
6962 # Create ${libname}_ixlibrary.a entries in /sys/libs. | 8665 # Create ${libname}_ixlibrary.a entries in /sys/libs. |
6963 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' | 8666 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' |
6964 ;; | 8667 ;; |
6965 | 8668 |
6966 beos*) | 8669 beos*) |
6967 library_names_spec='${libname}${shared_ext}' | 8670 library_names_spec='${libname}${shared_ext}' |
6968 dynamic_linker="$host_os ld.so" | 8671 dynamic_linker="$host_os ld.so" |
6969 shlibpath_var=LIBRARY_PATH | 8672 shlibpath_var=LIBRARY_PATH |
6970 ;; | 8673 ;; |
6971 | 8674 |
6972 bsdi4*) | 8675 bsdi[45]*) |
6973 version_type=linux | 8676 version_type=linux |
6974 need_version=no | 8677 need_version=no |
6975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 8678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
6976 soname_spec='${libname}${release}${shared_ext}$major' | 8679 soname_spec='${libname}${release}${shared_ext}$major' |
6977 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 8680 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
6983 # libtool to hard-code these into programs | 8686 # libtool to hard-code these into programs |
6984 ;; | 8687 ;; |
6985 | 8688 |
6986 cygwin* | mingw* | pw32*) | 8689 cygwin* | mingw* | pw32*) |
6987 version_type=windows | 8690 version_type=windows |
6988 shrext=".dll" | 8691 shrext_cmds=".dll" |
6989 need_version=no | 8692 need_version=no |
6990 need_lib_prefix=no | 8693 need_lib_prefix=no |
6991 | 8694 |
6992 case $GCC,$host_os in | 8695 case $GCC,$host_os in |
6993 yes,cygwin* | yes,mingw* | yes,pw32*) | 8696 yes,cygwin* | yes,mingw* | yes,pw32*) |
6995 # DLL is installed to $(libdir)/../bin by postinstall_cmds | 8698 # DLL is installed to $(libdir)/../bin by postinstall_cmds |
6996 postinstall_cmds='base_file=`basename \${file}`~ | 8699 postinstall_cmds='base_file=`basename \${file}`~ |
6997 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ | 8700 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
6998 dldir=$destdir/`dirname \$dlpath`~ | 8701 dldir=$destdir/`dirname \$dlpath`~ |
6999 test -d \$dldir || mkdir -p \$dldir~ | 8702 test -d \$dldir || mkdir -p \$dldir~ |
7000 $install_prog $dir/$dlname \$dldir/$dlname' | 8703 $install_prog $dir/$dlname \$dldir/$dlname~ |
8704 chmod a+x \$dldir/$dlname' | |
7001 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 8705 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
7002 dlpath=$dir/\$dldll~ | 8706 dlpath=$dir/\$dldll~ |
7003 $rm \$dlpath' | 8707 $rm \$dlpath' |
7004 shlibpath_overrides_runpath=yes | 8708 shlibpath_overrides_runpath=yes |
7005 | 8709 |
7006 case $host_os in | 8710 case $host_os in |
7007 cygwin*) | 8711 cygwin*) |
7008 # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 8712 # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
7009 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 8713 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
7010 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" | 8714 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
7011 ;; | 8715 ;; |
7012 mingw*) | 8716 mingw*) |
7013 # MinGW DLLs use traditional 'lib' prefix | 8717 # MinGW DLLs use traditional 'lib' prefix |
7014 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 8718 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
7015 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 8719 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
7025 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` | 8729 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
7026 fi | 8730 fi |
7027 ;; | 8731 ;; |
7028 pw32*) | 8732 pw32*) |
7029 # pw32 DLLs use 'pw' prefix rather than 'lib' | 8733 # pw32 DLLs use 'pw' prefix rather than 'lib' |
7030 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' | 8734 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
7031 ;; | 8735 ;; |
7032 esac | 8736 esac |
7033 ;; | 8737 ;; |
7034 | 8738 |
7035 *) | 8739 *) |
7044 darwin* | rhapsody*) | 8748 darwin* | rhapsody*) |
7045 dynamic_linker="$host_os dyld" | 8749 dynamic_linker="$host_os dyld" |
7046 version_type=darwin | 8750 version_type=darwin |
7047 need_lib_prefix=no | 8751 need_lib_prefix=no |
7048 need_version=no | 8752 need_version=no |
7049 # FIXME: Relying on posixy $() will cause problems for | |
7050 # cross-compilation, but unfortunately the echo tests do not | |
7051 # yet detect zsh echo's removal of \ escapes. | |
7052 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 8753 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
7053 soname_spec='${libname}${release}${major}$shared_ext' | 8754 soname_spec='${libname}${release}${major}$shared_ext' |
7054 shlibpath_overrides_runpath=yes | 8755 shlibpath_overrides_runpath=yes |
7055 shlibpath_var=DYLD_LIBRARY_PATH | 8756 shlibpath_var=DYLD_LIBRARY_PATH |
7056 shrext='$(test .$module = .yes && echo .so || echo .dylib)' | 8757 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
7057 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. | 8758 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
7058 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 8759 if test "$GCC" = yes; then |
7059 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` | 8760 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
8761 else | |
8762 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' | |
7060 fi | 8763 fi |
7061 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 8764 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
7062 ;; | 8765 ;; |
7063 | 8766 |
7064 dgux*) | 8767 dgux*) |
7072 | 8775 |
7073 freebsd1*) | 8776 freebsd1*) |
7074 dynamic_linker=no | 8777 dynamic_linker=no |
7075 ;; | 8778 ;; |
7076 | 8779 |
7077 freebsd*) | 8780 kfreebsd*-gnu) |
7078 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 8781 version_type=linux |
8782 need_lib_prefix=no | |
8783 need_version=no | |
8784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
8785 soname_spec='${libname}${release}${shared_ext}$major' | |
8786 shlibpath_var=LD_LIBRARY_PATH | |
8787 shlibpath_overrides_runpath=no | |
8788 hardcode_into_libs=yes | |
8789 dynamic_linker='GNU ld.so' | |
8790 ;; | |
8791 | |
8792 freebsd* | dragonfly*) | |
8793 # DragonFly does not have aout. When/if they implement a new | |
8794 # versioning mechanism, adjust this. | |
8795 if test -x /usr/bin/objformat; then | |
8796 objformat=`/usr/bin/objformat` | |
8797 else | |
8798 case $host_os in | |
8799 freebsd[123]*) objformat=aout ;; | |
8800 *) objformat=elf ;; | |
8801 esac | |
8802 fi | |
7079 version_type=freebsd-$objformat | 8803 version_type=freebsd-$objformat |
7080 case $version_type in | 8804 case $version_type in |
7081 freebsd-elf*) | 8805 freebsd-elf*) |
7082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 8806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
7083 need_version=no | 8807 need_version=no |
7091 shlibpath_var=LD_LIBRARY_PATH | 8815 shlibpath_var=LD_LIBRARY_PATH |
7092 case $host_os in | 8816 case $host_os in |
7093 freebsd2*) | 8817 freebsd2*) |
7094 shlibpath_overrides_runpath=yes | 8818 shlibpath_overrides_runpath=yes |
7095 ;; | 8819 ;; |
7096 freebsd3.01* | freebsdelf3.01*) | 8820 freebsd3.[01]* | freebsdelf3.[01]*) |
7097 shlibpath_overrides_runpath=yes | 8821 shlibpath_overrides_runpath=yes |
7098 hardcode_into_libs=yes | 8822 hardcode_into_libs=yes |
7099 ;; | 8823 ;; |
7100 *) # from 3.2 on | 8824 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
8825 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) | |
7101 shlibpath_overrides_runpath=no | 8826 shlibpath_overrides_runpath=no |
8827 hardcode_into_libs=yes | |
8828 ;; | |
8829 freebsd*) # from 4.6 on | |
8830 shlibpath_overrides_runpath=yes | |
7102 hardcode_into_libs=yes | 8831 hardcode_into_libs=yes |
7103 ;; | 8832 ;; |
7104 esac | 8833 esac |
7105 ;; | 8834 ;; |
7106 | 8835 |
7118 # Give a soname corresponding to the major version so that dld.sl refuses to | 8847 # Give a soname corresponding to the major version so that dld.sl refuses to |
7119 # link against other versions. | 8848 # link against other versions. |
7120 version_type=sunos | 8849 version_type=sunos |
7121 need_lib_prefix=no | 8850 need_lib_prefix=no |
7122 need_version=no | 8851 need_version=no |
7123 case "$host_cpu" in | 8852 case $host_cpu in |
7124 ia64*) | 8853 ia64*) |
7125 shrext='.so' | 8854 shrext_cmds='.so' |
7126 hardcode_into_libs=yes | 8855 hardcode_into_libs=yes |
7127 dynamic_linker="$host_os dld.so" | 8856 dynamic_linker="$host_os dld.so" |
7128 shlibpath_var=LD_LIBRARY_PATH | 8857 shlibpath_var=LD_LIBRARY_PATH |
7129 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 8858 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
7130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 8859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
7135 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 8864 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
7136 fi | 8865 fi |
7137 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 8866 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
7138 ;; | 8867 ;; |
7139 hppa*64*) | 8868 hppa*64*) |
7140 shrext='.sl' | 8869 shrext_cmds='.sl' |
7141 hardcode_into_libs=yes | 8870 hardcode_into_libs=yes |
7142 dynamic_linker="$host_os dld.sl" | 8871 dynamic_linker="$host_os dld.sl" |
7143 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 8872 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
7144 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 8873 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
7145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 8874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
7146 soname_spec='${libname}${release}${shared_ext}$major' | 8875 soname_spec='${libname}${release}${shared_ext}$major' |
7147 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 8876 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
7148 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 8877 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
7149 ;; | 8878 ;; |
7150 *) | 8879 *) |
7151 shrext='.sl' | 8880 shrext_cmds='.sl' |
7152 dynamic_linker="$host_os dld.sl" | 8881 dynamic_linker="$host_os dld.sl" |
7153 shlibpath_var=SHLIB_PATH | 8882 shlibpath_var=SHLIB_PATH |
7154 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 8883 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
7155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 8884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
7156 soname_spec='${libname}${release}${shared_ext}$major' | 8885 soname_spec='${libname}${release}${shared_ext}$major' |
7157 ;; | 8886 ;; |
7158 esac | 8887 esac |
7159 # HP-UX runs *really* slowly unless shared libraries are mode 555. | 8888 # HP-UX runs *really* slowly unless shared libraries are mode 555. |
7160 postinstall_cmds='chmod 555 $lib' | 8889 postinstall_cmds='chmod 555 $lib' |
8890 ;; | |
8891 | |
8892 interix3*) | |
8893 version_type=linux | |
8894 need_lib_prefix=no | |
8895 need_version=no | |
8896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
8897 soname_spec='${libname}${release}${shared_ext}$major' | |
8898 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' | |
8899 shlibpath_var=LD_LIBRARY_PATH | |
8900 shlibpath_overrides_runpath=no | |
8901 hardcode_into_libs=yes | |
7161 ;; | 8902 ;; |
7162 | 8903 |
7163 irix5* | irix6* | nonstopux*) | 8904 irix5* | irix6* | nonstopux*) |
7164 case $host_os in | 8905 case $host_os in |
7165 nonstopux*) version_type=nonstopux ;; | 8906 nonstopux*) version_type=nonstopux ;; |
7215 # This implies no fast_install, which is unacceptable. | 8956 # This implies no fast_install, which is unacceptable. |
7216 # Some rework will be needed to allow for fast_install | 8957 # Some rework will be needed to allow for fast_install |
7217 # before this can be enabled. | 8958 # before this can be enabled. |
7218 hardcode_into_libs=yes | 8959 hardcode_into_libs=yes |
7219 | 8960 |
8961 # Append ld.so.conf contents to the search path | |
8962 if test -f /etc/ld.so.conf; then | |
8963 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` | |
8964 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | |
8965 fi | |
8966 | |
7220 # We used to test for /lib/ld.so.1 and disable shared libraries on | 8967 # We used to test for /lib/ld.so.1 and disable shared libraries on |
7221 # powerpc, because MkLinux only supported shared libraries with the | 8968 # powerpc, because MkLinux only supported shared libraries with the |
7222 # GNU dynamic linker. Since this was broken with cross compilers, | 8969 # GNU dynamic linker. Since this was broken with cross compilers, |
7223 # most powerpc-linux boxes support dynamic linking these days and | 8970 # most powerpc-linux boxes support dynamic linking these days and |
7224 # people can always --disable-shared, the test was removed, and we | 8971 # people can always --disable-shared, the test was removed, and we |
7225 # assume the GNU/Linux dynamic linker is in use. | 8972 # assume the GNU/Linux dynamic linker is in use. |
7226 dynamic_linker='GNU/Linux ld.so' | 8973 dynamic_linker='GNU/Linux ld.so' |
8974 ;; | |
8975 | |
8976 knetbsd*-gnu) | |
8977 version_type=linux | |
8978 need_lib_prefix=no | |
8979 need_version=no | |
8980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
8981 soname_spec='${libname}${release}${shared_ext}$major' | |
8982 shlibpath_var=LD_LIBRARY_PATH | |
8983 shlibpath_overrides_runpath=no | |
8984 hardcode_into_libs=yes | |
8985 dynamic_linker='GNU ld.so' | |
7227 ;; | 8986 ;; |
7228 | 8987 |
7229 netbsd*) | 8988 netbsd*) |
7230 version_type=sunos | 8989 version_type=sunos |
7231 need_lib_prefix=no | 8990 need_lib_prefix=no |
7233 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 8992 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
7234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 8993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
7235 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 8994 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
7236 dynamic_linker='NetBSD (a.out) ld.so' | 8995 dynamic_linker='NetBSD (a.out) ld.so' |
7237 else | 8996 else |
7238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' | 8997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
7239 soname_spec='${libname}${release}${shared_ext}$major' | 8998 soname_spec='${libname}${release}${shared_ext}$major' |
7240 dynamic_linker='NetBSD ld.elf_so' | 8999 dynamic_linker='NetBSD ld.elf_so' |
7241 fi | 9000 fi |
7242 shlibpath_var=LD_LIBRARY_PATH | 9001 shlibpath_var=LD_LIBRARY_PATH |
7243 shlibpath_overrides_runpath=yes | 9002 shlibpath_overrides_runpath=yes |
7249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 9008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
7250 shlibpath_var=LD_LIBRARY_PATH | 9009 shlibpath_var=LD_LIBRARY_PATH |
7251 shlibpath_overrides_runpath=yes | 9010 shlibpath_overrides_runpath=yes |
7252 ;; | 9011 ;; |
7253 | 9012 |
7254 nto-qnx) | 9013 nto-qnx*) |
7255 version_type=linux | 9014 version_type=linux |
7256 need_lib_prefix=no | 9015 need_lib_prefix=no |
7257 need_version=no | 9016 need_version=no |
7258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 9017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
7259 soname_spec='${libname}${release}${shared_ext}$major' | 9018 soname_spec='${libname}${release}${shared_ext}$major' |
7261 shlibpath_overrides_runpath=yes | 9020 shlibpath_overrides_runpath=yes |
7262 ;; | 9021 ;; |
7263 | 9022 |
7264 openbsd*) | 9023 openbsd*) |
7265 version_type=sunos | 9024 version_type=sunos |
9025 sys_lib_dlsearch_path_spec="/usr/lib" | |
7266 need_lib_prefix=no | 9026 need_lib_prefix=no |
7267 need_version=no | 9027 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
9028 case $host_os in | |
9029 openbsd3.3 | openbsd3.3.*) need_version=yes ;; | |
9030 *) need_version=no ;; | |
9031 esac | |
7268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 9032 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
7269 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 9033 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
7270 shlibpath_var=LD_LIBRARY_PATH | 9034 shlibpath_var=LD_LIBRARY_PATH |
7271 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 9035 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
7272 case $host_os in | 9036 case $host_os in |
7282 fi | 9046 fi |
7283 ;; | 9047 ;; |
7284 | 9048 |
7285 os2*) | 9049 os2*) |
7286 libname_spec='$name' | 9050 libname_spec='$name' |
7287 shrext=".dll" | 9051 shrext_cmds=".dll" |
7288 need_lib_prefix=no | 9052 need_lib_prefix=no |
7289 library_names_spec='$libname${shared_ext} $libname.a' | 9053 library_names_spec='$libname${shared_ext} $libname.a' |
7290 dynamic_linker='OS/2 ld.exe' | 9054 dynamic_linker='OS/2 ld.exe' |
7291 shlibpath_var=LIBPATH | 9055 shlibpath_var=LIBPATH |
7292 ;; | 9056 ;; |
7298 soname_spec='${libname}${release}${shared_ext}$major' | 9062 soname_spec='${libname}${release}${shared_ext}$major' |
7299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 9063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
7300 shlibpath_var=LD_LIBRARY_PATH | 9064 shlibpath_var=LD_LIBRARY_PATH |
7301 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 9065 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
7302 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 9066 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
7303 ;; | |
7304 | |
7305 sco3.2v5*) | |
7306 version_type=osf | |
7307 soname_spec='${libname}${release}${shared_ext}$major' | |
7308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
7309 shlibpath_var=LD_LIBRARY_PATH | |
7310 ;; | 9067 ;; |
7311 | 9068 |
7312 solaris*) | 9069 solaris*) |
7313 version_type=linux | 9070 version_type=linux |
7314 need_lib_prefix=no | 9071 need_lib_prefix=no |
7332 need_lib_prefix=no | 9089 need_lib_prefix=no |
7333 fi | 9090 fi |
7334 need_version=yes | 9091 need_version=yes |
7335 ;; | 9092 ;; |
7336 | 9093 |
7337 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 9094 sysv4 | sysv4.3*) |
7338 version_type=linux | 9095 version_type=linux |
7339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 9096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
7340 soname_spec='${libname}${release}${shared_ext}$major' | 9097 soname_spec='${libname}${release}${shared_ext}$major' |
7341 shlibpath_var=LD_LIBRARY_PATH | 9098 shlibpath_var=LD_LIBRARY_PATH |
7342 case $host_vendor in | 9099 case $host_vendor in |
7365 soname_spec='$libname${shared_ext}.$major' | 9122 soname_spec='$libname${shared_ext}.$major' |
7366 shlibpath_var=LD_LIBRARY_PATH | 9123 shlibpath_var=LD_LIBRARY_PATH |
7367 fi | 9124 fi |
7368 ;; | 9125 ;; |
7369 | 9126 |
9127 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | |
9128 version_type=freebsd-elf | |
9129 need_lib_prefix=no | |
9130 need_version=no | |
9131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | |
9132 soname_spec='${libname}${release}${shared_ext}$major' | |
9133 shlibpath_var=LD_LIBRARY_PATH | |
9134 hardcode_into_libs=yes | |
9135 if test "$with_gnu_ld" = yes; then | |
9136 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' | |
9137 shlibpath_overrides_runpath=no | |
9138 else | |
9139 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' | |
9140 shlibpath_overrides_runpath=yes | |
9141 case $host_os in | |
9142 sco3.2v5*) | |
9143 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" | |
9144 ;; | |
9145 esac | |
9146 fi | |
9147 sys_lib_dlsearch_path_spec='/usr/lib' | |
9148 ;; | |
9149 | |
7370 uts4*) | 9150 uts4*) |
7371 version_type=linux | 9151 version_type=linux |
7372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 9152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
7373 soname_spec='${libname}${release}${shared_ext}$major' | 9153 soname_spec='${libname}${release}${shared_ext}$major' |
7374 shlibpath_var=LD_LIBRARY_PATH | 9154 shlibpath_var=LD_LIBRARY_PATH |
7376 | 9156 |
7377 *) | 9157 *) |
7378 dynamic_linker=no | 9158 dynamic_linker=no |
7379 ;; | 9159 ;; |
7380 esac | 9160 esac |
7381 echo "$as_me:$LINENO: result: $dynamic_linker" >&5 | 9161 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
7382 echo "${ECHO_T}$dynamic_linker" >&6 | 9162 echo "${ECHO_T}$dynamic_linker" >&6; } |
7383 test "$dynamic_linker" = no && can_build_shared=no | 9163 test "$dynamic_linker" = no && can_build_shared=no |
9164 | |
9165 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | |
9166 if test "$GCC" = yes; then | |
9167 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | |
9168 fi | |
9169 | |
9170 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | |
9171 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } | |
9172 hardcode_action= | |
9173 if test -n "$hardcode_libdir_flag_spec" || \ | |
9174 test -n "$runpath_var" || \ | |
9175 test "X$hardcode_automatic" = "Xyes" ; then | |
9176 | |
9177 # We can hardcode non-existant directories. | |
9178 if test "$hardcode_direct" != no && | |
9179 # If the only mechanism to avoid hardcoding is shlibpath_var, we | |
9180 # have to relink, otherwise we might link with an installed library | |
9181 # when we should be linking with a yet-to-be-installed one | |
9182 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && | |
9183 test "$hardcode_minus_L" != no; then | |
9184 # Linking always hardcodes the temporary library directory. | |
9185 hardcode_action=relink | |
9186 else | |
9187 # We can link without hardcoding, and we can hardcode nonexisting dirs. | |
9188 hardcode_action=immediate | |
9189 fi | |
9190 else | |
9191 # We cannot hardcode anything, or else we can only hardcode existing | |
9192 # directories. | |
9193 hardcode_action=unsupported | |
9194 fi | |
9195 { echo "$as_me:$LINENO: result: $hardcode_action" >&5 | |
9196 echo "${ECHO_T}$hardcode_action" >&6; } | |
9197 | |
9198 if test "$hardcode_action" = relink; then | |
9199 # Fast installation is not supported | |
9200 enable_fast_install=no | |
9201 elif test "$shlibpath_overrides_runpath" = yes || | |
9202 test "$enable_shared" = no; then | |
9203 # Fast installation is not necessary | |
9204 enable_fast_install=needless | |
9205 fi | |
9206 | |
9207 striplib= | |
9208 old_striplib= | |
9209 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | |
9210 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } | |
9211 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | |
9212 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | |
9213 test -z "$striplib" && striplib="$STRIP --strip-unneeded" | |
9214 { echo "$as_me:$LINENO: result: yes" >&5 | |
9215 echo "${ECHO_T}yes" >&6; } | |
9216 else | |
9217 # FIXME - insert some real tests, host_os isn't really good enough | |
9218 case $host_os in | |
9219 darwin*) | |
9220 if test -n "$STRIP" ; then | |
9221 striplib="$STRIP -x" | |
9222 { echo "$as_me:$LINENO: result: yes" >&5 | |
9223 echo "${ECHO_T}yes" >&6; } | |
9224 else | |
9225 { echo "$as_me:$LINENO: result: no" >&5 | |
9226 echo "${ECHO_T}no" >&6; } | |
9227 fi | |
9228 ;; | |
9229 *) | |
9230 { echo "$as_me:$LINENO: result: no" >&5 | |
9231 echo "${ECHO_T}no" >&6; } | |
9232 ;; | |
9233 esac | |
9234 fi | |
7384 | 9235 |
7385 if test "x$enable_dlopen" != xyes; then | 9236 if test "x$enable_dlopen" != xyes; then |
7386 enable_dlopen=unknown | 9237 enable_dlopen=unknown |
7387 enable_dlopen_self=unknown | 9238 enable_dlopen_self=unknown |
7388 enable_dlopen_self_static=unknown | 9239 enable_dlopen_self_static=unknown |
7407 lt_cv_dlopen_libs= | 9258 lt_cv_dlopen_libs= |
7408 ;; | 9259 ;; |
7409 | 9260 |
7410 darwin*) | 9261 darwin*) |
7411 # if libdl is installed we need to link against it | 9262 # if libdl is installed we need to link against it |
7412 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 9263 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
7413 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 9264 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } |
7414 if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 9265 if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
7415 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9266 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7416 else | 9267 else |
7417 ac_check_lib_save_LIBS=$LIBS | 9268 ac_check_lib_save_LIBS=$LIBS |
7418 LIBS="-ldl $LIBS" | 9269 LIBS="-ldl $LIBS" |
7419 cat >conftest.$ac_ext <<_ACEOF | 9270 cat >conftest.$ac_ext <<_ACEOF |
7420 #line $LINENO "configure" | 9271 /* confdefs.h. */ |
7421 #include "confdefs.h" | 9272 _ACEOF |
7422 | 9273 cat confdefs.h >>conftest.$ac_ext |
7423 /* Override any gcc2 internal prototype to avoid an error. */ | 9274 cat >>conftest.$ac_ext <<_ACEOF |
9275 /* end confdefs.h. */ | |
9276 | |
9277 /* Override any GCC internal prototype to avoid an error. | |
9278 Use char because int might match the return type of a GCC | |
9279 builtin and then its argument prototype would still apply. */ | |
7424 #ifdef __cplusplus | 9280 #ifdef __cplusplus |
7425 extern "C" | 9281 extern "C" |
7426 #endif | 9282 #endif |
7427 /* We use char because int might match the return type of a gcc2 | |
7428 builtin and then its argument prototype would still apply. */ | |
7429 char dlopen (); | 9283 char dlopen (); |
7430 #ifdef F77_DUMMY_MAIN | |
7431 # ifdef __cplusplus | |
7432 extern "C" | |
7433 # endif | |
7434 int F77_DUMMY_MAIN() { return 1; } | |
7435 #endif | |
7436 int | 9284 int |
7437 main () | 9285 main () |
7438 { | 9286 { |
7439 dlopen (); | 9287 return dlopen (); |
7440 ; | 9288 ; |
7441 return 0; | 9289 return 0; |
7442 } | 9290 } |
7443 _ACEOF | 9291 _ACEOF |
7444 rm -f conftest.$ac_objext conftest$ac_exeext | 9292 rm -f conftest.$ac_objext conftest$ac_exeext |
7445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9293 if { (ac_try="$ac_link" |
7446 (eval $ac_link) 2>&5 | 9294 case "(($ac_try" in |
9295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9296 *) ac_try_echo=$ac_try;; | |
9297 esac | |
9298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9299 (eval "$ac_link") 2>conftest.er1 | |
9300 ac_status=$? | |
9301 grep -v '^ *+' conftest.er1 >conftest.err | |
9302 rm -f conftest.er1 | |
9303 cat conftest.err >&5 | |
9304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9305 (exit $ac_status); } && | |
9306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
9307 { (case "(($ac_try" in | |
9308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9309 *) ac_try_echo=$ac_try;; | |
9310 esac | |
9311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9312 (eval "$ac_try") 2>&5 | |
7447 ac_status=$? | 9313 ac_status=$? |
7448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7449 (exit $ac_status); } && | 9315 (exit $ac_status); }; } && |
7450 { ac_try='test -s conftest$ac_exeext' | 9316 { ac_try='test -s conftest$ac_exeext' |
7451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9317 { (case "(($ac_try" in |
7452 (eval $ac_try) 2>&5 | 9318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9319 *) ac_try_echo=$ac_try;; | |
9320 esac | |
9321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9322 (eval "$ac_try") 2>&5 | |
7453 ac_status=$? | 9323 ac_status=$? |
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7455 (exit $ac_status); }; }; then | 9325 (exit $ac_status); }; }; then |
7456 ac_cv_lib_dl_dlopen=yes | 9326 ac_cv_lib_dl_dlopen=yes |
7457 else | 9327 else |
7458 echo "$as_me: failed program was:" >&5 | 9328 echo "$as_me: failed program was:" >&5 |
7459 cat conftest.$ac_ext >&5 | 9329 sed 's/^/| /' conftest.$ac_ext >&5 |
7460 ac_cv_lib_dl_dlopen=no | 9330 |
7461 fi | 9331 ac_cv_lib_dl_dlopen=no |
7462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9332 fi |
9333 | |
9334 rm -f core conftest.err conftest.$ac_objext \ | |
9335 conftest$ac_exeext conftest.$ac_ext | |
7463 LIBS=$ac_check_lib_save_LIBS | 9336 LIBS=$ac_check_lib_save_LIBS |
7464 fi | 9337 fi |
7465 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 9338 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
7466 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 9339 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } |
7467 if test $ac_cv_lib_dl_dlopen = yes; then | 9340 if test $ac_cv_lib_dl_dlopen = yes; then |
7468 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 9341 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
7469 else | 9342 else |
7470 | 9343 |
7471 lt_cv_dlopen="dyld" | 9344 lt_cv_dlopen="dyld" |
7475 fi | 9348 fi |
7476 | 9349 |
7477 ;; | 9350 ;; |
7478 | 9351 |
7479 *) | 9352 *) |
7480 echo "$as_me:$LINENO: checking for shl_load" >&5 | 9353 { echo "$as_me:$LINENO: checking for shl_load" >&5 |
7481 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 | 9354 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } |
7482 if test "${ac_cv_func_shl_load+set}" = set; then | 9355 if test "${ac_cv_func_shl_load+set}" = set; then |
7483 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9356 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7484 else | 9357 else |
7485 cat >conftest.$ac_ext <<_ACEOF | 9358 cat >conftest.$ac_ext <<_ACEOF |
7486 #line $LINENO "configure" | 9359 /* confdefs.h. */ |
7487 #include "confdefs.h" | 9360 _ACEOF |
9361 cat confdefs.h >>conftest.$ac_ext | |
9362 cat >>conftest.$ac_ext <<_ACEOF | |
9363 /* end confdefs.h. */ | |
9364 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. | |
9365 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
9366 #define shl_load innocuous_shl_load | |
9367 | |
7488 /* System header to define __stub macros and hopefully few prototypes, | 9368 /* System header to define __stub macros and hopefully few prototypes, |
7489 which can conflict with char shl_load (); below. */ | 9369 which can conflict with char shl_load (); below. |
7490 #include <assert.h> | 9370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
7491 /* Override any gcc2 internal prototype to avoid an error. */ | 9371 <limits.h> exists even on freestanding compilers. */ |
9372 | |
9373 #ifdef __STDC__ | |
9374 # include <limits.h> | |
9375 #else | |
9376 # include <assert.h> | |
9377 #endif | |
9378 | |
9379 #undef shl_load | |
9380 | |
9381 /* Override any GCC internal prototype to avoid an error. | |
9382 Use char because int might match the return type of a GCC | |
9383 builtin and then its argument prototype would still apply. */ | |
7492 #ifdef __cplusplus | 9384 #ifdef __cplusplus |
7493 extern "C" | 9385 extern "C" |
7494 #endif | 9386 #endif |
7495 /* We use char because int might match the return type of a gcc2 | |
7496 builtin and then its argument prototype would still apply. */ | |
7497 char shl_load (); | 9387 char shl_load (); |
7498 char (*f) (); | 9388 /* The GNU C library defines this for functions which it implements |
7499 | 9389 to always fail with ENOSYS. Some functions are actually named |
7500 #ifdef F77_DUMMY_MAIN | 9390 something starting with __ and the normal name is an alias. */ |
7501 # ifdef __cplusplus | 9391 #if defined __stub_shl_load || defined __stub___shl_load |
7502 extern "C" | 9392 choke me |
7503 # endif | |
7504 int F77_DUMMY_MAIN() { return 1; } | |
7505 #endif | 9393 #endif |
9394 | |
7506 int | 9395 int |
7507 main () | 9396 main () |
7508 { | 9397 { |
7509 /* The GNU C library defines this for functions which it implements | 9398 return shl_load (); |
7510 to always fail with ENOSYS. Some functions are actually named | |
7511 something starting with __ and the normal name is an alias. */ | |
7512 #if defined (__stub_shl_load) || defined (__stub___shl_load) | |
7513 choke me | |
7514 #else | |
7515 f = shl_load; | |
7516 #endif | |
7517 | |
7518 ; | 9399 ; |
7519 return 0; | 9400 return 0; |
7520 } | 9401 } |
7521 _ACEOF | 9402 _ACEOF |
7522 rm -f conftest.$ac_objext conftest$ac_exeext | 9403 rm -f conftest.$ac_objext conftest$ac_exeext |
7523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9404 if { (ac_try="$ac_link" |
7524 (eval $ac_link) 2>&5 | 9405 case "(($ac_try" in |
9406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9407 *) ac_try_echo=$ac_try;; | |
9408 esac | |
9409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9410 (eval "$ac_link") 2>conftest.er1 | |
9411 ac_status=$? | |
9412 grep -v '^ *+' conftest.er1 >conftest.err | |
9413 rm -f conftest.er1 | |
9414 cat conftest.err >&5 | |
9415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9416 (exit $ac_status); } && | |
9417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
9418 { (case "(($ac_try" in | |
9419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9420 *) ac_try_echo=$ac_try;; | |
9421 esac | |
9422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9423 (eval "$ac_try") 2>&5 | |
7525 ac_status=$? | 9424 ac_status=$? |
7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7527 (exit $ac_status); } && | 9426 (exit $ac_status); }; } && |
7528 { ac_try='test -s conftest$ac_exeext' | 9427 { ac_try='test -s conftest$ac_exeext' |
7529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9428 { (case "(($ac_try" in |
7530 (eval $ac_try) 2>&5 | 9429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9430 *) ac_try_echo=$ac_try;; | |
9431 esac | |
9432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9433 (eval "$ac_try") 2>&5 | |
7531 ac_status=$? | 9434 ac_status=$? |
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7533 (exit $ac_status); }; }; then | 9436 (exit $ac_status); }; }; then |
7534 ac_cv_func_shl_load=yes | 9437 ac_cv_func_shl_load=yes |
7535 else | 9438 else |
7536 echo "$as_me: failed program was:" >&5 | 9439 echo "$as_me: failed program was:" >&5 |
7537 cat conftest.$ac_ext >&5 | 9440 sed 's/^/| /' conftest.$ac_ext >&5 |
7538 ac_cv_func_shl_load=no | 9441 |
7539 fi | 9442 ac_cv_func_shl_load=no |
7540 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9443 fi |
7541 fi | 9444 |
7542 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 | 9445 rm -f core conftest.err conftest.$ac_objext \ |
7543 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 | 9446 conftest$ac_exeext conftest.$ac_ext |
9447 fi | |
9448 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 | |
9449 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } | |
7544 if test $ac_cv_func_shl_load = yes; then | 9450 if test $ac_cv_func_shl_load = yes; then |
7545 lt_cv_dlopen="shl_load" | 9451 lt_cv_dlopen="shl_load" |
7546 else | 9452 else |
7547 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 | 9453 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
7548 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 | 9454 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } |
7549 if test "${ac_cv_lib_dld_shl_load+set}" = set; then | 9455 if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
7550 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9456 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7551 else | 9457 else |
7552 ac_check_lib_save_LIBS=$LIBS | 9458 ac_check_lib_save_LIBS=$LIBS |
7553 LIBS="-ldld $LIBS" | 9459 LIBS="-ldld $LIBS" |
7554 cat >conftest.$ac_ext <<_ACEOF | 9460 cat >conftest.$ac_ext <<_ACEOF |
7555 #line $LINENO "configure" | 9461 /* confdefs.h. */ |
7556 #include "confdefs.h" | 9462 _ACEOF |
7557 | 9463 cat confdefs.h >>conftest.$ac_ext |
7558 /* Override any gcc2 internal prototype to avoid an error. */ | 9464 cat >>conftest.$ac_ext <<_ACEOF |
9465 /* end confdefs.h. */ | |
9466 | |
9467 /* Override any GCC internal prototype to avoid an error. | |
9468 Use char because int might match the return type of a GCC | |
9469 builtin and then its argument prototype would still apply. */ | |
7559 #ifdef __cplusplus | 9470 #ifdef __cplusplus |
7560 extern "C" | 9471 extern "C" |
7561 #endif | 9472 #endif |
7562 /* We use char because int might match the return type of a gcc2 | |
7563 builtin and then its argument prototype would still apply. */ | |
7564 char shl_load (); | 9473 char shl_load (); |
7565 #ifdef F77_DUMMY_MAIN | |
7566 # ifdef __cplusplus | |
7567 extern "C" | |
7568 # endif | |
7569 int F77_DUMMY_MAIN() { return 1; } | |
7570 #endif | |
7571 int | 9474 int |
7572 main () | 9475 main () |
7573 { | 9476 { |
7574 shl_load (); | 9477 return shl_load (); |
7575 ; | 9478 ; |
7576 return 0; | 9479 return 0; |
7577 } | 9480 } |
7578 _ACEOF | 9481 _ACEOF |
7579 rm -f conftest.$ac_objext conftest$ac_exeext | 9482 rm -f conftest.$ac_objext conftest$ac_exeext |
7580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9483 if { (ac_try="$ac_link" |
7581 (eval $ac_link) 2>&5 | 9484 case "(($ac_try" in |
9485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9486 *) ac_try_echo=$ac_try;; | |
9487 esac | |
9488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9489 (eval "$ac_link") 2>conftest.er1 | |
9490 ac_status=$? | |
9491 grep -v '^ *+' conftest.er1 >conftest.err | |
9492 rm -f conftest.er1 | |
9493 cat conftest.err >&5 | |
9494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9495 (exit $ac_status); } && | |
9496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
9497 { (case "(($ac_try" in | |
9498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9499 *) ac_try_echo=$ac_try;; | |
9500 esac | |
9501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9502 (eval "$ac_try") 2>&5 | |
7582 ac_status=$? | 9503 ac_status=$? |
7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7584 (exit $ac_status); } && | 9505 (exit $ac_status); }; } && |
7585 { ac_try='test -s conftest$ac_exeext' | 9506 { ac_try='test -s conftest$ac_exeext' |
7586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9507 { (case "(($ac_try" in |
7587 (eval $ac_try) 2>&5 | 9508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9509 *) ac_try_echo=$ac_try;; | |
9510 esac | |
9511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9512 (eval "$ac_try") 2>&5 | |
7588 ac_status=$? | 9513 ac_status=$? |
7589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9514 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7590 (exit $ac_status); }; }; then | 9515 (exit $ac_status); }; }; then |
7591 ac_cv_lib_dld_shl_load=yes | 9516 ac_cv_lib_dld_shl_load=yes |
7592 else | 9517 else |
7593 echo "$as_me: failed program was:" >&5 | 9518 echo "$as_me: failed program was:" >&5 |
7594 cat conftest.$ac_ext >&5 | 9519 sed 's/^/| /' conftest.$ac_ext >&5 |
7595 ac_cv_lib_dld_shl_load=no | 9520 |
7596 fi | 9521 ac_cv_lib_dld_shl_load=no |
7597 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9522 fi |
9523 | |
9524 rm -f core conftest.err conftest.$ac_objext \ | |
9525 conftest$ac_exeext conftest.$ac_ext | |
7598 LIBS=$ac_check_lib_save_LIBS | 9526 LIBS=$ac_check_lib_save_LIBS |
7599 fi | 9527 fi |
7600 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 | 9528 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
7601 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 | 9529 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } |
7602 if test $ac_cv_lib_dld_shl_load = yes; then | 9530 if test $ac_cv_lib_dld_shl_load = yes; then |
7603 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" | 9531 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" |
7604 else | 9532 else |
7605 echo "$as_me:$LINENO: checking for dlopen" >&5 | 9533 { echo "$as_me:$LINENO: checking for dlopen" >&5 |
7606 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 | 9534 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } |
7607 if test "${ac_cv_func_dlopen+set}" = set; then | 9535 if test "${ac_cv_func_dlopen+set}" = set; then |
7608 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9536 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7609 else | 9537 else |
7610 cat >conftest.$ac_ext <<_ACEOF | 9538 cat >conftest.$ac_ext <<_ACEOF |
7611 #line $LINENO "configure" | 9539 /* confdefs.h. */ |
7612 #include "confdefs.h" | 9540 _ACEOF |
9541 cat confdefs.h >>conftest.$ac_ext | |
9542 cat >>conftest.$ac_ext <<_ACEOF | |
9543 /* end confdefs.h. */ | |
9544 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. | |
9545 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
9546 #define dlopen innocuous_dlopen | |
9547 | |
7613 /* System header to define __stub macros and hopefully few prototypes, | 9548 /* System header to define __stub macros and hopefully few prototypes, |
7614 which can conflict with char dlopen (); below. */ | 9549 which can conflict with char dlopen (); below. |
7615 #include <assert.h> | 9550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
7616 /* Override any gcc2 internal prototype to avoid an error. */ | 9551 <limits.h> exists even on freestanding compilers. */ |
9552 | |
9553 #ifdef __STDC__ | |
9554 # include <limits.h> | |
9555 #else | |
9556 # include <assert.h> | |
9557 #endif | |
9558 | |
9559 #undef dlopen | |
9560 | |
9561 /* Override any GCC internal prototype to avoid an error. | |
9562 Use char because int might match the return type of a GCC | |
9563 builtin and then its argument prototype would still apply. */ | |
7617 #ifdef __cplusplus | 9564 #ifdef __cplusplus |
7618 extern "C" | 9565 extern "C" |
7619 #endif | 9566 #endif |
7620 /* We use char because int might match the return type of a gcc2 | |
7621 builtin and then its argument prototype would still apply. */ | |
7622 char dlopen (); | 9567 char dlopen (); |
7623 char (*f) (); | 9568 /* The GNU C library defines this for functions which it implements |
7624 | 9569 to always fail with ENOSYS. Some functions are actually named |
7625 #ifdef F77_DUMMY_MAIN | 9570 something starting with __ and the normal name is an alias. */ |
7626 # ifdef __cplusplus | 9571 #if defined __stub_dlopen || defined __stub___dlopen |
7627 extern "C" | 9572 choke me |
7628 # endif | |
7629 int F77_DUMMY_MAIN() { return 1; } | |
7630 #endif | 9573 #endif |
9574 | |
7631 int | 9575 int |
7632 main () | 9576 main () |
7633 { | 9577 { |
7634 /* The GNU C library defines this for functions which it implements | 9578 return dlopen (); |
7635 to always fail with ENOSYS. Some functions are actually named | |
7636 something starting with __ and the normal name is an alias. */ | |
7637 #if defined (__stub_dlopen) || defined (__stub___dlopen) | |
7638 choke me | |
7639 #else | |
7640 f = dlopen; | |
7641 #endif | |
7642 | |
7643 ; | 9579 ; |
7644 return 0; | 9580 return 0; |
7645 } | 9581 } |
7646 _ACEOF | 9582 _ACEOF |
7647 rm -f conftest.$ac_objext conftest$ac_exeext | 9583 rm -f conftest.$ac_objext conftest$ac_exeext |
7648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9584 if { (ac_try="$ac_link" |
7649 (eval $ac_link) 2>&5 | 9585 case "(($ac_try" in |
9586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9587 *) ac_try_echo=$ac_try;; | |
9588 esac | |
9589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9590 (eval "$ac_link") 2>conftest.er1 | |
9591 ac_status=$? | |
9592 grep -v '^ *+' conftest.er1 >conftest.err | |
9593 rm -f conftest.er1 | |
9594 cat conftest.err >&5 | |
9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9596 (exit $ac_status); } && | |
9597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
9598 { (case "(($ac_try" in | |
9599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9600 *) ac_try_echo=$ac_try;; | |
9601 esac | |
9602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9603 (eval "$ac_try") 2>&5 | |
7650 ac_status=$? | 9604 ac_status=$? |
7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7652 (exit $ac_status); } && | 9606 (exit $ac_status); }; } && |
7653 { ac_try='test -s conftest$ac_exeext' | 9607 { ac_try='test -s conftest$ac_exeext' |
7654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9608 { (case "(($ac_try" in |
7655 (eval $ac_try) 2>&5 | 9609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9610 *) ac_try_echo=$ac_try;; | |
9611 esac | |
9612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9613 (eval "$ac_try") 2>&5 | |
7656 ac_status=$? | 9614 ac_status=$? |
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7658 (exit $ac_status); }; }; then | 9616 (exit $ac_status); }; }; then |
7659 ac_cv_func_dlopen=yes | 9617 ac_cv_func_dlopen=yes |
7660 else | 9618 else |
7661 echo "$as_me: failed program was:" >&5 | 9619 echo "$as_me: failed program was:" >&5 |
7662 cat conftest.$ac_ext >&5 | 9620 sed 's/^/| /' conftest.$ac_ext >&5 |
7663 ac_cv_func_dlopen=no | 9621 |
7664 fi | 9622 ac_cv_func_dlopen=no |
7665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9623 fi |
7666 fi | 9624 |
7667 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 | 9625 rm -f core conftest.err conftest.$ac_objext \ |
7668 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 | 9626 conftest$ac_exeext conftest.$ac_ext |
9627 fi | |
9628 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 | |
9629 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } | |
7669 if test $ac_cv_func_dlopen = yes; then | 9630 if test $ac_cv_func_dlopen = yes; then |
7670 lt_cv_dlopen="dlopen" | 9631 lt_cv_dlopen="dlopen" |
7671 else | 9632 else |
7672 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 9633 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
7673 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 9634 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } |
7674 if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 9635 if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
7675 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9636 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7676 else | 9637 else |
7677 ac_check_lib_save_LIBS=$LIBS | 9638 ac_check_lib_save_LIBS=$LIBS |
7678 LIBS="-ldl $LIBS" | 9639 LIBS="-ldl $LIBS" |
7679 cat >conftest.$ac_ext <<_ACEOF | 9640 cat >conftest.$ac_ext <<_ACEOF |
7680 #line $LINENO "configure" | 9641 /* confdefs.h. */ |
7681 #include "confdefs.h" | 9642 _ACEOF |
7682 | 9643 cat confdefs.h >>conftest.$ac_ext |
7683 /* Override any gcc2 internal prototype to avoid an error. */ | 9644 cat >>conftest.$ac_ext <<_ACEOF |
9645 /* end confdefs.h. */ | |
9646 | |
9647 /* Override any GCC internal prototype to avoid an error. | |
9648 Use char because int might match the return type of a GCC | |
9649 builtin and then its argument prototype would still apply. */ | |
7684 #ifdef __cplusplus | 9650 #ifdef __cplusplus |
7685 extern "C" | 9651 extern "C" |
7686 #endif | 9652 #endif |
7687 /* We use char because int might match the return type of a gcc2 | |
7688 builtin and then its argument prototype would still apply. */ | |
7689 char dlopen (); | 9653 char dlopen (); |
7690 #ifdef F77_DUMMY_MAIN | |
7691 # ifdef __cplusplus | |
7692 extern "C" | |
7693 # endif | |
7694 int F77_DUMMY_MAIN() { return 1; } | |
7695 #endif | |
7696 int | 9654 int |
7697 main () | 9655 main () |
7698 { | 9656 { |
7699 dlopen (); | 9657 return dlopen (); |
7700 ; | 9658 ; |
7701 return 0; | 9659 return 0; |
7702 } | 9660 } |
7703 _ACEOF | 9661 _ACEOF |
7704 rm -f conftest.$ac_objext conftest$ac_exeext | 9662 rm -f conftest.$ac_objext conftest$ac_exeext |
7705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9663 if { (ac_try="$ac_link" |
7706 (eval $ac_link) 2>&5 | 9664 case "(($ac_try" in |
9665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9666 *) ac_try_echo=$ac_try;; | |
9667 esac | |
9668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9669 (eval "$ac_link") 2>conftest.er1 | |
9670 ac_status=$? | |
9671 grep -v '^ *+' conftest.er1 >conftest.err | |
9672 rm -f conftest.er1 | |
9673 cat conftest.err >&5 | |
9674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9675 (exit $ac_status); } && | |
9676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
9677 { (case "(($ac_try" in | |
9678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9679 *) ac_try_echo=$ac_try;; | |
9680 esac | |
9681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9682 (eval "$ac_try") 2>&5 | |
7707 ac_status=$? | 9683 ac_status=$? |
7708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7709 (exit $ac_status); } && | 9685 (exit $ac_status); }; } && |
7710 { ac_try='test -s conftest$ac_exeext' | 9686 { ac_try='test -s conftest$ac_exeext' |
7711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9687 { (case "(($ac_try" in |
7712 (eval $ac_try) 2>&5 | 9688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9689 *) ac_try_echo=$ac_try;; | |
9690 esac | |
9691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9692 (eval "$ac_try") 2>&5 | |
7713 ac_status=$? | 9693 ac_status=$? |
7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7715 (exit $ac_status); }; }; then | 9695 (exit $ac_status); }; }; then |
7716 ac_cv_lib_dl_dlopen=yes | 9696 ac_cv_lib_dl_dlopen=yes |
7717 else | 9697 else |
7718 echo "$as_me: failed program was:" >&5 | 9698 echo "$as_me: failed program was:" >&5 |
7719 cat conftest.$ac_ext >&5 | 9699 sed 's/^/| /' conftest.$ac_ext >&5 |
7720 ac_cv_lib_dl_dlopen=no | 9700 |
7721 fi | 9701 ac_cv_lib_dl_dlopen=no |
7722 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9702 fi |
9703 | |
9704 rm -f core conftest.err conftest.$ac_objext \ | |
9705 conftest$ac_exeext conftest.$ac_ext | |
7723 LIBS=$ac_check_lib_save_LIBS | 9706 LIBS=$ac_check_lib_save_LIBS |
7724 fi | 9707 fi |
7725 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 9708 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
7726 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 9709 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } |
7727 if test $ac_cv_lib_dl_dlopen = yes; then | 9710 if test $ac_cv_lib_dl_dlopen = yes; then |
7728 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 9711 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
7729 else | 9712 else |
7730 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 | 9713 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
7731 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 | 9714 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } |
7732 if test "${ac_cv_lib_svld_dlopen+set}" = set; then | 9715 if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
7733 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9716 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7734 else | 9717 else |
7735 ac_check_lib_save_LIBS=$LIBS | 9718 ac_check_lib_save_LIBS=$LIBS |
7736 LIBS="-lsvld $LIBS" | 9719 LIBS="-lsvld $LIBS" |
7737 cat >conftest.$ac_ext <<_ACEOF | 9720 cat >conftest.$ac_ext <<_ACEOF |
7738 #line $LINENO "configure" | 9721 /* confdefs.h. */ |
7739 #include "confdefs.h" | 9722 _ACEOF |
7740 | 9723 cat confdefs.h >>conftest.$ac_ext |
7741 /* Override any gcc2 internal prototype to avoid an error. */ | 9724 cat >>conftest.$ac_ext <<_ACEOF |
9725 /* end confdefs.h. */ | |
9726 | |
9727 /* Override any GCC internal prototype to avoid an error. | |
9728 Use char because int might match the return type of a GCC | |
9729 builtin and then its argument prototype would still apply. */ | |
7742 #ifdef __cplusplus | 9730 #ifdef __cplusplus |
7743 extern "C" | 9731 extern "C" |
7744 #endif | 9732 #endif |
7745 /* We use char because int might match the return type of a gcc2 | |
7746 builtin and then its argument prototype would still apply. */ | |
7747 char dlopen (); | 9733 char dlopen (); |
7748 #ifdef F77_DUMMY_MAIN | |
7749 # ifdef __cplusplus | |
7750 extern "C" | |
7751 # endif | |
7752 int F77_DUMMY_MAIN() { return 1; } | |
7753 #endif | |
7754 int | 9734 int |
7755 main () | 9735 main () |
7756 { | 9736 { |
7757 dlopen (); | 9737 return dlopen (); |
7758 ; | 9738 ; |
7759 return 0; | 9739 return 0; |
7760 } | 9740 } |
7761 _ACEOF | 9741 _ACEOF |
7762 rm -f conftest.$ac_objext conftest$ac_exeext | 9742 rm -f conftest.$ac_objext conftest$ac_exeext |
7763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9743 if { (ac_try="$ac_link" |
7764 (eval $ac_link) 2>&5 | 9744 case "(($ac_try" in |
9745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9746 *) ac_try_echo=$ac_try;; | |
9747 esac | |
9748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9749 (eval "$ac_link") 2>conftest.er1 | |
9750 ac_status=$? | |
9751 grep -v '^ *+' conftest.er1 >conftest.err | |
9752 rm -f conftest.er1 | |
9753 cat conftest.err >&5 | |
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9755 (exit $ac_status); } && | |
9756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
9757 { (case "(($ac_try" in | |
9758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9759 *) ac_try_echo=$ac_try;; | |
9760 esac | |
9761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9762 (eval "$ac_try") 2>&5 | |
7765 ac_status=$? | 9763 ac_status=$? |
7766 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7767 (exit $ac_status); } && | 9765 (exit $ac_status); }; } && |
7768 { ac_try='test -s conftest$ac_exeext' | 9766 { ac_try='test -s conftest$ac_exeext' |
7769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9767 { (case "(($ac_try" in |
7770 (eval $ac_try) 2>&5 | 9768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9769 *) ac_try_echo=$ac_try;; | |
9770 esac | |
9771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9772 (eval "$ac_try") 2>&5 | |
7771 ac_status=$? | 9773 ac_status=$? |
7772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7773 (exit $ac_status); }; }; then | 9775 (exit $ac_status); }; }; then |
7774 ac_cv_lib_svld_dlopen=yes | 9776 ac_cv_lib_svld_dlopen=yes |
7775 else | 9777 else |
7776 echo "$as_me: failed program was:" >&5 | 9778 echo "$as_me: failed program was:" >&5 |
7777 cat conftest.$ac_ext >&5 | 9779 sed 's/^/| /' conftest.$ac_ext >&5 |
7778 ac_cv_lib_svld_dlopen=no | 9780 |
7779 fi | 9781 ac_cv_lib_svld_dlopen=no |
7780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9782 fi |
9783 | |
9784 rm -f core conftest.err conftest.$ac_objext \ | |
9785 conftest$ac_exeext conftest.$ac_ext | |
7781 LIBS=$ac_check_lib_save_LIBS | 9786 LIBS=$ac_check_lib_save_LIBS |
7782 fi | 9787 fi |
7783 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 | 9788 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
7784 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 | 9789 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } |
7785 if test $ac_cv_lib_svld_dlopen = yes; then | 9790 if test $ac_cv_lib_svld_dlopen = yes; then |
7786 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | 9791 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
7787 else | 9792 else |
7788 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 | 9793 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
7789 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 | 9794 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } |
7790 if test "${ac_cv_lib_dld_dld_link+set}" = set; then | 9795 if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
7791 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9796 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7792 else | 9797 else |
7793 ac_check_lib_save_LIBS=$LIBS | 9798 ac_check_lib_save_LIBS=$LIBS |
7794 LIBS="-ldld $LIBS" | 9799 LIBS="-ldld $LIBS" |
7795 cat >conftest.$ac_ext <<_ACEOF | 9800 cat >conftest.$ac_ext <<_ACEOF |
7796 #line $LINENO "configure" | 9801 /* confdefs.h. */ |
7797 #include "confdefs.h" | 9802 _ACEOF |
7798 | 9803 cat confdefs.h >>conftest.$ac_ext |
7799 /* Override any gcc2 internal prototype to avoid an error. */ | 9804 cat >>conftest.$ac_ext <<_ACEOF |
9805 /* end confdefs.h. */ | |
9806 | |
9807 /* Override any GCC internal prototype to avoid an error. | |
9808 Use char because int might match the return type of a GCC | |
9809 builtin and then its argument prototype would still apply. */ | |
7800 #ifdef __cplusplus | 9810 #ifdef __cplusplus |
7801 extern "C" | 9811 extern "C" |
7802 #endif | 9812 #endif |
7803 /* We use char because int might match the return type of a gcc2 | |
7804 builtin and then its argument prototype would still apply. */ | |
7805 char dld_link (); | 9813 char dld_link (); |
7806 #ifdef F77_DUMMY_MAIN | |
7807 # ifdef __cplusplus | |
7808 extern "C" | |
7809 # endif | |
7810 int F77_DUMMY_MAIN() { return 1; } | |
7811 #endif | |
7812 int | 9814 int |
7813 main () | 9815 main () |
7814 { | 9816 { |
7815 dld_link (); | 9817 return dld_link (); |
7816 ; | 9818 ; |
7817 return 0; | 9819 return 0; |
7818 } | 9820 } |
7819 _ACEOF | 9821 _ACEOF |
7820 rm -f conftest.$ac_objext conftest$ac_exeext | 9822 rm -f conftest.$ac_objext conftest$ac_exeext |
7821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9823 if { (ac_try="$ac_link" |
7822 (eval $ac_link) 2>&5 | 9824 case "(($ac_try" in |
9825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9826 *) ac_try_echo=$ac_try;; | |
9827 esac | |
9828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9829 (eval "$ac_link") 2>conftest.er1 | |
9830 ac_status=$? | |
9831 grep -v '^ *+' conftest.er1 >conftest.err | |
9832 rm -f conftest.er1 | |
9833 cat conftest.err >&5 | |
9834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9835 (exit $ac_status); } && | |
9836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
9837 { (case "(($ac_try" in | |
9838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9839 *) ac_try_echo=$ac_try;; | |
9840 esac | |
9841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9842 (eval "$ac_try") 2>&5 | |
7823 ac_status=$? | 9843 ac_status=$? |
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7825 (exit $ac_status); } && | 9845 (exit $ac_status); }; } && |
7826 { ac_try='test -s conftest$ac_exeext' | 9846 { ac_try='test -s conftest$ac_exeext' |
7827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9847 { (case "(($ac_try" in |
7828 (eval $ac_try) 2>&5 | 9848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9849 *) ac_try_echo=$ac_try;; | |
9850 esac | |
9851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9852 (eval "$ac_try") 2>&5 | |
7829 ac_status=$? | 9853 ac_status=$? |
7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7831 (exit $ac_status); }; }; then | 9855 (exit $ac_status); }; }; then |
7832 ac_cv_lib_dld_dld_link=yes | 9856 ac_cv_lib_dld_dld_link=yes |
7833 else | 9857 else |
7834 echo "$as_me: failed program was:" >&5 | 9858 echo "$as_me: failed program was:" >&5 |
7835 cat conftest.$ac_ext >&5 | 9859 sed 's/^/| /' conftest.$ac_ext >&5 |
7836 ac_cv_lib_dld_dld_link=no | 9860 |
7837 fi | 9861 ac_cv_lib_dld_dld_link=no |
7838 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9862 fi |
9863 | |
9864 rm -f core conftest.err conftest.$ac_objext \ | |
9865 conftest$ac_exeext conftest.$ac_ext | |
7839 LIBS=$ac_check_lib_save_LIBS | 9866 LIBS=$ac_check_lib_save_LIBS |
7840 fi | 9867 fi |
7841 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 | 9868 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
7842 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 | 9869 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } |
7843 if test $ac_cv_lib_dld_dld_link = yes; then | 9870 if test $ac_cv_lib_dld_dld_link = yes; then |
7844 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" | 9871 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
7845 fi | 9872 fi |
7846 | 9873 |
7847 | 9874 |
7872 dlopen) | 9899 dlopen) |
7873 save_CPPFLAGS="$CPPFLAGS" | 9900 save_CPPFLAGS="$CPPFLAGS" |
7874 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 9901 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
7875 | 9902 |
7876 save_LDFLAGS="$LDFLAGS" | 9903 save_LDFLAGS="$LDFLAGS" |
7877 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 9904 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
7878 | 9905 |
7879 save_LIBS="$LIBS" | 9906 save_LIBS="$LIBS" |
7880 LIBS="$lt_cv_dlopen_libs $LIBS" | 9907 LIBS="$lt_cv_dlopen_libs $LIBS" |
7881 | 9908 |
7882 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 | 9909 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
7883 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 | 9910 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } |
7884 if test "${lt_cv_dlopen_self+set}" = set; then | 9911 if test "${lt_cv_dlopen_self+set}" = set; then |
7885 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9912 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7886 else | 9913 else |
7887 if test "$cross_compiling" = yes; then : | 9914 if test "$cross_compiling" = yes; then : |
7888 lt_cv_dlopen_self=cross | 9915 lt_cv_dlopen_self=cross |
7889 else | 9916 else |
7890 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 9917 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7891 lt_status=$lt_dlunknown | 9918 lt_status=$lt_dlunknown |
7892 cat > conftest.$ac_ext <<EOF | 9919 cat > conftest.$ac_ext <<EOF |
7893 #line 7893 "configure" | 9920 #line 9920 "configure" |
7894 #include "confdefs.h" | 9921 #include "confdefs.h" |
7895 | 9922 |
7896 #if HAVE_DLFCN_H | 9923 #if HAVE_DLFCN_H |
7897 #include <dlfcn.h> | 9924 #include <dlfcn.h> |
7898 #endif | 9925 #endif |
7945 { | 9972 { |
7946 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | 9973 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
7947 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 9974 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
7948 /* dlclose (self); */ | 9975 /* dlclose (self); */ |
7949 } | 9976 } |
9977 else | |
9978 puts (dlerror ()); | |
7950 | 9979 |
7951 exit (status); | 9980 exit (status); |
7952 } | 9981 } |
7953 EOF | 9982 EOF |
7954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7955 (eval $ac_link) 2>&5 | 9984 (eval $ac_link) 2>&5 |
7956 ac_status=$? | 9985 ac_status=$? |
7957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7958 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 9987 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
7959 (./conftest; exit; ) 2>/dev/null | 9988 (./conftest; exit; ) >&5 2>/dev/null |
7960 lt_status=$? | 9989 lt_status=$? |
7961 case x$lt_status in | 9990 case x$lt_status in |
7962 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | 9991 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
7963 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | 9992 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
7964 x$lt_unknown|x*) lt_cv_dlopen_self=no ;; | 9993 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
7965 esac | 9994 esac |
7966 else : | 9995 else : |
7967 # compilation failed | 9996 # compilation failed |
7968 lt_cv_dlopen_self=no | 9997 lt_cv_dlopen_self=no |
7969 fi | 9998 fi |
7970 fi | 9999 fi |
7971 rm -fr conftest* | 10000 rm -fr conftest* |
7972 | 10001 |
7973 | 10002 |
7974 fi | 10003 fi |
7975 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 | 10004 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
7976 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 | 10005 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } |
7977 | 10006 |
7978 if test "x$lt_cv_dlopen_self" = xyes; then | 10007 if test "x$lt_cv_dlopen_self" = xyes; then |
7979 LDFLAGS="$LDFLAGS $link_static_flag" | 10008 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
7980 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 | 10009 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
7981 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 | 10010 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } |
7982 if test "${lt_cv_dlopen_self_static+set}" = set; then | 10011 if test "${lt_cv_dlopen_self_static+set}" = set; then |
7983 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10012 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7984 else | 10013 else |
7985 if test "$cross_compiling" = yes; then : | 10014 if test "$cross_compiling" = yes; then : |
7986 lt_cv_dlopen_self_static=cross | 10015 lt_cv_dlopen_self_static=cross |
7987 else | 10016 else |
7988 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 10017 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7989 lt_status=$lt_dlunknown | 10018 lt_status=$lt_dlunknown |
7990 cat > conftest.$ac_ext <<EOF | 10019 cat > conftest.$ac_ext <<EOF |
7991 #line 7991 "configure" | 10020 #line 10020 "configure" |
7992 #include "confdefs.h" | 10021 #include "confdefs.h" |
7993 | 10022 |
7994 #if HAVE_DLFCN_H | 10023 #if HAVE_DLFCN_H |
7995 #include <dlfcn.h> | 10024 #include <dlfcn.h> |
7996 #endif | 10025 #endif |
8043 { | 10072 { |
8044 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | 10073 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
8045 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 10074 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
8046 /* dlclose (self); */ | 10075 /* dlclose (self); */ |
8047 } | 10076 } |
10077 else | |
10078 puts (dlerror ()); | |
8048 | 10079 |
8049 exit (status); | 10080 exit (status); |
8050 } | 10081 } |
8051 EOF | 10082 EOF |
8052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8053 (eval $ac_link) 2>&5 | 10084 (eval $ac_link) 2>&5 |
8054 ac_status=$? | 10085 ac_status=$? |
8055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10086 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8056 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 10087 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
8057 (./conftest; exit; ) 2>/dev/null | 10088 (./conftest; exit; ) >&5 2>/dev/null |
8058 lt_status=$? | 10089 lt_status=$? |
8059 case x$lt_status in | 10090 case x$lt_status in |
8060 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | 10091 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
8061 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | 10092 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
8062 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; | 10093 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
8063 esac | 10094 esac |
8064 else : | 10095 else : |
8065 # compilation failed | 10096 # compilation failed |
8066 lt_cv_dlopen_self_static=no | 10097 lt_cv_dlopen_self_static=no |
8067 fi | 10098 fi |
8068 fi | 10099 fi |
8069 rm -fr conftest* | 10100 rm -fr conftest* |
8070 | 10101 |
8071 | 10102 |
8072 fi | 10103 fi |
8073 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 | 10104 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
8074 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 | 10105 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } |
8075 fi | 10106 fi |
8076 | 10107 |
8077 CPPFLAGS="$save_CPPFLAGS" | 10108 CPPFLAGS="$save_CPPFLAGS" |
8078 LDFLAGS="$save_LDFLAGS" | 10109 LDFLAGS="$save_LDFLAGS" |
8079 LIBS="$save_LIBS" | 10110 LIBS="$save_LIBS" |
8090 *) enable_dlopen_self_static=unknown ;; | 10121 *) enable_dlopen_self_static=unknown ;; |
8091 esac | 10122 esac |
8092 fi | 10123 fi |
8093 | 10124 |
8094 | 10125 |
8095 # Report which librarie types wil actually be built | 10126 # Report which library types will actually be built |
8096 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 | 10127 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
8097 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 | 10128 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } |
8098 echo "$as_me:$LINENO: result: $can_build_shared" >&5 | 10129 { echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
8099 echo "${ECHO_T}$can_build_shared" >&6 | 10130 echo "${ECHO_T}$can_build_shared" >&6; } |
8100 | 10131 |
8101 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 | 10132 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
8102 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 | 10133 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } |
8103 test "$can_build_shared" = "no" && enable_shared=no | 10134 test "$can_build_shared" = "no" && enable_shared=no |
8104 | 10135 |
8105 # On AIX, shared libraries and static libraries use the same namespace, and | 10136 # On AIX, shared libraries and static libraries use the same namespace, and |
8106 # are all built from PIC. | 10137 # are all built from PIC. |
8107 case "$host_os" in | 10138 case $host_os in |
8108 aix3*) | 10139 aix3*) |
8109 test "$enable_shared" = yes && enable_static=no | 10140 test "$enable_shared" = yes && enable_static=no |
8110 if test -n "$RANLIB"; then | 10141 if test -n "$RANLIB"; then |
8111 archive_cmds="$archive_cmds~\$RANLIB \$lib" | 10142 archive_cmds="$archive_cmds~\$RANLIB \$lib" |
8112 postinstall_cmds='$RANLIB $lib' | 10143 postinstall_cmds='$RANLIB $lib' |
8113 fi | 10144 fi |
8114 ;; | 10145 ;; |
8115 | 10146 |
8116 aix4*) | 10147 aix4* | aix5*) |
8117 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then | 10148 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
8118 test "$enable_shared" = yes && enable_static=no | 10149 test "$enable_shared" = yes && enable_static=no |
8119 fi | 10150 fi |
8120 ;; | |
8121 darwin* | rhapsody*) | |
8122 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | |
8123 archive_cmds_need_lc=no | |
8124 case "$host_os" in | |
8125 rhapsody* | darwin1.[012]) | |
8126 allow_undefined_flag='-undefined suppress' | |
8127 ;; | |
8128 *) # Darwin 1.3 on | |
8129 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' | |
8130 ;; | |
8131 esac | |
8132 # FIXME: Relying on posixy $() will cause problems for | |
8133 # cross-compilation, but unfortunately the echo tests do not | |
8134 # yet detect zsh echo's removal of \ escapes. Also zsh mangles | |
8135 # `"' quotes if we put them in here... so don't! | |
8136 output_verbose_link_cmd='echo' | |
8137 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' | |
8138 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | |
8139 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | |
8140 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
8141 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
8142 hardcode_direct=no | |
8143 hardcode_automatic=yes | |
8144 hardcode_shlibpath_var=unsupported | |
8145 whole_archive_flag_spec='-all_load $convenience' | |
8146 link_all_deplibs=yes | |
8147 fi | |
8148 ;; | 10151 ;; |
8149 esac | 10152 esac |
8150 echo "$as_me:$LINENO: result: $enable_shared" >&5 | 10153 { echo "$as_me:$LINENO: result: $enable_shared" >&5 |
8151 echo "${ECHO_T}$enable_shared" >&6 | 10154 echo "${ECHO_T}$enable_shared" >&6; } |
8152 | 10155 |
8153 echo "$as_me:$LINENO: checking whether to build static libraries" >&5 | 10156 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
8154 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 | 10157 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } |
8155 # Make sure either enable_shared or enable_static is yes. | 10158 # Make sure either enable_shared or enable_static is yes. |
8156 test "$enable_shared" = yes || enable_static=yes | 10159 test "$enable_shared" = yes || enable_static=yes |
8157 echo "$as_me:$LINENO: result: $enable_static" >&5 | 10160 { echo "$as_me:$LINENO: result: $enable_static" >&5 |
8158 echo "${ECHO_T}$enable_static" >&6 | 10161 echo "${ECHO_T}$enable_static" >&6; } |
8159 | 10162 |
8160 # The else clause should only fire when bootstrapping the | 10163 # The else clause should only fire when bootstrapping the |
8161 # libtool distribution, otherwise you forgot to ship ltmain.sh | 10164 # libtool distribution, otherwise you forgot to ship ltmain.sh |
8162 # with your package, and you will get complaints that there are | 10165 # with your package, and you will get complaints that there are |
8163 # no rules to generate ltmain.sh. | 10166 # no rules to generate ltmain.sh. |
8168 setopt NO_GLOB_SUBST | 10171 setopt NO_GLOB_SUBST |
8169 fi | 10172 fi |
8170 # Now quote all the things that may contain metacharacters while being | 10173 # Now quote all the things that may contain metacharacters while being |
8171 # careful not to overquote the AC_SUBSTed values. We take copies of the | 10174 # careful not to overquote the AC_SUBSTed values. We take copies of the |
8172 # variables and quote the copies for generation of the libtool script. | 10175 # variables and quote the copies for generation of the libtool script. |
8173 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 10176 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
10177 SED SHELL STRIP \ | |
8174 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 10178 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
8175 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 10179 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
8176 deplibs_check_method reload_flag reload_cmds need_locks \ | 10180 deplibs_check_method reload_flag reload_cmds need_locks \ |
8177 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 10181 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
8178 lt_cv_sys_global_symbol_to_c_name_address \ | 10182 lt_cv_sys_global_symbol_to_c_name_address \ |
8271 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 10275 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
8272 # General Public License for more details. | 10276 # General Public License for more details. |
8273 # | 10277 # |
8274 # You should have received a copy of the GNU General Public License | 10278 # You should have received a copy of the GNU General Public License |
8275 # along with this program; if not, write to the Free Software | 10279 # along with this program; if not, write to the Free Software |
8276 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 10280 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
8277 # | 10281 # |
8278 # As a special exception to the GNU General Public License, if you | 10282 # As a special exception to the GNU General Public License, if you |
8279 # distribute this file as part of a program that contains a | 10283 # distribute this file as part of a program that contains a |
8280 # configuration script generated by Autoconf, you may include it under | 10284 # configuration script generated by Autoconf, you may include it under |
8281 # the same distribution terms that you use for the rest of that program. | 10285 # the same distribution terms that you use for the rest of that program. |
8282 | 10286 |
8283 # A sed program that does not truncate output. | 10287 # A sed program that does not truncate output. |
8284 SED=$lt_SED | 10288 SED=$lt_SED |
8285 | 10289 |
8286 # Sed that helps us avoid accidentally triggering echo(1) options like -n. | 10290 # Sed that helps us avoid accidentally triggering echo(1) options like -n. |
8287 Xsed="$SED -e s/^X//" | 10291 Xsed="$SED -e 1s/^X//" |
8288 | 10292 |
8289 # The HP-UX ksh and POSIX shell print the target directory to stdout | 10293 # The HP-UX ksh and POSIX shell print the target directory to stdout |
8290 # if CDPATH is set. | 10294 # if CDPATH is set. |
8291 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi | 10295 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
8292 | 10296 |
8293 # The names of the tagged configurations supported by this script. | 10297 # The names of the tagged configurations supported by this script. |
8294 available_tags= | 10298 available_tags= |
8295 | 10299 |
8296 # ### BEGIN LIBTOOL CONFIG | 10300 # ### BEGIN LIBTOOL CONFIG |
8316 fast_install=$enable_fast_install | 10320 fast_install=$enable_fast_install |
8317 | 10321 |
8318 # The host system. | 10322 # The host system. |
8319 host_alias=$host_alias | 10323 host_alias=$host_alias |
8320 host=$host | 10324 host=$host |
10325 host_os=$host_os | |
10326 | |
10327 # The build system. | |
10328 build_alias=$build_alias | |
10329 build=$build | |
10330 build_os=$build_os | |
8321 | 10331 |
8322 # An echo program that does not interpret backslashes. | 10332 # An echo program that does not interpret backslashes. |
8323 echo=$lt_echo | 10333 echo=$lt_echo |
8324 | 10334 |
8325 # The archiver. | 10335 # The archiver. |
8327 AR_FLAGS=$lt_AR_FLAGS | 10337 AR_FLAGS=$lt_AR_FLAGS |
8328 | 10338 |
8329 # A C compiler. | 10339 # A C compiler. |
8330 LTCC=$lt_LTCC | 10340 LTCC=$lt_LTCC |
8331 | 10341 |
10342 # LTCC compiler flags. | |
10343 LTCFLAGS=$lt_LTCFLAGS | |
10344 | |
8332 # A language-specific compiler. | 10345 # A language-specific compiler. |
8333 CC=$lt_compiler | 10346 CC=$lt_compiler |
8334 | 10347 |
8335 # Is the compiler the GNU C compiler? | 10348 # Is the compiler the GNU C compiler? |
8336 with_gcc=$GCC | 10349 with_gcc=$GCC |
8346 | 10359 |
8347 # A BSD-compatible nm program. | 10360 # A BSD-compatible nm program. |
8348 NM=$lt_NM | 10361 NM=$lt_NM |
8349 | 10362 |
8350 # A symbol stripping program | 10363 # A symbol stripping program |
8351 STRIP=$STRIP | 10364 STRIP=$lt_STRIP |
8352 | 10365 |
8353 # Used to examine libraries when file_magic_cmd begins "file" | 10366 # Used to examine libraries when file_magic_cmd begins "file" |
8354 MAGIC_CMD=$MAGIC_CMD | 10367 MAGIC_CMD=$MAGIC_CMD |
8355 | 10368 |
8356 # Used on cygwin: DLL creation program. | 10369 # Used on cygwin: DLL creation program. |
8377 | 10390 |
8378 # Old archive suffix (normally "a"). | 10391 # Old archive suffix (normally "a"). |
8379 libext="$libext" | 10392 libext="$libext" |
8380 | 10393 |
8381 # Shared library suffix (normally ".so"). | 10394 # Shared library suffix (normally ".so"). |
8382 shrext='$shrext' | 10395 shrext_cmds='$shrext_cmds' |
8383 | 10396 |
8384 # Executable file suffix (normally ""). | 10397 # Executable file suffix (normally ""). |
8385 exeext="$exeext" | 10398 exeext="$exeext" |
8386 | 10399 |
8387 # Additional compiler flags for building library objects. | 10400 # Additional compiler flags for building library objects. |
8392 max_cmd_len=$lt_cv_sys_max_cmd_len | 10405 max_cmd_len=$lt_cv_sys_max_cmd_len |
8393 | 10406 |
8394 # Does compiler simultaneously support -c and -o options? | 10407 # Does compiler simultaneously support -c and -o options? |
8395 compiler_c_o=$lt_lt_cv_prog_compiler_c_o | 10408 compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
8396 | 10409 |
8397 # Must we lock files when doing compilation ? | 10410 # Must we lock files when doing compilation? |
8398 need_locks=$lt_need_locks | 10411 need_locks=$lt_need_locks |
8399 | 10412 |
8400 # Do we need the lib prefix for modules? | 10413 # Do we need the lib prefix for modules? |
8401 need_lib_prefix=$need_lib_prefix | 10414 need_lib_prefix=$need_lib_prefix |
8402 | 10415 |
8619 | 10632 |
8620 else | 10633 else |
8621 # If there is no Makefile yet, we rely on a make rule to execute | 10634 # If there is no Makefile yet, we rely on a make rule to execute |
8622 # `config.status --recheck' to rerun these tests and create the | 10635 # `config.status --recheck' to rerun these tests and create the |
8623 # libtool script then. | 10636 # libtool script then. |
8624 test -f Makefile && make "$ltmain" | 10637 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
10638 if test -f "$ltmain_in"; then | |
10639 test -f Makefile && make "$ltmain" | |
10640 fi | |
8625 fi | 10641 fi |
8626 | 10642 |
8627 | 10643 |
8628 ac_ext=c | 10644 ac_ext=c |
8629 ac_cpp='$CPP $CPPFLAGS' | 10645 ac_cpp='$CPP $CPPFLAGS' |
8632 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 10648 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
8633 | 10649 |
8634 CC="$lt_save_CC" | 10650 CC="$lt_save_CC" |
8635 | 10651 |
8636 | 10652 |
8637 # Check whether --with-tags or --without-tags was given. | 10653 # Check whether --with-tags was given. |
8638 if test "${with_tags+set}" = set; then | 10654 if test "${with_tags+set}" = set; then |
8639 withval="$with_tags" | 10655 withval=$with_tags; tagnames="$withval" |
8640 tagnames="$withval" | 10656 fi |
8641 fi; | 10657 |
8642 | 10658 |
8643 if test -f "$ltmain" && test -n "$tagnames"; then | 10659 if test -f "$ltmain" && test -n "$tagnames"; then |
8644 if test ! -f "${ofile}"; then | 10660 if test ! -f "${ofile}"; then |
8645 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 | 10661 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 |
8646 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} | 10662 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} |
8653 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} | 10669 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} |
8654 else | 10670 else |
8655 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 | 10671 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 |
8656 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} | 10672 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} |
8657 fi | 10673 fi |
10674 fi | |
10675 if test -z "$LTCFLAGS"; then | |
10676 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" | |
8658 fi | 10677 fi |
8659 | 10678 |
8660 # Extract list of available tagged configurations in $ofile. | 10679 # Extract list of available tagged configurations in $ofile. |
8661 # Note that this assumes the entire list is on one line. | 10680 # Note that this assumes the entire list is on one line. |
8662 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` | 10681 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` |
8684 if test -n "$tagname"; then | 10703 if test -n "$tagname"; then |
8685 echo appending configuration tag \"$tagname\" to $ofile | 10704 echo appending configuration tag \"$tagname\" to $ofile |
8686 | 10705 |
8687 case $tagname in | 10706 case $tagname in |
8688 CXX) | 10707 CXX) |
8689 if test -n "$CXX" && test "X$CXX" != "Xno"; then | 10708 if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
8690 ac_ext=cc | 10709 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
10710 (test "X$CXX" != "Xg++"))) ; then | |
10711 ac_ext=cpp | |
8691 ac_cpp='$CXXCPP $CPPFLAGS' | 10712 ac_cpp='$CXXCPP $CPPFLAGS' |
8692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 10713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 10714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 10715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
8695 | 10716 |
8704 hardcode_direct_CXX=no | 10725 hardcode_direct_CXX=no |
8705 hardcode_libdir_flag_spec_CXX= | 10726 hardcode_libdir_flag_spec_CXX= |
8706 hardcode_libdir_flag_spec_ld_CXX= | 10727 hardcode_libdir_flag_spec_ld_CXX= |
8707 hardcode_libdir_separator_CXX= | 10728 hardcode_libdir_separator_CXX= |
8708 hardcode_minus_L_CXX=no | 10729 hardcode_minus_L_CXX=no |
10730 hardcode_shlibpath_var_CXX=unsupported | |
8709 hardcode_automatic_CXX=no | 10731 hardcode_automatic_CXX=no |
8710 module_cmds_CXX= | 10732 module_cmds_CXX= |
8711 module_expsym_cmds_CXX= | 10733 module_expsym_cmds_CXX= |
8712 link_all_deplibs_CXX=unknown | 10734 link_all_deplibs_CXX=unknown |
8713 old_archive_cmds_CXX=$old_archive_cmds | 10735 old_archive_cmds_CXX=$old_archive_cmds |
8721 predeps_CXX= | 10743 predeps_CXX= |
8722 postdeps_CXX= | 10744 postdeps_CXX= |
8723 compiler_lib_search_path_CXX= | 10745 compiler_lib_search_path_CXX= |
8724 | 10746 |
8725 # Source file extension for C++ test sources. | 10747 # Source file extension for C++ test sources. |
8726 ac_ext=cc | 10748 ac_ext=cpp |
8727 | 10749 |
8728 # Object file extension for compiled C++ test sources. | 10750 # Object file extension for compiled C++ test sources. |
8729 objext=o | 10751 objext=o |
8730 objext_CXX=$objext | 10752 objext_CXX=$objext |
8731 | 10753 |
8732 # Code to be used in simple compile tests | 10754 # Code to be used in simple compile tests |
8733 lt_simple_compile_test_code="int some_variable = 0;\n" | 10755 lt_simple_compile_test_code="int some_variable = 0;\n" |
8734 | 10756 |
8735 # Code to be used in simple link tests | 10757 # Code to be used in simple link tests |
8736 lt_simple_link_test_code='int main(int, char *) { return(0); }\n' | 10758 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' |
8737 | 10759 |
8738 # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 10760 # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
8739 | 10761 |
8740 # If no C compiler was specified, use CC. | 10762 # If no C compiler was specified, use CC. |
8741 LTCC=${LTCC-"$CC"} | 10763 LTCC=${LTCC-"$CC"} |
8742 | 10764 |
10765 # If no C compiler flags were specified, use CFLAGS. | |
10766 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | |
10767 | |
8743 # Allow CC to be a program name with arguments. | 10768 # Allow CC to be a program name with arguments. |
8744 compiler=$CC | 10769 compiler=$CC |
10770 | |
10771 | |
10772 # save warnings/boilerplate of simple test code | |
10773 ac_outfile=conftest.$ac_objext | |
10774 printf "$lt_simple_compile_test_code" >conftest.$ac_ext | |
10775 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | |
10776 _lt_compiler_boilerplate=`cat conftest.err` | |
10777 $rm conftest* | |
10778 | |
10779 ac_outfile=conftest.$ac_objext | |
10780 printf "$lt_simple_link_test_code" >conftest.$ac_ext | |
10781 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | |
10782 _lt_linker_boilerplate=`cat conftest.err` | |
10783 $rm conftest* | |
8745 | 10784 |
8746 | 10785 |
8747 # Allow CC to be a program name with arguments. | 10786 # Allow CC to be a program name with arguments. |
8748 lt_save_CC=$CC | 10787 lt_save_CC=$CC |
8749 lt_save_LD=$LD | 10788 lt_save_LD=$LD |
8752 lt_save_with_gnu_ld=$with_gnu_ld | 10791 lt_save_with_gnu_ld=$with_gnu_ld |
8753 lt_save_path_LD=$lt_cv_path_LD | 10792 lt_save_path_LD=$lt_cv_path_LD |
8754 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then | 10793 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then |
8755 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx | 10794 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx |
8756 else | 10795 else |
8757 unset lt_cv_prog_gnu_ld | 10796 $as_unset lt_cv_prog_gnu_ld |
8758 fi | 10797 fi |
8759 if test -n "${lt_cv_path_LDCXX+set}"; then | 10798 if test -n "${lt_cv_path_LDCXX+set}"; then |
8760 lt_cv_path_LD=$lt_cv_path_LDCXX | 10799 lt_cv_path_LD=$lt_cv_path_LDCXX |
8761 else | 10800 else |
8762 unset lt_cv_path_LD | 10801 $as_unset lt_cv_path_LD |
8763 fi | 10802 fi |
8764 test -z "${LDCXX+set}" || LD=$LDCXX | 10803 test -z "${LDCXX+set}" || LD=$LDCXX |
8765 CC=${CXX-"c++"} | 10804 CC=${CXX-"c++"} |
8766 compiler=$CC | 10805 compiler=$CC |
8767 compiler_CXX=$CC | 10806 compiler_CXX=$CC |
8768 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` | 10807 for cc_temp in $compiler""; do |
10808 case $cc_temp in | |
10809 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; | |
10810 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; | |
10811 \-*) ;; | |
10812 *) break;; | |
10813 esac | |
10814 done | |
10815 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | |
10816 | |
8769 | 10817 |
8770 # We don't want -fno-exception wen compiling C++ code, so set the | 10818 # We don't want -fno-exception wen compiling C++ code, so set the |
8771 # no_builtin_flag separately | 10819 # no_builtin_flag separately |
8772 if test "$GXX" = yes; then | 10820 if test "$GXX" = yes; then |
8773 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' | 10821 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' |
8777 | 10825 |
8778 if test "$GXX" = yes; then | 10826 if test "$GXX" = yes; then |
8779 # Set up default GNU C++ configuration | 10827 # Set up default GNU C++ configuration |
8780 | 10828 |
8781 | 10829 |
8782 # Check whether --with-gnu-ld or --without-gnu-ld was given. | 10830 # Check whether --with-gnu-ld was given. |
8783 if test "${with_gnu_ld+set}" = set; then | 10831 if test "${with_gnu_ld+set}" = set; then |
8784 withval="$with_gnu_ld" | 10832 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
8785 test "$withval" = no || with_gnu_ld=yes | |
8786 else | 10833 else |
8787 with_gnu_ld=no | 10834 with_gnu_ld=no |
8788 fi; | 10835 fi |
10836 | |
8789 ac_prog=ld | 10837 ac_prog=ld |
8790 if test "$GCC" = yes; then | 10838 if test "$GCC" = yes; then |
8791 # Check if gcc -print-prog-name=ld gives a path. | 10839 # Check if gcc -print-prog-name=ld gives a path. |
8792 echo "$as_me:$LINENO: checking for ld used by $CC" >&5 | 10840 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
8793 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 | 10841 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } |
8794 case $host in | 10842 case $host in |
8795 *-*-mingw*) | 10843 *-*-mingw*) |
8796 # gcc leaves a trailing carriage return which upsets mingw | 10844 # gcc leaves a trailing carriage return which upsets mingw |
8797 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 10845 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
8798 *) | 10846 *) |
8800 esac | 10848 esac |
8801 case $ac_prog in | 10849 case $ac_prog in |
8802 # Accept absolute paths. | 10850 # Accept absolute paths. |
8803 [\\/]* | ?:[\\/]*) | 10851 [\\/]* | ?:[\\/]*) |
8804 re_direlt='/[^/][^/]*/\.\./' | 10852 re_direlt='/[^/][^/]*/\.\./' |
8805 # Canonicalize the path of ld | 10853 # Canonicalize the pathname of ld |
8806 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` | 10854 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` |
8807 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | 10855 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
8808 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` | 10856 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` |
8809 done | 10857 done |
8810 test -z "$LD" && LD="$ac_prog" | 10858 test -z "$LD" && LD="$ac_prog" |
8817 # If it is relative, then search for the first ld in PATH. | 10865 # If it is relative, then search for the first ld in PATH. |
8818 with_gnu_ld=unknown | 10866 with_gnu_ld=unknown |
8819 ;; | 10867 ;; |
8820 esac | 10868 esac |
8821 elif test "$with_gnu_ld" = yes; then | 10869 elif test "$with_gnu_ld" = yes; then |
8822 echo "$as_me:$LINENO: checking for GNU ld" >&5 | 10870 { echo "$as_me:$LINENO: checking for GNU ld" >&5 |
8823 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 | 10871 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } |
8824 else | 10872 else |
8825 echo "$as_me:$LINENO: checking for non-GNU ld" >&5 | 10873 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
8826 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 | 10874 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } |
8827 fi | 10875 fi |
8828 if test "${lt_cv_path_LD+set}" = set; then | 10876 if test "${lt_cv_path_LD+set}" = set; then |
8829 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10877 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8830 else | 10878 else |
8831 if test -z "$LD"; then | 10879 if test -z "$LD"; then |
8834 IFS="$lt_save_ifs" | 10882 IFS="$lt_save_ifs" |
8835 test -z "$ac_dir" && ac_dir=. | 10883 test -z "$ac_dir" && ac_dir=. |
8836 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 10884 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
8837 lt_cv_path_LD="$ac_dir/$ac_prog" | 10885 lt_cv_path_LD="$ac_dir/$ac_prog" |
8838 # Check to see if the program is GNU ld. I'd rather use --version, | 10886 # Check to see if the program is GNU ld. I'd rather use --version, |
8839 # but apparently some GNU ld's only accept -v. | 10887 # but apparently some variants of GNU ld only accept -v. |
8840 # Break only if it was the GNU/non-GNU ld that we prefer. | 10888 # Break only if it was the GNU/non-GNU ld that we prefer. |
8841 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | 10889 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
8842 *GNU* | *'with BFD'*) | 10890 *GNU* | *'with BFD'*) |
8843 test "$with_gnu_ld" != no && break | 10891 test "$with_gnu_ld" != no && break |
8844 ;; | 10892 ;; |
8854 fi | 10902 fi |
8855 fi | 10903 fi |
8856 | 10904 |
8857 LD="$lt_cv_path_LD" | 10905 LD="$lt_cv_path_LD" |
8858 if test -n "$LD"; then | 10906 if test -n "$LD"; then |
8859 echo "$as_me:$LINENO: result: $LD" >&5 | 10907 { echo "$as_me:$LINENO: result: $LD" >&5 |
8860 echo "${ECHO_T}$LD" >&6 | 10908 echo "${ECHO_T}$LD" >&6; } |
8861 else | 10909 else |
8862 echo "$as_me:$LINENO: result: no" >&5 | 10910 { echo "$as_me:$LINENO: result: no" >&5 |
8863 echo "${ECHO_T}no" >&6 | 10911 echo "${ECHO_T}no" >&6; } |
8864 fi | 10912 fi |
8865 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 | 10913 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
8866 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} | 10914 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
8867 { (exit 1); exit 1; }; } | 10915 { (exit 1); exit 1; }; } |
8868 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 | 10916 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
8869 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 | 10917 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } |
8870 if test "${lt_cv_prog_gnu_ld+set}" = set; then | 10918 if test "${lt_cv_prog_gnu_ld+set}" = set; then |
8871 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10919 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8872 else | 10920 else |
8873 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 10921 # I'd rather use --version here, but apparently some GNU lds only accept -v. |
8874 case `"$LD" -v 2>&1 </dev/null` in | 10922 case `$LD -v 2>&1 </dev/null` in |
8875 *GNU* | *'with BFD'*) | 10923 *GNU* | *'with BFD'*) |
8876 lt_cv_prog_gnu_ld=yes | 10924 lt_cv_prog_gnu_ld=yes |
8877 ;; | 10925 ;; |
8878 *) | 10926 *) |
8879 lt_cv_prog_gnu_ld=no | 10927 lt_cv_prog_gnu_ld=no |
8880 ;; | 10928 ;; |
8881 esac | 10929 esac |
8882 fi | 10930 fi |
8883 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 | 10931 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
8884 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 | 10932 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } |
8885 with_gnu_ld=$lt_cv_prog_gnu_ld | 10933 with_gnu_ld=$lt_cv_prog_gnu_ld |
8886 | 10934 |
8887 | 10935 |
8888 | 10936 |
8889 # Check if GNU C++ uses GNU ld as the underlying linker, since the | 10937 # Check if GNU C++ uses GNU ld as the underlying linker, since the |
8914 # A generic and very simple default shared library creation | 10962 # A generic and very simple default shared library creation |
8915 # command for GNU C++ for the case where it uses the native | 10963 # command for GNU C++ for the case where it uses the native |
8916 # linker, instead of GNU ld. If possible, this setting should | 10964 # linker, instead of GNU ld. If possible, this setting should |
8917 # overridden to take advantage of the native linker features on | 10965 # overridden to take advantage of the native linker features on |
8918 # the platform it is being used on. | 10966 # the platform it is being used on. |
8919 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' | 10967 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
8920 fi | 10968 fi |
8921 | 10969 |
8922 # Commands to make compiler produce verbose output that lists | 10970 # Commands to make compiler produce verbose output that lists |
8923 # what "hidden" libraries, object files and flags are used when | 10971 # what "hidden" libraries, object files and flags are used when |
8924 # linking a shared library. | 10972 # linking a shared library. |
8929 with_gnu_ld=no | 10977 with_gnu_ld=no |
8930 wlarc= | 10978 wlarc= |
8931 fi | 10979 fi |
8932 | 10980 |
8933 # PORTME: fill in a description of your system's C++ link characteristics | 10981 # PORTME: fill in a description of your system's C++ link characteristics |
8934 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 10982 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
8935 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 10983 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
8936 ld_shlibs_CXX=yes | 10984 ld_shlibs_CXX=yes |
8937 case $host_os in | 10985 case $host_os in |
8938 aix3*) | 10986 aix3*) |
8939 # FIXME: insert proper C++ library support | 10987 # FIXME: insert proper C++ library support |
8940 ld_shlibs_CXX=no | 10988 ld_shlibs_CXX=no |
8959 aix_use_runtimelinking=yes | 11007 aix_use_runtimelinking=yes |
8960 break | 11008 break |
8961 ;; | 11009 ;; |
8962 esac | 11010 esac |
8963 done | 11011 done |
11012 ;; | |
8964 esac | 11013 esac |
8965 | 11014 |
8966 exp_sym_flag='-bexport' | 11015 exp_sym_flag='-bexport' |
8967 no_entry_flag='-bnoentry' | 11016 no_entry_flag='-bnoentry' |
8968 fi | 11017 fi |
8977 hardcode_direct_CXX=yes | 11026 hardcode_direct_CXX=yes |
8978 hardcode_libdir_separator_CXX=':' | 11027 hardcode_libdir_separator_CXX=':' |
8979 link_all_deplibs_CXX=yes | 11028 link_all_deplibs_CXX=yes |
8980 | 11029 |
8981 if test "$GXX" = yes; then | 11030 if test "$GXX" = yes; then |
8982 case $host_os in aix4.012|aix4.012.*) | 11031 case $host_os in aix4.[012]|aix4.[012].*) |
8983 # We only want to do this on AIX 4.2 and lower, the check | 11032 # We only want to do this on AIX 4.2 and lower, the check |
8984 # below for broken collect2 doesn't work under 4.3+ | 11033 # below for broken collect2 doesn't work under 4.3+ |
8985 collect2name=`${CC} -print-prog-name=collect2` | 11034 collect2name=`${CC} -print-prog-name=collect2` |
8986 if test -f "$collect2name" && \ | 11035 if test -f "$collect2name" && \ |
8987 strings "$collect2name" | grep resolve_lib_name >/dev/null | 11036 strings "$collect2name" | grep resolve_lib_name >/dev/null |
8996 # to unsupported forces relinking | 11045 # to unsupported forces relinking |
8997 hardcode_minus_L_CXX=yes | 11046 hardcode_minus_L_CXX=yes |
8998 hardcode_libdir_flag_spec_CXX='-L$libdir' | 11047 hardcode_libdir_flag_spec_CXX='-L$libdir' |
8999 hardcode_libdir_separator_CXX= | 11048 hardcode_libdir_separator_CXX= |
9000 fi | 11049 fi |
11050 ;; | |
9001 esac | 11051 esac |
9002 shared_flag='-shared' | 11052 shared_flag='-shared' |
11053 if test "$aix_use_runtimelinking" = yes; then | |
11054 shared_flag="$shared_flag "'${wl}-G' | |
11055 fi | |
9003 else | 11056 else |
9004 # not using gcc | 11057 # not using gcc |
9005 if test "$host_cpu" = ia64; then | 11058 if test "$host_cpu" = ia64; then |
9006 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 11059 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
9007 # chokes on -Wl,-G. The following line is correct: | 11060 # chokes on -Wl,-G. The following line is correct: |
9022 # Warning - without using the other runtime loading flags (-brtl), | 11075 # Warning - without using the other runtime loading flags (-brtl), |
9023 # -berok will link without error, but may produce a broken library. | 11076 # -berok will link without error, but may produce a broken library. |
9024 allow_undefined_flag_CXX='-berok' | 11077 allow_undefined_flag_CXX='-berok' |
9025 # Determine the default libpath from the value encoded in an empty executable. | 11078 # Determine the default libpath from the value encoded in an empty executable. |
9026 cat >conftest.$ac_ext <<_ACEOF | 11079 cat >conftest.$ac_ext <<_ACEOF |
9027 #line $LINENO "configure" | 11080 /* confdefs.h. */ |
9028 #include "confdefs.h" | 11081 _ACEOF |
9029 | 11082 cat confdefs.h >>conftest.$ac_ext |
9030 #ifdef F77_DUMMY_MAIN | 11083 cat >>conftest.$ac_ext <<_ACEOF |
9031 # ifdef __cplusplus | 11084 /* end confdefs.h. */ |
9032 extern "C" | 11085 |
9033 # endif | |
9034 int F77_DUMMY_MAIN() { return 1; } | |
9035 #endif | |
9036 int | 11086 int |
9037 main () | 11087 main () |
9038 { | 11088 { |
9039 | 11089 |
9040 ; | 11090 ; |
9041 return 0; | 11091 return 0; |
9042 } | 11092 } |
9043 _ACEOF | 11093 _ACEOF |
9044 rm -f conftest.$ac_objext conftest$ac_exeext | 11094 rm -f conftest.$ac_objext conftest$ac_exeext |
9045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11095 if { (ac_try="$ac_link" |
9046 (eval $ac_link) 2>&5 | 11096 case "(($ac_try" in |
11097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11098 *) ac_try_echo=$ac_try;; | |
11099 esac | |
11100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11101 (eval "$ac_link") 2>conftest.er1 | |
11102 ac_status=$? | |
11103 grep -v '^ *+' conftest.er1 >conftest.err | |
11104 rm -f conftest.er1 | |
11105 cat conftest.err >&5 | |
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11107 (exit $ac_status); } && | |
11108 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | |
11109 { (case "(($ac_try" in | |
11110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11111 *) ac_try_echo=$ac_try;; | |
11112 esac | |
11113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11114 (eval "$ac_try") 2>&5 | |
9047 ac_status=$? | 11115 ac_status=$? |
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9049 (exit $ac_status); } && | 11117 (exit $ac_status); }; } && |
9050 { ac_try='test -s conftest$ac_exeext' | 11118 { ac_try='test -s conftest$ac_exeext' |
9051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11119 { (case "(($ac_try" in |
9052 (eval $ac_try) 2>&5 | 11120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11121 *) ac_try_echo=$ac_try;; | |
11122 esac | |
11123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11124 (eval "$ac_try") 2>&5 | |
9053 ac_status=$? | 11125 ac_status=$? |
9054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9055 (exit $ac_status); }; }; then | 11127 (exit $ac_status); }; }; then |
9056 | 11128 |
9057 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | 11129 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
9059 # Check for a 64-bit object if we didn't find anything. | 11131 # Check for a 64-bit object if we didn't find anything. |
9060 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | 11132 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
9061 }'`; fi | 11133 }'`; fi |
9062 else | 11134 else |
9063 echo "$as_me: failed program was:" >&5 | 11135 echo "$as_me: failed program was:" >&5 |
9064 cat conftest.$ac_ext >&5 | 11136 sed 's/^/| /' conftest.$ac_ext >&5 |
9065 fi | 11137 |
9066 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 11138 |
11139 fi | |
11140 | |
11141 rm -f core conftest.err conftest.$ac_objext \ | |
11142 conftest$ac_exeext conftest.$ac_ext | |
9067 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 11143 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
9068 | 11144 |
9069 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" | 11145 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
9070 | 11146 |
9071 archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" | 11147 archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
9072 else | 11148 else |
9073 if test "$host_cpu" = ia64; then | 11149 if test "$host_cpu" = ia64; then |
9074 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' | 11150 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' |
9075 allow_undefined_flag_CXX="-z nodefs" | 11151 allow_undefined_flag_CXX="-z nodefs" |
9076 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | 11152 archive_expsym_cmds_CXX="\$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" |
9077 else | 11153 else |
9078 # Determine the default libpath from the value encoded in an empty executable. | 11154 # Determine the default libpath from the value encoded in an empty executable. |
9079 cat >conftest.$ac_ext <<_ACEOF | 11155 cat >conftest.$ac_ext <<_ACEOF |
9080 #line $LINENO "configure" | 11156 /* confdefs.h. */ |
9081 #include "confdefs.h" | 11157 _ACEOF |
9082 | 11158 cat confdefs.h >>conftest.$ac_ext |
9083 #ifdef F77_DUMMY_MAIN | 11159 cat >>conftest.$ac_ext <<_ACEOF |
9084 # ifdef __cplusplus | 11160 /* end confdefs.h. */ |
9085 extern "C" | 11161 |
9086 # endif | |
9087 int F77_DUMMY_MAIN() { return 1; } | |
9088 #endif | |
9089 int | 11162 int |
9090 main () | 11163 main () |
9091 { | 11164 { |
9092 | 11165 |
9093 ; | 11166 ; |
9094 return 0; | 11167 return 0; |
9095 } | 11168 } |
9096 _ACEOF | 11169 _ACEOF |
9097 rm -f conftest.$ac_objext conftest$ac_exeext | 11170 rm -f conftest.$ac_objext conftest$ac_exeext |
9098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11171 if { (ac_try="$ac_link" |
9099 (eval $ac_link) 2>&5 | 11172 case "(($ac_try" in |
11173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11174 *) ac_try_echo=$ac_try;; | |
11175 esac | |
11176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11177 (eval "$ac_link") 2>conftest.er1 | |
11178 ac_status=$? | |
11179 grep -v '^ *+' conftest.er1 >conftest.err | |
11180 rm -f conftest.er1 | |
11181 cat conftest.err >&5 | |
11182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11183 (exit $ac_status); } && | |
11184 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | |
11185 { (case "(($ac_try" in | |
11186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11187 *) ac_try_echo=$ac_try;; | |
11188 esac | |
11189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11190 (eval "$ac_try") 2>&5 | |
9100 ac_status=$? | 11191 ac_status=$? |
9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9102 (exit $ac_status); } && | 11193 (exit $ac_status); }; } && |
9103 { ac_try='test -s conftest$ac_exeext' | 11194 { ac_try='test -s conftest$ac_exeext' |
9104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11195 { (case "(($ac_try" in |
9105 (eval $ac_try) 2>&5 | 11196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11197 *) ac_try_echo=$ac_try;; | |
11198 esac | |
11199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11200 (eval "$ac_try") 2>&5 | |
9106 ac_status=$? | 11201 ac_status=$? |
9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11202 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9108 (exit $ac_status); }; }; then | 11203 (exit $ac_status); }; }; then |
9109 | 11204 |
9110 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | 11205 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
9112 # Check for a 64-bit object if we didn't find anything. | 11207 # Check for a 64-bit object if we didn't find anything. |
9113 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | 11208 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
9114 }'`; fi | 11209 }'`; fi |
9115 else | 11210 else |
9116 echo "$as_me: failed program was:" >&5 | 11211 echo "$as_me: failed program was:" >&5 |
9117 cat conftest.$ac_ext >&5 | 11212 sed 's/^/| /' conftest.$ac_ext >&5 |
9118 fi | 11213 |
9119 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 11214 |
11215 fi | |
11216 | |
11217 rm -f core conftest.err conftest.$ac_objext \ | |
11218 conftest$ac_exeext conftest.$ac_ext | |
9120 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 11219 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
9121 | 11220 |
9122 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" | 11221 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
9123 # Warning - without using the other run time loading flags, | 11222 # Warning - without using the other run time loading flags, |
9124 # -berok will link without error, but may produce a broken library. | 11223 # -berok will link without error, but may produce a broken library. |
9125 no_undefined_flag_CXX=' ${wl}-bernotok' | 11224 no_undefined_flag_CXX=' ${wl}-bernotok' |
9126 allow_undefined_flag_CXX=' ${wl}-berok' | 11225 allow_undefined_flag_CXX=' ${wl}-berok' |
9127 # -bexpall does not export symbols beginning with underscore (_) | |
9128 always_export_symbols_CXX=yes | |
9129 # Exported symbols can be pulled into shared objects from archives | 11226 # Exported symbols can be pulled into shared objects from archives |
9130 whole_archive_flag_spec_CXX=' ' | 11227 whole_archive_flag_spec_CXX='$convenience' |
9131 archive_cmds_need_lc_CXX=yes | 11228 archive_cmds_need_lc_CXX=yes |
9132 # This is similar to how AIX traditionally builds it's shared libraries. | 11229 # This is similar to how AIX traditionally builds its shared libraries. |
9133 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | 11230 archive_expsym_cmds_CXX="\$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' |
9134 fi | 11231 fi |
9135 fi | 11232 fi |
9136 ;; | 11233 ;; |
11234 | |
11235 beos*) | |
11236 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | |
11237 allow_undefined_flag_CXX=unsupported | |
11238 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | |
11239 # support --undefined. This deserves some investigation. FIXME | |
11240 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
11241 else | |
11242 ld_shlibs_CXX=no | |
11243 fi | |
11244 ;; | |
11245 | |
9137 chorus*) | 11246 chorus*) |
9138 case $cc_basename in | 11247 case $cc_basename in |
9139 *) | 11248 *) |
9140 # FIXME: insert proper C++ library support | 11249 # FIXME: insert proper C++ library support |
9141 ld_shlibs_CXX=no | 11250 ld_shlibs_CXX=no |
9150 allow_undefined_flag_CXX=unsupported | 11259 allow_undefined_flag_CXX=unsupported |
9151 always_export_symbols_CXX=no | 11260 always_export_symbols_CXX=no |
9152 enable_shared_with_static_runtimes_CXX=yes | 11261 enable_shared_with_static_runtimes_CXX=yes |
9153 | 11262 |
9154 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 11263 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
9155 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 11264 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
9156 # If the export-symbols file already is a .def file (1st line | 11265 # If the export-symbols file already is a .def file (1st line |
9157 # is EXPORTS), use it as is; otherwise, prepend... | 11266 # is EXPORTS), use it as is; otherwise, prepend... |
9158 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 11267 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
9159 cp $export_symbols $output_objdir/$soname.def; | 11268 cp $export_symbols $output_objdir/$soname.def; |
9160 else | 11269 else |
9161 echo EXPORTS > $output_objdir/$soname.def; | 11270 echo EXPORTS > $output_objdir/$soname.def; |
9162 cat $export_symbols >> $output_objdir/$soname.def; | 11271 cat $export_symbols >> $output_objdir/$soname.def; |
9163 fi~ | 11272 fi~ |
9164 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 11273 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
9165 else | 11274 else |
9166 ld_shlibs_CXX=no | 11275 ld_shlibs_CXX=no |
9167 fi | 11276 fi |
9168 ;; | 11277 ;; |
9169 | 11278 darwin* | rhapsody*) |
9170 darwin* | rhapsody*) | 11279 case $host_os in |
9171 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 11280 rhapsody* | darwin1.[012]) |
9172 archive_cmds_need_lc_CXX=no | 11281 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' |
9173 case "$host_os" in | 11282 ;; |
9174 rhapsody* | darwin1.[012]) | 11283 *) # Darwin 1.3 on |
9175 allow_undefined_flag_CXX='-undefined suppress' | 11284 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
9176 ;; | 11285 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
9177 *) # Darwin 1.3 on | 11286 else |
9178 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress' | 11287 case ${MACOSX_DEPLOYMENT_TARGET} in |
9179 ;; | 11288 10.[012]) |
9180 esac | 11289 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
9181 lt_int_apple_cc_single_mod=no | 11290 ;; |
9182 output_verbose_link_cmd='echo' | 11291 10.*) |
9183 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then | 11292 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' |
9184 lt_int_apple_cc_single_mod=yes | 11293 ;; |
9185 fi | 11294 esac |
9186 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 11295 fi |
9187 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 11296 ;; |
9188 else | 11297 esac |
9189 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 11298 archive_cmds_need_lc_CXX=no |
11299 hardcode_direct_CXX=no | |
11300 hardcode_automatic_CXX=yes | |
11301 hardcode_shlibpath_var_CXX=unsupported | |
11302 whole_archive_flag_spec_CXX='' | |
11303 link_all_deplibs_CXX=yes | |
11304 | |
11305 if test "$GXX" = yes ; then | |
11306 lt_int_apple_cc_single_mod=no | |
11307 output_verbose_link_cmd='echo' | |
11308 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then | |
11309 lt_int_apple_cc_single_mod=yes | |
9190 fi | 11310 fi |
9191 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | |
9192 | |
9193 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | |
9194 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 11311 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
9195 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 11312 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
9196 else | 11313 else |
9197 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 11314 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
11315 fi | |
11316 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' | |
11317 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds | |
11318 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | |
11319 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
11320 else | |
11321 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
11322 fi | |
11323 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
11324 else | |
11325 case $cc_basename in | |
11326 xlc*) | |
11327 output_verbose_link_cmd='echo' | |
11328 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' | |
11329 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' | |
11330 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds | |
11331 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
11332 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
11333 ;; | |
11334 *) | |
11335 ld_shlibs_CXX=no | |
11336 ;; | |
11337 esac | |
9198 fi | 11338 fi |
9199 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 11339 ;; |
9200 hardcode_direct_CXX=no | |
9201 hardcode_automatic_CXX=yes | |
9202 hardcode_shlibpath_var_CXX=unsupported | |
9203 whole_archive_flag_spec_CXX='-all_load $convenience' | |
9204 link_all_deplibs_CXX=yes | |
9205 fi | |
9206 ;; | |
9207 | 11340 |
9208 dgux*) | 11341 dgux*) |
9209 case $cc_basename in | 11342 case $cc_basename in |
9210 ec++) | 11343 ec++*) |
9211 # FIXME: insert proper C++ library support | 11344 # FIXME: insert proper C++ library support |
9212 ld_shlibs_CXX=no | 11345 ld_shlibs_CXX=no |
9213 ;; | 11346 ;; |
9214 ghcx) | 11347 ghcx*) |
9215 # Green Hills C++ Compiler | 11348 # Green Hills C++ Compiler |
9216 # FIXME: insert proper C++ library support | 11349 # FIXME: insert proper C++ library support |
9217 ld_shlibs_CXX=no | 11350 ld_shlibs_CXX=no |
9218 ;; | 11351 ;; |
9219 *) | 11352 *) |
9220 # FIXME: insert proper C++ library support | 11353 # FIXME: insert proper C++ library support |
9221 ld_shlibs_CXX=no | 11354 ld_shlibs_CXX=no |
9222 ;; | 11355 ;; |
9223 esac | 11356 esac |
9224 ;; | 11357 ;; |
9225 freebsd12*) | 11358 freebsd[12]*) |
9226 # C++ shared libraries reported to be fairly broken before switch to ELF | 11359 # C++ shared libraries reported to be fairly broken before switch to ELF |
9227 ld_shlibs_CXX=no | 11360 ld_shlibs_CXX=no |
9228 ;; | 11361 ;; |
9229 freebsd-elf*) | 11362 freebsd-elf*) |
9230 archive_cmds_need_lc_CXX=no | 11363 archive_cmds_need_lc_CXX=no |
9231 ;; | 11364 ;; |
9232 freebsd*) | 11365 freebsd* | kfreebsd*-gnu | dragonfly*) |
9233 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF | 11366 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
9234 # conventions | 11367 # conventions |
9235 ld_shlibs_CXX=yes | 11368 ld_shlibs_CXX=yes |
9236 ;; | 11369 ;; |
9237 gnu*) | 11370 gnu*) |
9244 hardcode_minus_L_CXX=yes # Not in the search PATH, | 11377 hardcode_minus_L_CXX=yes # Not in the search PATH, |
9245 # but as the default | 11378 # but as the default |
9246 # location of the library. | 11379 # location of the library. |
9247 | 11380 |
9248 case $cc_basename in | 11381 case $cc_basename in |
9249 CC) | 11382 CC*) |
9250 # FIXME: insert proper C++ library support | 11383 # FIXME: insert proper C++ library support |
9251 ld_shlibs_CXX=no | 11384 ld_shlibs_CXX=no |
9252 ;; | 11385 ;; |
9253 aCC) | 11386 aCC*) |
9254 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | 11387 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
9255 # Commands to make compiler produce verbose output that lists | 11388 # Commands to make compiler produce verbose output that lists |
9256 # what "hidden" libraries, object files and flags are used when | 11389 # what "hidden" libraries, object files and flags are used when |
9257 # linking a shared library. | 11390 # linking a shared library. |
9258 # | 11391 # |
9259 # There doesn't appear to be a way to prevent this compiler from | 11392 # There doesn't appear to be a way to prevent this compiler from |
9260 # explicitly linking system object files so we need to strip them | 11393 # explicitly linking system object files so we need to strip them |
9261 # from the output so that they don't get included in the library | 11394 # from the output so that they don't get included in the library |
9262 # dependencies. | 11395 # dependencies. |
9263 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 11396 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
9264 ;; | 11397 ;; |
9265 *) | 11398 *) |
9266 if test "$GXX" = yes; then | 11399 if test "$GXX" = yes; then |
9267 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | 11400 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
9268 else | 11401 else |
9272 ;; | 11405 ;; |
9273 esac | 11406 esac |
9274 ;; | 11407 ;; |
9275 hpux10*|hpux11*) | 11408 hpux10*|hpux11*) |
9276 if test $with_gnu_ld = no; then | 11409 if test $with_gnu_ld = no; then |
9277 case "$host_cpu" in | 11410 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
9278 hppa*64*) | 11411 hardcode_libdir_separator_CXX=: |
9279 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' | 11412 |
11413 case $host_cpu in | |
11414 hppa*64*|ia64*) | |
9280 hardcode_libdir_flag_spec_ld_CXX='+b $libdir' | 11415 hardcode_libdir_flag_spec_ld_CXX='+b $libdir' |
9281 hardcode_libdir_separator_CXX=: | |
9282 ;; | |
9283 ia64*) | |
9284 hardcode_libdir_flag_spec_CXX='-L$libdir' | |
9285 ;; | 11416 ;; |
9286 *) | 11417 *) |
9287 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' | |
9288 hardcode_libdir_separator_CXX=: | |
9289 export_dynamic_flag_spec_CXX='${wl}-E' | 11418 export_dynamic_flag_spec_CXX='${wl}-E' |
9290 ;; | 11419 ;; |
9291 esac | 11420 esac |
9292 fi | 11421 fi |
9293 case "$host_cpu" in | 11422 case $host_cpu in |
9294 hppa*64*) | 11423 hppa*64*|ia64*) |
9295 hardcode_direct_CXX=no | 11424 hardcode_direct_CXX=no |
9296 hardcode_shlibpath_var_CXX=no | 11425 hardcode_shlibpath_var_CXX=no |
9297 ;; | |
9298 ia64*) | |
9299 hardcode_direct_CXX=no | |
9300 hardcode_shlibpath_var_CXX=no | |
9301 hardcode_minus_L_CXX=yes # Not in the search PATH, | |
9302 # but as the default | |
9303 # location of the library. | |
9304 ;; | 11426 ;; |
9305 *) | 11427 *) |
9306 hardcode_direct_CXX=yes | 11428 hardcode_direct_CXX=yes |
9307 hardcode_minus_L_CXX=yes # Not in the search PATH, | 11429 hardcode_minus_L_CXX=yes # Not in the search PATH, |
9308 # but as the default | 11430 # but as the default |
9309 # location of the library. | 11431 # location of the library. |
9310 ;; | 11432 ;; |
9311 esac | 11433 esac |
9312 | 11434 |
9313 case $cc_basename in | 11435 case $cc_basename in |
9314 CC) | 11436 CC*) |
9315 # FIXME: insert proper C++ library support | 11437 # FIXME: insert proper C++ library support |
9316 ld_shlibs_CXX=no | 11438 ld_shlibs_CXX=no |
9317 ;; | 11439 ;; |
9318 aCC) | 11440 aCC*) |
9319 case "$host_cpu" in | 11441 case $host_cpu in |
9320 hppa*64*|ia64*) | 11442 hppa*64*) |
9321 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' | 11443 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
11444 ;; | |
11445 ia64*) | |
11446 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | |
9322 ;; | 11447 ;; |
9323 *) | 11448 *) |
9324 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 11449 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
9325 ;; | 11450 ;; |
9326 esac | 11451 esac |
9335 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 11460 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
9336 ;; | 11461 ;; |
9337 *) | 11462 *) |
9338 if test "$GXX" = yes; then | 11463 if test "$GXX" = yes; then |
9339 if test $with_gnu_ld = no; then | 11464 if test $with_gnu_ld = no; then |
9340 case "$host_cpu" in | 11465 case $host_cpu in |
9341 ia64*|hppa*64*) | 11466 hppa*64*) |
9342 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' | 11467 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
11468 ;; | |
11469 ia64*) | |
11470 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | |
9343 ;; | 11471 ;; |
9344 *) | 11472 *) |
9345 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 11473 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
9346 ;; | 11474 ;; |
9347 esac | 11475 esac |
9351 ld_shlibs_CXX=no | 11479 ld_shlibs_CXX=no |
9352 fi | 11480 fi |
9353 ;; | 11481 ;; |
9354 esac | 11482 esac |
9355 ;; | 11483 ;; |
11484 interix3*) | |
11485 hardcode_direct_CXX=no | |
11486 hardcode_shlibpath_var_CXX=no | |
11487 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | |
11488 export_dynamic_flag_spec_CXX='${wl}-E' | |
11489 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. | |
11490 # Instead, shared libraries are loaded at an image base (0x10000000 by | |
11491 # default) and relocated if they conflict, which is a slow very memory | |
11492 # consuming and fragmenting process. To avoid this, we pick a random, | |
11493 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link | |
11494 # time. Moving up from 0x10000000 also allows more sbrk(2) space. | |
11495 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' | |
11496 archive_expsym_cmds_CXX='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' | |
11497 ;; | |
9356 irix5* | irix6*) | 11498 irix5* | irix6*) |
9357 case $cc_basename in | 11499 case $cc_basename in |
9358 CC) | 11500 CC*) |
9359 # SGI C++ | 11501 # SGI C++ |
9360 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' | 11502 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
9361 | 11503 |
9362 # Archives containing C++ object files must be created using | 11504 # Archives containing C++ object files must be created using |
9363 # "CC -ar", where "CC" is the IRIX C++ compiler. This is | 11505 # "CC -ar", where "CC" is the IRIX C++ compiler. This is |
9364 # necessary to make sure instantiated templates are included | 11506 # necessary to make sure instantiated templates are included |
9365 # in the archive. | 11507 # in the archive. |
9366 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' | 11508 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' |
9367 ;; | 11509 ;; |
9368 *) | 11510 *) |
9369 if test "$GXX" = yes; then | 11511 if test "$GXX" = yes; then |
9370 if test "$with_gnu_ld" = no; then | 11512 if test "$with_gnu_ld" = no; then |
9371 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' | 11513 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
9372 else | 11514 else |
9373 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' | 11515 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' |
9374 fi | 11516 fi |
9375 fi | 11517 fi |
9376 link_all_deplibs_CXX=yes | 11518 link_all_deplibs_CXX=yes |
9379 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 11521 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
9380 hardcode_libdir_separator_CXX=: | 11522 hardcode_libdir_separator_CXX=: |
9381 ;; | 11523 ;; |
9382 linux*) | 11524 linux*) |
9383 case $cc_basename in | 11525 case $cc_basename in |
9384 KCC) | 11526 KCC*) |
9385 # Kuck and Associates, Inc. (KAI) C++ Compiler | 11527 # Kuck and Associates, Inc. (KAI) C++ Compiler |
9386 | 11528 |
9387 # KCC will only create a shared library if the output file | 11529 # KCC will only create a shared library if the output file |
9388 # ends with ".so" (or ".sl" for HP-UX), so rename the library | 11530 # ends with ".so" (or ".sl" for HP-UX), so rename the library |
9389 # to its proper name (with version) after linking. | 11531 # to its proper name (with version) after linking. |
9404 | 11546 |
9405 # Archives containing C++ object files must be created using | 11547 # Archives containing C++ object files must be created using |
9406 # "CC -Bstatic", where "CC" is the KAI C++ compiler. | 11548 # "CC -Bstatic", where "CC" is the KAI C++ compiler. |
9407 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' | 11549 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
9408 ;; | 11550 ;; |
9409 icpc) | 11551 icpc*) |
9410 # Intel C++ | 11552 # Intel C++ |
9411 with_gnu_ld=yes | 11553 with_gnu_ld=yes |
11554 # version 8.0 and above of icpc choke on multiply defined symbols | |
11555 # if we add $predep_objects and $postdep_objects, however 7.1 and | |
11556 # earlier do not add the objects themselves. | |
11557 case `$CC -V 2>&1` in | |
11558 *"Version 7."*) | |
11559 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
11560 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | |
11561 ;; | |
11562 *) # Version 8.0 or newer | |
11563 tmp_idyn= | |
11564 case $host_cpu in | |
11565 ia64*) tmp_idyn=' -i_dynamic';; | |
11566 esac | |
11567 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
11568 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | |
11569 ;; | |
11570 esac | |
9412 archive_cmds_need_lc_CXX=no | 11571 archive_cmds_need_lc_CXX=no |
9413 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
9414 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | |
9415 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | 11572 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
9416 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | 11573 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
9417 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' | 11574 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
9418 ;; | 11575 ;; |
9419 cxx) | 11576 pgCC*) |
11577 # Portland Group C++ compiler | |
11578 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' | |
11579 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' | |
11580 | |
11581 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' | |
11582 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | |
11583 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' | |
11584 ;; | |
11585 cxx*) | |
9420 # Compaq C++ | 11586 # Compaq C++ |
9421 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | 11587 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9422 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' | 11588 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' |
9423 | 11589 |
9424 runpath_var=LD_RUN_PATH | 11590 runpath_var=LD_RUN_PATH |
9445 # FIXME: insert proper C++ library support | 11611 # FIXME: insert proper C++ library support |
9446 ld_shlibs_CXX=no | 11612 ld_shlibs_CXX=no |
9447 ;; | 11613 ;; |
9448 mvs*) | 11614 mvs*) |
9449 case $cc_basename in | 11615 case $cc_basename in |
9450 cxx) | 11616 cxx*) |
9451 # FIXME: insert proper C++ library support | 11617 # FIXME: insert proper C++ library support |
9452 ld_shlibs_CXX=no | 11618 ld_shlibs_CXX=no |
9453 ;; | 11619 ;; |
9454 *) | 11620 *) |
9455 # FIXME: insert proper C++ library support | 11621 # FIXME: insert proper C++ library support |
9466 hardcode_shlibpath_var_CXX=no | 11632 hardcode_shlibpath_var_CXX=no |
9467 fi | 11633 fi |
9468 # Workaround some broken pre-1.5 toolchains | 11634 # Workaround some broken pre-1.5 toolchains |
9469 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' | 11635 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' |
9470 ;; | 11636 ;; |
11637 openbsd2*) | |
11638 # C++ shared libraries are fairly broken | |
11639 ld_shlibs_CXX=no | |
11640 ;; | |
11641 openbsd*) | |
11642 hardcode_direct_CXX=yes | |
11643 hardcode_shlibpath_var_CXX=no | |
11644 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' | |
11645 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | |
11646 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | |
11647 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' | |
11648 export_dynamic_flag_spec_CXX='${wl}-E' | |
11649 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | |
11650 fi | |
11651 output_verbose_link_cmd='echo' | |
11652 ;; | |
9471 osf3*) | 11653 osf3*) |
9472 case $cc_basename in | 11654 case $cc_basename in |
9473 KCC) | 11655 KCC*) |
9474 # Kuck and Associates, Inc. (KAI) C++ Compiler | 11656 # Kuck and Associates, Inc. (KAI) C++ Compiler |
9475 | 11657 |
9476 # KCC will only create a shared library if the output file | 11658 # KCC will only create a shared library if the output file |
9477 # ends with ".so" (or ".sl" for HP-UX), so rename the library | 11659 # ends with ".so" (or ".sl" for HP-UX), so rename the library |
9478 # to its proper name (with version) after linking. | 11660 # to its proper name (with version) after linking. |
9484 # Archives containing C++ object files must be created using | 11666 # Archives containing C++ object files must be created using |
9485 # "CC -Bstatic", where "CC" is the KAI C++ compiler. | 11667 # "CC -Bstatic", where "CC" is the KAI C++ compiler. |
9486 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' | 11668 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
9487 | 11669 |
9488 ;; | 11670 ;; |
9489 RCC) | 11671 RCC*) |
9490 # Rational C++ 2.4.1 | 11672 # Rational C++ 2.4.1 |
9491 # FIXME: insert proper C++ library support | 11673 # FIXME: insert proper C++ library support |
9492 ld_shlibs_CXX=no | 11674 ld_shlibs_CXX=no |
9493 ;; | 11675 ;; |
9494 cxx) | 11676 cxx*) |
9495 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' | 11677 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
9496 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' | 11678 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
9497 | 11679 |
9498 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 11680 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
9499 hardcode_libdir_separator_CXX=: | 11681 hardcode_libdir_separator_CXX=: |
9500 | 11682 |
9501 # Commands to make compiler produce verbose output that lists | 11683 # Commands to make compiler produce verbose output that lists |
9509 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 11691 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
9510 ;; | 11692 ;; |
9511 *) | 11693 *) |
9512 if test "$GXX" = yes && test "$with_gnu_ld" = no; then | 11694 if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
9513 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' | 11695 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
9514 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' | 11696 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
9515 | 11697 |
9516 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 11698 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
9517 hardcode_libdir_separator_CXX=: | 11699 hardcode_libdir_separator_CXX=: |
9518 | 11700 |
9519 # Commands to make compiler produce verbose output that lists | 11701 # Commands to make compiler produce verbose output that lists |
9528 ;; | 11710 ;; |
9529 esac | 11711 esac |
9530 ;; | 11712 ;; |
9531 osf4* | osf5*) | 11713 osf4* | osf5*) |
9532 case $cc_basename in | 11714 case $cc_basename in |
9533 KCC) | 11715 KCC*) |
9534 # Kuck and Associates, Inc. (KAI) C++ Compiler | 11716 # Kuck and Associates, Inc. (KAI) C++ Compiler |
9535 | 11717 |
9536 # KCC will only create a shared library if the output file | 11718 # KCC will only create a shared library if the output file |
9537 # ends with ".so" (or ".sl" for HP-UX), so rename the library | 11719 # ends with ".so" (or ".sl" for HP-UX), so rename the library |
9538 # to its proper name (with version) after linking. | 11720 # to its proper name (with version) after linking. |
9543 | 11725 |
9544 # Archives containing C++ object files must be created using | 11726 # Archives containing C++ object files must be created using |
9545 # the KAI C++ compiler. | 11727 # the KAI C++ compiler. |
9546 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' | 11728 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' |
9547 ;; | 11729 ;; |
9548 RCC) | 11730 RCC*) |
9549 # Rational C++ 2.4.1 | 11731 # Rational C++ 2.4.1 |
9550 # FIXME: insert proper C++ library support | 11732 # FIXME: insert proper C++ library support |
9551 ld_shlibs_CXX=no | 11733 ld_shlibs_CXX=no |
9552 ;; | 11734 ;; |
9553 cxx) | 11735 cxx*) |
9554 allow_undefined_flag_CXX=' -expect_unresolved \*' | 11736 allow_undefined_flag_CXX=' -expect_unresolved \*' |
9555 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' | 11737 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
9556 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ | 11738 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
9557 echo "-hidden">> $lib.exp~ | 11739 echo "-hidden">> $lib.exp~ |
9558 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ | 11740 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ |
9559 $rm $lib.exp' | 11741 $rm $lib.exp' |
9560 | 11742 |
9561 hardcode_libdir_flag_spec_CXX='-rpath $libdir' | 11743 hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
9562 hardcode_libdir_separator_CXX=: | 11744 hardcode_libdir_separator_CXX=: |
9563 | 11745 |
9572 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 11754 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
9573 ;; | 11755 ;; |
9574 *) | 11756 *) |
9575 if test "$GXX" = yes && test "$with_gnu_ld" = no; then | 11757 if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
9576 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' | 11758 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
9577 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' | 11759 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
9578 | 11760 |
9579 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 11761 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
9580 hardcode_libdir_separator_CXX=: | 11762 hardcode_libdir_separator_CXX=: |
9581 | 11763 |
9582 # Commands to make compiler produce verbose output that lists | 11764 # Commands to make compiler produce verbose output that lists |
9593 ;; | 11775 ;; |
9594 psos*) | 11776 psos*) |
9595 # FIXME: insert proper C++ library support | 11777 # FIXME: insert proper C++ library support |
9596 ld_shlibs_CXX=no | 11778 ld_shlibs_CXX=no |
9597 ;; | 11779 ;; |
9598 sco*) | |
9599 archive_cmds_need_lc_CXX=no | |
9600 case $cc_basename in | |
9601 CC) | |
9602 # FIXME: insert proper C++ library support | |
9603 ld_shlibs_CXX=no | |
9604 ;; | |
9605 *) | |
9606 # FIXME: insert proper C++ library support | |
9607 ld_shlibs_CXX=no | |
9608 ;; | |
9609 esac | |
9610 ;; | |
9611 sunos4*) | 11780 sunos4*) |
9612 case $cc_basename in | 11781 case $cc_basename in |
9613 CC) | 11782 CC*) |
9614 # Sun C++ 4.x | 11783 # Sun C++ 4.x |
9615 # FIXME: insert proper C++ library support | 11784 # FIXME: insert proper C++ library support |
9616 ld_shlibs_CXX=no | 11785 ld_shlibs_CXX=no |
9617 ;; | 11786 ;; |
9618 lcc) | 11787 lcc*) |
9619 # Lucid | 11788 # Lucid |
9620 # FIXME: insert proper C++ library support | 11789 # FIXME: insert proper C++ library support |
9621 ld_shlibs_CXX=no | 11790 ld_shlibs_CXX=no |
9622 ;; | 11791 ;; |
9623 *) | 11792 *) |
9626 ;; | 11795 ;; |
9627 esac | 11796 esac |
9628 ;; | 11797 ;; |
9629 solaris*) | 11798 solaris*) |
9630 case $cc_basename in | 11799 case $cc_basename in |
9631 CC) | 11800 CC*) |
9632 # Sun C++ 4.2, 5.x and Centerline C++ | 11801 # Sun C++ 4.2, 5.x and Centerline C++ |
11802 archive_cmds_need_lc_CXX=yes | |
9633 no_undefined_flag_CXX=' -zdefs' | 11803 no_undefined_flag_CXX=' -zdefs' |
9634 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 11804 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
9635 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 11805 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
9636 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' | 11806 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' |
9637 | 11807 |
9638 hardcode_libdir_flag_spec_CXX='-R$libdir' | 11808 hardcode_libdir_flag_spec_CXX='-R$libdir' |
9639 hardcode_shlibpath_var_CXX=no | 11809 hardcode_shlibpath_var_CXX=no |
9640 case $host_os in | 11810 case $host_os in |
9641 solaris2.0-5 | solaris2.0-5.*) ;; | 11811 solaris2.[0-5] | solaris2.[0-5].*) ;; |
9642 *) | 11812 *) |
9643 # The C++ compiler is used as linker so we must use $wl | 11813 # The C++ compiler is used as linker so we must use $wl |
9644 # flag to pass the commands to the underlying system | 11814 # flag to pass the commands to the underlying system |
9645 # linker. | 11815 # linker. We must also pass each convience library through |
11816 # to the system linker between allextract/defaultextract. | |
11817 # The C++ compiler will combine linker options so we | |
11818 # cannot just pass the convience library names through | |
11819 # without $wl. | |
9646 # Supported since Solaris 2.6 (maybe 2.5.1?) | 11820 # Supported since Solaris 2.6 (maybe 2.5.1?) |
9647 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' | 11821 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' |
9648 ;; | 11822 ;; |
9649 esac | 11823 esac |
9650 link_all_deplibs_CXX=yes | 11824 link_all_deplibs_CXX=yes |
9651 | 11825 |
9652 # Commands to make compiler produce verbose output that lists | 11826 output_verbose_link_cmd='echo' |
9653 # what "hidden" libraries, object files and flags are used when | |
9654 # linking a shared library. | |
9655 # | |
9656 # There doesn't appear to be a way to prevent this compiler from | |
9657 # explicitly linking system object files so we need to strip them | |
9658 # from the output so that they don't get included in the library | |
9659 # dependencies. | |
9660 output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | |
9661 | 11827 |
9662 # Archives containing C++ object files must be created using | 11828 # Archives containing C++ object files must be created using |
9663 # "CC -xar", where "CC" is the Sun C++ compiler. This is | 11829 # "CC -xar", where "CC" is the Sun C++ compiler. This is |
9664 # necessary to make sure instantiated templates are included | 11830 # necessary to make sure instantiated templates are included |
9665 # in the archive. | 11831 # in the archive. |
9666 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' | 11832 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
9667 ;; | 11833 ;; |
9668 gcx) | 11834 gcx*) |
9669 # Green Hills C++ Compiler | 11835 # Green Hills C++ Compiler |
9670 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | 11836 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
9671 | 11837 |
9672 # The C++ compiler must be used to create the archive. | 11838 # The C++ compiler must be used to create the archive. |
9673 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' | 11839 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' |
9701 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' | 11867 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' |
9702 fi | 11868 fi |
9703 ;; | 11869 ;; |
9704 esac | 11870 esac |
9705 ;; | 11871 ;; |
9706 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) | 11872 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
11873 no_undefined_flag_CXX='${wl}-z,text' | |
9707 archive_cmds_need_lc_CXX=no | 11874 archive_cmds_need_lc_CXX=no |
11875 hardcode_shlibpath_var_CXX=no | |
11876 runpath_var='LD_RUN_PATH' | |
11877 | |
11878 case $cc_basename in | |
11879 CC*) | |
11880 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
11881 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
11882 ;; | |
11883 *) | |
11884 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
11885 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
11886 ;; | |
11887 esac | |
11888 ;; | |
11889 sysv5* | sco3.2v5* | sco5v6*) | |
11890 # Note: We can NOT use -z defs as we might desire, because we do not | |
11891 # link with -lc, and that would cause any symbols used from libc to | |
11892 # always be unresolved, which means just about no library would | |
11893 # ever link correctly. If we're not using GNU ld we use -z text | |
11894 # though, which does catch some bad symbols but isn't as heavy-handed | |
11895 # as -z defs. | |
11896 # For security reasons, it is highly recommended that you always | |
11897 # use absolute paths for naming shared libraries, and exclude the | |
11898 # DT_RUNPATH tag from executables and libraries. But doing so | |
11899 # requires that you compile everything twice, which is a pain. | |
11900 # So that behaviour is only enabled if SCOABSPATH is set to a | |
11901 # non-empty value in the environment. Most likely only useful for | |
11902 # creating official distributions of packages. | |
11903 # This is a hack until libtool officially supports absolute path | |
11904 # names for shared libraries. | |
11905 no_undefined_flag_CXX='${wl}-z,text' | |
11906 allow_undefined_flag_CXX='${wl}-z,nodefs' | |
11907 archive_cmds_need_lc_CXX=no | |
11908 hardcode_shlibpath_var_CXX=no | |
11909 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' | |
11910 hardcode_libdir_separator_CXX=':' | |
11911 link_all_deplibs_CXX=yes | |
11912 export_dynamic_flag_spec_CXX='${wl}-Bexport' | |
11913 runpath_var='LD_RUN_PATH' | |
11914 | |
11915 case $cc_basename in | |
11916 CC*) | |
11917 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
11918 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
11919 ;; | |
11920 *) | |
11921 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
11922 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
11923 ;; | |
11924 esac | |
9708 ;; | 11925 ;; |
9709 tandem*) | 11926 tandem*) |
9710 case $cc_basename in | 11927 case $cc_basename in |
9711 NCC) | 11928 NCC*) |
9712 # NonStop-UX NCC 3.20 | 11929 # NonStop-UX NCC 3.20 |
9713 # FIXME: insert proper C++ library support | 11930 # FIXME: insert proper C++ library support |
9714 ld_shlibs_CXX=no | 11931 ld_shlibs_CXX=no |
9715 ;; | 11932 ;; |
9716 *) | 11933 *) |
9726 *) | 11943 *) |
9727 # FIXME: insert proper C++ library support | 11944 # FIXME: insert proper C++ library support |
9728 ld_shlibs_CXX=no | 11945 ld_shlibs_CXX=no |
9729 ;; | 11946 ;; |
9730 esac | 11947 esac |
9731 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 | 11948 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 |
9732 echo "${ECHO_T}$ld_shlibs_CXX" >&6 | 11949 echo "${ECHO_T}$ld_shlibs_CXX" >&6; } |
9733 test "$ld_shlibs_CXX" = no && can_build_shared=no | 11950 test "$ld_shlibs_CXX" = no && can_build_shared=no |
9734 | 11951 |
9735 GCC_CXX="$GXX" | 11952 GCC_CXX="$GXX" |
9736 LD_CXX="$LD" | 11953 LD_CXX="$LD" |
9737 | 11954 |
9759 pre_test_object_deps_done=no | 11976 pre_test_object_deps_done=no |
9760 | 11977 |
9761 # The `*' in the case matches for architectures that use `case' in | 11978 # The `*' in the case matches for architectures that use `case' in |
9762 # $output_verbose_cmd can trigger glob expansion during the loop | 11979 # $output_verbose_cmd can trigger glob expansion during the loop |
9763 # eval without this substitution. | 11980 # eval without this substitution. |
9764 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" | 11981 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` |
9765 | 11982 |
9766 for p in `eval $output_verbose_link_cmd`; do | 11983 for p in `eval $output_verbose_link_cmd`; do |
9767 case $p in | 11984 case $p in |
9768 | 11985 |
9769 -L* | -R* | -l*) | 11986 -L* | -R* | -l*) |
9835 echo "libtool.m4: error: problem compiling CXX test program" | 12052 echo "libtool.m4: error: problem compiling CXX test program" |
9836 fi | 12053 fi |
9837 | 12054 |
9838 $rm -f confest.$objext | 12055 $rm -f confest.$objext |
9839 | 12056 |
12057 # PORTME: override above test on systems where it is broken | |
12058 case $host_os in | |
12059 interix3*) | |
12060 # Interix 3.5 installs completely hosed .la files for C++, so rather than | |
12061 # hack all around it, let's just trust "g++" to DTRT. | |
12062 predep_objects_CXX= | |
12063 postdep_objects_CXX= | |
12064 postdeps_CXX= | |
12065 ;; | |
12066 | |
12067 solaris*) | |
12068 case $cc_basename in | |
12069 CC*) | |
12070 # Adding this requires a known-good setup of shared libraries for | |
12071 # Sun compiler versions before 5.6, else PIC objects from an old | |
12072 # archive will be linked into the output, leading to subtle bugs. | |
12073 postdeps_CXX='-lCstd -lCrun' | |
12074 ;; | |
12075 esac | |
12076 ;; | |
12077 esac | |
12078 | |
12079 | |
9840 case " $postdeps_CXX " in | 12080 case " $postdeps_CXX " in |
9841 *" -lc "*) archive_cmds_need_lc_CXX=no ;; | 12081 *" -lc "*) archive_cmds_need_lc_CXX=no ;; |
9842 esac | 12082 esac |
9843 | 12083 |
9844 lt_prog_compiler_wl_CXX= | 12084 lt_prog_compiler_wl_CXX= |
9845 lt_prog_compiler_pic_CXX= | 12085 lt_prog_compiler_pic_CXX= |
9846 lt_prog_compiler_static_CXX= | 12086 lt_prog_compiler_static_CXX= |
9847 | 12087 |
9848 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 | 12088 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
9849 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | 12089 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } |
9850 | 12090 |
9851 # C++ specific cases for pic, static, wl, etc. | 12091 # C++ specific cases for pic, static, wl, etc. |
9852 if test "$GXX" = yes; then | 12092 if test "$GXX" = yes; then |
9853 lt_prog_compiler_wl_CXX='-Wl,' | 12093 lt_prog_compiler_wl_CXX='-Wl,' |
9854 lt_prog_compiler_static_CXX='-static' | 12094 lt_prog_compiler_static_CXX='-static' |
9882 ;; | 12122 ;; |
9883 *djgpp*) | 12123 *djgpp*) |
9884 # DJGPP does not support shared libraries at all | 12124 # DJGPP does not support shared libraries at all |
9885 lt_prog_compiler_pic_CXX= | 12125 lt_prog_compiler_pic_CXX= |
9886 ;; | 12126 ;; |
12127 interix3*) | |
12128 # Interix 3.x gcc -fpic/-fPIC options generate broken code. | |
12129 # Instead, we relocate shared libraries at runtime. | |
12130 ;; | |
9887 sysv4*MP*) | 12131 sysv4*MP*) |
9888 if test -d /usr/nec; then | 12132 if test -d /usr/nec; then |
9889 lt_prog_compiler_pic_CXX=-Kconform_pic | 12133 lt_prog_compiler_pic_CXX=-Kconform_pic |
9890 fi | 12134 fi |
9891 ;; | 12135 ;; |
9892 hpux*) | 12136 hpux*) |
9893 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 12137 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
9894 # not for PA HP-UX. | 12138 # not for PA HP-UX. |
9895 case "$host_cpu" in | 12139 case $host_cpu in |
9896 hppa*64*|ia64*) | 12140 hppa*64*|ia64*) |
9897 ;; | 12141 ;; |
9898 *) | 12142 *) |
9899 lt_prog_compiler_pic_CXX='-fPIC' | 12143 lt_prog_compiler_pic_CXX='-fPIC' |
9900 ;; | 12144 ;; |
9915 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' | 12159 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' |
9916 fi | 12160 fi |
9917 ;; | 12161 ;; |
9918 chorus*) | 12162 chorus*) |
9919 case $cc_basename in | 12163 case $cc_basename in |
9920 cxch68) | 12164 cxch68*) |
9921 # Green Hills C++ Compiler | 12165 # Green Hills C++ Compiler |
9922 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" | 12166 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" |
9923 ;; | 12167 ;; |
9924 esac | 12168 esac |
9925 ;; | 12169 ;; |
12170 darwin*) | |
12171 # PIC is the default on this platform | |
12172 # Common symbols not allowed in MH_DYLIB files | |
12173 case $cc_basename in | |
12174 xlc*) | |
12175 lt_prog_compiler_pic_CXX='-qnocommon' | |
12176 lt_prog_compiler_wl_CXX='-Wl,' | |
12177 ;; | |
12178 esac | |
12179 ;; | |
9926 dgux*) | 12180 dgux*) |
9927 case $cc_basename in | 12181 case $cc_basename in |
9928 ec++) | 12182 ec++*) |
9929 lt_prog_compiler_pic_CXX='-KPIC' | 12183 lt_prog_compiler_pic_CXX='-KPIC' |
9930 ;; | 12184 ;; |
9931 ghcx) | 12185 ghcx*) |
9932 # Green Hills C++ Compiler | 12186 # Green Hills C++ Compiler |
9933 lt_prog_compiler_pic_CXX='-pic' | 12187 lt_prog_compiler_pic_CXX='-pic' |
9934 ;; | 12188 ;; |
9935 *) | 12189 *) |
9936 ;; | 12190 ;; |
9937 esac | 12191 esac |
9938 ;; | 12192 ;; |
9939 freebsd*) | 12193 freebsd* | kfreebsd*-gnu | dragonfly*) |
9940 # FreeBSD uses GNU C++ | 12194 # FreeBSD uses GNU C++ |
9941 ;; | 12195 ;; |
9942 hpux9* | hpux10* | hpux11*) | 12196 hpux9* | hpux10* | hpux11*) |
9943 case $cc_basename in | 12197 case $cc_basename in |
9944 CC) | 12198 CC*) |
9945 lt_prog_compiler_wl_CXX='-Wl,' | 12199 lt_prog_compiler_wl_CXX='-Wl,' |
9946 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" | 12200 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
9947 if test "$host_cpu" != ia64; then | 12201 if test "$host_cpu" != ia64; then |
9948 lt_prog_compiler_pic_CXX='+Z' | 12202 lt_prog_compiler_pic_CXX='+Z' |
9949 fi | 12203 fi |
9950 ;; | 12204 ;; |
9951 aCC) | 12205 aCC*) |
9952 lt_prog_compiler_wl_CXX='-Wl,' | 12206 lt_prog_compiler_wl_CXX='-Wl,' |
9953 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" | 12207 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
9954 case "$host_cpu" in | 12208 case $host_cpu in |
9955 hppa*64*|ia64*) | 12209 hppa*64*|ia64*) |
9956 # +Z the default | 12210 # +Z the default |
9957 ;; | 12211 ;; |
9958 *) | 12212 *) |
9959 lt_prog_compiler_pic_CXX='+Z' | 12213 lt_prog_compiler_pic_CXX='+Z' |
9962 ;; | 12216 ;; |
9963 *) | 12217 *) |
9964 ;; | 12218 ;; |
9965 esac | 12219 esac |
9966 ;; | 12220 ;; |
12221 interix*) | |
12222 # This is c89, which is MS Visual C++ (no shared libs) | |
12223 # Anyone wants to do a port? | |
12224 ;; | |
9967 irix5* | irix6* | nonstopux*) | 12225 irix5* | irix6* | nonstopux*) |
9968 case $cc_basename in | 12226 case $cc_basename in |
9969 CC) | 12227 CC*) |
9970 lt_prog_compiler_wl_CXX='-Wl,' | 12228 lt_prog_compiler_wl_CXX='-Wl,' |
9971 lt_prog_compiler_static_CXX='-non_shared' | 12229 lt_prog_compiler_static_CXX='-non_shared' |
9972 # CC pic flag -KPIC is the default. | 12230 # CC pic flag -KPIC is the default. |
9973 ;; | 12231 ;; |
9974 *) | 12232 *) |
9975 ;; | 12233 ;; |
9976 esac | 12234 esac |
9977 ;; | 12235 ;; |
9978 linux*) | 12236 linux*) |
9979 case $cc_basename in | 12237 case $cc_basename in |
9980 KCC) | 12238 KCC*) |
9981 # KAI C++ Compiler | 12239 # KAI C++ Compiler |
9982 lt_prog_compiler_wl_CXX='--backend -Wl,' | 12240 lt_prog_compiler_wl_CXX='--backend -Wl,' |
9983 lt_prog_compiler_pic_CXX='-fPIC' | 12241 lt_prog_compiler_pic_CXX='-fPIC' |
9984 ;; | 12242 ;; |
9985 icpc) | 12243 icpc* | ecpc*) |
9986 # Intel C++ | 12244 # Intel C++ |
9987 lt_prog_compiler_wl_CXX='-Wl,' | 12245 lt_prog_compiler_wl_CXX='-Wl,' |
9988 lt_prog_compiler_pic_CXX='-KPIC' | 12246 lt_prog_compiler_pic_CXX='-KPIC' |
9989 lt_prog_compiler_static_CXX='-static' | 12247 lt_prog_compiler_static_CXX='-static' |
9990 ;; | 12248 ;; |
9991 cxx) | 12249 pgCC*) |
12250 # Portland Group C++ compiler. | |
12251 lt_prog_compiler_wl_CXX='-Wl,' | |
12252 lt_prog_compiler_pic_CXX='-fpic' | |
12253 lt_prog_compiler_static_CXX='-Bstatic' | |
12254 ;; | |
12255 cxx*) | |
9992 # Compaq C++ | 12256 # Compaq C++ |
9993 # Make sure the PIC flag is empty. It appears that all Alpha | 12257 # Make sure the PIC flag is empty. It appears that all Alpha |
9994 # Linux and Compaq Tru64 Unix objects are PIC. | 12258 # Linux and Compaq Tru64 Unix objects are PIC. |
9995 lt_prog_compiler_pic_CXX= | 12259 lt_prog_compiler_pic_CXX= |
9996 lt_prog_compiler_static_CXX='-non_shared' | 12260 lt_prog_compiler_static_CXX='-non_shared' |
10003 ;; | 12267 ;; |
10004 m88k*) | 12268 m88k*) |
10005 ;; | 12269 ;; |
10006 mvs*) | 12270 mvs*) |
10007 case $cc_basename in | 12271 case $cc_basename in |
10008 cxx) | 12272 cxx*) |
10009 lt_prog_compiler_pic_CXX='-W c,exportall' | 12273 lt_prog_compiler_pic_CXX='-W c,exportall' |
10010 ;; | 12274 ;; |
10011 *) | 12275 *) |
10012 ;; | 12276 ;; |
10013 esac | 12277 esac |
10014 ;; | 12278 ;; |
10015 netbsd*) | 12279 netbsd*) |
10016 ;; | 12280 ;; |
10017 osf3* | osf4* | osf5*) | 12281 osf3* | osf4* | osf5*) |
10018 case $cc_basename in | 12282 case $cc_basename in |
10019 KCC) | 12283 KCC*) |
10020 lt_prog_compiler_wl_CXX='--backend -Wl,' | 12284 lt_prog_compiler_wl_CXX='--backend -Wl,' |
10021 ;; | 12285 ;; |
10022 RCC) | 12286 RCC*) |
10023 # Rational C++ 2.4.1 | 12287 # Rational C++ 2.4.1 |
10024 lt_prog_compiler_pic_CXX='-pic' | 12288 lt_prog_compiler_pic_CXX='-pic' |
10025 ;; | 12289 ;; |
10026 cxx) | 12290 cxx*) |
10027 # Digital/Compaq C++ | 12291 # Digital/Compaq C++ |
10028 lt_prog_compiler_wl_CXX='-Wl,' | 12292 lt_prog_compiler_wl_CXX='-Wl,' |
10029 # Make sure the PIC flag is empty. It appears that all Alpha | 12293 # Make sure the PIC flag is empty. It appears that all Alpha |
10030 # Linux and Compaq Tru64 Unix objects are PIC. | 12294 # Linux and Compaq Tru64 Unix objects are PIC. |
10031 lt_prog_compiler_pic_CXX= | 12295 lt_prog_compiler_pic_CXX= |
10035 ;; | 12299 ;; |
10036 esac | 12300 esac |
10037 ;; | 12301 ;; |
10038 psos*) | 12302 psos*) |
10039 ;; | 12303 ;; |
10040 sco*) | |
10041 case $cc_basename in | |
10042 CC) | |
10043 lt_prog_compiler_pic_CXX='-fPIC' | |
10044 ;; | |
10045 *) | |
10046 ;; | |
10047 esac | |
10048 ;; | |
10049 solaris*) | 12304 solaris*) |
10050 case $cc_basename in | 12305 case $cc_basename in |
10051 CC) | 12306 CC*) |
10052 # Sun C++ 4.2, 5.x and Centerline C++ | 12307 # Sun C++ 4.2, 5.x and Centerline C++ |
10053 lt_prog_compiler_pic_CXX='-KPIC' | 12308 lt_prog_compiler_pic_CXX='-KPIC' |
10054 lt_prog_compiler_static_CXX='-Bstatic' | 12309 lt_prog_compiler_static_CXX='-Bstatic' |
10055 lt_prog_compiler_wl_CXX='-Qoption ld ' | 12310 lt_prog_compiler_wl_CXX='-Qoption ld ' |
10056 ;; | 12311 ;; |
10057 gcx) | 12312 gcx*) |
10058 # Green Hills C++ Compiler | 12313 # Green Hills C++ Compiler |
10059 lt_prog_compiler_pic_CXX='-PIC' | 12314 lt_prog_compiler_pic_CXX='-PIC' |
10060 ;; | 12315 ;; |
10061 *) | 12316 *) |
10062 ;; | 12317 ;; |
10063 esac | 12318 esac |
10064 ;; | 12319 ;; |
10065 sunos4*) | 12320 sunos4*) |
10066 case $cc_basename in | 12321 case $cc_basename in |
10067 CC) | 12322 CC*) |
10068 # Sun C++ 4.x | 12323 # Sun C++ 4.x |
10069 lt_prog_compiler_pic_CXX='-pic' | 12324 lt_prog_compiler_pic_CXX='-pic' |
10070 lt_prog_compiler_static_CXX='-Bstatic' | 12325 lt_prog_compiler_static_CXX='-Bstatic' |
10071 ;; | 12326 ;; |
10072 lcc) | 12327 lcc*) |
10073 # Lucid | 12328 # Lucid |
10074 lt_prog_compiler_pic_CXX='-pic' | 12329 lt_prog_compiler_pic_CXX='-pic' |
10075 ;; | 12330 ;; |
10076 *) | 12331 *) |
10077 ;; | 12332 ;; |
10078 esac | 12333 esac |
10079 ;; | 12334 ;; |
10080 tandem*) | 12335 tandem*) |
10081 case $cc_basename in | 12336 case $cc_basename in |
10082 NCC) | 12337 NCC*) |
10083 # NonStop-UX NCC 3.20 | 12338 # NonStop-UX NCC 3.20 |
10084 lt_prog_compiler_pic_CXX='-KPIC' | 12339 lt_prog_compiler_pic_CXX='-KPIC' |
10085 ;; | 12340 ;; |
10086 *) | 12341 *) |
10087 ;; | 12342 ;; |
10088 esac | 12343 esac |
10089 ;; | 12344 ;; |
10090 unixware*) | 12345 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
12346 case $cc_basename in | |
12347 CC*) | |
12348 lt_prog_compiler_wl_CXX='-Wl,' | |
12349 lt_prog_compiler_pic_CXX='-KPIC' | |
12350 lt_prog_compiler_static_CXX='-Bstatic' | |
12351 ;; | |
12352 esac | |
10091 ;; | 12353 ;; |
10092 vxworks*) | 12354 vxworks*) |
10093 ;; | 12355 ;; |
10094 *) | 12356 *) |
10095 lt_prog_compiler_can_build_shared_CXX=no | 12357 lt_prog_compiler_can_build_shared_CXX=no |
10096 ;; | 12358 ;; |
10097 esac | 12359 esac |
10098 fi | 12360 fi |
10099 | 12361 |
10100 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 | 12362 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 |
10101 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6 | 12363 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; } |
10102 | 12364 |
10103 # | 12365 # |
10104 # Check to make sure the PIC flag actually works. | 12366 # Check to make sure the PIC flag actually works. |
10105 # | 12367 # |
10106 if test -n "$lt_prog_compiler_pic_CXX"; then | 12368 if test -n "$lt_prog_compiler_pic_CXX"; then |
10107 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 | 12369 |
10108 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 | 12370 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 |
12371 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } | |
10109 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then | 12372 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then |
10110 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12373 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10111 else | 12374 else |
10112 lt_prog_compiler_pic_works_CXX=no | 12375 lt_prog_compiler_pic_works_CXX=no |
10113 ac_outfile=conftest.$ac_objext | 12376 ac_outfile=conftest.$ac_objext |
10117 # (2) before a word containing "conftest.", or (3) at the end. | 12380 # (2) before a word containing "conftest.", or (3) at the end. |
10118 # Note that $ac_compile itself does not contain backslashes and begins | 12381 # Note that $ac_compile itself does not contain backslashes and begins |
10119 # with a dollar sign (not a hyphen), so the echo should work correctly. | 12382 # with a dollar sign (not a hyphen), so the echo should work correctly. |
10120 # The option is referenced via a variable to avoid confusing sed. | 12383 # The option is referenced via a variable to avoid confusing sed. |
10121 lt_compile=`echo "$ac_compile" | $SED \ | 12384 lt_compile=`echo "$ac_compile" | $SED \ |
10122 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 12385 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
10123 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 12386 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
10124 -e 's:$: $lt_compiler_flag:'` | 12387 -e 's:$: $lt_compiler_flag:'` |
10125 (eval echo "\"\$as_me:10125: $lt_compile\"" >&5) | 12388 (eval echo "\"\$as_me:12388: $lt_compile\"" >&5) |
10126 (eval "$lt_compile" 2>conftest.err) | 12389 (eval "$lt_compile" 2>conftest.err) |
10127 ac_status=$? | 12390 ac_status=$? |
10128 cat conftest.err >&5 | 12391 cat conftest.err >&5 |
10129 echo "$as_me:10129: \$? = $ac_status" >&5 | 12392 echo "$as_me:12392: \$? = $ac_status" >&5 |
10130 if (exit $ac_status) && test -s "$ac_outfile"; then | 12393 if (exit $ac_status) && test -s "$ac_outfile"; then |
10131 # The compiler can only warn and ignore the option if not recognized | 12394 # The compiler can only warn and ignore the option if not recognized |
10132 # So say no if there are warnings | 12395 # So say no if there are warnings other than the usual output. |
10133 if test ! -s conftest.err; then | 12396 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
12397 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
12398 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then | |
10134 lt_prog_compiler_pic_works_CXX=yes | 12399 lt_prog_compiler_pic_works_CXX=yes |
10135 fi | 12400 fi |
10136 fi | 12401 fi |
10137 $rm conftest* | 12402 $rm conftest* |
10138 | 12403 |
10139 fi | 12404 fi |
10140 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 | 12405 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 |
10141 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6 | 12406 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; } |
10142 | 12407 |
10143 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then | 12408 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then |
10144 case $lt_prog_compiler_pic_CXX in | 12409 case $lt_prog_compiler_pic_CXX in |
10145 "" | " "*) ;; | 12410 "" | " "*) ;; |
10146 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; | 12411 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; |
10149 lt_prog_compiler_pic_CXX= | 12414 lt_prog_compiler_pic_CXX= |
10150 lt_prog_compiler_can_build_shared_CXX=no | 12415 lt_prog_compiler_can_build_shared_CXX=no |
10151 fi | 12416 fi |
10152 | 12417 |
10153 fi | 12418 fi |
10154 case "$host_os" in | 12419 case $host_os in |
10155 # For platforms which do not support PIC, -DPIC is meaningless: | 12420 # For platforms which do not support PIC, -DPIC is meaningless: |
10156 *djgpp*) | 12421 *djgpp*) |
10157 lt_prog_compiler_pic_CXX= | 12422 lt_prog_compiler_pic_CXX= |
10158 ;; | 12423 ;; |
10159 *) | 12424 *) |
10160 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" | 12425 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" |
10161 ;; | 12426 ;; |
10162 esac | 12427 esac |
10163 | 12428 |
10164 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | 12429 # |
10165 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | 12430 # Check to make sure the static flag actually works. |
12431 # | |
12432 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" | |
12433 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 | |
12434 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } | |
12435 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then | |
12436 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
12437 else | |
12438 lt_prog_compiler_static_works_CXX=no | |
12439 save_LDFLAGS="$LDFLAGS" | |
12440 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" | |
12441 printf "$lt_simple_link_test_code" > conftest.$ac_ext | |
12442 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | |
12443 # The linker can only warn and ignore the option if not recognized | |
12444 # So say no if there are warnings | |
12445 if test -s conftest.err; then | |
12446 # Append any errors to the config.log. | |
12447 cat conftest.err 1>&5 | |
12448 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp | |
12449 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
12450 if diff conftest.exp conftest.er2 >/dev/null; then | |
12451 lt_prog_compiler_static_works_CXX=yes | |
12452 fi | |
12453 else | |
12454 lt_prog_compiler_static_works_CXX=yes | |
12455 fi | |
12456 fi | |
12457 $rm conftest* | |
12458 LDFLAGS="$save_LDFLAGS" | |
12459 | |
12460 fi | |
12461 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5 | |
12462 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; } | |
12463 | |
12464 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then | |
12465 : | |
12466 else | |
12467 lt_prog_compiler_static_CXX= | |
12468 fi | |
12469 | |
12470 | |
12471 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | |
12472 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } | |
10166 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then | 12473 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then |
10167 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12474 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10168 else | 12475 else |
10169 lt_cv_prog_compiler_c_o_CXX=no | 12476 lt_cv_prog_compiler_c_o_CXX=no |
10170 $rm -r conftest 2>/dev/null | 12477 $rm -r conftest 2>/dev/null |
10171 mkdir conftest | 12478 mkdir conftest |
10172 cd conftest | 12479 cd conftest |
10173 mkdir out | 12480 mkdir out |
10174 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 12481 printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
10175 | 12482 |
10176 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | |
10177 # that will create temporary files in the current directory regardless of | |
10178 # the output directory. Thus, making CWD read-only will cause this test | |
10179 # to fail, enabling locking or at least warning the user not to do parallel | |
10180 # builds. | |
10181 chmod -w . | |
10182 | |
10183 lt_compiler_flag="-o out/conftest2.$ac_objext" | 12483 lt_compiler_flag="-o out/conftest2.$ac_objext" |
10184 # Insert the option either (1) after the last *FLAGS variable, or | 12484 # Insert the option either (1) after the last *FLAGS variable, or |
10185 # (2) before a word containing "conftest.", or (3) at the end. | 12485 # (2) before a word containing "conftest.", or (3) at the end. |
10186 # Note that $ac_compile itself does not contain backslashes and begins | 12486 # Note that $ac_compile itself does not contain backslashes and begins |
10187 # with a dollar sign (not a hyphen), so the echo should work correctly. | 12487 # with a dollar sign (not a hyphen), so the echo should work correctly. |
10188 lt_compile=`echo "$ac_compile" | $SED \ | 12488 lt_compile=`echo "$ac_compile" | $SED \ |
10189 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 12489 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
10190 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 12490 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
10191 -e 's:$: $lt_compiler_flag:'` | 12491 -e 's:$: $lt_compiler_flag:'` |
10192 (eval echo "\"\$as_me:10192: $lt_compile\"" >&5) | 12492 (eval echo "\"\$as_me:12492: $lt_compile\"" >&5) |
10193 (eval "$lt_compile" 2>out/conftest.err) | 12493 (eval "$lt_compile" 2>out/conftest.err) |
10194 ac_status=$? | 12494 ac_status=$? |
10195 cat out/conftest.err >&5 | 12495 cat out/conftest.err >&5 |
10196 echo "$as_me:10196: \$? = $ac_status" >&5 | 12496 echo "$as_me:12496: \$? = $ac_status" >&5 |
10197 if (exit $ac_status) && test -s out/conftest2.$ac_objext | 12497 if (exit $ac_status) && test -s out/conftest2.$ac_objext |
10198 then | 12498 then |
10199 # The compiler can only warn and ignore the option if not recognized | 12499 # The compiler can only warn and ignore the option if not recognized |
10200 # So say no if there are warnings | 12500 # So say no if there are warnings |
10201 if test ! -s out/conftest.err; then | 12501 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
12502 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | |
12503 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then | |
10202 lt_cv_prog_compiler_c_o_CXX=yes | 12504 lt_cv_prog_compiler_c_o_CXX=yes |
10203 fi | 12505 fi |
10204 fi | 12506 fi |
10205 chmod u+w . | 12507 chmod u+w . 2>&5 |
10206 $rm conftest* out/* | 12508 $rm conftest* |
10207 rmdir out | 12509 # SGI C++ compiler will create directory out/ii_files/ for |
12510 # template instantiation | |
12511 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files | |
12512 $rm out/* && rmdir out | |
10208 cd .. | 12513 cd .. |
10209 rmdir conftest | 12514 rmdir conftest |
10210 $rm conftest* | 12515 $rm conftest* |
10211 | 12516 |
10212 fi | 12517 fi |
10213 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 | 12518 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 |
10214 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6 | 12519 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; } |
10215 | 12520 |
10216 | 12521 |
10217 hard_links="nottested" | 12522 hard_links="nottested" |
10218 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then | 12523 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then |
10219 # do not overwrite the value of need_locks provided by the user | 12524 # do not overwrite the value of need_locks provided by the user |
10220 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 | 12525 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
10221 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 12526 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } |
10222 hard_links=yes | 12527 hard_links=yes |
10223 $rm conftest* | 12528 $rm conftest* |
10224 ln conftest.a conftest.b 2>/dev/null && hard_links=no | 12529 ln conftest.a conftest.b 2>/dev/null && hard_links=no |
10225 touch conftest.a | 12530 touch conftest.a |
10226 ln conftest.a conftest.b 2>&5 || hard_links=no | 12531 ln conftest.a conftest.b 2>&5 || hard_links=no |
10227 ln conftest.a conftest.b 2>/dev/null && hard_links=no | 12532 ln conftest.a conftest.b 2>/dev/null && hard_links=no |
10228 echo "$as_me:$LINENO: result: $hard_links" >&5 | 12533 { echo "$as_me:$LINENO: result: $hard_links" >&5 |
10229 echo "${ECHO_T}$hard_links" >&6 | 12534 echo "${ECHO_T}$hard_links" >&6; } |
10230 if test "$hard_links" = no; then | 12535 if test "$hard_links" = no; then |
10231 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 12536 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
10232 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 12537 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
10233 need_locks=warn | 12538 need_locks=warn |
10234 fi | 12539 fi |
10235 else | 12540 else |
10236 need_locks=no | 12541 need_locks=no |
10237 fi | 12542 fi |
10238 | 12543 |
10239 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 12544 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
10240 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 12545 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
10241 | 12546 |
10242 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 12547 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
10243 case $host_os in | 12548 case $host_os in |
10244 aix4* | aix5*) | 12549 aix4* | aix5*) |
10245 # If we're using GNU nm, then we don't want the "-C" option. | 12550 # If we're using GNU nm, then we don't want the "-C" option. |
10252 ;; | 12557 ;; |
10253 pw32*) | 12558 pw32*) |
10254 export_symbols_cmds_CXX="$ltdll_cmds" | 12559 export_symbols_cmds_CXX="$ltdll_cmds" |
10255 ;; | 12560 ;; |
10256 cygwin* | mingw*) | 12561 cygwin* | mingw*) |
10257 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 12562 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
10258 ;; | 12563 ;; |
10259 *) | 12564 *) |
10260 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 12565 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
10261 ;; | 12566 ;; |
10262 esac | 12567 esac |
10263 | 12568 |
10264 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 | 12569 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 |
10265 echo "${ECHO_T}$ld_shlibs_CXX" >&6 | 12570 echo "${ECHO_T}$ld_shlibs_CXX" >&6; } |
10266 test "$ld_shlibs_CXX" = no && can_build_shared=no | 12571 test "$ld_shlibs_CXX" = no && can_build_shared=no |
10267 | |
10268 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | |
10269 if test "$GCC" = yes; then | |
10270 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | |
10271 fi | |
10272 | 12572 |
10273 # | 12573 # |
10274 # Do we need to explicitly link libc? | 12574 # Do we need to explicitly link libc? |
10275 # | 12575 # |
10276 case "x$archive_cmds_need_lc_CXX" in | 12576 case "x$archive_cmds_need_lc_CXX" in |
10285 ;; | 12585 ;; |
10286 '$CC '*) | 12586 '$CC '*) |
10287 # Test whether the compiler implicitly links with -lc since on some | 12587 # Test whether the compiler implicitly links with -lc since on some |
10288 # systems, -lgcc has to come before -lc. If gcc already passes -lc | 12588 # systems, -lgcc has to come before -lc. If gcc already passes -lc |
10289 # to ld, don't add -lc before -lgcc. | 12589 # to ld, don't add -lc before -lgcc. |
10290 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 | 12590 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
10291 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 12591 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } |
10292 $rm conftest* | 12592 $rm conftest* |
10293 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 12593 printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
10294 | 12594 |
10295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10296 (eval $ac_compile) 2>&5 | 12596 (eval $ac_compile) 2>&5 |
10300 soname=conftest | 12600 soname=conftest |
10301 lib=conftest | 12601 lib=conftest |
10302 libobjs=conftest.$ac_objext | 12602 libobjs=conftest.$ac_objext |
10303 deplibs= | 12603 deplibs= |
10304 wl=$lt_prog_compiler_wl_CXX | 12604 wl=$lt_prog_compiler_wl_CXX |
12605 pic_flag=$lt_prog_compiler_pic_CXX | |
10305 compiler_flags=-v | 12606 compiler_flags=-v |
10306 linker_flags=-v | 12607 linker_flags=-v |
10307 verstring= | 12608 verstring= |
10308 output_objdir=. | 12609 output_objdir=. |
10309 libname=conftest | 12610 libname=conftest |
10322 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag | 12623 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag |
10323 else | 12624 else |
10324 cat conftest.err 1>&5 | 12625 cat conftest.err 1>&5 |
10325 fi | 12626 fi |
10326 $rm conftest* | 12627 $rm conftest* |
10327 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 | 12628 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 |
10328 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6 | 12629 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; } |
10329 ;; | 12630 ;; |
10330 esac | 12631 esac |
10331 fi | 12632 fi |
10332 ;; | 12633 ;; |
10333 esac | 12634 esac |
10334 | 12635 |
10335 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | 12636 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
10336 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 12637 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } |
10337 hardcode_action_CXX= | |
10338 if test -n "$hardcode_libdir_flag_spec_CXX" || \ | |
10339 test -n "$runpath_var CXX" || \ | |
10340 test "X$hardcode_automatic_CXX"="Xyes" ; then | |
10341 | |
10342 # We can hardcode non-existant directories. | |
10343 if test "$hardcode_direct_CXX" != no && | |
10344 # If the only mechanism to avoid hardcoding is shlibpath_var, we | |
10345 # have to relink, otherwise we might link with an installed library | |
10346 # when we should be linking with a yet-to-be-installed one | |
10347 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && | |
10348 test "$hardcode_minus_L_CXX" != no; then | |
10349 # Linking always hardcodes the temporary library directory. | |
10350 hardcode_action_CXX=relink | |
10351 else | |
10352 # We can link without hardcoding, and we can hardcode nonexisting dirs. | |
10353 hardcode_action_CXX=immediate | |
10354 fi | |
10355 else | |
10356 # We cannot hardcode anything, or else we can only hardcode existing | |
10357 # directories. | |
10358 hardcode_action_CXX=unsupported | |
10359 fi | |
10360 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 | |
10361 echo "${ECHO_T}$hardcode_action_CXX" >&6 | |
10362 | |
10363 if test "$hardcode_action_CXX" = relink; then | |
10364 # Fast installation is not supported | |
10365 enable_fast_install=no | |
10366 elif test "$shlibpath_overrides_runpath" = yes || | |
10367 test "$enable_shared" = no; then | |
10368 # Fast installation is not necessary | |
10369 enable_fast_install=needless | |
10370 fi | |
10371 | |
10372 striplib= | |
10373 old_striplib= | |
10374 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | |
10375 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | |
10376 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | |
10377 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | |
10378 test -z "$striplib" && striplib="$STRIP --strip-unneeded" | |
10379 echo "$as_me:$LINENO: result: yes" >&5 | |
10380 echo "${ECHO_T}yes" >&6 | |
10381 else | |
10382 # FIXME - insert some real tests, host_os isn't really good enough | |
10383 case $host_os in | |
10384 darwin*) | |
10385 if test -n "$STRIP" ; then | |
10386 striplib="$STRIP -x" | |
10387 echo "$as_me:$LINENO: result: yes" >&5 | |
10388 echo "${ECHO_T}yes" >&6 | |
10389 else | |
10390 echo "$as_me:$LINENO: result: no" >&5 | |
10391 echo "${ECHO_T}no" >&6 | |
10392 fi | |
10393 ;; | |
10394 *) | |
10395 echo "$as_me:$LINENO: result: no" >&5 | |
10396 echo "${ECHO_T}no" >&6 | |
10397 ;; | |
10398 esac | |
10399 fi | |
10400 | |
10401 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 | |
10402 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | |
10403 library_names_spec= | 12638 library_names_spec= |
10404 libname_spec='lib$name' | 12639 libname_spec='lib$name' |
10405 soname_spec= | 12640 soname_spec= |
10406 shrext=".so" | 12641 shrext_cmds=".so" |
10407 postinstall_cmds= | 12642 postinstall_cmds= |
10408 postuninstall_cmds= | 12643 postuninstall_cmds= |
10409 finish_cmds= | 12644 finish_cmds= |
10410 finish_eval= | 12645 finish_eval= |
10411 shlibpath_var= | 12646 shlibpath_var= |
10489 ;; | 12724 ;; |
10490 | 12725 |
10491 amigaos*) | 12726 amigaos*) |
10492 library_names_spec='$libname.ixlibrary $libname.a' | 12727 library_names_spec='$libname.ixlibrary $libname.a' |
10493 # Create ${libname}_ixlibrary.a entries in /sys/libs. | 12728 # Create ${libname}_ixlibrary.a entries in /sys/libs. |
10494 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' | 12729 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' |
10495 ;; | 12730 ;; |
10496 | 12731 |
10497 beos*) | 12732 beos*) |
10498 library_names_spec='${libname}${shared_ext}' | 12733 library_names_spec='${libname}${shared_ext}' |
10499 dynamic_linker="$host_os ld.so" | 12734 dynamic_linker="$host_os ld.so" |
10500 shlibpath_var=LIBRARY_PATH | 12735 shlibpath_var=LIBRARY_PATH |
10501 ;; | 12736 ;; |
10502 | 12737 |
10503 bsdi4*) | 12738 bsdi[45]*) |
10504 version_type=linux | 12739 version_type=linux |
10505 need_version=no | 12740 need_version=no |
10506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10507 soname_spec='${libname}${release}${shared_ext}$major' | 12742 soname_spec='${libname}${release}${shared_ext}$major' |
10508 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 12743 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
10514 # libtool to hard-code these into programs | 12749 # libtool to hard-code these into programs |
10515 ;; | 12750 ;; |
10516 | 12751 |
10517 cygwin* | mingw* | pw32*) | 12752 cygwin* | mingw* | pw32*) |
10518 version_type=windows | 12753 version_type=windows |
10519 shrext=".dll" | 12754 shrext_cmds=".dll" |
10520 need_version=no | 12755 need_version=no |
10521 need_lib_prefix=no | 12756 need_lib_prefix=no |
10522 | 12757 |
10523 case $GCC,$host_os in | 12758 case $GCC,$host_os in |
10524 yes,cygwin* | yes,mingw* | yes,pw32*) | 12759 yes,cygwin* | yes,mingw* | yes,pw32*) |
10526 # DLL is installed to $(libdir)/../bin by postinstall_cmds | 12761 # DLL is installed to $(libdir)/../bin by postinstall_cmds |
10527 postinstall_cmds='base_file=`basename \${file}`~ | 12762 postinstall_cmds='base_file=`basename \${file}`~ |
10528 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ | 12763 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
10529 dldir=$destdir/`dirname \$dlpath`~ | 12764 dldir=$destdir/`dirname \$dlpath`~ |
10530 test -d \$dldir || mkdir -p \$dldir~ | 12765 test -d \$dldir || mkdir -p \$dldir~ |
10531 $install_prog $dir/$dlname \$dldir/$dlname' | 12766 $install_prog $dir/$dlname \$dldir/$dlname~ |
12767 chmod a+x \$dldir/$dlname' | |
10532 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 12768 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
10533 dlpath=$dir/\$dldll~ | 12769 dlpath=$dir/\$dldll~ |
10534 $rm \$dlpath' | 12770 $rm \$dlpath' |
10535 shlibpath_overrides_runpath=yes | 12771 shlibpath_overrides_runpath=yes |
10536 | 12772 |
10537 case $host_os in | 12773 case $host_os in |
10538 cygwin*) | 12774 cygwin*) |
10539 # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 12775 # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
10540 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 12776 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
10541 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" | 12777 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
10542 ;; | 12778 ;; |
10543 mingw*) | 12779 mingw*) |
10544 # MinGW DLLs use traditional 'lib' prefix | 12780 # MinGW DLLs use traditional 'lib' prefix |
10545 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 12781 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
10546 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 12782 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
10556 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` | 12792 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
10557 fi | 12793 fi |
10558 ;; | 12794 ;; |
10559 pw32*) | 12795 pw32*) |
10560 # pw32 DLLs use 'pw' prefix rather than 'lib' | 12796 # pw32 DLLs use 'pw' prefix rather than 'lib' |
10561 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' | 12797 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
10562 ;; | 12798 ;; |
10563 esac | 12799 esac |
10564 ;; | 12800 ;; |
10565 | 12801 |
10566 *) | 12802 *) |
10575 darwin* | rhapsody*) | 12811 darwin* | rhapsody*) |
10576 dynamic_linker="$host_os dyld" | 12812 dynamic_linker="$host_os dyld" |
10577 version_type=darwin | 12813 version_type=darwin |
10578 need_lib_prefix=no | 12814 need_lib_prefix=no |
10579 need_version=no | 12815 need_version=no |
10580 # FIXME: Relying on posixy $() will cause problems for | |
10581 # cross-compilation, but unfortunately the echo tests do not | |
10582 # yet detect zsh echo's removal of \ escapes. | |
10583 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 12816 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
10584 soname_spec='${libname}${release}${major}$shared_ext' | 12817 soname_spec='${libname}${release}${major}$shared_ext' |
10585 shlibpath_overrides_runpath=yes | 12818 shlibpath_overrides_runpath=yes |
10586 shlibpath_var=DYLD_LIBRARY_PATH | 12819 shlibpath_var=DYLD_LIBRARY_PATH |
10587 shrext='$(test .$module = .yes && echo .so || echo .dylib)' | 12820 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
10588 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. | 12821 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
10589 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 12822 if test "$GCC" = yes; then |
10590 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` | 12823 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
12824 else | |
12825 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' | |
10591 fi | 12826 fi |
10592 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 12827 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
10593 ;; | 12828 ;; |
10594 | 12829 |
10595 dgux*) | 12830 dgux*) |
10603 | 12838 |
10604 freebsd1*) | 12839 freebsd1*) |
10605 dynamic_linker=no | 12840 dynamic_linker=no |
10606 ;; | 12841 ;; |
10607 | 12842 |
10608 freebsd*) | 12843 kfreebsd*-gnu) |
10609 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 12844 version_type=linux |
12845 need_lib_prefix=no | |
12846 need_version=no | |
12847 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
12848 soname_spec='${libname}${release}${shared_ext}$major' | |
12849 shlibpath_var=LD_LIBRARY_PATH | |
12850 shlibpath_overrides_runpath=no | |
12851 hardcode_into_libs=yes | |
12852 dynamic_linker='GNU ld.so' | |
12853 ;; | |
12854 | |
12855 freebsd* | dragonfly*) | |
12856 # DragonFly does not have aout. When/if they implement a new | |
12857 # versioning mechanism, adjust this. | |
12858 if test -x /usr/bin/objformat; then | |
12859 objformat=`/usr/bin/objformat` | |
12860 else | |
12861 case $host_os in | |
12862 freebsd[123]*) objformat=aout ;; | |
12863 *) objformat=elf ;; | |
12864 esac | |
12865 fi | |
10610 version_type=freebsd-$objformat | 12866 version_type=freebsd-$objformat |
10611 case $version_type in | 12867 case $version_type in |
10612 freebsd-elf*) | 12868 freebsd-elf*) |
10613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 12869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
10614 need_version=no | 12870 need_version=no |
10622 shlibpath_var=LD_LIBRARY_PATH | 12878 shlibpath_var=LD_LIBRARY_PATH |
10623 case $host_os in | 12879 case $host_os in |
10624 freebsd2*) | 12880 freebsd2*) |
10625 shlibpath_overrides_runpath=yes | 12881 shlibpath_overrides_runpath=yes |
10626 ;; | 12882 ;; |
10627 freebsd3.01* | freebsdelf3.01*) | 12883 freebsd3.[01]* | freebsdelf3.[01]*) |
10628 shlibpath_overrides_runpath=yes | 12884 shlibpath_overrides_runpath=yes |
10629 hardcode_into_libs=yes | 12885 hardcode_into_libs=yes |
10630 ;; | 12886 ;; |
10631 *) # from 3.2 on | 12887 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
12888 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) | |
10632 shlibpath_overrides_runpath=no | 12889 shlibpath_overrides_runpath=no |
12890 hardcode_into_libs=yes | |
12891 ;; | |
12892 freebsd*) # from 4.6 on | |
12893 shlibpath_overrides_runpath=yes | |
10633 hardcode_into_libs=yes | 12894 hardcode_into_libs=yes |
10634 ;; | 12895 ;; |
10635 esac | 12896 esac |
10636 ;; | 12897 ;; |
10637 | 12898 |
10649 # Give a soname corresponding to the major version so that dld.sl refuses to | 12910 # Give a soname corresponding to the major version so that dld.sl refuses to |
10650 # link against other versions. | 12911 # link against other versions. |
10651 version_type=sunos | 12912 version_type=sunos |
10652 need_lib_prefix=no | 12913 need_lib_prefix=no |
10653 need_version=no | 12914 need_version=no |
10654 case "$host_cpu" in | 12915 case $host_cpu in |
10655 ia64*) | 12916 ia64*) |
10656 shrext='.so' | 12917 shrext_cmds='.so' |
10657 hardcode_into_libs=yes | 12918 hardcode_into_libs=yes |
10658 dynamic_linker="$host_os dld.so" | 12919 dynamic_linker="$host_os dld.so" |
10659 shlibpath_var=LD_LIBRARY_PATH | 12920 shlibpath_var=LD_LIBRARY_PATH |
10660 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 12921 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
10661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10666 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 12927 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
10667 fi | 12928 fi |
10668 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 12929 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
10669 ;; | 12930 ;; |
10670 hppa*64*) | 12931 hppa*64*) |
10671 shrext='.sl' | 12932 shrext_cmds='.sl' |
10672 hardcode_into_libs=yes | 12933 hardcode_into_libs=yes |
10673 dynamic_linker="$host_os dld.sl" | 12934 dynamic_linker="$host_os dld.sl" |
10674 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 12935 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
10675 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 12936 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
10676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10677 soname_spec='${libname}${release}${shared_ext}$major' | 12938 soname_spec='${libname}${release}${shared_ext}$major' |
10678 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 12939 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
10679 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 12940 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
10680 ;; | 12941 ;; |
10681 *) | 12942 *) |
10682 shrext='.sl' | 12943 shrext_cmds='.sl' |
10683 dynamic_linker="$host_os dld.sl" | 12944 dynamic_linker="$host_os dld.sl" |
10684 shlibpath_var=SHLIB_PATH | 12945 shlibpath_var=SHLIB_PATH |
10685 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 12946 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
10686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10687 soname_spec='${libname}${release}${shared_ext}$major' | 12948 soname_spec='${libname}${release}${shared_ext}$major' |
10688 ;; | 12949 ;; |
10689 esac | 12950 esac |
10690 # HP-UX runs *really* slowly unless shared libraries are mode 555. | 12951 # HP-UX runs *really* slowly unless shared libraries are mode 555. |
10691 postinstall_cmds='chmod 555 $lib' | 12952 postinstall_cmds='chmod 555 $lib' |
12953 ;; | |
12954 | |
12955 interix3*) | |
12956 version_type=linux | |
12957 need_lib_prefix=no | |
12958 need_version=no | |
12959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
12960 soname_spec='${libname}${release}${shared_ext}$major' | |
12961 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' | |
12962 shlibpath_var=LD_LIBRARY_PATH | |
12963 shlibpath_overrides_runpath=no | |
12964 hardcode_into_libs=yes | |
10692 ;; | 12965 ;; |
10693 | 12966 |
10694 irix5* | irix6* | nonstopux*) | 12967 irix5* | irix6* | nonstopux*) |
10695 case $host_os in | 12968 case $host_os in |
10696 nonstopux*) version_type=nonstopux ;; | 12969 nonstopux*) version_type=nonstopux ;; |
10746 # This implies no fast_install, which is unacceptable. | 13019 # This implies no fast_install, which is unacceptable. |
10747 # Some rework will be needed to allow for fast_install | 13020 # Some rework will be needed to allow for fast_install |
10748 # before this can be enabled. | 13021 # before this can be enabled. |
10749 hardcode_into_libs=yes | 13022 hardcode_into_libs=yes |
10750 | 13023 |
13024 # Append ld.so.conf contents to the search path | |
13025 if test -f /etc/ld.so.conf; then | |
13026 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` | |
13027 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | |
13028 fi | |
13029 | |
10751 # We used to test for /lib/ld.so.1 and disable shared libraries on | 13030 # We used to test for /lib/ld.so.1 and disable shared libraries on |
10752 # powerpc, because MkLinux only supported shared libraries with the | 13031 # powerpc, because MkLinux only supported shared libraries with the |
10753 # GNU dynamic linker. Since this was broken with cross compilers, | 13032 # GNU dynamic linker. Since this was broken with cross compilers, |
10754 # most powerpc-linux boxes support dynamic linking these days and | 13033 # most powerpc-linux boxes support dynamic linking these days and |
10755 # people can always --disable-shared, the test was removed, and we | 13034 # people can always --disable-shared, the test was removed, and we |
10756 # assume the GNU/Linux dynamic linker is in use. | 13035 # assume the GNU/Linux dynamic linker is in use. |
10757 dynamic_linker='GNU/Linux ld.so' | 13036 dynamic_linker='GNU/Linux ld.so' |
13037 ;; | |
13038 | |
13039 knetbsd*-gnu) | |
13040 version_type=linux | |
13041 need_lib_prefix=no | |
13042 need_version=no | |
13043 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
13044 soname_spec='${libname}${release}${shared_ext}$major' | |
13045 shlibpath_var=LD_LIBRARY_PATH | |
13046 shlibpath_overrides_runpath=no | |
13047 hardcode_into_libs=yes | |
13048 dynamic_linker='GNU ld.so' | |
10758 ;; | 13049 ;; |
10759 | 13050 |
10760 netbsd*) | 13051 netbsd*) |
10761 version_type=sunos | 13052 version_type=sunos |
10762 need_lib_prefix=no | 13053 need_lib_prefix=no |
10764 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 13055 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
10765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 13056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
10766 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 13057 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
10767 dynamic_linker='NetBSD (a.out) ld.so' | 13058 dynamic_linker='NetBSD (a.out) ld.so' |
10768 else | 13059 else |
10769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' | 13060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
10770 soname_spec='${libname}${release}${shared_ext}$major' | 13061 soname_spec='${libname}${release}${shared_ext}$major' |
10771 dynamic_linker='NetBSD ld.elf_so' | 13062 dynamic_linker='NetBSD ld.elf_so' |
10772 fi | 13063 fi |
10773 shlibpath_var=LD_LIBRARY_PATH | 13064 shlibpath_var=LD_LIBRARY_PATH |
10774 shlibpath_overrides_runpath=yes | 13065 shlibpath_overrides_runpath=yes |
10780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 13071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10781 shlibpath_var=LD_LIBRARY_PATH | 13072 shlibpath_var=LD_LIBRARY_PATH |
10782 shlibpath_overrides_runpath=yes | 13073 shlibpath_overrides_runpath=yes |
10783 ;; | 13074 ;; |
10784 | 13075 |
10785 nto-qnx) | 13076 nto-qnx*) |
10786 version_type=linux | 13077 version_type=linux |
10787 need_lib_prefix=no | 13078 need_lib_prefix=no |
10788 need_version=no | 13079 need_version=no |
10789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 13080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10790 soname_spec='${libname}${release}${shared_ext}$major' | 13081 soname_spec='${libname}${release}${shared_ext}$major' |
10792 shlibpath_overrides_runpath=yes | 13083 shlibpath_overrides_runpath=yes |
10793 ;; | 13084 ;; |
10794 | 13085 |
10795 openbsd*) | 13086 openbsd*) |
10796 version_type=sunos | 13087 version_type=sunos |
13088 sys_lib_dlsearch_path_spec="/usr/lib" | |
10797 need_lib_prefix=no | 13089 need_lib_prefix=no |
10798 need_version=no | 13090 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
13091 case $host_os in | |
13092 openbsd3.3 | openbsd3.3.*) need_version=yes ;; | |
13093 *) need_version=no ;; | |
13094 esac | |
10799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 13095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
10800 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 13096 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
10801 shlibpath_var=LD_LIBRARY_PATH | 13097 shlibpath_var=LD_LIBRARY_PATH |
10802 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 13098 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
10803 case $host_os in | 13099 case $host_os in |
10813 fi | 13109 fi |
10814 ;; | 13110 ;; |
10815 | 13111 |
10816 os2*) | 13112 os2*) |
10817 libname_spec='$name' | 13113 libname_spec='$name' |
10818 shrext=".dll" | 13114 shrext_cmds=".dll" |
10819 need_lib_prefix=no | 13115 need_lib_prefix=no |
10820 library_names_spec='$libname${shared_ext} $libname.a' | 13116 library_names_spec='$libname${shared_ext} $libname.a' |
10821 dynamic_linker='OS/2 ld.exe' | 13117 dynamic_linker='OS/2 ld.exe' |
10822 shlibpath_var=LIBPATH | 13118 shlibpath_var=LIBPATH |
10823 ;; | 13119 ;; |
10829 soname_spec='${libname}${release}${shared_ext}$major' | 13125 soname_spec='${libname}${release}${shared_ext}$major' |
10830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 13126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10831 shlibpath_var=LD_LIBRARY_PATH | 13127 shlibpath_var=LD_LIBRARY_PATH |
10832 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 13128 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
10833 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 13129 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
10834 ;; | |
10835 | |
10836 sco3.2v5*) | |
10837 version_type=osf | |
10838 soname_spec='${libname}${release}${shared_ext}$major' | |
10839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
10840 shlibpath_var=LD_LIBRARY_PATH | |
10841 ;; | 13130 ;; |
10842 | 13131 |
10843 solaris*) | 13132 solaris*) |
10844 version_type=linux | 13133 version_type=linux |
10845 need_lib_prefix=no | 13134 need_lib_prefix=no |
10863 need_lib_prefix=no | 13152 need_lib_prefix=no |
10864 fi | 13153 fi |
10865 need_version=yes | 13154 need_version=yes |
10866 ;; | 13155 ;; |
10867 | 13156 |
10868 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 13157 sysv4 | sysv4.3*) |
10869 version_type=linux | 13158 version_type=linux |
10870 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 13159 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10871 soname_spec='${libname}${release}${shared_ext}$major' | 13160 soname_spec='${libname}${release}${shared_ext}$major' |
10872 shlibpath_var=LD_LIBRARY_PATH | 13161 shlibpath_var=LD_LIBRARY_PATH |
10873 case $host_vendor in | 13162 case $host_vendor in |
10896 soname_spec='$libname${shared_ext}.$major' | 13185 soname_spec='$libname${shared_ext}.$major' |
10897 shlibpath_var=LD_LIBRARY_PATH | 13186 shlibpath_var=LD_LIBRARY_PATH |
10898 fi | 13187 fi |
10899 ;; | 13188 ;; |
10900 | 13189 |
13190 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | |
13191 version_type=freebsd-elf | |
13192 need_lib_prefix=no | |
13193 need_version=no | |
13194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | |
13195 soname_spec='${libname}${release}${shared_ext}$major' | |
13196 shlibpath_var=LD_LIBRARY_PATH | |
13197 hardcode_into_libs=yes | |
13198 if test "$with_gnu_ld" = yes; then | |
13199 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' | |
13200 shlibpath_overrides_runpath=no | |
13201 else | |
13202 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' | |
13203 shlibpath_overrides_runpath=yes | |
13204 case $host_os in | |
13205 sco3.2v5*) | |
13206 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" | |
13207 ;; | |
13208 esac | |
13209 fi | |
13210 sys_lib_dlsearch_path_spec='/usr/lib' | |
13211 ;; | |
13212 | |
10901 uts4*) | 13213 uts4*) |
10902 version_type=linux | 13214 version_type=linux |
10903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 13215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10904 soname_spec='${libname}${release}${shared_ext}$major' | 13216 soname_spec='${libname}${release}${shared_ext}$major' |
10905 shlibpath_var=LD_LIBRARY_PATH | 13217 shlibpath_var=LD_LIBRARY_PATH |
10907 | 13219 |
10908 *) | 13220 *) |
10909 dynamic_linker=no | 13221 dynamic_linker=no |
10910 ;; | 13222 ;; |
10911 esac | 13223 esac |
10912 echo "$as_me:$LINENO: result: $dynamic_linker" >&5 | 13224 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
10913 echo "${ECHO_T}$dynamic_linker" >&6 | 13225 echo "${ECHO_T}$dynamic_linker" >&6; } |
10914 test "$dynamic_linker" = no && can_build_shared=no | 13226 test "$dynamic_linker" = no && can_build_shared=no |
10915 | 13227 |
10916 if test "x$enable_dlopen" != xyes; then | 13228 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
10917 enable_dlopen=unknown | 13229 if test "$GCC" = yes; then |
10918 enable_dlopen_self=unknown | 13230 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
10919 enable_dlopen_self_static=unknown | 13231 fi |
10920 else | 13232 |
10921 lt_cv_dlopen=no | 13233 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
10922 lt_cv_dlopen_libs= | 13234 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } |
10923 | 13235 hardcode_action_CXX= |
10924 case $host_os in | 13236 if test -n "$hardcode_libdir_flag_spec_CXX" || \ |
10925 beos*) | 13237 test -n "$runpath_var_CXX" || \ |
10926 lt_cv_dlopen="load_add_on" | 13238 test "X$hardcode_automatic_CXX" = "Xyes" ; then |
10927 lt_cv_dlopen_libs= | 13239 |
10928 lt_cv_dlopen_self=yes | 13240 # We can hardcode non-existant directories. |
10929 ;; | 13241 if test "$hardcode_direct_CXX" != no && |
10930 | 13242 # If the only mechanism to avoid hardcoding is shlibpath_var, we |
10931 mingw* | pw32*) | 13243 # have to relink, otherwise we might link with an installed library |
10932 lt_cv_dlopen="LoadLibrary" | 13244 # when we should be linking with a yet-to-be-installed one |
10933 lt_cv_dlopen_libs= | 13245 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && |
10934 ;; | 13246 test "$hardcode_minus_L_CXX" != no; then |
10935 | 13247 # Linking always hardcodes the temporary library directory. |
10936 cygwin*) | 13248 hardcode_action_CXX=relink |
10937 lt_cv_dlopen="dlopen" | |
10938 lt_cv_dlopen_libs= | |
10939 ;; | |
10940 | |
10941 darwin*) | |
10942 # if libdl is installed we need to link against it | |
10943 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | |
10944 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | |
10945 if test "${ac_cv_lib_dl_dlopen+set}" = set; then | |
10946 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10947 else | |
10948 ac_check_lib_save_LIBS=$LIBS | |
10949 LIBS="-ldl $LIBS" | |
10950 cat >conftest.$ac_ext <<_ACEOF | |
10951 #line $LINENO "configure" | |
10952 #include "confdefs.h" | |
10953 | |
10954 /* Override any gcc2 internal prototype to avoid an error. */ | |
10955 #ifdef __cplusplus | |
10956 extern "C" | |
10957 #endif | |
10958 /* We use char because int might match the return type of a gcc2 | |
10959 builtin and then its argument prototype would still apply. */ | |
10960 char dlopen (); | |
10961 #ifdef F77_DUMMY_MAIN | |
10962 # ifdef __cplusplus | |
10963 extern "C" | |
10964 # endif | |
10965 int F77_DUMMY_MAIN() { return 1; } | |
10966 #endif | |
10967 int | |
10968 main () | |
10969 { | |
10970 dlopen (); | |
10971 ; | |
10972 return 0; | |
10973 } | |
10974 _ACEOF | |
10975 rm -f conftest.$ac_objext conftest$ac_exeext | |
10976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
10977 (eval $ac_link) 2>&5 | |
10978 ac_status=$? | |
10979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10980 (exit $ac_status); } && | |
10981 { ac_try='test -s conftest$ac_exeext' | |
10982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
10983 (eval $ac_try) 2>&5 | |
10984 ac_status=$? | |
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
10986 (exit $ac_status); }; }; then | |
10987 ac_cv_lib_dl_dlopen=yes | |
10988 else | |
10989 echo "$as_me: failed program was:" >&5 | |
10990 cat conftest.$ac_ext >&5 | |
10991 ac_cv_lib_dl_dlopen=no | |
10992 fi | |
10993 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
10994 LIBS=$ac_check_lib_save_LIBS | |
10995 fi | |
10996 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | |
10997 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | |
10998 if test $ac_cv_lib_dl_dlopen = yes; then | |
10999 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | |
11000 else | |
11001 | |
11002 lt_cv_dlopen="dyld" | |
11003 lt_cv_dlopen_libs= | |
11004 lt_cv_dlopen_self=yes | |
11005 | |
11006 fi | |
11007 | |
11008 ;; | |
11009 | |
11010 *) | |
11011 echo "$as_me:$LINENO: checking for shl_load" >&5 | |
11012 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 | |
11013 if test "${ac_cv_func_shl_load+set}" = set; then | |
11014 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11015 else | |
11016 cat >conftest.$ac_ext <<_ACEOF | |
11017 #line $LINENO "configure" | |
11018 #include "confdefs.h" | |
11019 /* System header to define __stub macros and hopefully few prototypes, | |
11020 which can conflict with char shl_load (); below. */ | |
11021 #include <assert.h> | |
11022 /* Override any gcc2 internal prototype to avoid an error. */ | |
11023 #ifdef __cplusplus | |
11024 extern "C" | |
11025 #endif | |
11026 /* We use char because int might match the return type of a gcc2 | |
11027 builtin and then its argument prototype would still apply. */ | |
11028 char shl_load (); | |
11029 char (*f) (); | |
11030 | |
11031 #ifdef F77_DUMMY_MAIN | |
11032 # ifdef __cplusplus | |
11033 extern "C" | |
11034 # endif | |
11035 int F77_DUMMY_MAIN() { return 1; } | |
11036 #endif | |
11037 int | |
11038 main () | |
11039 { | |
11040 /* The GNU C library defines this for functions which it implements | |
11041 to always fail with ENOSYS. Some functions are actually named | |
11042 something starting with __ and the normal name is an alias. */ | |
11043 #if defined (__stub_shl_load) || defined (__stub___shl_load) | |
11044 choke me | |
11045 #else | |
11046 f = shl_load; | |
11047 #endif | |
11048 | |
11049 ; | |
11050 return 0; | |
11051 } | |
11052 _ACEOF | |
11053 rm -f conftest.$ac_objext conftest$ac_exeext | |
11054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
11055 (eval $ac_link) 2>&5 | |
11056 ac_status=$? | |
11057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11058 (exit $ac_status); } && | |
11059 { ac_try='test -s conftest$ac_exeext' | |
11060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11061 (eval $ac_try) 2>&5 | |
11062 ac_status=$? | |
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11064 (exit $ac_status); }; }; then | |
11065 ac_cv_func_shl_load=yes | |
11066 else | |
11067 echo "$as_me: failed program was:" >&5 | |
11068 cat conftest.$ac_ext >&5 | |
11069 ac_cv_func_shl_load=no | |
11070 fi | |
11071 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
11072 fi | |
11073 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 | |
11074 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 | |
11075 if test $ac_cv_func_shl_load = yes; then | |
11076 lt_cv_dlopen="shl_load" | |
11077 else | |
11078 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 | |
11079 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 | |
11080 if test "${ac_cv_lib_dld_shl_load+set}" = set; then | |
11081 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11082 else | |
11083 ac_check_lib_save_LIBS=$LIBS | |
11084 LIBS="-ldld $LIBS" | |
11085 cat >conftest.$ac_ext <<_ACEOF | |
11086 #line $LINENO "configure" | |
11087 #include "confdefs.h" | |
11088 | |
11089 /* Override any gcc2 internal prototype to avoid an error. */ | |
11090 #ifdef __cplusplus | |
11091 extern "C" | |
11092 #endif | |
11093 /* We use char because int might match the return type of a gcc2 | |
11094 builtin and then its argument prototype would still apply. */ | |
11095 char shl_load (); | |
11096 #ifdef F77_DUMMY_MAIN | |
11097 # ifdef __cplusplus | |
11098 extern "C" | |
11099 # endif | |
11100 int F77_DUMMY_MAIN() { return 1; } | |
11101 #endif | |
11102 int | |
11103 main () | |
11104 { | |
11105 shl_load (); | |
11106 ; | |
11107 return 0; | |
11108 } | |
11109 _ACEOF | |
11110 rm -f conftest.$ac_objext conftest$ac_exeext | |
11111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
11112 (eval $ac_link) 2>&5 | |
11113 ac_status=$? | |
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11115 (exit $ac_status); } && | |
11116 { ac_try='test -s conftest$ac_exeext' | |
11117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11118 (eval $ac_try) 2>&5 | |
11119 ac_status=$? | |
11120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11121 (exit $ac_status); }; }; then | |
11122 ac_cv_lib_dld_shl_load=yes | |
11123 else | |
11124 echo "$as_me: failed program was:" >&5 | |
11125 cat conftest.$ac_ext >&5 | |
11126 ac_cv_lib_dld_shl_load=no | |
11127 fi | |
11128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
11129 LIBS=$ac_check_lib_save_LIBS | |
11130 fi | |
11131 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 | |
11132 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 | |
11133 if test $ac_cv_lib_dld_shl_load = yes; then | |
11134 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" | |
11135 else | |
11136 echo "$as_me:$LINENO: checking for dlopen" >&5 | |
11137 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 | |
11138 if test "${ac_cv_func_dlopen+set}" = set; then | |
11139 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11140 else | |
11141 cat >conftest.$ac_ext <<_ACEOF | |
11142 #line $LINENO "configure" | |
11143 #include "confdefs.h" | |
11144 /* System header to define __stub macros and hopefully few prototypes, | |
11145 which can conflict with char dlopen (); below. */ | |
11146 #include <assert.h> | |
11147 /* Override any gcc2 internal prototype to avoid an error. */ | |
11148 #ifdef __cplusplus | |
11149 extern "C" | |
11150 #endif | |
11151 /* We use char because int might match the return type of a gcc2 | |
11152 builtin and then its argument prototype would still apply. */ | |
11153 char dlopen (); | |
11154 char (*f) (); | |
11155 | |
11156 #ifdef F77_DUMMY_MAIN | |
11157 # ifdef __cplusplus | |
11158 extern "C" | |
11159 # endif | |
11160 int F77_DUMMY_MAIN() { return 1; } | |
11161 #endif | |
11162 int | |
11163 main () | |
11164 { | |
11165 /* The GNU C library defines this for functions which it implements | |
11166 to always fail with ENOSYS. Some functions are actually named | |
11167 something starting with __ and the normal name is an alias. */ | |
11168 #if defined (__stub_dlopen) || defined (__stub___dlopen) | |
11169 choke me | |
11170 #else | |
11171 f = dlopen; | |
11172 #endif | |
11173 | |
11174 ; | |
11175 return 0; | |
11176 } | |
11177 _ACEOF | |
11178 rm -f conftest.$ac_objext conftest$ac_exeext | |
11179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
11180 (eval $ac_link) 2>&5 | |
11181 ac_status=$? | |
11182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11183 (exit $ac_status); } && | |
11184 { ac_try='test -s conftest$ac_exeext' | |
11185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11186 (eval $ac_try) 2>&5 | |
11187 ac_status=$? | |
11188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11189 (exit $ac_status); }; }; then | |
11190 ac_cv_func_dlopen=yes | |
11191 else | |
11192 echo "$as_me: failed program was:" >&5 | |
11193 cat conftest.$ac_ext >&5 | |
11194 ac_cv_func_dlopen=no | |
11195 fi | |
11196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
11197 fi | |
11198 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 | |
11199 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 | |
11200 if test $ac_cv_func_dlopen = yes; then | |
11201 lt_cv_dlopen="dlopen" | |
11202 else | |
11203 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | |
11204 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | |
11205 if test "${ac_cv_lib_dl_dlopen+set}" = set; then | |
11206 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11207 else | |
11208 ac_check_lib_save_LIBS=$LIBS | |
11209 LIBS="-ldl $LIBS" | |
11210 cat >conftest.$ac_ext <<_ACEOF | |
11211 #line $LINENO "configure" | |
11212 #include "confdefs.h" | |
11213 | |
11214 /* Override any gcc2 internal prototype to avoid an error. */ | |
11215 #ifdef __cplusplus | |
11216 extern "C" | |
11217 #endif | |
11218 /* We use char because int might match the return type of a gcc2 | |
11219 builtin and then its argument prototype would still apply. */ | |
11220 char dlopen (); | |
11221 #ifdef F77_DUMMY_MAIN | |
11222 # ifdef __cplusplus | |
11223 extern "C" | |
11224 # endif | |
11225 int F77_DUMMY_MAIN() { return 1; } | |
11226 #endif | |
11227 int | |
11228 main () | |
11229 { | |
11230 dlopen (); | |
11231 ; | |
11232 return 0; | |
11233 } | |
11234 _ACEOF | |
11235 rm -f conftest.$ac_objext conftest$ac_exeext | |
11236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
11237 (eval $ac_link) 2>&5 | |
11238 ac_status=$? | |
11239 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11240 (exit $ac_status); } && | |
11241 { ac_try='test -s conftest$ac_exeext' | |
11242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11243 (eval $ac_try) 2>&5 | |
11244 ac_status=$? | |
11245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11246 (exit $ac_status); }; }; then | |
11247 ac_cv_lib_dl_dlopen=yes | |
11248 else | |
11249 echo "$as_me: failed program was:" >&5 | |
11250 cat conftest.$ac_ext >&5 | |
11251 ac_cv_lib_dl_dlopen=no | |
11252 fi | |
11253 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
11254 LIBS=$ac_check_lib_save_LIBS | |
11255 fi | |
11256 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | |
11257 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | |
11258 if test $ac_cv_lib_dl_dlopen = yes; then | |
11259 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | |
11260 else | |
11261 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 | |
11262 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 | |
11263 if test "${ac_cv_lib_svld_dlopen+set}" = set; then | |
11264 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11265 else | |
11266 ac_check_lib_save_LIBS=$LIBS | |
11267 LIBS="-lsvld $LIBS" | |
11268 cat >conftest.$ac_ext <<_ACEOF | |
11269 #line $LINENO "configure" | |
11270 #include "confdefs.h" | |
11271 | |
11272 /* Override any gcc2 internal prototype to avoid an error. */ | |
11273 #ifdef __cplusplus | |
11274 extern "C" | |
11275 #endif | |
11276 /* We use char because int might match the return type of a gcc2 | |
11277 builtin and then its argument prototype would still apply. */ | |
11278 char dlopen (); | |
11279 #ifdef F77_DUMMY_MAIN | |
11280 # ifdef __cplusplus | |
11281 extern "C" | |
11282 # endif | |
11283 int F77_DUMMY_MAIN() { return 1; } | |
11284 #endif | |
11285 int | |
11286 main () | |
11287 { | |
11288 dlopen (); | |
11289 ; | |
11290 return 0; | |
11291 } | |
11292 _ACEOF | |
11293 rm -f conftest.$ac_objext conftest$ac_exeext | |
11294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
11295 (eval $ac_link) 2>&5 | |
11296 ac_status=$? | |
11297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11298 (exit $ac_status); } && | |
11299 { ac_try='test -s conftest$ac_exeext' | |
11300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11301 (eval $ac_try) 2>&5 | |
11302 ac_status=$? | |
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11304 (exit $ac_status); }; }; then | |
11305 ac_cv_lib_svld_dlopen=yes | |
11306 else | |
11307 echo "$as_me: failed program was:" >&5 | |
11308 cat conftest.$ac_ext >&5 | |
11309 ac_cv_lib_svld_dlopen=no | |
11310 fi | |
11311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
11312 LIBS=$ac_check_lib_save_LIBS | |
11313 fi | |
11314 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 | |
11315 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 | |
11316 if test $ac_cv_lib_svld_dlopen = yes; then | |
11317 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | |
11318 else | |
11319 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 | |
11320 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 | |
11321 if test "${ac_cv_lib_dld_dld_link+set}" = set; then | |
11322 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11323 else | |
11324 ac_check_lib_save_LIBS=$LIBS | |
11325 LIBS="-ldld $LIBS" | |
11326 cat >conftest.$ac_ext <<_ACEOF | |
11327 #line $LINENO "configure" | |
11328 #include "confdefs.h" | |
11329 | |
11330 /* Override any gcc2 internal prototype to avoid an error. */ | |
11331 #ifdef __cplusplus | |
11332 extern "C" | |
11333 #endif | |
11334 /* We use char because int might match the return type of a gcc2 | |
11335 builtin and then its argument prototype would still apply. */ | |
11336 char dld_link (); | |
11337 #ifdef F77_DUMMY_MAIN | |
11338 # ifdef __cplusplus | |
11339 extern "C" | |
11340 # endif | |
11341 int F77_DUMMY_MAIN() { return 1; } | |
11342 #endif | |
11343 int | |
11344 main () | |
11345 { | |
11346 dld_link (); | |
11347 ; | |
11348 return 0; | |
11349 } | |
11350 _ACEOF | |
11351 rm -f conftest.$ac_objext conftest$ac_exeext | |
11352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
11353 (eval $ac_link) 2>&5 | |
11354 ac_status=$? | |
11355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11356 (exit $ac_status); } && | |
11357 { ac_try='test -s conftest$ac_exeext' | |
11358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
11359 (eval $ac_try) 2>&5 | |
11360 ac_status=$? | |
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11362 (exit $ac_status); }; }; then | |
11363 ac_cv_lib_dld_dld_link=yes | |
11364 else | |
11365 echo "$as_me: failed program was:" >&5 | |
11366 cat conftest.$ac_ext >&5 | |
11367 ac_cv_lib_dld_dld_link=no | |
11368 fi | |
11369 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
11370 LIBS=$ac_check_lib_save_LIBS | |
11371 fi | |
11372 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 | |
11373 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 | |
11374 if test $ac_cv_lib_dld_dld_link = yes; then | |
11375 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" | |
11376 fi | |
11377 | |
11378 | |
11379 fi | |
11380 | |
11381 | |
11382 fi | |
11383 | |
11384 | |
11385 fi | |
11386 | |
11387 | |
11388 fi | |
11389 | |
11390 | |
11391 fi | |
11392 | |
11393 ;; | |
11394 esac | |
11395 | |
11396 if test "x$lt_cv_dlopen" != xno; then | |
11397 enable_dlopen=yes | |
11398 else | 13249 else |
11399 enable_dlopen=no | 13250 # We can link without hardcoding, and we can hardcode nonexisting dirs. |
13251 hardcode_action_CXX=immediate | |
11400 fi | 13252 fi |
11401 | 13253 else |
11402 case $lt_cv_dlopen in | 13254 # We cannot hardcode anything, or else we can only hardcode existing |
11403 dlopen) | 13255 # directories. |
11404 save_CPPFLAGS="$CPPFLAGS" | 13256 hardcode_action_CXX=unsupported |
11405 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 13257 fi |
11406 | 13258 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 |
11407 save_LDFLAGS="$LDFLAGS" | 13259 echo "${ECHO_T}$hardcode_action_CXX" >&6; } |
11408 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 13260 |
11409 | 13261 if test "$hardcode_action_CXX" = relink; then |
11410 save_LIBS="$LIBS" | 13262 # Fast installation is not supported |
11411 LIBS="$lt_cv_dlopen_libs $LIBS" | 13263 enable_fast_install=no |
11412 | 13264 elif test "$shlibpath_overrides_runpath" = yes || |
11413 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 | 13265 test "$enable_shared" = no; then |
11414 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 | 13266 # Fast installation is not necessary |
11415 if test "${lt_cv_dlopen_self+set}" = set; then | 13267 enable_fast_install=needless |
11416 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11417 else | |
11418 if test "$cross_compiling" = yes; then : | |
11419 lt_cv_dlopen_self=cross | |
11420 else | |
11421 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | |
11422 lt_status=$lt_dlunknown | |
11423 cat > conftest.$ac_ext <<EOF | |
11424 #line 11424 "configure" | |
11425 #include "confdefs.h" | |
11426 | |
11427 #if HAVE_DLFCN_H | |
11428 #include <dlfcn.h> | |
11429 #endif | |
11430 | |
11431 #include <stdio.h> | |
11432 | |
11433 #ifdef RTLD_GLOBAL | |
11434 # define LT_DLGLOBAL RTLD_GLOBAL | |
11435 #else | |
11436 # ifdef DL_GLOBAL | |
11437 # define LT_DLGLOBAL DL_GLOBAL | |
11438 # else | |
11439 # define LT_DLGLOBAL 0 | |
11440 # endif | |
11441 #endif | |
11442 | |
11443 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | |
11444 find out it does not work in some platform. */ | |
11445 #ifndef LT_DLLAZY_OR_NOW | |
11446 # ifdef RTLD_LAZY | |
11447 # define LT_DLLAZY_OR_NOW RTLD_LAZY | |
11448 # else | |
11449 # ifdef DL_LAZY | |
11450 # define LT_DLLAZY_OR_NOW DL_LAZY | |
11451 # else | |
11452 # ifdef RTLD_NOW | |
11453 # define LT_DLLAZY_OR_NOW RTLD_NOW | |
11454 # else | |
11455 # ifdef DL_NOW | |
11456 # define LT_DLLAZY_OR_NOW DL_NOW | |
11457 # else | |
11458 # define LT_DLLAZY_OR_NOW 0 | |
11459 # endif | |
11460 # endif | |
11461 # endif | |
11462 # endif | |
11463 #endif | |
11464 | |
11465 #ifdef __cplusplus | |
11466 extern "C" void exit (int); | |
11467 #endif | |
11468 | |
11469 void fnord() { int i=42;} | |
11470 int main () | |
11471 { | |
11472 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | |
11473 int status = $lt_dlunknown; | |
11474 | |
11475 if (self) | |
11476 { | |
11477 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | |
11478 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | |
11479 /* dlclose (self); */ | |
11480 } | |
11481 | |
11482 exit (status); | |
11483 } | |
11484 EOF | |
11485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
11486 (eval $ac_link) 2>&5 | |
11487 ac_status=$? | |
11488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11489 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | |
11490 (./conftest; exit; ) 2>/dev/null | |
11491 lt_status=$? | |
11492 case x$lt_status in | |
11493 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | |
11494 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | |
11495 x$lt_unknown|x*) lt_cv_dlopen_self=no ;; | |
11496 esac | |
11497 else : | |
11498 # compilation failed | |
11499 lt_cv_dlopen_self=no | |
11500 fi | |
11501 fi | |
11502 rm -fr conftest* | |
11503 | |
11504 | |
11505 fi | |
11506 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 | |
11507 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 | |
11508 | |
11509 if test "x$lt_cv_dlopen_self" = xyes; then | |
11510 LDFLAGS="$LDFLAGS $link_static_flag" | |
11511 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 | |
11512 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 | |
11513 if test "${lt_cv_dlopen_self_static+set}" = set; then | |
11514 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
11515 else | |
11516 if test "$cross_compiling" = yes; then : | |
11517 lt_cv_dlopen_self_static=cross | |
11518 else | |
11519 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | |
11520 lt_status=$lt_dlunknown | |
11521 cat > conftest.$ac_ext <<EOF | |
11522 #line 11522 "configure" | |
11523 #include "confdefs.h" | |
11524 | |
11525 #if HAVE_DLFCN_H | |
11526 #include <dlfcn.h> | |
11527 #endif | |
11528 | |
11529 #include <stdio.h> | |
11530 | |
11531 #ifdef RTLD_GLOBAL | |
11532 # define LT_DLGLOBAL RTLD_GLOBAL | |
11533 #else | |
11534 # ifdef DL_GLOBAL | |
11535 # define LT_DLGLOBAL DL_GLOBAL | |
11536 # else | |
11537 # define LT_DLGLOBAL 0 | |
11538 # endif | |
11539 #endif | |
11540 | |
11541 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | |
11542 find out it does not work in some platform. */ | |
11543 #ifndef LT_DLLAZY_OR_NOW | |
11544 # ifdef RTLD_LAZY | |
11545 # define LT_DLLAZY_OR_NOW RTLD_LAZY | |
11546 # else | |
11547 # ifdef DL_LAZY | |
11548 # define LT_DLLAZY_OR_NOW DL_LAZY | |
11549 # else | |
11550 # ifdef RTLD_NOW | |
11551 # define LT_DLLAZY_OR_NOW RTLD_NOW | |
11552 # else | |
11553 # ifdef DL_NOW | |
11554 # define LT_DLLAZY_OR_NOW DL_NOW | |
11555 # else | |
11556 # define LT_DLLAZY_OR_NOW 0 | |
11557 # endif | |
11558 # endif | |
11559 # endif | |
11560 # endif | |
11561 #endif | |
11562 | |
11563 #ifdef __cplusplus | |
11564 extern "C" void exit (int); | |
11565 #endif | |
11566 | |
11567 void fnord() { int i=42;} | |
11568 int main () | |
11569 { | |
11570 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | |
11571 int status = $lt_dlunknown; | |
11572 | |
11573 if (self) | |
11574 { | |
11575 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | |
11576 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | |
11577 /* dlclose (self); */ | |
11578 } | |
11579 | |
11580 exit (status); | |
11581 } | |
11582 EOF | |
11583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
11584 (eval $ac_link) 2>&5 | |
11585 ac_status=$? | |
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
11587 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | |
11588 (./conftest; exit; ) 2>/dev/null | |
11589 lt_status=$? | |
11590 case x$lt_status in | |
11591 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | |
11592 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | |
11593 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; | |
11594 esac | |
11595 else : | |
11596 # compilation failed | |
11597 lt_cv_dlopen_self_static=no | |
11598 fi | |
11599 fi | |
11600 rm -fr conftest* | |
11601 | |
11602 | |
11603 fi | |
11604 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 | |
11605 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 | |
11606 fi | |
11607 | |
11608 CPPFLAGS="$save_CPPFLAGS" | |
11609 LDFLAGS="$save_LDFLAGS" | |
11610 LIBS="$save_LIBS" | |
11611 ;; | |
11612 esac | |
11613 | |
11614 case $lt_cv_dlopen_self in | |
11615 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | |
11616 *) enable_dlopen_self=unknown ;; | |
11617 esac | |
11618 | |
11619 case $lt_cv_dlopen_self_static in | |
11620 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | |
11621 *) enable_dlopen_self_static=unknown ;; | |
11622 esac | |
11623 fi | 13268 fi |
11624 | 13269 |
11625 | 13270 |
11626 # The else clause should only fire when bootstrapping the | 13271 # The else clause should only fire when bootstrapping the |
11627 # libtool distribution, otherwise you forgot to ship ltmain.sh | 13272 # libtool distribution, otherwise you forgot to ship ltmain.sh |
11634 setopt NO_GLOB_SUBST | 13279 setopt NO_GLOB_SUBST |
11635 fi | 13280 fi |
11636 # Now quote all the things that may contain metacharacters while being | 13281 # Now quote all the things that may contain metacharacters while being |
11637 # careful not to overquote the AC_SUBSTed values. We take copies of the | 13282 # careful not to overquote the AC_SUBSTed values. We take copies of the |
11638 # variables and quote the copies for generation of the libtool script. | 13283 # variables and quote the copies for generation of the libtool script. |
11639 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 13284 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
13285 SED SHELL STRIP \ | |
11640 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 13286 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
11641 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 13287 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
11642 deplibs_check_method reload_flag reload_cmds need_locks \ | 13288 deplibs_check_method reload_flag reload_cmds need_locks \ |
11643 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 13289 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
11644 lt_cv_sys_global_symbol_to_c_name_address \ | 13290 lt_cv_sys_global_symbol_to_c_name_address \ |
11734 fast_install=$enable_fast_install | 13380 fast_install=$enable_fast_install |
11735 | 13381 |
11736 # The host system. | 13382 # The host system. |
11737 host_alias=$host_alias | 13383 host_alias=$host_alias |
11738 host=$host | 13384 host=$host |
13385 host_os=$host_os | |
13386 | |
13387 # The build system. | |
13388 build_alias=$build_alias | |
13389 build=$build | |
13390 build_os=$build_os | |
11739 | 13391 |
11740 # An echo program that does not interpret backslashes. | 13392 # An echo program that does not interpret backslashes. |
11741 echo=$lt_echo | 13393 echo=$lt_echo |
11742 | 13394 |
11743 # The archiver. | 13395 # The archiver. |
11745 AR_FLAGS=$lt_AR_FLAGS | 13397 AR_FLAGS=$lt_AR_FLAGS |
11746 | 13398 |
11747 # A C compiler. | 13399 # A C compiler. |
11748 LTCC=$lt_LTCC | 13400 LTCC=$lt_LTCC |
11749 | 13401 |
13402 # LTCC compiler flags. | |
13403 LTCFLAGS=$lt_LTCFLAGS | |
13404 | |
11750 # A language-specific compiler. | 13405 # A language-specific compiler. |
11751 CC=$lt_compiler_CXX | 13406 CC=$lt_compiler_CXX |
11752 | 13407 |
11753 # Is the compiler the GNU C compiler? | 13408 # Is the compiler the GNU C compiler? |
11754 with_gcc=$GCC_CXX | 13409 with_gcc=$GCC_CXX |
11764 | 13419 |
11765 # A BSD-compatible nm program. | 13420 # A BSD-compatible nm program. |
11766 NM=$lt_NM | 13421 NM=$lt_NM |
11767 | 13422 |
11768 # A symbol stripping program | 13423 # A symbol stripping program |
11769 STRIP=$STRIP | 13424 STRIP=$lt_STRIP |
11770 | 13425 |
11771 # Used to examine libraries when file_magic_cmd begins "file" | 13426 # Used to examine libraries when file_magic_cmd begins "file" |
11772 MAGIC_CMD=$MAGIC_CMD | 13427 MAGIC_CMD=$MAGIC_CMD |
11773 | 13428 |
11774 # Used on cygwin: DLL creation program. | 13429 # Used on cygwin: DLL creation program. |
11795 | 13450 |
11796 # Old archive suffix (normally "a"). | 13451 # Old archive suffix (normally "a"). |
11797 libext="$libext" | 13452 libext="$libext" |
11798 | 13453 |
11799 # Shared library suffix (normally ".so"). | 13454 # Shared library suffix (normally ".so"). |
11800 shrext='$shrext' | 13455 shrext_cmds='$shrext_cmds' |
11801 | 13456 |
11802 # Executable file suffix (normally ""). | 13457 # Executable file suffix (normally ""). |
11803 exeext="$exeext" | 13458 exeext="$exeext" |
11804 | 13459 |
11805 # Additional compiler flags for building library objects. | 13460 # Additional compiler flags for building library objects. |
11810 max_cmd_len=$lt_cv_sys_max_cmd_len | 13465 max_cmd_len=$lt_cv_sys_max_cmd_len |
11811 | 13466 |
11812 # Does compiler simultaneously support -c and -o options? | 13467 # Does compiler simultaneously support -c and -o options? |
11813 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX | 13468 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
11814 | 13469 |
11815 # Must we lock files when doing compilation ? | 13470 # Must we lock files when doing compilation? |
11816 need_locks=$lt_need_locks | 13471 need_locks=$lt_need_locks |
11817 | 13472 |
11818 # Do we need the lib prefix for modules? | 13473 # Do we need the lib prefix for modules? |
11819 need_lib_prefix=$need_lib_prefix | 13474 need_lib_prefix=$need_lib_prefix |
11820 | 13475 |
12012 | 13667 |
12013 else | 13668 else |
12014 # If there is no Makefile yet, we rely on a make rule to execute | 13669 # If there is no Makefile yet, we rely on a make rule to execute |
12015 # `config.status --recheck' to rerun these tests and create the | 13670 # `config.status --recheck' to rerun these tests and create the |
12016 # libtool script then. | 13671 # libtool script then. |
12017 test -f Makefile && make "$ltmain" | 13672 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
13673 if test -f "$ltmain_in"; then | |
13674 test -f Makefile && make "$ltmain" | |
13675 fi | |
12018 fi | 13676 fi |
12019 | 13677 |
12020 | 13678 |
12021 ac_ext=c | 13679 ac_ext=c |
12022 ac_cpp='$CPP $CPPFLAGS' | 13680 ac_cpp='$CPP $CPPFLAGS' |
12084 # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 13742 # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
12085 | 13743 |
12086 # If no C compiler was specified, use CC. | 13744 # If no C compiler was specified, use CC. |
12087 LTCC=${LTCC-"$CC"} | 13745 LTCC=${LTCC-"$CC"} |
12088 | 13746 |
13747 # If no C compiler flags were specified, use CFLAGS. | |
13748 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | |
13749 | |
12089 # Allow CC to be a program name with arguments. | 13750 # Allow CC to be a program name with arguments. |
12090 compiler=$CC | 13751 compiler=$CC |
13752 | |
13753 | |
13754 # save warnings/boilerplate of simple test code | |
13755 ac_outfile=conftest.$ac_objext | |
13756 printf "$lt_simple_compile_test_code" >conftest.$ac_ext | |
13757 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | |
13758 _lt_compiler_boilerplate=`cat conftest.err` | |
13759 $rm conftest* | |
13760 | |
13761 ac_outfile=conftest.$ac_objext | |
13762 printf "$lt_simple_link_test_code" >conftest.$ac_ext | |
13763 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | |
13764 _lt_linker_boilerplate=`cat conftest.err` | |
13765 $rm conftest* | |
12091 | 13766 |
12092 | 13767 |
12093 # Allow CC to be a program name with arguments. | 13768 # Allow CC to be a program name with arguments. |
12094 lt_save_CC="$CC" | 13769 lt_save_CC="$CC" |
12095 CC=${F77-"f77"} | 13770 CC=${F77-"f77"} |
12096 compiler=$CC | 13771 compiler=$CC |
12097 compiler_F77=$CC | 13772 compiler_F77=$CC |
12098 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` | 13773 for cc_temp in $compiler""; do |
12099 | 13774 case $cc_temp in |
12100 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 | 13775 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
12101 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 | 13776 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
12102 echo "$as_me:$LINENO: result: $can_build_shared" >&5 | 13777 \-*) ;; |
12103 echo "${ECHO_T}$can_build_shared" >&6 | 13778 *) break;; |
12104 | 13779 esac |
12105 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 | 13780 done |
12106 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 | 13781 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
13782 | |
13783 | |
13784 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 | |
13785 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } | |
13786 { echo "$as_me:$LINENO: result: $can_build_shared" >&5 | |
13787 echo "${ECHO_T}$can_build_shared" >&6; } | |
13788 | |
13789 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 | |
13790 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } | |
12107 test "$can_build_shared" = "no" && enable_shared=no | 13791 test "$can_build_shared" = "no" && enable_shared=no |
12108 | 13792 |
12109 # On AIX, shared libraries and static libraries use the same namespace, and | 13793 # On AIX, shared libraries and static libraries use the same namespace, and |
12110 # are all built from PIC. | 13794 # are all built from PIC. |
12111 case "$host_os" in | 13795 case $host_os in |
12112 aix3*) | 13796 aix3*) |
12113 test "$enable_shared" = yes && enable_static=no | 13797 test "$enable_shared" = yes && enable_static=no |
12114 if test -n "$RANLIB"; then | 13798 if test -n "$RANLIB"; then |
12115 archive_cmds="$archive_cmds~\$RANLIB \$lib" | 13799 archive_cmds="$archive_cmds~\$RANLIB \$lib" |
12116 postinstall_cmds='$RANLIB $lib' | 13800 postinstall_cmds='$RANLIB $lib' |
12117 fi | 13801 fi |
12118 ;; | 13802 ;; |
12119 aix4*) | 13803 aix4* | aix5*) |
12120 test "$enable_shared" = yes && enable_static=no | 13804 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
13805 test "$enable_shared" = yes && enable_static=no | |
13806 fi | |
12121 ;; | 13807 ;; |
12122 esac | 13808 esac |
12123 echo "$as_me:$LINENO: result: $enable_shared" >&5 | 13809 { echo "$as_me:$LINENO: result: $enable_shared" >&5 |
12124 echo "${ECHO_T}$enable_shared" >&6 | 13810 echo "${ECHO_T}$enable_shared" >&6; } |
12125 | 13811 |
12126 echo "$as_me:$LINENO: checking whether to build static libraries" >&5 | 13812 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
12127 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 | 13813 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } |
12128 # Make sure either enable_shared or enable_static is yes. | 13814 # Make sure either enable_shared or enable_static is yes. |
12129 test "$enable_shared" = yes || enable_static=yes | 13815 test "$enable_shared" = yes || enable_static=yes |
12130 echo "$as_me:$LINENO: result: $enable_static" >&5 | 13816 { echo "$as_me:$LINENO: result: $enable_static" >&5 |
12131 echo "${ECHO_T}$enable_static" >&6 | 13817 echo "${ECHO_T}$enable_static" >&6; } |
12132 | |
12133 test "$ld_shlibs_F77" = no && can_build_shared=no | |
12134 | 13818 |
12135 GCC_F77="$G77" | 13819 GCC_F77="$G77" |
12136 LD_F77="$LD" | 13820 LD_F77="$LD" |
12137 | 13821 |
12138 lt_prog_compiler_wl_F77= | 13822 lt_prog_compiler_wl_F77= |
12139 lt_prog_compiler_pic_F77= | 13823 lt_prog_compiler_pic_F77= |
12140 lt_prog_compiler_static_F77= | 13824 lt_prog_compiler_static_F77= |
12141 | 13825 |
12142 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 | 13826 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
12143 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | 13827 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } |
12144 | 13828 |
12145 if test "$GCC" = yes; then | 13829 if test "$GCC" = yes; then |
12146 lt_prog_compiler_wl_F77='-Wl,' | 13830 lt_prog_compiler_wl_F77='-Wl,' |
12147 lt_prog_compiler_static_F77='-static' | 13831 lt_prog_compiler_static_F77='-static' |
12148 | 13832 |
12176 # PIC is the default on this platform | 13860 # PIC is the default on this platform |
12177 # Common symbols not allowed in MH_DYLIB files | 13861 # Common symbols not allowed in MH_DYLIB files |
12178 lt_prog_compiler_pic_F77='-fno-common' | 13862 lt_prog_compiler_pic_F77='-fno-common' |
12179 ;; | 13863 ;; |
12180 | 13864 |
13865 interix3*) | |
13866 # Interix 3.x gcc -fpic/-fPIC options generate broken code. | |
13867 # Instead, we relocate shared libraries at runtime. | |
13868 ;; | |
13869 | |
12181 msdosdjgpp*) | 13870 msdosdjgpp*) |
12182 # Just because we use GCC doesn't mean we suddenly get shared libraries | 13871 # Just because we use GCC doesn't mean we suddenly get shared libraries |
12183 # on systems that don't support them. | 13872 # on systems that don't support them. |
12184 lt_prog_compiler_can_build_shared_F77=no | 13873 lt_prog_compiler_can_build_shared_F77=no |
12185 enable_shared=no | 13874 enable_shared=no |
12192 ;; | 13881 ;; |
12193 | 13882 |
12194 hpux*) | 13883 hpux*) |
12195 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 13884 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
12196 # not for PA HP-UX. | 13885 # not for PA HP-UX. |
12197 case "$host_cpu" in | 13886 case $host_cpu in |
12198 hppa*64*|ia64*) | 13887 hppa*64*|ia64*) |
12199 # +Z the default | 13888 # +Z the default |
12200 ;; | 13889 ;; |
12201 *) | 13890 *) |
12202 lt_prog_compiler_pic_F77='-fPIC' | 13891 lt_prog_compiler_pic_F77='-fPIC' |
12218 lt_prog_compiler_static_F77='-Bstatic' | 13907 lt_prog_compiler_static_F77='-Bstatic' |
12219 else | 13908 else |
12220 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' | 13909 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' |
12221 fi | 13910 fi |
12222 ;; | 13911 ;; |
13912 darwin*) | |
13913 # PIC is the default on this platform | |
13914 # Common symbols not allowed in MH_DYLIB files | |
13915 case $cc_basename in | |
13916 xlc*) | |
13917 lt_prog_compiler_pic_F77='-qnocommon' | |
13918 lt_prog_compiler_wl_F77='-Wl,' | |
13919 ;; | |
13920 esac | |
13921 ;; | |
12223 | 13922 |
12224 mingw* | pw32* | os2*) | 13923 mingw* | pw32* | os2*) |
12225 # This hack is so that the source file can tell whether it is being | 13924 # This hack is so that the source file can tell whether it is being |
12226 # built for inclusion in a dll (and should export symbols for example). | 13925 # built for inclusion in a dll (and should export symbols for example). |
12227 lt_prog_compiler_pic_F77='-DDLL_EXPORT' | 13926 lt_prog_compiler_pic_F77='-DDLL_EXPORT' |
12229 | 13928 |
12230 hpux9* | hpux10* | hpux11*) | 13929 hpux9* | hpux10* | hpux11*) |
12231 lt_prog_compiler_wl_F77='-Wl,' | 13930 lt_prog_compiler_wl_F77='-Wl,' |
12232 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 13931 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
12233 # not for PA HP-UX. | 13932 # not for PA HP-UX. |
12234 case "$host_cpu" in | 13933 case $host_cpu in |
12235 hppa*64*|ia64*) | 13934 hppa*64*|ia64*) |
12236 # +Z the default | 13935 # +Z the default |
12237 ;; | 13936 ;; |
12238 *) | 13937 *) |
12239 lt_prog_compiler_pic_F77='+Z' | 13938 lt_prog_compiler_pic_F77='+Z' |
12253 lt_prog_compiler_pic_F77='-KPIC' | 13952 lt_prog_compiler_pic_F77='-KPIC' |
12254 lt_prog_compiler_static_F77='-Bstatic' | 13953 lt_prog_compiler_static_F77='-Bstatic' |
12255 ;; | 13954 ;; |
12256 | 13955 |
12257 linux*) | 13956 linux*) |
12258 case $CC in | 13957 case $cc_basename in |
12259 icc|ecc) | 13958 icc* | ecc*) |
12260 lt_prog_compiler_wl_F77='-Wl,' | 13959 lt_prog_compiler_wl_F77='-Wl,' |
12261 lt_prog_compiler_pic_F77='-KPIC' | 13960 lt_prog_compiler_pic_F77='-KPIC' |
12262 lt_prog_compiler_static_F77='-static' | 13961 lt_prog_compiler_static_F77='-static' |
12263 ;; | 13962 ;; |
12264 ccc) | 13963 pgcc* | pgf77* | pgf90* | pgf95*) |
13964 # Portland Group compilers (*not* the Pentium gcc compiler, | |
13965 # which looks to be a dead project) | |
13966 lt_prog_compiler_wl_F77='-Wl,' | |
13967 lt_prog_compiler_pic_F77='-fpic' | |
13968 lt_prog_compiler_static_F77='-Bstatic' | |
13969 ;; | |
13970 ccc*) | |
12265 lt_prog_compiler_wl_F77='-Wl,' | 13971 lt_prog_compiler_wl_F77='-Wl,' |
12266 # All Alpha code is PIC. | 13972 # All Alpha code is PIC. |
12267 lt_prog_compiler_static_F77='-non_shared' | 13973 lt_prog_compiler_static_F77='-non_shared' |
12268 ;; | 13974 ;; |
12269 esac | 13975 esac |
12273 lt_prog_compiler_wl_F77='-Wl,' | 13979 lt_prog_compiler_wl_F77='-Wl,' |
12274 # All OSF/1 code is PIC. | 13980 # All OSF/1 code is PIC. |
12275 lt_prog_compiler_static_F77='-non_shared' | 13981 lt_prog_compiler_static_F77='-non_shared' |
12276 ;; | 13982 ;; |
12277 | 13983 |
12278 sco3.2v5*) | |
12279 lt_prog_compiler_pic_F77='-Kpic' | |
12280 lt_prog_compiler_static_F77='-dn' | |
12281 ;; | |
12282 | |
12283 solaris*) | 13984 solaris*) |
12284 lt_prog_compiler_wl_F77='-Wl,' | |
12285 lt_prog_compiler_pic_F77='-KPIC' | 13985 lt_prog_compiler_pic_F77='-KPIC' |
12286 lt_prog_compiler_static_F77='-Bstatic' | 13986 lt_prog_compiler_static_F77='-Bstatic' |
13987 case $cc_basename in | |
13988 f77* | f90* | f95*) | |
13989 lt_prog_compiler_wl_F77='-Qoption ld ';; | |
13990 *) | |
13991 lt_prog_compiler_wl_F77='-Wl,';; | |
13992 esac | |
12287 ;; | 13993 ;; |
12288 | 13994 |
12289 sunos4*) | 13995 sunos4*) |
12290 lt_prog_compiler_wl_F77='-Qoption ld ' | 13996 lt_prog_compiler_wl_F77='-Qoption ld ' |
12291 lt_prog_compiler_pic_F77='-PIC' | 13997 lt_prog_compiler_pic_F77='-PIC' |
12292 lt_prog_compiler_static_F77='-Bstatic' | 13998 lt_prog_compiler_static_F77='-Bstatic' |
12293 ;; | 13999 ;; |
12294 | 14000 |
12295 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 14001 sysv4 | sysv4.2uw2* | sysv4.3*) |
12296 lt_prog_compiler_wl_F77='-Wl,' | 14002 lt_prog_compiler_wl_F77='-Wl,' |
12297 lt_prog_compiler_pic_F77='-KPIC' | 14003 lt_prog_compiler_pic_F77='-KPIC' |
12298 lt_prog_compiler_static_F77='-Bstatic' | 14004 lt_prog_compiler_static_F77='-Bstatic' |
12299 ;; | 14005 ;; |
12300 | 14006 |
12303 lt_prog_compiler_pic_F77='-Kconform_pic' | 14009 lt_prog_compiler_pic_F77='-Kconform_pic' |
12304 lt_prog_compiler_static_F77='-Bstatic' | 14010 lt_prog_compiler_static_F77='-Bstatic' |
12305 fi | 14011 fi |
12306 ;; | 14012 ;; |
12307 | 14013 |
14014 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) | |
14015 lt_prog_compiler_wl_F77='-Wl,' | |
14016 lt_prog_compiler_pic_F77='-KPIC' | |
14017 lt_prog_compiler_static_F77='-Bstatic' | |
14018 ;; | |
14019 | |
14020 unicos*) | |
14021 lt_prog_compiler_wl_F77='-Wl,' | |
14022 lt_prog_compiler_can_build_shared_F77=no | |
14023 ;; | |
14024 | |
12308 uts4*) | 14025 uts4*) |
12309 lt_prog_compiler_pic_F77='-pic' | 14026 lt_prog_compiler_pic_F77='-pic' |
12310 lt_prog_compiler_static_F77='-Bstatic' | 14027 lt_prog_compiler_static_F77='-Bstatic' |
12311 ;; | 14028 ;; |
12312 | 14029 |
12314 lt_prog_compiler_can_build_shared_F77=no | 14031 lt_prog_compiler_can_build_shared_F77=no |
12315 ;; | 14032 ;; |
12316 esac | 14033 esac |
12317 fi | 14034 fi |
12318 | 14035 |
12319 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 | 14036 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 |
12320 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6 | 14037 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; } |
12321 | 14038 |
12322 # | 14039 # |
12323 # Check to make sure the PIC flag actually works. | 14040 # Check to make sure the PIC flag actually works. |
12324 # | 14041 # |
12325 if test -n "$lt_prog_compiler_pic_F77"; then | 14042 if test -n "$lt_prog_compiler_pic_F77"; then |
12326 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 | 14043 |
12327 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 | 14044 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 |
14045 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; } | |
12328 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then | 14046 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then |
12329 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14047 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12330 else | 14048 else |
12331 lt_prog_compiler_pic_works_F77=no | 14049 lt_prog_compiler_pic_works_F77=no |
12332 ac_outfile=conftest.$ac_objext | 14050 ac_outfile=conftest.$ac_objext |
12336 # (2) before a word containing "conftest.", or (3) at the end. | 14054 # (2) before a word containing "conftest.", or (3) at the end. |
12337 # Note that $ac_compile itself does not contain backslashes and begins | 14055 # Note that $ac_compile itself does not contain backslashes and begins |
12338 # with a dollar sign (not a hyphen), so the echo should work correctly. | 14056 # with a dollar sign (not a hyphen), so the echo should work correctly. |
12339 # The option is referenced via a variable to avoid confusing sed. | 14057 # The option is referenced via a variable to avoid confusing sed. |
12340 lt_compile=`echo "$ac_compile" | $SED \ | 14058 lt_compile=`echo "$ac_compile" | $SED \ |
12341 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 14059 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
12342 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 14060 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
12343 -e 's:$: $lt_compiler_flag:'` | 14061 -e 's:$: $lt_compiler_flag:'` |
12344 (eval echo "\"\$as_me:12344: $lt_compile\"" >&5) | 14062 (eval echo "\"\$as_me:14062: $lt_compile\"" >&5) |
12345 (eval "$lt_compile" 2>conftest.err) | 14063 (eval "$lt_compile" 2>conftest.err) |
12346 ac_status=$? | 14064 ac_status=$? |
12347 cat conftest.err >&5 | 14065 cat conftest.err >&5 |
12348 echo "$as_me:12348: \$? = $ac_status" >&5 | 14066 echo "$as_me:14066: \$? = $ac_status" >&5 |
12349 if (exit $ac_status) && test -s "$ac_outfile"; then | 14067 if (exit $ac_status) && test -s "$ac_outfile"; then |
12350 # The compiler can only warn and ignore the option if not recognized | 14068 # The compiler can only warn and ignore the option if not recognized |
12351 # So say no if there are warnings | 14069 # So say no if there are warnings other than the usual output. |
12352 if test ! -s conftest.err; then | 14070 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
14071 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
14072 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then | |
12353 lt_prog_compiler_pic_works_F77=yes | 14073 lt_prog_compiler_pic_works_F77=yes |
12354 fi | 14074 fi |
12355 fi | 14075 fi |
12356 $rm conftest* | 14076 $rm conftest* |
12357 | 14077 |
12358 fi | 14078 fi |
12359 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 | 14079 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 |
12360 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6 | 14080 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; } |
12361 | 14081 |
12362 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then | 14082 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then |
12363 case $lt_prog_compiler_pic_F77 in | 14083 case $lt_prog_compiler_pic_F77 in |
12364 "" | " "*) ;; | 14084 "" | " "*) ;; |
12365 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; | 14085 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; |
12368 lt_prog_compiler_pic_F77= | 14088 lt_prog_compiler_pic_F77= |
12369 lt_prog_compiler_can_build_shared_F77=no | 14089 lt_prog_compiler_can_build_shared_F77=no |
12370 fi | 14090 fi |
12371 | 14091 |
12372 fi | 14092 fi |
12373 case "$host_os" in | 14093 case $host_os in |
12374 # For platforms which do not support PIC, -DPIC is meaningless: | 14094 # For platforms which do not support PIC, -DPIC is meaningless: |
12375 *djgpp*) | 14095 *djgpp*) |
12376 lt_prog_compiler_pic_F77= | 14096 lt_prog_compiler_pic_F77= |
12377 ;; | 14097 ;; |
12378 *) | 14098 *) |
12379 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" | 14099 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" |
12380 ;; | 14100 ;; |
12381 esac | 14101 esac |
12382 | 14102 |
12383 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | 14103 # |
12384 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | 14104 # Check to make sure the static flag actually works. |
14105 # | |
14106 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" | |
14107 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 | |
14108 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } | |
14109 if test "${lt_prog_compiler_static_works_F77+set}" = set; then | |
14110 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
14111 else | |
14112 lt_prog_compiler_static_works_F77=no | |
14113 save_LDFLAGS="$LDFLAGS" | |
14114 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" | |
14115 printf "$lt_simple_link_test_code" > conftest.$ac_ext | |
14116 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | |
14117 # The linker can only warn and ignore the option if not recognized | |
14118 # So say no if there are warnings | |
14119 if test -s conftest.err; then | |
14120 # Append any errors to the config.log. | |
14121 cat conftest.err 1>&5 | |
14122 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp | |
14123 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
14124 if diff conftest.exp conftest.er2 >/dev/null; then | |
14125 lt_prog_compiler_static_works_F77=yes | |
14126 fi | |
14127 else | |
14128 lt_prog_compiler_static_works_F77=yes | |
14129 fi | |
14130 fi | |
14131 $rm conftest* | |
14132 LDFLAGS="$save_LDFLAGS" | |
14133 | |
14134 fi | |
14135 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5 | |
14136 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; } | |
14137 | |
14138 if test x"$lt_prog_compiler_static_works_F77" = xyes; then | |
14139 : | |
14140 else | |
14141 lt_prog_compiler_static_F77= | |
14142 fi | |
14143 | |
14144 | |
14145 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | |
14146 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } | |
12385 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then | 14147 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then |
12386 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14148 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12387 else | 14149 else |
12388 lt_cv_prog_compiler_c_o_F77=no | 14150 lt_cv_prog_compiler_c_o_F77=no |
12389 $rm -r conftest 2>/dev/null | 14151 $rm -r conftest 2>/dev/null |
12390 mkdir conftest | 14152 mkdir conftest |
12391 cd conftest | 14153 cd conftest |
12392 mkdir out | 14154 mkdir out |
12393 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 14155 printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
12394 | 14156 |
12395 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | |
12396 # that will create temporary files in the current directory regardless of | |
12397 # the output directory. Thus, making CWD read-only will cause this test | |
12398 # to fail, enabling locking or at least warning the user not to do parallel | |
12399 # builds. | |
12400 chmod -w . | |
12401 | |
12402 lt_compiler_flag="-o out/conftest2.$ac_objext" | 14157 lt_compiler_flag="-o out/conftest2.$ac_objext" |
12403 # Insert the option either (1) after the last *FLAGS variable, or | 14158 # Insert the option either (1) after the last *FLAGS variable, or |
12404 # (2) before a word containing "conftest.", or (3) at the end. | 14159 # (2) before a word containing "conftest.", or (3) at the end. |
12405 # Note that $ac_compile itself does not contain backslashes and begins | 14160 # Note that $ac_compile itself does not contain backslashes and begins |
12406 # with a dollar sign (not a hyphen), so the echo should work correctly. | 14161 # with a dollar sign (not a hyphen), so the echo should work correctly. |
12407 lt_compile=`echo "$ac_compile" | $SED \ | 14162 lt_compile=`echo "$ac_compile" | $SED \ |
12408 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 14163 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
12409 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 14164 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
12410 -e 's:$: $lt_compiler_flag:'` | 14165 -e 's:$: $lt_compiler_flag:'` |
12411 (eval echo "\"\$as_me:12411: $lt_compile\"" >&5) | 14166 (eval echo "\"\$as_me:14166: $lt_compile\"" >&5) |
12412 (eval "$lt_compile" 2>out/conftest.err) | 14167 (eval "$lt_compile" 2>out/conftest.err) |
12413 ac_status=$? | 14168 ac_status=$? |
12414 cat out/conftest.err >&5 | 14169 cat out/conftest.err >&5 |
12415 echo "$as_me:12415: \$? = $ac_status" >&5 | 14170 echo "$as_me:14170: \$? = $ac_status" >&5 |
12416 if (exit $ac_status) && test -s out/conftest2.$ac_objext | 14171 if (exit $ac_status) && test -s out/conftest2.$ac_objext |
12417 then | 14172 then |
12418 # The compiler can only warn and ignore the option if not recognized | 14173 # The compiler can only warn and ignore the option if not recognized |
12419 # So say no if there are warnings | 14174 # So say no if there are warnings |
12420 if test ! -s out/conftest.err; then | 14175 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
14176 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | |
14177 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then | |
12421 lt_cv_prog_compiler_c_o_F77=yes | 14178 lt_cv_prog_compiler_c_o_F77=yes |
12422 fi | 14179 fi |
12423 fi | 14180 fi |
12424 chmod u+w . | 14181 chmod u+w . 2>&5 |
12425 $rm conftest* out/* | 14182 $rm conftest* |
12426 rmdir out | 14183 # SGI C++ compiler will create directory out/ii_files/ for |
14184 # template instantiation | |
14185 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files | |
14186 $rm out/* && rmdir out | |
12427 cd .. | 14187 cd .. |
12428 rmdir conftest | 14188 rmdir conftest |
12429 $rm conftest* | 14189 $rm conftest* |
12430 | 14190 |
12431 fi | 14191 fi |
12432 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 | 14192 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 |
12433 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6 | 14193 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; } |
12434 | 14194 |
12435 | 14195 |
12436 hard_links="nottested" | 14196 hard_links="nottested" |
12437 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then | 14197 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then |
12438 # do not overwrite the value of need_locks provided by the user | 14198 # do not overwrite the value of need_locks provided by the user |
12439 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 | 14199 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
12440 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 14200 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } |
12441 hard_links=yes | 14201 hard_links=yes |
12442 $rm conftest* | 14202 $rm conftest* |
12443 ln conftest.a conftest.b 2>/dev/null && hard_links=no | 14203 ln conftest.a conftest.b 2>/dev/null && hard_links=no |
12444 touch conftest.a | 14204 touch conftest.a |
12445 ln conftest.a conftest.b 2>&5 || hard_links=no | 14205 ln conftest.a conftest.b 2>&5 || hard_links=no |
12446 ln conftest.a conftest.b 2>/dev/null && hard_links=no | 14206 ln conftest.a conftest.b 2>/dev/null && hard_links=no |
12447 echo "$as_me:$LINENO: result: $hard_links" >&5 | 14207 { echo "$as_me:$LINENO: result: $hard_links" >&5 |
12448 echo "${ECHO_T}$hard_links" >&6 | 14208 echo "${ECHO_T}$hard_links" >&6; } |
12449 if test "$hard_links" = no; then | 14209 if test "$hard_links" = no; then |
12450 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 14210 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
12451 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 14211 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
12452 need_locks=warn | 14212 need_locks=warn |
12453 fi | 14213 fi |
12454 else | 14214 else |
12455 need_locks=no | 14215 need_locks=no |
12456 fi | 14216 fi |
12457 | 14217 |
12458 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 14218 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
12459 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 14219 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
12460 | 14220 |
12461 runpath_var= | 14221 runpath_var= |
12462 allow_undefined_flag_F77= | 14222 allow_undefined_flag_F77= |
12463 enable_shared_with_static_runtimes_F77=no | 14223 enable_shared_with_static_runtimes_F77=no |
12464 archive_cmds_F77= | 14224 archive_cmds_F77= |
12492 # platforms (ab)use it in PIC code, but their linkers get confused if | 14252 # platforms (ab)use it in PIC code, but their linkers get confused if |
12493 # the symbol is explicitly referenced. Since portable code cannot | 14253 # the symbol is explicitly referenced. Since portable code cannot |
12494 # rely on this symbol name, it's probably fine to never include it in | 14254 # rely on this symbol name, it's probably fine to never include it in |
12495 # preloaded symbol tables. | 14255 # preloaded symbol tables. |
12496 extract_expsyms_cmds= | 14256 extract_expsyms_cmds= |
14257 # Just being paranoid about ensuring that cc_basename is set. | |
14258 for cc_temp in $compiler""; do | |
14259 case $cc_temp in | |
14260 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; | |
14261 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; | |
14262 \-*) ;; | |
14263 *) break;; | |
14264 esac | |
14265 done | |
14266 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | |
12497 | 14267 |
12498 case $host_os in | 14268 case $host_os in |
12499 cygwin* | mingw* | pw32*) | 14269 cygwin* | mingw* | pw32*) |
12500 # FIXME: the MSVC++ port hasn't been tested in a loooong time | 14270 # FIXME: the MSVC++ port hasn't been tested in a loooong time |
12501 # When not using gcc, we currently assume that we are using | 14271 # When not using gcc, we currently assume that we are using |
12502 # Microsoft Visual C++. | 14272 # Microsoft Visual C++. |
12503 if test "$GCC" != yes; then | 14273 if test "$GCC" != yes; then |
12504 with_gnu_ld=no | 14274 with_gnu_ld=no |
12505 fi | 14275 fi |
12506 ;; | 14276 ;; |
14277 interix*) | |
14278 # we just hope/assume this is gcc and not c89 (= MSVC++) | |
14279 with_gnu_ld=yes | |
14280 ;; | |
12507 openbsd*) | 14281 openbsd*) |
12508 with_gnu_ld=no | 14282 with_gnu_ld=no |
12509 ;; | 14283 ;; |
12510 esac | 14284 esac |
12511 | 14285 |
12512 ld_shlibs_F77=yes | 14286 ld_shlibs_F77=yes |
12513 if test "$with_gnu_ld" = yes; then | 14287 if test "$with_gnu_ld" = yes; then |
12514 # If archive_cmds runs LD, not CC, wlarc should be empty | 14288 # If archive_cmds runs LD, not CC, wlarc should be empty |
12515 wlarc='${wl}' | 14289 wlarc='${wl}' |
14290 | |
14291 # Set some defaults for GNU ld with shared library support. These | |
14292 # are reset later if shared libraries are not supported. Putting them | |
14293 # here allows them to be overridden if necessary. | |
14294 runpath_var=LD_RUN_PATH | |
14295 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' | |
14296 export_dynamic_flag_spec_F77='${wl}--export-dynamic' | |
14297 # ancient GNU ld didn't support --whole-archive et. al. | |
14298 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then | |
14299 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | |
14300 else | |
14301 whole_archive_flag_spec_F77= | |
14302 fi | |
14303 supports_anon_versioning=no | |
14304 case `$LD -v 2>/dev/null` in | |
14305 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 | |
14306 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | |
14307 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... | |
14308 *\ 2.11.*) ;; # other 2.11 versions | |
14309 *) supports_anon_versioning=yes ;; | |
14310 esac | |
12516 | 14311 |
12517 # See if GNU ld supports shared libraries. | 14312 # See if GNU ld supports shared libraries. |
12518 case $host_os in | 14313 case $host_os in |
12519 aix3* | aix4* | aix5*) | 14314 aix3* | aix4* | aix5*) |
12520 # On AIX/PPC, the GNU linker is very broken | 14315 # On AIX/PPC, the GNU linker is very broken |
12562 # as there is no search path for DLLs. | 14357 # as there is no search path for DLLs. |
12563 hardcode_libdir_flag_spec_F77='-L$libdir' | 14358 hardcode_libdir_flag_spec_F77='-L$libdir' |
12564 allow_undefined_flag_F77=unsupported | 14359 allow_undefined_flag_F77=unsupported |
12565 always_export_symbols_F77=no | 14360 always_export_symbols_F77=no |
12566 enable_shared_with_static_runtimes_F77=yes | 14361 enable_shared_with_static_runtimes_F77=yes |
12567 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 14362 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
12568 | 14363 |
12569 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 14364 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
12570 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 14365 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
12571 # If the export-symbols file already is a .def file (1st line | 14366 # If the export-symbols file already is a .def file (1st line |
12572 # is EXPORTS), use it as is; otherwise, prepend... | 14367 # is EXPORTS), use it as is; otherwise, prepend... |
12573 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 14368 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
12574 cp $export_symbols $output_objdir/$soname.def; | 14369 cp $export_symbols $output_objdir/$soname.def; |
12575 else | 14370 else |
12576 echo EXPORTS > $output_objdir/$soname.def; | 14371 echo EXPORTS > $output_objdir/$soname.def; |
12577 cat $export_symbols >> $output_objdir/$soname.def; | 14372 cat $export_symbols >> $output_objdir/$soname.def; |
12578 fi~ | 14373 fi~ |
12579 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 14374 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
12580 else | 14375 else |
12581 ld_shlibs=no | 14376 ld_shlibs_F77=no |
14377 fi | |
14378 ;; | |
14379 | |
14380 interix3*) | |
14381 hardcode_direct_F77=no | |
14382 hardcode_shlibpath_var_F77=no | |
14383 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' | |
14384 export_dynamic_flag_spec_F77='${wl}-E' | |
14385 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. | |
14386 # Instead, shared libraries are loaded at an image base (0x10000000 by | |
14387 # default) and relocated if they conflict, which is a slow very memory | |
14388 # consuming and fragmenting process. To avoid this, we pick a random, | |
14389 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link | |
14390 # time. Moving up from 0x10000000 also allows more sbrk(2) space. | |
14391 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' | |
14392 archive_expsym_cmds_F77='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' | |
14393 ;; | |
14394 | |
14395 linux*) | |
14396 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | |
14397 tmp_addflag= | |
14398 case $cc_basename,$host_cpu in | |
14399 pgcc*) # Portland Group C compiler | |
14400 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' | |
14401 tmp_addflag=' $pic_flag' | |
14402 ;; | |
14403 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers | |
14404 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' | |
14405 tmp_addflag=' $pic_flag -Mnomain' ;; | |
14406 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 | |
14407 tmp_addflag=' -i_dynamic' ;; | |
14408 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 | |
14409 tmp_addflag=' -i_dynamic -nofor_main' ;; | |
14410 ifc* | ifort*) # Intel Fortran compiler | |
14411 tmp_addflag=' -nofor_main' ;; | |
14412 esac | |
14413 archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
14414 | |
14415 if test $supports_anon_versioning = yes; then | |
14416 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ | |
14417 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ | |
14418 $echo "local: *; };" >> $output_objdir/$libname.ver~ | |
14419 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | |
14420 fi | |
14421 else | |
14422 ld_shlibs_F77=no | |
12582 fi | 14423 fi |
12583 ;; | 14424 ;; |
12584 | 14425 |
12585 netbsd*) | 14426 netbsd*) |
12586 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 14427 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
12590 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 14431 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
12591 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 14432 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
12592 fi | 14433 fi |
12593 ;; | 14434 ;; |
12594 | 14435 |
12595 solaris* | sysv5*) | 14436 solaris*) |
12596 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then | 14437 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
12597 ld_shlibs_F77=no | 14438 ld_shlibs_F77=no |
12598 cat <<EOF 1>&2 | 14439 cat <<EOF 1>&2 |
12599 | 14440 |
12600 *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 14441 *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
12611 else | 14452 else |
12612 ld_shlibs_F77=no | 14453 ld_shlibs_F77=no |
12613 fi | 14454 fi |
12614 ;; | 14455 ;; |
12615 | 14456 |
14457 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) | |
14458 case `$LD -v 2>&1` in | |
14459 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) | |
14460 ld_shlibs_F77=no | |
14461 cat <<_LT_EOF 1>&2 | |
14462 | |
14463 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not | |
14464 *** reliably create shared libraries on SCO systems. Therefore, libtool | |
14465 *** is disabling shared libraries support. We urge you to upgrade GNU | |
14466 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify | |
14467 *** your PATH or compiler configuration so that the native linker is | |
14468 *** used, and then restart. | |
14469 | |
14470 _LT_EOF | |
14471 ;; | |
14472 *) | |
14473 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | |
14474 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' | |
14475 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' | |
14476 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' | |
14477 else | |
14478 ld_shlibs_F77=no | |
14479 fi | |
14480 ;; | |
14481 esac | |
14482 ;; | |
14483 | |
12616 sunos4*) | 14484 sunos4*) |
12617 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 14485 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
12618 wlarc= | 14486 wlarc= |
12619 hardcode_direct_F77=yes | 14487 hardcode_direct_F77=yes |
12620 hardcode_shlibpath_var_F77=no | 14488 hardcode_shlibpath_var_F77=no |
12628 ld_shlibs_F77=no | 14496 ld_shlibs_F77=no |
12629 fi | 14497 fi |
12630 ;; | 14498 ;; |
12631 esac | 14499 esac |
12632 | 14500 |
12633 if test "$ld_shlibs_F77" = yes; then | 14501 if test "$ld_shlibs_F77" = no; then |
12634 runpath_var=LD_RUN_PATH | 14502 runpath_var= |
12635 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' | 14503 hardcode_libdir_flag_spec_F77= |
12636 export_dynamic_flag_spec_F77='${wl}--export-dynamic' | 14504 export_dynamic_flag_spec_F77= |
12637 # ancient GNU ld didn't support --whole-archive et. al. | 14505 whole_archive_flag_spec_F77= |
12638 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then | |
12639 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | |
12640 else | |
12641 whole_archive_flag_spec_F77= | |
12642 fi | |
12643 fi | 14506 fi |
12644 else | 14507 else |
12645 # PORTME fill in a description of your system's linker (not GNU ld) | 14508 # PORTME fill in a description of your system's linker (not GNU ld) |
12646 case $host_os in | 14509 case $host_os in |
12647 aix3*) | 14510 aix3*) |
12649 always_export_symbols_F77=yes | 14512 always_export_symbols_F77=yes |
12650 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' | 14513 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
12651 # Note: this linker hardcodes the directories in LIBPATH if there | 14514 # Note: this linker hardcodes the directories in LIBPATH if there |
12652 # are no directories specified by -L. | 14515 # are no directories specified by -L. |
12653 hardcode_minus_L_F77=yes | 14516 hardcode_minus_L_F77=yes |
12654 if test "$GCC" = yes && test -z "$link_static_flag"; then | 14517 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
12655 # Neither direct hardcoding nor static linking is supported with a | 14518 # Neither direct hardcoding nor static linking is supported with a |
12656 # broken collect2. | 14519 # broken collect2. |
12657 hardcode_direct_F77=unsupported | 14520 hardcode_direct_F77=unsupported |
12658 fi | 14521 fi |
12659 ;; | 14522 ;; |
12683 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 14546 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
12684 aix_use_runtimelinking=yes | 14547 aix_use_runtimelinking=yes |
12685 break | 14548 break |
12686 fi | 14549 fi |
12687 done | 14550 done |
14551 ;; | |
12688 esac | 14552 esac |
12689 | 14553 |
12690 exp_sym_flag='-bexport' | 14554 exp_sym_flag='-bexport' |
12691 no_entry_flag='-bnoentry' | 14555 no_entry_flag='-bnoentry' |
12692 fi | 14556 fi |
12701 hardcode_direct_F77=yes | 14565 hardcode_direct_F77=yes |
12702 hardcode_libdir_separator_F77=':' | 14566 hardcode_libdir_separator_F77=':' |
12703 link_all_deplibs_F77=yes | 14567 link_all_deplibs_F77=yes |
12704 | 14568 |
12705 if test "$GCC" = yes; then | 14569 if test "$GCC" = yes; then |
12706 case $host_os in aix4.012|aix4.012.*) | 14570 case $host_os in aix4.[012]|aix4.[012].*) |
12707 # We only want to do this on AIX 4.2 and lower, the check | 14571 # We only want to do this on AIX 4.2 and lower, the check |
12708 # below for broken collect2 doesn't work under 4.3+ | 14572 # below for broken collect2 doesn't work under 4.3+ |
12709 collect2name=`${CC} -print-prog-name=collect2` | 14573 collect2name=`${CC} -print-prog-name=collect2` |
12710 if test -f "$collect2name" && \ | 14574 if test -f "$collect2name" && \ |
12711 strings "$collect2name" | grep resolve_lib_name >/dev/null | 14575 strings "$collect2name" | grep resolve_lib_name >/dev/null |
12720 # to unsupported forces relinking | 14584 # to unsupported forces relinking |
12721 hardcode_minus_L_F77=yes | 14585 hardcode_minus_L_F77=yes |
12722 hardcode_libdir_flag_spec_F77='-L$libdir' | 14586 hardcode_libdir_flag_spec_F77='-L$libdir' |
12723 hardcode_libdir_separator_F77= | 14587 hardcode_libdir_separator_F77= |
12724 fi | 14588 fi |
14589 ;; | |
12725 esac | 14590 esac |
12726 shared_flag='-shared' | 14591 shared_flag='-shared' |
14592 if test "$aix_use_runtimelinking" = yes; then | |
14593 shared_flag="$shared_flag "'${wl}-G' | |
14594 fi | |
12727 else | 14595 else |
12728 # not using gcc | 14596 # not using gcc |
12729 if test "$host_cpu" = ia64; then | 14597 if test "$host_cpu" = ia64; then |
12730 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 14598 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
12731 # chokes on -Wl,-G. The following line is correct: | 14599 # chokes on -Wl,-G. The following line is correct: |
12732 shared_flag='-G' | 14600 shared_flag='-G' |
12733 else | 14601 else |
12734 if test "$aix_use_runtimelinking" = yes; then | 14602 if test "$aix_use_runtimelinking" = yes; then |
12735 shared_flag='${wl}-G' | 14603 shared_flag='${wl}-G' |
12736 else | 14604 else |
12737 shared_flag='${wl}-bM:SRE' | 14605 shared_flag='${wl}-bM:SRE' |
12738 fi | 14606 fi |
12739 fi | 14607 fi |
12740 fi | 14608 fi |
12741 | 14609 |
12742 # It seems that -bexpall does not export symbols beginning with | 14610 # It seems that -bexpall does not export symbols beginning with |
12743 # underscore (_), so it is better to generate a list of symbols to export. | 14611 # underscore (_), so it is better to generate a list of symbols to export. |
12751 program main | 14619 program main |
12752 | 14620 |
12753 end | 14621 end |
12754 _ACEOF | 14622 _ACEOF |
12755 rm -f conftest.$ac_objext conftest$ac_exeext | 14623 rm -f conftest.$ac_objext conftest$ac_exeext |
12756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14624 if { (ac_try="$ac_link" |
12757 (eval $ac_link) 2>&5 | 14625 case "(($ac_try" in |
14626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14627 *) ac_try_echo=$ac_try;; | |
14628 esac | |
14629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14630 (eval "$ac_link") 2>conftest.er1 | |
14631 ac_status=$? | |
14632 grep -v '^ *+' conftest.er1 >conftest.err | |
14633 rm -f conftest.er1 | |
14634 cat conftest.err >&5 | |
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14636 (exit $ac_status); } && | |
14637 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' | |
14638 { (case "(($ac_try" in | |
14639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14640 *) ac_try_echo=$ac_try;; | |
14641 esac | |
14642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14643 (eval "$ac_try") 2>&5 | |
12758 ac_status=$? | 14644 ac_status=$? |
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12760 (exit $ac_status); } && | 14646 (exit $ac_status); }; } && |
12761 { ac_try='test -s conftest$ac_exeext' | 14647 { ac_try='test -s conftest$ac_exeext' |
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14648 { (case "(($ac_try" in |
12763 (eval $ac_try) 2>&5 | 14649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14650 *) ac_try_echo=$ac_try;; | |
14651 esac | |
14652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14653 (eval "$ac_try") 2>&5 | |
12764 ac_status=$? | 14654 ac_status=$? |
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12766 (exit $ac_status); }; }; then | 14656 (exit $ac_status); }; }; then |
12767 | 14657 |
12768 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | 14658 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
12770 # Check for a 64-bit object if we didn't find anything. | 14660 # Check for a 64-bit object if we didn't find anything. |
12771 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | 14661 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
12772 }'`; fi | 14662 }'`; fi |
12773 else | 14663 else |
12774 echo "$as_me: failed program was:" >&5 | 14664 echo "$as_me: failed program was:" >&5 |
12775 cat conftest.$ac_ext >&5 | 14665 sed 's/^/| /' conftest.$ac_ext >&5 |
12776 fi | 14666 |
12777 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 14667 |
14668 fi | |
14669 | |
14670 rm -f core conftest.err conftest.$ac_objext \ | |
14671 conftest$ac_exeext conftest.$ac_ext | |
12778 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 14672 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
12779 | 14673 |
12780 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" | 14674 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
12781 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" | 14675 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
12782 else | 14676 else |
12783 if test "$host_cpu" = ia64; then | 14677 if test "$host_cpu" = ia64; then |
12784 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' | 14678 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' |
12785 allow_undefined_flag_F77="-z nodefs" | 14679 allow_undefined_flag_F77="-z nodefs" |
12786 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | 14680 archive_expsym_cmds_F77="\$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" |
12787 else | 14681 else |
12788 # Determine the default libpath from the value encoded in an empty executable. | 14682 # Determine the default libpath from the value encoded in an empty executable. |
12789 cat >conftest.$ac_ext <<_ACEOF | 14683 cat >conftest.$ac_ext <<_ACEOF |
12790 program main | 14684 program main |
12791 | 14685 |
12792 end | 14686 end |
12793 _ACEOF | 14687 _ACEOF |
12794 rm -f conftest.$ac_objext conftest$ac_exeext | 14688 rm -f conftest.$ac_objext conftest$ac_exeext |
12795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14689 if { (ac_try="$ac_link" |
12796 (eval $ac_link) 2>&5 | 14690 case "(($ac_try" in |
14691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14692 *) ac_try_echo=$ac_try;; | |
14693 esac | |
14694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14695 (eval "$ac_link") 2>conftest.er1 | |
14696 ac_status=$? | |
14697 grep -v '^ *+' conftest.er1 >conftest.err | |
14698 rm -f conftest.er1 | |
14699 cat conftest.err >&5 | |
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14701 (exit $ac_status); } && | |
14702 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' | |
14703 { (case "(($ac_try" in | |
14704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14705 *) ac_try_echo=$ac_try;; | |
14706 esac | |
14707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14708 (eval "$ac_try") 2>&5 | |
12797 ac_status=$? | 14709 ac_status=$? |
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12799 (exit $ac_status); } && | 14711 (exit $ac_status); }; } && |
12800 { ac_try='test -s conftest$ac_exeext' | 14712 { ac_try='test -s conftest$ac_exeext' |
12801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14713 { (case "(($ac_try" in |
12802 (eval $ac_try) 2>&5 | 14714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14715 *) ac_try_echo=$ac_try;; | |
14716 esac | |
14717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14718 (eval "$ac_try") 2>&5 | |
12803 ac_status=$? | 14719 ac_status=$? |
12804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12805 (exit $ac_status); }; }; then | 14721 (exit $ac_status); }; }; then |
12806 | 14722 |
12807 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | 14723 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
12809 # Check for a 64-bit object if we didn't find anything. | 14725 # Check for a 64-bit object if we didn't find anything. |
12810 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | 14726 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
12811 }'`; fi | 14727 }'`; fi |
12812 else | 14728 else |
12813 echo "$as_me: failed program was:" >&5 | 14729 echo "$as_me: failed program was:" >&5 |
12814 cat conftest.$ac_ext >&5 | 14730 sed 's/^/| /' conftest.$ac_ext >&5 |
12815 fi | 14731 |
12816 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 14732 |
14733 fi | |
14734 | |
14735 rm -f core conftest.err conftest.$ac_objext \ | |
14736 conftest$ac_exeext conftest.$ac_ext | |
12817 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 14737 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
12818 | 14738 |
12819 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" | 14739 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
12820 # Warning - without using the other run time loading flags, | 14740 # Warning - without using the other run time loading flags, |
12821 # -berok will link without error, but may produce a broken library. | 14741 # -berok will link without error, but may produce a broken library. |
12822 no_undefined_flag_F77=' ${wl}-bernotok' | 14742 no_undefined_flag_F77=' ${wl}-bernotok' |
12823 allow_undefined_flag_F77=' ${wl}-berok' | 14743 allow_undefined_flag_F77=' ${wl}-berok' |
12824 # -bexpall does not export symbols beginning with underscore (_) | |
12825 always_export_symbols_F77=yes | |
12826 # Exported symbols can be pulled into shared objects from archives | 14744 # Exported symbols can be pulled into shared objects from archives |
12827 whole_archive_flag_spec_F77=' ' | 14745 whole_archive_flag_spec_F77='$convenience' |
12828 archive_cmds_need_lc_F77=yes | 14746 archive_cmds_need_lc_F77=yes |
12829 # This is similar to how AIX traditionally builds it's shared libraries. | 14747 # This is similar to how AIX traditionally builds its shared libraries. |
12830 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | 14748 archive_expsym_cmds_F77="\$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' |
12831 fi | 14749 fi |
12832 fi | 14750 fi |
12833 ;; | 14751 ;; |
12834 | 14752 |
12835 amigaos*) | 14753 amigaos*) |
12838 hardcode_minus_L_F77=yes | 14756 hardcode_minus_L_F77=yes |
12839 # see comment about different semantics on the GNU ld section | 14757 # see comment about different semantics on the GNU ld section |
12840 ld_shlibs_F77=no | 14758 ld_shlibs_F77=no |
12841 ;; | 14759 ;; |
12842 | 14760 |
12843 bsdi4*) | 14761 bsdi[45]*) |
12844 export_dynamic_flag_spec_F77=-rdynamic | 14762 export_dynamic_flag_spec_F77=-rdynamic |
12845 ;; | 14763 ;; |
12846 | 14764 |
12847 cygwin* | mingw* | pw32*) | 14765 cygwin* | mingw* | pw32*) |
12848 # When not using gcc, we currently assume that we are using | 14766 # When not using gcc, we currently assume that we are using |
12852 hardcode_libdir_flag_spec_F77=' ' | 14770 hardcode_libdir_flag_spec_F77=' ' |
12853 allow_undefined_flag_F77=unsupported | 14771 allow_undefined_flag_F77=unsupported |
12854 # Tell ltmain to make .lib files, not .a files. | 14772 # Tell ltmain to make .lib files, not .a files. |
12855 libext=lib | 14773 libext=lib |
12856 # Tell ltmain to make .dll files, not .so files. | 14774 # Tell ltmain to make .dll files, not .so files. |
12857 shrext=".dll" | 14775 shrext_cmds=".dll" |
12858 # FIXME: Setting linknames here is a bad hack. | 14776 # FIXME: Setting linknames here is a bad hack. |
12859 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' | 14777 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
12860 # The linker will automatically build a .lib file if we build a DLL. | 14778 # The linker will automatically build a .lib file if we build a DLL. |
12861 old_archive_From_new_cmds_F77='true' | 14779 old_archive_From_new_cmds_F77='true' |
12862 # FIXME: Should let the user specify the lib program. | 14780 # FIXME: Should let the user specify the lib program. |
12863 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' | 14781 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' |
12864 fix_srcfile_path='`cygpath -w "$srcfile"`' | 14782 fix_srcfile_path_F77='`cygpath -w "$srcfile"`' |
12865 enable_shared_with_static_runtimes_F77=yes | 14783 enable_shared_with_static_runtimes_F77=yes |
12866 ;; | 14784 ;; |
12867 | 14785 |
12868 darwin* | rhapsody*) | 14786 darwin* | rhapsody*) |
12869 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 14787 case $host_os in |
14788 rhapsody* | darwin1.[012]) | |
14789 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' | |
14790 ;; | |
14791 *) # Darwin 1.3 on | |
14792 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then | |
14793 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' | |
14794 else | |
14795 case ${MACOSX_DEPLOYMENT_TARGET} in | |
14796 10.[012]) | |
14797 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' | |
14798 ;; | |
14799 10.*) | |
14800 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' | |
14801 ;; | |
14802 esac | |
14803 fi | |
14804 ;; | |
14805 esac | |
12870 archive_cmds_need_lc_F77=no | 14806 archive_cmds_need_lc_F77=no |
12871 case "$host_os" in | |
12872 rhapsody* | darwin1.[012]) | |
12873 allow_undefined_flag_F77='-undefined suppress' | |
12874 ;; | |
12875 *) # Darwin 1.3 on | |
12876 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress' | |
12877 ;; | |
12878 esac | |
12879 # FIXME: Relying on posixy $() will cause problems for | |
12880 # cross-compilation, but unfortunately the echo tests do not | |
12881 # yet detect zsh echo's removal of \ escapes. Also zsh mangles | |
12882 # `"' quotes if we put them in here... so don't! | |
12883 lt_int_apple_cc_single_mod=no | |
12884 output_verbose_link_cmd='echo' | |
12885 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then | |
12886 lt_int_apple_cc_single_mod=yes | |
12887 fi | |
12888 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | |
12889 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | |
12890 else | |
12891 archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | |
12892 fi | |
12893 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | |
12894 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | |
12895 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | |
12896 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
12897 else | |
12898 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
12899 fi | |
12900 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
12901 hardcode_direct_F77=no | 14807 hardcode_direct_F77=no |
12902 hardcode_automatic_F77=yes | 14808 hardcode_automatic_F77=yes |
12903 hardcode_shlibpath_var_F77=unsupported | 14809 hardcode_shlibpath_var_F77=unsupported |
12904 whole_archive_flag_spec_F77='-all_load $convenience' | 14810 whole_archive_flag_spec_F77='' |
12905 link_all_deplibs_F77=yes | 14811 link_all_deplibs_F77=yes |
14812 if test "$GCC" = yes ; then | |
14813 output_verbose_link_cmd='echo' | |
14814 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | |
14815 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' | |
14816 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds | |
14817 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
14818 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
14819 else | |
14820 case $cc_basename in | |
14821 xlc*) | |
14822 output_verbose_link_cmd='echo' | |
14823 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' | |
14824 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' | |
14825 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds | |
14826 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
14827 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
14828 ;; | |
14829 *) | |
14830 ld_shlibs_F77=no | |
14831 ;; | |
14832 esac | |
12906 fi | 14833 fi |
12907 ;; | 14834 ;; |
12908 | 14835 |
12909 dgux*) | 14836 dgux*) |
12910 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 14837 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
12934 hardcode_minus_L_F77=yes | 14861 hardcode_minus_L_F77=yes |
12935 hardcode_shlibpath_var_F77=no | 14862 hardcode_shlibpath_var_F77=no |
12936 ;; | 14863 ;; |
12937 | 14864 |
12938 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 14865 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
12939 freebsd*) | 14866 freebsd* | kfreebsd*-gnu | dragonfly*) |
12940 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | 14867 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
12941 hardcode_libdir_flag_spec_F77='-R$libdir' | 14868 hardcode_libdir_flag_spec_F77='-R$libdir' |
12942 hardcode_direct_F77=yes | 14869 hardcode_direct_F77=yes |
12943 hardcode_shlibpath_var_F77=no | 14870 hardcode_shlibpath_var_F77=no |
12944 ;; | 14871 ;; |
12957 # but as the default location of the library. | 14884 # but as the default location of the library. |
12958 hardcode_minus_L_F77=yes | 14885 hardcode_minus_L_F77=yes |
12959 export_dynamic_flag_spec_F77='${wl}-E' | 14886 export_dynamic_flag_spec_F77='${wl}-E' |
12960 ;; | 14887 ;; |
12961 | 14888 |
12962 hpux10* | hpux11*) | 14889 hpux10*) |
12963 if test "$GCC" = yes -a "$with_gnu_ld" = no; then | 14890 if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
12964 case "$host_cpu" in | 14891 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
12965 hppa*64*|ia64*) | 14892 else |
14893 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | |
14894 fi | |
14895 if test "$with_gnu_ld" = no; then | |
14896 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' | |
14897 hardcode_libdir_separator_F77=: | |
14898 | |
14899 hardcode_direct_F77=yes | |
14900 export_dynamic_flag_spec_F77='${wl}-E' | |
14901 | |
14902 # hardcode_minus_L: Not really in the search PATH, | |
14903 # but as the default location of the library. | |
14904 hardcode_minus_L_F77=yes | |
14905 fi | |
14906 ;; | |
14907 | |
14908 hpux11*) | |
14909 if test "$GCC" = yes -a "$with_gnu_ld" = no; then | |
14910 case $host_cpu in | |
14911 hppa*64*) | |
12966 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 14912 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
14913 ;; | |
14914 ia64*) | |
14915 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' | |
12967 ;; | 14916 ;; |
12968 *) | 14917 *) |
12969 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 14918 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
12970 ;; | 14919 ;; |
12971 esac | 14920 esac |
12972 else | 14921 else |
12973 case "$host_cpu" in | 14922 case $host_cpu in |
12974 hppa*64*|ia64*) | 14923 hppa*64*) |
12975 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' | 14924 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
14925 ;; | |
14926 ia64*) | |
14927 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' | |
12976 ;; | 14928 ;; |
12977 *) | 14929 *) |
12978 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 14930 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
12979 ;; | 14931 ;; |
12980 esac | 14932 esac |
12981 fi | 14933 fi |
12982 if test "$with_gnu_ld" = no; then | 14934 if test "$with_gnu_ld" = no; then |
12983 case "$host_cpu" in | 14935 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
12984 hppa*64*) | 14936 hardcode_libdir_separator_F77=: |
12985 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' | 14937 |
14938 case $host_cpu in | |
14939 hppa*64*|ia64*) | |
12986 hardcode_libdir_flag_spec_ld_F77='+b $libdir' | 14940 hardcode_libdir_flag_spec_ld_F77='+b $libdir' |
12987 hardcode_libdir_separator_F77=: | |
12988 hardcode_direct_F77=no | 14941 hardcode_direct_F77=no |
12989 hardcode_shlibpath_var_F77=no | 14942 hardcode_shlibpath_var_F77=no |
12990 ;; | 14943 ;; |
12991 ia64*) | |
12992 hardcode_libdir_flag_spec_F77='-L$libdir' | |
12993 hardcode_direct_F77=no | |
12994 hardcode_shlibpath_var_F77=no | |
12995 | |
12996 # hardcode_minus_L: Not really in the search PATH, | |
12997 # but as the default location of the library. | |
12998 hardcode_minus_L_F77=yes | |
12999 ;; | |
13000 *) | 14944 *) |
13001 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' | |
13002 hardcode_libdir_separator_F77=: | |
13003 hardcode_direct_F77=yes | 14945 hardcode_direct_F77=yes |
13004 export_dynamic_flag_spec_F77='${wl}-E' | 14946 export_dynamic_flag_spec_F77='${wl}-E' |
13005 | 14947 |
13006 # hardcode_minus_L: Not really in the search PATH, | 14948 # hardcode_minus_L: Not really in the search PATH, |
13007 # but as the default location of the library. | 14949 # but as the default location of the library. |
13045 openbsd*) | 14987 openbsd*) |
13046 hardcode_direct_F77=yes | 14988 hardcode_direct_F77=yes |
13047 hardcode_shlibpath_var_F77=no | 14989 hardcode_shlibpath_var_F77=no |
13048 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 14990 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
13049 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 14991 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
14992 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' | |
13050 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' | 14993 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
13051 export_dynamic_flag_spec_F77='${wl}-E' | 14994 export_dynamic_flag_spec_F77='${wl}-E' |
13052 else | 14995 else |
13053 case $host_os in | 14996 case $host_os in |
13054 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | 14997 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
13090 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' | 15033 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
13091 else | 15034 else |
13092 allow_undefined_flag_F77=' -expect_unresolved \*' | 15035 allow_undefined_flag_F77=' -expect_unresolved \*' |
13093 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 15036 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
13094 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ | 15037 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
13095 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' | 15038 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' |
13096 | 15039 |
13097 # Both c and cxx compiler support -rpath directly | 15040 # Both c and cxx compiler support -rpath directly |
13098 hardcode_libdir_flag_spec_F77='-rpath $libdir' | 15041 hardcode_libdir_flag_spec_F77='-rpath $libdir' |
13099 fi | 15042 fi |
13100 hardcode_libdir_separator_F77=: | 15043 hardcode_libdir_separator_F77=: |
13101 ;; | 15044 ;; |
13102 | 15045 |
13103 sco3.2v5*) | |
13104 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
13105 hardcode_shlibpath_var_F77=no | |
13106 export_dynamic_flag_spec_F77='${wl}-Bexport' | |
13107 runpath_var=LD_RUN_PATH | |
13108 hardcode_runpath_var=yes | |
13109 ;; | |
13110 | |
13111 solaris*) | 15046 solaris*) |
13112 no_undefined_flag_F77=' -z text' | 15047 no_undefined_flag_F77=' -z text' |
13113 if test "$GCC" = yes; then | 15048 if test "$GCC" = yes; then |
15049 wlarc='${wl}' | |
13114 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 15050 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
13115 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 15051 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
13116 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' | 15052 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
13117 else | 15053 else |
15054 wlarc='' | |
13118 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 15055 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
13119 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 15056 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
13120 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 15057 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
13121 fi | 15058 fi |
13122 hardcode_libdir_flag_spec_F77='-R$libdir' | 15059 hardcode_libdir_flag_spec_F77='-R$libdir' |
13123 hardcode_shlibpath_var_F77=no | 15060 hardcode_shlibpath_var_F77=no |
13124 case $host_os in | 15061 case $host_os in |
13125 solaris2.[0-5] | solaris2.[0-5].*) ;; | 15062 solaris2.[0-5] | solaris2.[0-5].*) ;; |
13126 *) # Supported since Solaris 2.6 (maybe 2.5.1?) | 15063 *) |
13127 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; | 15064 # The compiler driver will combine linker options so we |
15065 # cannot just pass the convience library names through | |
15066 # without $wl, iff we do not link with $LD. | |
15067 # Luckily, gcc supports the same syntax we need for Sun Studio. | |
15068 # Supported since Solaris 2.6 (maybe 2.5.1?) | |
15069 case $wlarc in | |
15070 '') | |
15071 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; | |
15072 *) | |
15073 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; | |
15074 esac ;; | |
13128 esac | 15075 esac |
13129 link_all_deplibs_F77=yes | 15076 link_all_deplibs_F77=yes |
13130 ;; | 15077 ;; |
13131 | 15078 |
13132 sunos4*) | 15079 sunos4*) |
13179 hardcode_runpath_var=yes | 15126 hardcode_runpath_var=yes |
13180 ld_shlibs_F77=yes | 15127 ld_shlibs_F77=yes |
13181 fi | 15128 fi |
13182 ;; | 15129 ;; |
13183 | 15130 |
13184 sysv4.2uw2*) | 15131 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) |
13185 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 15132 no_undefined_flag_F77='${wl}-z,text' |
13186 hardcode_direct_F77=yes | 15133 archive_cmds_need_lc_F77=no |
13187 hardcode_minus_L_F77=no | |
13188 hardcode_shlibpath_var_F77=no | |
13189 hardcode_runpath_var=yes | |
13190 runpath_var=LD_RUN_PATH | |
13191 ;; | |
13192 | |
13193 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) | |
13194 no_undefined_flag_F77='${wl}-z ${wl}text' | |
13195 if test "$GCC" = yes; then | |
13196 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
13197 else | |
13198 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
13199 fi | |
13200 runpath_var='LD_RUN_PATH' | |
13201 hardcode_shlibpath_var_F77=no | |
13202 ;; | |
13203 | |
13204 sysv5*) | |
13205 no_undefined_flag_F77=' -z text' | |
13206 # $CC -shared without GNU ld will not create a library from C++ | |
13207 # object files and a static libstdc++, better avoid it by now | |
13208 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
13209 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | |
13210 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | |
13211 hardcode_libdir_flag_spec_F77= | |
13212 hardcode_shlibpath_var_F77=no | 15134 hardcode_shlibpath_var_F77=no |
13213 runpath_var='LD_RUN_PATH' | 15135 runpath_var='LD_RUN_PATH' |
15136 | |
15137 if test "$GCC" = yes; then | |
15138 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
15139 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
15140 else | |
15141 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
15142 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
15143 fi | |
15144 ;; | |
15145 | |
15146 sysv5* | sco3.2v5* | sco5v6*) | |
15147 # Note: We can NOT use -z defs as we might desire, because we do not | |
15148 # link with -lc, and that would cause any symbols used from libc to | |
15149 # always be unresolved, which means just about no library would | |
15150 # ever link correctly. If we're not using GNU ld we use -z text | |
15151 # though, which does catch some bad symbols but isn't as heavy-handed | |
15152 # as -z defs. | |
15153 no_undefined_flag_F77='${wl}-z,text' | |
15154 allow_undefined_flag_F77='${wl}-z,nodefs' | |
15155 archive_cmds_need_lc_F77=no | |
15156 hardcode_shlibpath_var_F77=no | |
15157 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' | |
15158 hardcode_libdir_separator_F77=':' | |
15159 link_all_deplibs_F77=yes | |
15160 export_dynamic_flag_spec_F77='${wl}-Bexport' | |
15161 runpath_var='LD_RUN_PATH' | |
15162 | |
15163 if test "$GCC" = yes; then | |
15164 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
15165 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
15166 else | |
15167 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
15168 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
15169 fi | |
13214 ;; | 15170 ;; |
13215 | 15171 |
13216 uts4*) | 15172 uts4*) |
13217 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 15173 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
13218 hardcode_libdir_flag_spec_F77='-L$libdir' | 15174 hardcode_libdir_flag_spec_F77='-L$libdir' |
13223 ld_shlibs_F77=no | 15179 ld_shlibs_F77=no |
13224 ;; | 15180 ;; |
13225 esac | 15181 esac |
13226 fi | 15182 fi |
13227 | 15183 |
13228 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 | 15184 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 |
13229 echo "${ECHO_T}$ld_shlibs_F77" >&6 | 15185 echo "${ECHO_T}$ld_shlibs_F77" >&6; } |
13230 test "$ld_shlibs_F77" = no && can_build_shared=no | 15186 test "$ld_shlibs_F77" = no && can_build_shared=no |
13231 | |
13232 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | |
13233 if test "$GCC" = yes; then | |
13234 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | |
13235 fi | |
13236 | 15187 |
13237 # | 15188 # |
13238 # Do we need to explicitly link libc? | 15189 # Do we need to explicitly link libc? |
13239 # | 15190 # |
13240 case "x$archive_cmds_need_lc_F77" in | 15191 case "x$archive_cmds_need_lc_F77" in |
13249 ;; | 15200 ;; |
13250 '$CC '*) | 15201 '$CC '*) |
13251 # Test whether the compiler implicitly links with -lc since on some | 15202 # Test whether the compiler implicitly links with -lc since on some |
13252 # systems, -lgcc has to come before -lc. If gcc already passes -lc | 15203 # systems, -lgcc has to come before -lc. If gcc already passes -lc |
13253 # to ld, don't add -lc before -lgcc. | 15204 # to ld, don't add -lc before -lgcc. |
13254 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 | 15205 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
13255 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 15206 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } |
13256 $rm conftest* | 15207 $rm conftest* |
13257 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 15208 printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
13258 | 15209 |
13259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 15210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
13260 (eval $ac_compile) 2>&5 | 15211 (eval $ac_compile) 2>&5 |
13264 soname=conftest | 15215 soname=conftest |
13265 lib=conftest | 15216 lib=conftest |
13266 libobjs=conftest.$ac_objext | 15217 libobjs=conftest.$ac_objext |
13267 deplibs= | 15218 deplibs= |
13268 wl=$lt_prog_compiler_wl_F77 | 15219 wl=$lt_prog_compiler_wl_F77 |
15220 pic_flag=$lt_prog_compiler_pic_F77 | |
13269 compiler_flags=-v | 15221 compiler_flags=-v |
13270 linker_flags=-v | 15222 linker_flags=-v |
13271 verstring= | 15223 verstring= |
13272 output_objdir=. | 15224 output_objdir=. |
13273 libname=conftest | 15225 libname=conftest |
13286 allow_undefined_flag_F77=$lt_save_allow_undefined_flag | 15238 allow_undefined_flag_F77=$lt_save_allow_undefined_flag |
13287 else | 15239 else |
13288 cat conftest.err 1>&5 | 15240 cat conftest.err 1>&5 |
13289 fi | 15241 fi |
13290 $rm conftest* | 15242 $rm conftest* |
13291 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 | 15243 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 |
13292 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6 | 15244 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; } |
13293 ;; | 15245 ;; |
13294 esac | 15246 esac |
13295 fi | 15247 fi |
13296 ;; | 15248 ;; |
13297 esac | 15249 esac |
13298 | 15250 |
13299 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | 15251 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
13300 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 15252 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } |
13301 hardcode_action_F77= | |
13302 if test -n "$hardcode_libdir_flag_spec_F77" || \ | |
13303 test -n "$runpath_var F77" || \ | |
13304 test "X$hardcode_automatic_F77"="Xyes" ; then | |
13305 | |
13306 # We can hardcode non-existant directories. | |
13307 if test "$hardcode_direct_F77" != no && | |
13308 # If the only mechanism to avoid hardcoding is shlibpath_var, we | |
13309 # have to relink, otherwise we might link with an installed library | |
13310 # when we should be linking with a yet-to-be-installed one | |
13311 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && | |
13312 test "$hardcode_minus_L_F77" != no; then | |
13313 # Linking always hardcodes the temporary library directory. | |
13314 hardcode_action_F77=relink | |
13315 else | |
13316 # We can link without hardcoding, and we can hardcode nonexisting dirs. | |
13317 hardcode_action_F77=immediate | |
13318 fi | |
13319 else | |
13320 # We cannot hardcode anything, or else we can only hardcode existing | |
13321 # directories. | |
13322 hardcode_action_F77=unsupported | |
13323 fi | |
13324 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 | |
13325 echo "${ECHO_T}$hardcode_action_F77" >&6 | |
13326 | |
13327 if test "$hardcode_action_F77" = relink; then | |
13328 # Fast installation is not supported | |
13329 enable_fast_install=no | |
13330 elif test "$shlibpath_overrides_runpath" = yes || | |
13331 test "$enable_shared" = no; then | |
13332 # Fast installation is not necessary | |
13333 enable_fast_install=needless | |
13334 fi | |
13335 | |
13336 striplib= | |
13337 old_striplib= | |
13338 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | |
13339 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | |
13340 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | |
13341 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | |
13342 test -z "$striplib" && striplib="$STRIP --strip-unneeded" | |
13343 echo "$as_me:$LINENO: result: yes" >&5 | |
13344 echo "${ECHO_T}yes" >&6 | |
13345 else | |
13346 # FIXME - insert some real tests, host_os isn't really good enough | |
13347 case $host_os in | |
13348 darwin*) | |
13349 if test -n "$STRIP" ; then | |
13350 striplib="$STRIP -x" | |
13351 echo "$as_me:$LINENO: result: yes" >&5 | |
13352 echo "${ECHO_T}yes" >&6 | |
13353 else | |
13354 echo "$as_me:$LINENO: result: no" >&5 | |
13355 echo "${ECHO_T}no" >&6 | |
13356 fi | |
13357 ;; | |
13358 *) | |
13359 echo "$as_me:$LINENO: result: no" >&5 | |
13360 echo "${ECHO_T}no" >&6 | |
13361 ;; | |
13362 esac | |
13363 fi | |
13364 | |
13365 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 | |
13366 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | |
13367 library_names_spec= | 15253 library_names_spec= |
13368 libname_spec='lib$name' | 15254 libname_spec='lib$name' |
13369 soname_spec= | 15255 soname_spec= |
13370 shrext=".so" | 15256 shrext_cmds=".so" |
13371 postinstall_cmds= | 15257 postinstall_cmds= |
13372 postuninstall_cmds= | 15258 postuninstall_cmds= |
13373 finish_cmds= | 15259 finish_cmds= |
13374 finish_eval= | 15260 finish_eval= |
13375 shlibpath_var= | 15261 shlibpath_var= |
13453 ;; | 15339 ;; |
13454 | 15340 |
13455 amigaos*) | 15341 amigaos*) |
13456 library_names_spec='$libname.ixlibrary $libname.a' | 15342 library_names_spec='$libname.ixlibrary $libname.a' |
13457 # Create ${libname}_ixlibrary.a entries in /sys/libs. | 15343 # Create ${libname}_ixlibrary.a entries in /sys/libs. |
13458 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' | 15344 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' |
13459 ;; | 15345 ;; |
13460 | 15346 |
13461 beos*) | 15347 beos*) |
13462 library_names_spec='${libname}${shared_ext}' | 15348 library_names_spec='${libname}${shared_ext}' |
13463 dynamic_linker="$host_os ld.so" | 15349 dynamic_linker="$host_os ld.so" |
13464 shlibpath_var=LIBRARY_PATH | 15350 shlibpath_var=LIBRARY_PATH |
13465 ;; | 15351 ;; |
13466 | 15352 |
13467 bsdi4*) | 15353 bsdi[45]*) |
13468 version_type=linux | 15354 version_type=linux |
13469 need_version=no | 15355 need_version=no |
13470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 15356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
13471 soname_spec='${libname}${release}${shared_ext}$major' | 15357 soname_spec='${libname}${release}${shared_ext}$major' |
13472 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 15358 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
13478 # libtool to hard-code these into programs | 15364 # libtool to hard-code these into programs |
13479 ;; | 15365 ;; |
13480 | 15366 |
13481 cygwin* | mingw* | pw32*) | 15367 cygwin* | mingw* | pw32*) |
13482 version_type=windows | 15368 version_type=windows |
13483 shrext=".dll" | 15369 shrext_cmds=".dll" |
13484 need_version=no | 15370 need_version=no |
13485 need_lib_prefix=no | 15371 need_lib_prefix=no |
13486 | 15372 |
13487 case $GCC,$host_os in | 15373 case $GCC,$host_os in |
13488 yes,cygwin* | yes,mingw* | yes,pw32*) | 15374 yes,cygwin* | yes,mingw* | yes,pw32*) |
13490 # DLL is installed to $(libdir)/../bin by postinstall_cmds | 15376 # DLL is installed to $(libdir)/../bin by postinstall_cmds |
13491 postinstall_cmds='base_file=`basename \${file}`~ | 15377 postinstall_cmds='base_file=`basename \${file}`~ |
13492 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ | 15378 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
13493 dldir=$destdir/`dirname \$dlpath`~ | 15379 dldir=$destdir/`dirname \$dlpath`~ |
13494 test -d \$dldir || mkdir -p \$dldir~ | 15380 test -d \$dldir || mkdir -p \$dldir~ |
13495 $install_prog $dir/$dlname \$dldir/$dlname' | 15381 $install_prog $dir/$dlname \$dldir/$dlname~ |
15382 chmod a+x \$dldir/$dlname' | |
13496 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 15383 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
13497 dlpath=$dir/\$dldll~ | 15384 dlpath=$dir/\$dldll~ |
13498 $rm \$dlpath' | 15385 $rm \$dlpath' |
13499 shlibpath_overrides_runpath=yes | 15386 shlibpath_overrides_runpath=yes |
13500 | 15387 |
13501 case $host_os in | 15388 case $host_os in |
13502 cygwin*) | 15389 cygwin*) |
13503 # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 15390 # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
13504 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 15391 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
13505 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" | 15392 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
13506 ;; | 15393 ;; |
13507 mingw*) | 15394 mingw*) |
13508 # MinGW DLLs use traditional 'lib' prefix | 15395 # MinGW DLLs use traditional 'lib' prefix |
13509 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 15396 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
13510 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 15397 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
13520 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` | 15407 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
13521 fi | 15408 fi |
13522 ;; | 15409 ;; |
13523 pw32*) | 15410 pw32*) |
13524 # pw32 DLLs use 'pw' prefix rather than 'lib' | 15411 # pw32 DLLs use 'pw' prefix rather than 'lib' |
13525 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' | 15412 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
13526 ;; | 15413 ;; |
13527 esac | 15414 esac |
13528 ;; | 15415 ;; |
13529 | 15416 |
13530 *) | 15417 *) |
13539 darwin* | rhapsody*) | 15426 darwin* | rhapsody*) |
13540 dynamic_linker="$host_os dyld" | 15427 dynamic_linker="$host_os dyld" |
13541 version_type=darwin | 15428 version_type=darwin |
13542 need_lib_prefix=no | 15429 need_lib_prefix=no |
13543 need_version=no | 15430 need_version=no |
13544 # FIXME: Relying on posixy $() will cause problems for | |
13545 # cross-compilation, but unfortunately the echo tests do not | |
13546 # yet detect zsh echo's removal of \ escapes. | |
13547 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 15431 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
13548 soname_spec='${libname}${release}${major}$shared_ext' | 15432 soname_spec='${libname}${release}${major}$shared_ext' |
13549 shlibpath_overrides_runpath=yes | 15433 shlibpath_overrides_runpath=yes |
13550 shlibpath_var=DYLD_LIBRARY_PATH | 15434 shlibpath_var=DYLD_LIBRARY_PATH |
13551 shrext='$(test .$module = .yes && echo .so || echo .dylib)' | 15435 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
13552 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. | 15436 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
13553 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 15437 if test "$GCC" = yes; then |
13554 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` | 15438 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
15439 else | |
15440 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' | |
13555 fi | 15441 fi |
13556 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 15442 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
13557 ;; | 15443 ;; |
13558 | 15444 |
13559 dgux*) | 15445 dgux*) |
13567 | 15453 |
13568 freebsd1*) | 15454 freebsd1*) |
13569 dynamic_linker=no | 15455 dynamic_linker=no |
13570 ;; | 15456 ;; |
13571 | 15457 |
13572 freebsd*) | 15458 kfreebsd*-gnu) |
13573 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 15459 version_type=linux |
15460 need_lib_prefix=no | |
15461 need_version=no | |
15462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
15463 soname_spec='${libname}${release}${shared_ext}$major' | |
15464 shlibpath_var=LD_LIBRARY_PATH | |
15465 shlibpath_overrides_runpath=no | |
15466 hardcode_into_libs=yes | |
15467 dynamic_linker='GNU ld.so' | |
15468 ;; | |
15469 | |
15470 freebsd* | dragonfly*) | |
15471 # DragonFly does not have aout. When/if they implement a new | |
15472 # versioning mechanism, adjust this. | |
15473 if test -x /usr/bin/objformat; then | |
15474 objformat=`/usr/bin/objformat` | |
15475 else | |
15476 case $host_os in | |
15477 freebsd[123]*) objformat=aout ;; | |
15478 *) objformat=elf ;; | |
15479 esac | |
15480 fi | |
13574 version_type=freebsd-$objformat | 15481 version_type=freebsd-$objformat |
13575 case $version_type in | 15482 case $version_type in |
13576 freebsd-elf*) | 15483 freebsd-elf*) |
13577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 15484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
13578 need_version=no | 15485 need_version=no |
13586 shlibpath_var=LD_LIBRARY_PATH | 15493 shlibpath_var=LD_LIBRARY_PATH |
13587 case $host_os in | 15494 case $host_os in |
13588 freebsd2*) | 15495 freebsd2*) |
13589 shlibpath_overrides_runpath=yes | 15496 shlibpath_overrides_runpath=yes |
13590 ;; | 15497 ;; |
13591 freebsd3.01* | freebsdelf3.01*) | 15498 freebsd3.[01]* | freebsdelf3.[01]*) |
13592 shlibpath_overrides_runpath=yes | 15499 shlibpath_overrides_runpath=yes |
13593 hardcode_into_libs=yes | 15500 hardcode_into_libs=yes |
13594 ;; | 15501 ;; |
13595 *) # from 3.2 on | 15502 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
15503 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) | |
13596 shlibpath_overrides_runpath=no | 15504 shlibpath_overrides_runpath=no |
15505 hardcode_into_libs=yes | |
15506 ;; | |
15507 freebsd*) # from 4.6 on | |
15508 shlibpath_overrides_runpath=yes | |
13597 hardcode_into_libs=yes | 15509 hardcode_into_libs=yes |
13598 ;; | 15510 ;; |
13599 esac | 15511 esac |
13600 ;; | 15512 ;; |
13601 | 15513 |
13613 # Give a soname corresponding to the major version so that dld.sl refuses to | 15525 # Give a soname corresponding to the major version so that dld.sl refuses to |
13614 # link against other versions. | 15526 # link against other versions. |
13615 version_type=sunos | 15527 version_type=sunos |
13616 need_lib_prefix=no | 15528 need_lib_prefix=no |
13617 need_version=no | 15529 need_version=no |
13618 case "$host_cpu" in | 15530 case $host_cpu in |
13619 ia64*) | 15531 ia64*) |
13620 shrext='.so' | 15532 shrext_cmds='.so' |
13621 hardcode_into_libs=yes | 15533 hardcode_into_libs=yes |
13622 dynamic_linker="$host_os dld.so" | 15534 dynamic_linker="$host_os dld.so" |
13623 shlibpath_var=LD_LIBRARY_PATH | 15535 shlibpath_var=LD_LIBRARY_PATH |
13624 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 15536 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
13625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 15537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
13630 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 15542 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
13631 fi | 15543 fi |
13632 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 15544 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
13633 ;; | 15545 ;; |
13634 hppa*64*) | 15546 hppa*64*) |
13635 shrext='.sl' | 15547 shrext_cmds='.sl' |
13636 hardcode_into_libs=yes | 15548 hardcode_into_libs=yes |
13637 dynamic_linker="$host_os dld.sl" | 15549 dynamic_linker="$host_os dld.sl" |
13638 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 15550 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
13639 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 15551 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
13640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 15552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
13641 soname_spec='${libname}${release}${shared_ext}$major' | 15553 soname_spec='${libname}${release}${shared_ext}$major' |
13642 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 15554 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
13643 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 15555 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
13644 ;; | 15556 ;; |
13645 *) | 15557 *) |
13646 shrext='.sl' | 15558 shrext_cmds='.sl' |
13647 dynamic_linker="$host_os dld.sl" | 15559 dynamic_linker="$host_os dld.sl" |
13648 shlibpath_var=SHLIB_PATH | 15560 shlibpath_var=SHLIB_PATH |
13649 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 15561 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
13650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 15562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
13651 soname_spec='${libname}${release}${shared_ext}$major' | 15563 soname_spec='${libname}${release}${shared_ext}$major' |
13652 ;; | 15564 ;; |
13653 esac | 15565 esac |
13654 # HP-UX runs *really* slowly unless shared libraries are mode 555. | 15566 # HP-UX runs *really* slowly unless shared libraries are mode 555. |
13655 postinstall_cmds='chmod 555 $lib' | 15567 postinstall_cmds='chmod 555 $lib' |
15568 ;; | |
15569 | |
15570 interix3*) | |
15571 version_type=linux | |
15572 need_lib_prefix=no | |
15573 need_version=no | |
15574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
15575 soname_spec='${libname}${release}${shared_ext}$major' | |
15576 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' | |
15577 shlibpath_var=LD_LIBRARY_PATH | |
15578 shlibpath_overrides_runpath=no | |
15579 hardcode_into_libs=yes | |
13656 ;; | 15580 ;; |
13657 | 15581 |
13658 irix5* | irix6* | nonstopux*) | 15582 irix5* | irix6* | nonstopux*) |
13659 case $host_os in | 15583 case $host_os in |
13660 nonstopux*) version_type=nonstopux ;; | 15584 nonstopux*) version_type=nonstopux ;; |
13710 # This implies no fast_install, which is unacceptable. | 15634 # This implies no fast_install, which is unacceptable. |
13711 # Some rework will be needed to allow for fast_install | 15635 # Some rework will be needed to allow for fast_install |
13712 # before this can be enabled. | 15636 # before this can be enabled. |
13713 hardcode_into_libs=yes | 15637 hardcode_into_libs=yes |
13714 | 15638 |
15639 # Append ld.so.conf contents to the search path | |
15640 if test -f /etc/ld.so.conf; then | |
15641 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` | |
15642 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | |
15643 fi | |
15644 | |
13715 # We used to test for /lib/ld.so.1 and disable shared libraries on | 15645 # We used to test for /lib/ld.so.1 and disable shared libraries on |
13716 # powerpc, because MkLinux only supported shared libraries with the | 15646 # powerpc, because MkLinux only supported shared libraries with the |
13717 # GNU dynamic linker. Since this was broken with cross compilers, | 15647 # GNU dynamic linker. Since this was broken with cross compilers, |
13718 # most powerpc-linux boxes support dynamic linking these days and | 15648 # most powerpc-linux boxes support dynamic linking these days and |
13719 # people can always --disable-shared, the test was removed, and we | 15649 # people can always --disable-shared, the test was removed, and we |
13720 # assume the GNU/Linux dynamic linker is in use. | 15650 # assume the GNU/Linux dynamic linker is in use. |
13721 dynamic_linker='GNU/Linux ld.so' | 15651 dynamic_linker='GNU/Linux ld.so' |
15652 ;; | |
15653 | |
15654 knetbsd*-gnu) | |
15655 version_type=linux | |
15656 need_lib_prefix=no | |
15657 need_version=no | |
15658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
15659 soname_spec='${libname}${release}${shared_ext}$major' | |
15660 shlibpath_var=LD_LIBRARY_PATH | |
15661 shlibpath_overrides_runpath=no | |
15662 hardcode_into_libs=yes | |
15663 dynamic_linker='GNU ld.so' | |
13722 ;; | 15664 ;; |
13723 | 15665 |
13724 netbsd*) | 15666 netbsd*) |
13725 version_type=sunos | 15667 version_type=sunos |
13726 need_lib_prefix=no | 15668 need_lib_prefix=no |
13728 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 15670 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
13729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 15671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
13730 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 15672 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
13731 dynamic_linker='NetBSD (a.out) ld.so' | 15673 dynamic_linker='NetBSD (a.out) ld.so' |
13732 else | 15674 else |
13733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' | 15675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
13734 soname_spec='${libname}${release}${shared_ext}$major' | 15676 soname_spec='${libname}${release}${shared_ext}$major' |
13735 dynamic_linker='NetBSD ld.elf_so' | 15677 dynamic_linker='NetBSD ld.elf_so' |
13736 fi | 15678 fi |
13737 shlibpath_var=LD_LIBRARY_PATH | 15679 shlibpath_var=LD_LIBRARY_PATH |
13738 shlibpath_overrides_runpath=yes | 15680 shlibpath_overrides_runpath=yes |
13744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 15686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
13745 shlibpath_var=LD_LIBRARY_PATH | 15687 shlibpath_var=LD_LIBRARY_PATH |
13746 shlibpath_overrides_runpath=yes | 15688 shlibpath_overrides_runpath=yes |
13747 ;; | 15689 ;; |
13748 | 15690 |
13749 nto-qnx) | 15691 nto-qnx*) |
13750 version_type=linux | 15692 version_type=linux |
13751 need_lib_prefix=no | 15693 need_lib_prefix=no |
13752 need_version=no | 15694 need_version=no |
13753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 15695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
13754 soname_spec='${libname}${release}${shared_ext}$major' | 15696 soname_spec='${libname}${release}${shared_ext}$major' |
13756 shlibpath_overrides_runpath=yes | 15698 shlibpath_overrides_runpath=yes |
13757 ;; | 15699 ;; |
13758 | 15700 |
13759 openbsd*) | 15701 openbsd*) |
13760 version_type=sunos | 15702 version_type=sunos |
15703 sys_lib_dlsearch_path_spec="/usr/lib" | |
13761 need_lib_prefix=no | 15704 need_lib_prefix=no |
13762 need_version=no | 15705 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
15706 case $host_os in | |
15707 openbsd3.3 | openbsd3.3.*) need_version=yes ;; | |
15708 *) need_version=no ;; | |
15709 esac | |
13763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 15710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
13764 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 15711 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
13765 shlibpath_var=LD_LIBRARY_PATH | 15712 shlibpath_var=LD_LIBRARY_PATH |
13766 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 15713 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
13767 case $host_os in | 15714 case $host_os in |
13777 fi | 15724 fi |
13778 ;; | 15725 ;; |
13779 | 15726 |
13780 os2*) | 15727 os2*) |
13781 libname_spec='$name' | 15728 libname_spec='$name' |
13782 shrext=".dll" | 15729 shrext_cmds=".dll" |
13783 need_lib_prefix=no | 15730 need_lib_prefix=no |
13784 library_names_spec='$libname${shared_ext} $libname.a' | 15731 library_names_spec='$libname${shared_ext} $libname.a' |
13785 dynamic_linker='OS/2 ld.exe' | 15732 dynamic_linker='OS/2 ld.exe' |
13786 shlibpath_var=LIBPATH | 15733 shlibpath_var=LIBPATH |
13787 ;; | 15734 ;; |
13793 soname_spec='${libname}${release}${shared_ext}$major' | 15740 soname_spec='${libname}${release}${shared_ext}$major' |
13794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 15741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
13795 shlibpath_var=LD_LIBRARY_PATH | 15742 shlibpath_var=LD_LIBRARY_PATH |
13796 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 15743 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
13797 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 15744 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
13798 ;; | |
13799 | |
13800 sco3.2v5*) | |
13801 version_type=osf | |
13802 soname_spec='${libname}${release}${shared_ext}$major' | |
13803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
13804 shlibpath_var=LD_LIBRARY_PATH | |
13805 ;; | 15745 ;; |
13806 | 15746 |
13807 solaris*) | 15747 solaris*) |
13808 version_type=linux | 15748 version_type=linux |
13809 need_lib_prefix=no | 15749 need_lib_prefix=no |
13827 need_lib_prefix=no | 15767 need_lib_prefix=no |
13828 fi | 15768 fi |
13829 need_version=yes | 15769 need_version=yes |
13830 ;; | 15770 ;; |
13831 | 15771 |
13832 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 15772 sysv4 | sysv4.3*) |
13833 version_type=linux | 15773 version_type=linux |
13834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 15774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
13835 soname_spec='${libname}${release}${shared_ext}$major' | 15775 soname_spec='${libname}${release}${shared_ext}$major' |
13836 shlibpath_var=LD_LIBRARY_PATH | 15776 shlibpath_var=LD_LIBRARY_PATH |
13837 case $host_vendor in | 15777 case $host_vendor in |
13860 soname_spec='$libname${shared_ext}.$major' | 15800 soname_spec='$libname${shared_ext}.$major' |
13861 shlibpath_var=LD_LIBRARY_PATH | 15801 shlibpath_var=LD_LIBRARY_PATH |
13862 fi | 15802 fi |
13863 ;; | 15803 ;; |
13864 | 15804 |
15805 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | |
15806 version_type=freebsd-elf | |
15807 need_lib_prefix=no | |
15808 need_version=no | |
15809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | |
15810 soname_spec='${libname}${release}${shared_ext}$major' | |
15811 shlibpath_var=LD_LIBRARY_PATH | |
15812 hardcode_into_libs=yes | |
15813 if test "$with_gnu_ld" = yes; then | |
15814 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' | |
15815 shlibpath_overrides_runpath=no | |
15816 else | |
15817 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' | |
15818 shlibpath_overrides_runpath=yes | |
15819 case $host_os in | |
15820 sco3.2v5*) | |
15821 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" | |
15822 ;; | |
15823 esac | |
15824 fi | |
15825 sys_lib_dlsearch_path_spec='/usr/lib' | |
15826 ;; | |
15827 | |
13865 uts4*) | 15828 uts4*) |
13866 version_type=linux | 15829 version_type=linux |
13867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 15830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
13868 soname_spec='${libname}${release}${shared_ext}$major' | 15831 soname_spec='${libname}${release}${shared_ext}$major' |
13869 shlibpath_var=LD_LIBRARY_PATH | 15832 shlibpath_var=LD_LIBRARY_PATH |
13871 | 15834 |
13872 *) | 15835 *) |
13873 dynamic_linker=no | 15836 dynamic_linker=no |
13874 ;; | 15837 ;; |
13875 esac | 15838 esac |
13876 echo "$as_me:$LINENO: result: $dynamic_linker" >&5 | 15839 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
13877 echo "${ECHO_T}$dynamic_linker" >&6 | 15840 echo "${ECHO_T}$dynamic_linker" >&6; } |
13878 test "$dynamic_linker" = no && can_build_shared=no | 15841 test "$dynamic_linker" = no && can_build_shared=no |
15842 | |
15843 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | |
15844 if test "$GCC" = yes; then | |
15845 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | |
15846 fi | |
15847 | |
15848 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | |
15849 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } | |
15850 hardcode_action_F77= | |
15851 if test -n "$hardcode_libdir_flag_spec_F77" || \ | |
15852 test -n "$runpath_var_F77" || \ | |
15853 test "X$hardcode_automatic_F77" = "Xyes" ; then | |
15854 | |
15855 # We can hardcode non-existant directories. | |
15856 if test "$hardcode_direct_F77" != no && | |
15857 # If the only mechanism to avoid hardcoding is shlibpath_var, we | |
15858 # have to relink, otherwise we might link with an installed library | |
15859 # when we should be linking with a yet-to-be-installed one | |
15860 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && | |
15861 test "$hardcode_minus_L_F77" != no; then | |
15862 # Linking always hardcodes the temporary library directory. | |
15863 hardcode_action_F77=relink | |
15864 else | |
15865 # We can link without hardcoding, and we can hardcode nonexisting dirs. | |
15866 hardcode_action_F77=immediate | |
15867 fi | |
15868 else | |
15869 # We cannot hardcode anything, or else we can only hardcode existing | |
15870 # directories. | |
15871 hardcode_action_F77=unsupported | |
15872 fi | |
15873 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 | |
15874 echo "${ECHO_T}$hardcode_action_F77" >&6; } | |
15875 | |
15876 if test "$hardcode_action_F77" = relink; then | |
15877 # Fast installation is not supported | |
15878 enable_fast_install=no | |
15879 elif test "$shlibpath_overrides_runpath" = yes || | |
15880 test "$enable_shared" = no; then | |
15881 # Fast installation is not necessary | |
15882 enable_fast_install=needless | |
15883 fi | |
13879 | 15884 |
13880 | 15885 |
13881 # The else clause should only fire when bootstrapping the | 15886 # The else clause should only fire when bootstrapping the |
13882 # libtool distribution, otherwise you forgot to ship ltmain.sh | 15887 # libtool distribution, otherwise you forgot to ship ltmain.sh |
13883 # with your package, and you will get complaints that there are | 15888 # with your package, and you will get complaints that there are |
13889 setopt NO_GLOB_SUBST | 15894 setopt NO_GLOB_SUBST |
13890 fi | 15895 fi |
13891 # Now quote all the things that may contain metacharacters while being | 15896 # Now quote all the things that may contain metacharacters while being |
13892 # careful not to overquote the AC_SUBSTed values. We take copies of the | 15897 # careful not to overquote the AC_SUBSTed values. We take copies of the |
13893 # variables and quote the copies for generation of the libtool script. | 15898 # variables and quote the copies for generation of the libtool script. |
13894 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 15899 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
15900 SED SHELL STRIP \ | |
13895 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 15901 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
13896 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 15902 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
13897 deplibs_check_method reload_flag reload_cmds need_locks \ | 15903 deplibs_check_method reload_flag reload_cmds need_locks \ |
13898 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 15904 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
13899 lt_cv_sys_global_symbol_to_c_name_address \ | 15905 lt_cv_sys_global_symbol_to_c_name_address \ |
13989 fast_install=$enable_fast_install | 15995 fast_install=$enable_fast_install |
13990 | 15996 |
13991 # The host system. | 15997 # The host system. |
13992 host_alias=$host_alias | 15998 host_alias=$host_alias |
13993 host=$host | 15999 host=$host |
16000 host_os=$host_os | |
16001 | |
16002 # The build system. | |
16003 build_alias=$build_alias | |
16004 build=$build | |
16005 build_os=$build_os | |
13994 | 16006 |
13995 # An echo program that does not interpret backslashes. | 16007 # An echo program that does not interpret backslashes. |
13996 echo=$lt_echo | 16008 echo=$lt_echo |
13997 | 16009 |
13998 # The archiver. | 16010 # The archiver. |
14000 AR_FLAGS=$lt_AR_FLAGS | 16012 AR_FLAGS=$lt_AR_FLAGS |
14001 | 16013 |
14002 # A C compiler. | 16014 # A C compiler. |
14003 LTCC=$lt_LTCC | 16015 LTCC=$lt_LTCC |
14004 | 16016 |
16017 # LTCC compiler flags. | |
16018 LTCFLAGS=$lt_LTCFLAGS | |
16019 | |
14005 # A language-specific compiler. | 16020 # A language-specific compiler. |
14006 CC=$lt_compiler_F77 | 16021 CC=$lt_compiler_F77 |
14007 | 16022 |
14008 # Is the compiler the GNU C compiler? | 16023 # Is the compiler the GNU C compiler? |
14009 with_gcc=$GCC_F77 | 16024 with_gcc=$GCC_F77 |
14019 | 16034 |
14020 # A BSD-compatible nm program. | 16035 # A BSD-compatible nm program. |
14021 NM=$lt_NM | 16036 NM=$lt_NM |
14022 | 16037 |
14023 # A symbol stripping program | 16038 # A symbol stripping program |
14024 STRIP=$STRIP | 16039 STRIP=$lt_STRIP |
14025 | 16040 |
14026 # Used to examine libraries when file_magic_cmd begins "file" | 16041 # Used to examine libraries when file_magic_cmd begins "file" |
14027 MAGIC_CMD=$MAGIC_CMD | 16042 MAGIC_CMD=$MAGIC_CMD |
14028 | 16043 |
14029 # Used on cygwin: DLL creation program. | 16044 # Used on cygwin: DLL creation program. |
14050 | 16065 |
14051 # Old archive suffix (normally "a"). | 16066 # Old archive suffix (normally "a"). |
14052 libext="$libext" | 16067 libext="$libext" |
14053 | 16068 |
14054 # Shared library suffix (normally ".so"). | 16069 # Shared library suffix (normally ".so"). |
14055 shrext='$shrext' | 16070 shrext_cmds='$shrext_cmds' |
14056 | 16071 |
14057 # Executable file suffix (normally ""). | 16072 # Executable file suffix (normally ""). |
14058 exeext="$exeext" | 16073 exeext="$exeext" |
14059 | 16074 |
14060 # Additional compiler flags for building library objects. | 16075 # Additional compiler flags for building library objects. |
14065 max_cmd_len=$lt_cv_sys_max_cmd_len | 16080 max_cmd_len=$lt_cv_sys_max_cmd_len |
14066 | 16081 |
14067 # Does compiler simultaneously support -c and -o options? | 16082 # Does compiler simultaneously support -c and -o options? |
14068 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 | 16083 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 |
14069 | 16084 |
14070 # Must we lock files when doing compilation ? | 16085 # Must we lock files when doing compilation? |
14071 need_locks=$lt_need_locks | 16086 need_locks=$lt_need_locks |
14072 | 16087 |
14073 # Do we need the lib prefix for modules? | 16088 # Do we need the lib prefix for modules? |
14074 need_lib_prefix=$need_lib_prefix | 16089 need_lib_prefix=$need_lib_prefix |
14075 | 16090 |
14267 | 16282 |
14268 else | 16283 else |
14269 # If there is no Makefile yet, we rely on a make rule to execute | 16284 # If there is no Makefile yet, we rely on a make rule to execute |
14270 # `config.status --recheck' to rerun these tests and create the | 16285 # `config.status --recheck' to rerun these tests and create the |
14271 # libtool script then. | 16286 # libtool script then. |
14272 test -f Makefile && make "$ltmain" | 16287 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
16288 if test -f "$ltmain_in"; then | |
16289 test -f Makefile && make "$ltmain" | |
16290 fi | |
14273 fi | 16291 fi |
14274 | 16292 |
14275 | 16293 |
14276 ac_ext=c | 16294 ac_ext=c |
14277 ac_cpp='$CPP $CPPFLAGS' | 16295 ac_cpp='$CPP $CPPFLAGS' |
14288 | 16306 |
14289 GCJ) | 16307 GCJ) |
14290 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then | 16308 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then |
14291 | 16309 |
14292 | 16310 |
14293 | |
14294 # Source file extension for Java test sources. | 16311 # Source file extension for Java test sources. |
14295 ac_ext=java | 16312 ac_ext=java |
14296 | 16313 |
14297 # Object file extension for compiled Java test sources. | 16314 # Object file extension for compiled Java test sources. |
14298 objext=o | 16315 objext=o |
14300 | 16317 |
14301 # Code to be used in simple compile tests | 16318 # Code to be used in simple compile tests |
14302 lt_simple_compile_test_code="class foo {}\n" | 16319 lt_simple_compile_test_code="class foo {}\n" |
14303 | 16320 |
14304 # Code to be used in simple link tests | 16321 # Code to be used in simple link tests |
14305 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n' | 16322 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n' |
14306 | 16323 |
14307 # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 16324 # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
14308 | 16325 |
14309 # If no C compiler was specified, use CC. | 16326 # If no C compiler was specified, use CC. |
14310 LTCC=${LTCC-"$CC"} | 16327 LTCC=${LTCC-"$CC"} |
14311 | 16328 |
16329 # If no C compiler flags were specified, use CFLAGS. | |
16330 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | |
16331 | |
14312 # Allow CC to be a program name with arguments. | 16332 # Allow CC to be a program name with arguments. |
14313 compiler=$CC | 16333 compiler=$CC |
16334 | |
16335 | |
16336 # save warnings/boilerplate of simple test code | |
16337 ac_outfile=conftest.$ac_objext | |
16338 printf "$lt_simple_compile_test_code" >conftest.$ac_ext | |
16339 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | |
16340 _lt_compiler_boilerplate=`cat conftest.err` | |
16341 $rm conftest* | |
16342 | |
16343 ac_outfile=conftest.$ac_objext | |
16344 printf "$lt_simple_link_test_code" >conftest.$ac_ext | |
16345 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | |
16346 _lt_linker_boilerplate=`cat conftest.err` | |
16347 $rm conftest* | |
14314 | 16348 |
14315 | 16349 |
14316 # Allow CC to be a program name with arguments. | 16350 # Allow CC to be a program name with arguments. |
14317 lt_save_CC="$CC" | 16351 lt_save_CC="$CC" |
14318 CC=${GCJ-"gcj"} | 16352 CC=${GCJ-"gcj"} |
14319 compiler=$CC | 16353 compiler=$CC |
14320 compiler_GCJ=$CC | 16354 compiler_GCJ=$CC |
16355 for cc_temp in $compiler""; do | |
16356 case $cc_temp in | |
16357 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; | |
16358 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; | |
16359 \-*) ;; | |
16360 *) break;; | |
16361 esac | |
16362 done | |
16363 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | |
16364 | |
14321 | 16365 |
14322 # GCJ did not exist at the time GCC didn't implicitly link libc in. | 16366 # GCJ did not exist at the time GCC didn't implicitly link libc in. |
14323 archive_cmds_need_lc_GCJ=no | 16367 archive_cmds_need_lc_GCJ=no |
14324 | 16368 |
16369 old_archive_cmds_GCJ=$old_archive_cmds | |
16370 | |
14325 | 16371 |
14326 lt_prog_compiler_no_builtin_flag_GCJ= | 16372 lt_prog_compiler_no_builtin_flag_GCJ= |
14327 | 16373 |
14328 if test "$GCC" = yes; then | 16374 if test "$GCC" = yes; then |
14329 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' | 16375 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' |
14330 | 16376 |
14331 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 | 16377 |
14332 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 | 16378 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
16379 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } | |
14333 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then | 16380 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
14334 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16381 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14335 else | 16382 else |
14336 lt_cv_prog_compiler_rtti_exceptions=no | 16383 lt_cv_prog_compiler_rtti_exceptions=no |
14337 ac_outfile=conftest.$ac_objext | 16384 ac_outfile=conftest.$ac_objext |
14341 # (2) before a word containing "conftest.", or (3) at the end. | 16388 # (2) before a word containing "conftest.", or (3) at the end. |
14342 # Note that $ac_compile itself does not contain backslashes and begins | 16389 # Note that $ac_compile itself does not contain backslashes and begins |
14343 # with a dollar sign (not a hyphen), so the echo should work correctly. | 16390 # with a dollar sign (not a hyphen), so the echo should work correctly. |
14344 # The option is referenced via a variable to avoid confusing sed. | 16391 # The option is referenced via a variable to avoid confusing sed. |
14345 lt_compile=`echo "$ac_compile" | $SED \ | 16392 lt_compile=`echo "$ac_compile" | $SED \ |
14346 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 16393 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
14347 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 16394 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
14348 -e 's:$: $lt_compiler_flag:'` | 16395 -e 's:$: $lt_compiler_flag:'` |
14349 (eval echo "\"\$as_me:14349: $lt_compile\"" >&5) | 16396 (eval echo "\"\$as_me:16396: $lt_compile\"" >&5) |
14350 (eval "$lt_compile" 2>conftest.err) | 16397 (eval "$lt_compile" 2>conftest.err) |
14351 ac_status=$? | 16398 ac_status=$? |
14352 cat conftest.err >&5 | 16399 cat conftest.err >&5 |
14353 echo "$as_me:14353: \$? = $ac_status" >&5 | 16400 echo "$as_me:16400: \$? = $ac_status" >&5 |
14354 if (exit $ac_status) && test -s "$ac_outfile"; then | 16401 if (exit $ac_status) && test -s "$ac_outfile"; then |
14355 # The compiler can only warn and ignore the option if not recognized | 16402 # The compiler can only warn and ignore the option if not recognized |
14356 # So say no if there are warnings | 16403 # So say no if there are warnings other than the usual output. |
14357 if test ! -s conftest.err; then | 16404 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
16405 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
16406 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then | |
14358 lt_cv_prog_compiler_rtti_exceptions=yes | 16407 lt_cv_prog_compiler_rtti_exceptions=yes |
14359 fi | 16408 fi |
14360 fi | 16409 fi |
14361 $rm conftest* | 16410 $rm conftest* |
14362 | 16411 |
14363 fi | 16412 fi |
14364 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 | 16413 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
14365 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 | 16414 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
14366 | 16415 |
14367 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then | 16416 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
14368 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" | 16417 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" |
14369 else | 16418 else |
14370 : | 16419 : |
14374 | 16423 |
14375 lt_prog_compiler_wl_GCJ= | 16424 lt_prog_compiler_wl_GCJ= |
14376 lt_prog_compiler_pic_GCJ= | 16425 lt_prog_compiler_pic_GCJ= |
14377 lt_prog_compiler_static_GCJ= | 16426 lt_prog_compiler_static_GCJ= |
14378 | 16427 |
14379 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 | 16428 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
14380 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | 16429 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } |
14381 | 16430 |
14382 if test "$GCC" = yes; then | 16431 if test "$GCC" = yes; then |
14383 lt_prog_compiler_wl_GCJ='-Wl,' | 16432 lt_prog_compiler_wl_GCJ='-Wl,' |
14384 lt_prog_compiler_static_GCJ='-static' | 16433 lt_prog_compiler_static_GCJ='-static' |
14385 | 16434 |
14413 # PIC is the default on this platform | 16462 # PIC is the default on this platform |
14414 # Common symbols not allowed in MH_DYLIB files | 16463 # Common symbols not allowed in MH_DYLIB files |
14415 lt_prog_compiler_pic_GCJ='-fno-common' | 16464 lt_prog_compiler_pic_GCJ='-fno-common' |
14416 ;; | 16465 ;; |
14417 | 16466 |
16467 interix3*) | |
16468 # Interix 3.x gcc -fpic/-fPIC options generate broken code. | |
16469 # Instead, we relocate shared libraries at runtime. | |
16470 ;; | |
16471 | |
14418 msdosdjgpp*) | 16472 msdosdjgpp*) |
14419 # Just because we use GCC doesn't mean we suddenly get shared libraries | 16473 # Just because we use GCC doesn't mean we suddenly get shared libraries |
14420 # on systems that don't support them. | 16474 # on systems that don't support them. |
14421 lt_prog_compiler_can_build_shared_GCJ=no | 16475 lt_prog_compiler_can_build_shared_GCJ=no |
14422 enable_shared=no | 16476 enable_shared=no |
14429 ;; | 16483 ;; |
14430 | 16484 |
14431 hpux*) | 16485 hpux*) |
14432 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 16486 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
14433 # not for PA HP-UX. | 16487 # not for PA HP-UX. |
14434 case "$host_cpu" in | 16488 case $host_cpu in |
14435 hppa*64*|ia64*) | 16489 hppa*64*|ia64*) |
14436 # +Z the default | 16490 # +Z the default |
14437 ;; | 16491 ;; |
14438 *) | 16492 *) |
14439 lt_prog_compiler_pic_GCJ='-fPIC' | 16493 lt_prog_compiler_pic_GCJ='-fPIC' |
14455 lt_prog_compiler_static_GCJ='-Bstatic' | 16509 lt_prog_compiler_static_GCJ='-Bstatic' |
14456 else | 16510 else |
14457 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' | 16511 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' |
14458 fi | 16512 fi |
14459 ;; | 16513 ;; |
16514 darwin*) | |
16515 # PIC is the default on this platform | |
16516 # Common symbols not allowed in MH_DYLIB files | |
16517 case $cc_basename in | |
16518 xlc*) | |
16519 lt_prog_compiler_pic_GCJ='-qnocommon' | |
16520 lt_prog_compiler_wl_GCJ='-Wl,' | |
16521 ;; | |
16522 esac | |
16523 ;; | |
14460 | 16524 |
14461 mingw* | pw32* | os2*) | 16525 mingw* | pw32* | os2*) |
14462 # This hack is so that the source file can tell whether it is being | 16526 # This hack is so that the source file can tell whether it is being |
14463 # built for inclusion in a dll (and should export symbols for example). | 16527 # built for inclusion in a dll (and should export symbols for example). |
14464 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' | 16528 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' |
14466 | 16530 |
14467 hpux9* | hpux10* | hpux11*) | 16531 hpux9* | hpux10* | hpux11*) |
14468 lt_prog_compiler_wl_GCJ='-Wl,' | 16532 lt_prog_compiler_wl_GCJ='-Wl,' |
14469 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 16533 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
14470 # not for PA HP-UX. | 16534 # not for PA HP-UX. |
14471 case "$host_cpu" in | 16535 case $host_cpu in |
14472 hppa*64*|ia64*) | 16536 hppa*64*|ia64*) |
14473 # +Z the default | 16537 # +Z the default |
14474 ;; | 16538 ;; |
14475 *) | 16539 *) |
14476 lt_prog_compiler_pic_GCJ='+Z' | 16540 lt_prog_compiler_pic_GCJ='+Z' |
14490 lt_prog_compiler_pic_GCJ='-KPIC' | 16554 lt_prog_compiler_pic_GCJ='-KPIC' |
14491 lt_prog_compiler_static_GCJ='-Bstatic' | 16555 lt_prog_compiler_static_GCJ='-Bstatic' |
14492 ;; | 16556 ;; |
14493 | 16557 |
14494 linux*) | 16558 linux*) |
14495 case $CC in | 16559 case $cc_basename in |
14496 icc|ecc) | 16560 icc* | ecc*) |
14497 lt_prog_compiler_wl_GCJ='-Wl,' | 16561 lt_prog_compiler_wl_GCJ='-Wl,' |
14498 lt_prog_compiler_pic_GCJ='-KPIC' | 16562 lt_prog_compiler_pic_GCJ='-KPIC' |
14499 lt_prog_compiler_static_GCJ='-static' | 16563 lt_prog_compiler_static_GCJ='-static' |
14500 ;; | 16564 ;; |
14501 ccc) | 16565 pgcc* | pgf77* | pgf90* | pgf95*) |
16566 # Portland Group compilers (*not* the Pentium gcc compiler, | |
16567 # which looks to be a dead project) | |
16568 lt_prog_compiler_wl_GCJ='-Wl,' | |
16569 lt_prog_compiler_pic_GCJ='-fpic' | |
16570 lt_prog_compiler_static_GCJ='-Bstatic' | |
16571 ;; | |
16572 ccc*) | |
14502 lt_prog_compiler_wl_GCJ='-Wl,' | 16573 lt_prog_compiler_wl_GCJ='-Wl,' |
14503 # All Alpha code is PIC. | 16574 # All Alpha code is PIC. |
14504 lt_prog_compiler_static_GCJ='-non_shared' | 16575 lt_prog_compiler_static_GCJ='-non_shared' |
14505 ;; | 16576 ;; |
14506 esac | 16577 esac |
14510 lt_prog_compiler_wl_GCJ='-Wl,' | 16581 lt_prog_compiler_wl_GCJ='-Wl,' |
14511 # All OSF/1 code is PIC. | 16582 # All OSF/1 code is PIC. |
14512 lt_prog_compiler_static_GCJ='-non_shared' | 16583 lt_prog_compiler_static_GCJ='-non_shared' |
14513 ;; | 16584 ;; |
14514 | 16585 |
14515 sco3.2v5*) | |
14516 lt_prog_compiler_pic_GCJ='-Kpic' | |
14517 lt_prog_compiler_static_GCJ='-dn' | |
14518 ;; | |
14519 | |
14520 solaris*) | 16586 solaris*) |
14521 lt_prog_compiler_wl_GCJ='-Wl,' | |
14522 lt_prog_compiler_pic_GCJ='-KPIC' | 16587 lt_prog_compiler_pic_GCJ='-KPIC' |
14523 lt_prog_compiler_static_GCJ='-Bstatic' | 16588 lt_prog_compiler_static_GCJ='-Bstatic' |
16589 case $cc_basename in | |
16590 f77* | f90* | f95*) | |
16591 lt_prog_compiler_wl_GCJ='-Qoption ld ';; | |
16592 *) | |
16593 lt_prog_compiler_wl_GCJ='-Wl,';; | |
16594 esac | |
14524 ;; | 16595 ;; |
14525 | 16596 |
14526 sunos4*) | 16597 sunos4*) |
14527 lt_prog_compiler_wl_GCJ='-Qoption ld ' | 16598 lt_prog_compiler_wl_GCJ='-Qoption ld ' |
14528 lt_prog_compiler_pic_GCJ='-PIC' | 16599 lt_prog_compiler_pic_GCJ='-PIC' |
14529 lt_prog_compiler_static_GCJ='-Bstatic' | 16600 lt_prog_compiler_static_GCJ='-Bstatic' |
14530 ;; | 16601 ;; |
14531 | 16602 |
14532 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 16603 sysv4 | sysv4.2uw2* | sysv4.3*) |
14533 lt_prog_compiler_wl_GCJ='-Wl,' | 16604 lt_prog_compiler_wl_GCJ='-Wl,' |
14534 lt_prog_compiler_pic_GCJ='-KPIC' | 16605 lt_prog_compiler_pic_GCJ='-KPIC' |
14535 lt_prog_compiler_static_GCJ='-Bstatic' | 16606 lt_prog_compiler_static_GCJ='-Bstatic' |
14536 ;; | 16607 ;; |
14537 | 16608 |
14540 lt_prog_compiler_pic_GCJ='-Kconform_pic' | 16611 lt_prog_compiler_pic_GCJ='-Kconform_pic' |
14541 lt_prog_compiler_static_GCJ='-Bstatic' | 16612 lt_prog_compiler_static_GCJ='-Bstatic' |
14542 fi | 16613 fi |
14543 ;; | 16614 ;; |
14544 | 16615 |
16616 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) | |
16617 lt_prog_compiler_wl_GCJ='-Wl,' | |
16618 lt_prog_compiler_pic_GCJ='-KPIC' | |
16619 lt_prog_compiler_static_GCJ='-Bstatic' | |
16620 ;; | |
16621 | |
16622 unicos*) | |
16623 lt_prog_compiler_wl_GCJ='-Wl,' | |
16624 lt_prog_compiler_can_build_shared_GCJ=no | |
16625 ;; | |
16626 | |
14545 uts4*) | 16627 uts4*) |
14546 lt_prog_compiler_pic_GCJ='-pic' | 16628 lt_prog_compiler_pic_GCJ='-pic' |
14547 lt_prog_compiler_static_GCJ='-Bstatic' | 16629 lt_prog_compiler_static_GCJ='-Bstatic' |
14548 ;; | 16630 ;; |
14549 | 16631 |
14551 lt_prog_compiler_can_build_shared_GCJ=no | 16633 lt_prog_compiler_can_build_shared_GCJ=no |
14552 ;; | 16634 ;; |
14553 esac | 16635 esac |
14554 fi | 16636 fi |
14555 | 16637 |
14556 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 | 16638 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 |
14557 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6 | 16639 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; } |
14558 | 16640 |
14559 # | 16641 # |
14560 # Check to make sure the PIC flag actually works. | 16642 # Check to make sure the PIC flag actually works. |
14561 # | 16643 # |
14562 if test -n "$lt_prog_compiler_pic_GCJ"; then | 16644 if test -n "$lt_prog_compiler_pic_GCJ"; then |
14563 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 | 16645 |
14564 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 | 16646 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 |
16647 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; } | |
14565 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then | 16648 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then |
14566 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16649 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14567 else | 16650 else |
14568 lt_prog_compiler_pic_works_GCJ=no | 16651 lt_prog_compiler_pic_works_GCJ=no |
14569 ac_outfile=conftest.$ac_objext | 16652 ac_outfile=conftest.$ac_objext |
14573 # (2) before a word containing "conftest.", or (3) at the end. | 16656 # (2) before a word containing "conftest.", or (3) at the end. |
14574 # Note that $ac_compile itself does not contain backslashes and begins | 16657 # Note that $ac_compile itself does not contain backslashes and begins |
14575 # with a dollar sign (not a hyphen), so the echo should work correctly. | 16658 # with a dollar sign (not a hyphen), so the echo should work correctly. |
14576 # The option is referenced via a variable to avoid confusing sed. | 16659 # The option is referenced via a variable to avoid confusing sed. |
14577 lt_compile=`echo "$ac_compile" | $SED \ | 16660 lt_compile=`echo "$ac_compile" | $SED \ |
14578 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 16661 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
14579 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 16662 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
14580 -e 's:$: $lt_compiler_flag:'` | 16663 -e 's:$: $lt_compiler_flag:'` |
14581 (eval echo "\"\$as_me:14581: $lt_compile\"" >&5) | 16664 (eval echo "\"\$as_me:16664: $lt_compile\"" >&5) |
14582 (eval "$lt_compile" 2>conftest.err) | 16665 (eval "$lt_compile" 2>conftest.err) |
14583 ac_status=$? | 16666 ac_status=$? |
14584 cat conftest.err >&5 | 16667 cat conftest.err >&5 |
14585 echo "$as_me:14585: \$? = $ac_status" >&5 | 16668 echo "$as_me:16668: \$? = $ac_status" >&5 |
14586 if (exit $ac_status) && test -s "$ac_outfile"; then | 16669 if (exit $ac_status) && test -s "$ac_outfile"; then |
14587 # The compiler can only warn and ignore the option if not recognized | 16670 # The compiler can only warn and ignore the option if not recognized |
14588 # So say no if there are warnings | 16671 # So say no if there are warnings other than the usual output. |
14589 if test ! -s conftest.err; then | 16672 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
16673 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
16674 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then | |
14590 lt_prog_compiler_pic_works_GCJ=yes | 16675 lt_prog_compiler_pic_works_GCJ=yes |
14591 fi | 16676 fi |
14592 fi | 16677 fi |
14593 $rm conftest* | 16678 $rm conftest* |
14594 | 16679 |
14595 fi | 16680 fi |
14596 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 | 16681 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 |
14597 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6 | 16682 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; } |
14598 | 16683 |
14599 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then | 16684 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then |
14600 case $lt_prog_compiler_pic_GCJ in | 16685 case $lt_prog_compiler_pic_GCJ in |
14601 "" | " "*) ;; | 16686 "" | " "*) ;; |
14602 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; | 16687 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; |
14605 lt_prog_compiler_pic_GCJ= | 16690 lt_prog_compiler_pic_GCJ= |
14606 lt_prog_compiler_can_build_shared_GCJ=no | 16691 lt_prog_compiler_can_build_shared_GCJ=no |
14607 fi | 16692 fi |
14608 | 16693 |
14609 fi | 16694 fi |
14610 case "$host_os" in | 16695 case $host_os in |
14611 # For platforms which do not support PIC, -DPIC is meaningless: | 16696 # For platforms which do not support PIC, -DPIC is meaningless: |
14612 *djgpp*) | 16697 *djgpp*) |
14613 lt_prog_compiler_pic_GCJ= | 16698 lt_prog_compiler_pic_GCJ= |
14614 ;; | 16699 ;; |
14615 *) | 16700 *) |
14616 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" | 16701 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" |
14617 ;; | 16702 ;; |
14618 esac | 16703 esac |
14619 | 16704 |
14620 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | 16705 # |
14621 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | 16706 # Check to make sure the static flag actually works. |
16707 # | |
16708 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" | |
16709 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 | |
16710 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } | |
16711 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then | |
16712 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
16713 else | |
16714 lt_prog_compiler_static_works_GCJ=no | |
16715 save_LDFLAGS="$LDFLAGS" | |
16716 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" | |
16717 printf "$lt_simple_link_test_code" > conftest.$ac_ext | |
16718 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | |
16719 # The linker can only warn and ignore the option if not recognized | |
16720 # So say no if there are warnings | |
16721 if test -s conftest.err; then | |
16722 # Append any errors to the config.log. | |
16723 cat conftest.err 1>&5 | |
16724 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp | |
16725 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
16726 if diff conftest.exp conftest.er2 >/dev/null; then | |
16727 lt_prog_compiler_static_works_GCJ=yes | |
16728 fi | |
16729 else | |
16730 lt_prog_compiler_static_works_GCJ=yes | |
16731 fi | |
16732 fi | |
16733 $rm conftest* | |
16734 LDFLAGS="$save_LDFLAGS" | |
16735 | |
16736 fi | |
16737 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5 | |
16738 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; } | |
16739 | |
16740 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then | |
16741 : | |
16742 else | |
16743 lt_prog_compiler_static_GCJ= | |
16744 fi | |
16745 | |
16746 | |
16747 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | |
16748 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } | |
14622 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then | 16749 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then |
14623 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16750 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14624 else | 16751 else |
14625 lt_cv_prog_compiler_c_o_GCJ=no | 16752 lt_cv_prog_compiler_c_o_GCJ=no |
14626 $rm -r conftest 2>/dev/null | 16753 $rm -r conftest 2>/dev/null |
14627 mkdir conftest | 16754 mkdir conftest |
14628 cd conftest | 16755 cd conftest |
14629 mkdir out | 16756 mkdir out |
14630 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 16757 printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
14631 | 16758 |
14632 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | |
14633 # that will create temporary files in the current directory regardless of | |
14634 # the output directory. Thus, making CWD read-only will cause this test | |
14635 # to fail, enabling locking or at least warning the user not to do parallel | |
14636 # builds. | |
14637 chmod -w . | |
14638 | |
14639 lt_compiler_flag="-o out/conftest2.$ac_objext" | 16759 lt_compiler_flag="-o out/conftest2.$ac_objext" |
14640 # Insert the option either (1) after the last *FLAGS variable, or | 16760 # Insert the option either (1) after the last *FLAGS variable, or |
14641 # (2) before a word containing "conftest.", or (3) at the end. | 16761 # (2) before a word containing "conftest.", or (3) at the end. |
14642 # Note that $ac_compile itself does not contain backslashes and begins | 16762 # Note that $ac_compile itself does not contain backslashes and begins |
14643 # with a dollar sign (not a hyphen), so the echo should work correctly. | 16763 # with a dollar sign (not a hyphen), so the echo should work correctly. |
14644 lt_compile=`echo "$ac_compile" | $SED \ | 16764 lt_compile=`echo "$ac_compile" | $SED \ |
14645 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 16765 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
14646 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 16766 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
14647 -e 's:$: $lt_compiler_flag:'` | 16767 -e 's:$: $lt_compiler_flag:'` |
14648 (eval echo "\"\$as_me:14648: $lt_compile\"" >&5) | 16768 (eval echo "\"\$as_me:16768: $lt_compile\"" >&5) |
14649 (eval "$lt_compile" 2>out/conftest.err) | 16769 (eval "$lt_compile" 2>out/conftest.err) |
14650 ac_status=$? | 16770 ac_status=$? |
14651 cat out/conftest.err >&5 | 16771 cat out/conftest.err >&5 |
14652 echo "$as_me:14652: \$? = $ac_status" >&5 | 16772 echo "$as_me:16772: \$? = $ac_status" >&5 |
14653 if (exit $ac_status) && test -s out/conftest2.$ac_objext | 16773 if (exit $ac_status) && test -s out/conftest2.$ac_objext |
14654 then | 16774 then |
14655 # The compiler can only warn and ignore the option if not recognized | 16775 # The compiler can only warn and ignore the option if not recognized |
14656 # So say no if there are warnings | 16776 # So say no if there are warnings |
14657 if test ! -s out/conftest.err; then | 16777 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
16778 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | |
16779 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then | |
14658 lt_cv_prog_compiler_c_o_GCJ=yes | 16780 lt_cv_prog_compiler_c_o_GCJ=yes |
14659 fi | 16781 fi |
14660 fi | 16782 fi |
14661 chmod u+w . | 16783 chmod u+w . 2>&5 |
14662 $rm conftest* out/* | 16784 $rm conftest* |
14663 rmdir out | 16785 # SGI C++ compiler will create directory out/ii_files/ for |
16786 # template instantiation | |
16787 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files | |
16788 $rm out/* && rmdir out | |
14664 cd .. | 16789 cd .. |
14665 rmdir conftest | 16790 rmdir conftest |
14666 $rm conftest* | 16791 $rm conftest* |
14667 | 16792 |
14668 fi | 16793 fi |
14669 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 | 16794 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 |
14670 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6 | 16795 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; } |
14671 | 16796 |
14672 | 16797 |
14673 hard_links="nottested" | 16798 hard_links="nottested" |
14674 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then | 16799 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then |
14675 # do not overwrite the value of need_locks provided by the user | 16800 # do not overwrite the value of need_locks provided by the user |
14676 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 | 16801 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
14677 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 16802 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } |
14678 hard_links=yes | 16803 hard_links=yes |
14679 $rm conftest* | 16804 $rm conftest* |
14680 ln conftest.a conftest.b 2>/dev/null && hard_links=no | 16805 ln conftest.a conftest.b 2>/dev/null && hard_links=no |
14681 touch conftest.a | 16806 touch conftest.a |
14682 ln conftest.a conftest.b 2>&5 || hard_links=no | 16807 ln conftest.a conftest.b 2>&5 || hard_links=no |
14683 ln conftest.a conftest.b 2>/dev/null && hard_links=no | 16808 ln conftest.a conftest.b 2>/dev/null && hard_links=no |
14684 echo "$as_me:$LINENO: result: $hard_links" >&5 | 16809 { echo "$as_me:$LINENO: result: $hard_links" >&5 |
14685 echo "${ECHO_T}$hard_links" >&6 | 16810 echo "${ECHO_T}$hard_links" >&6; } |
14686 if test "$hard_links" = no; then | 16811 if test "$hard_links" = no; then |
14687 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 16812 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
14688 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 16813 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
14689 need_locks=warn | 16814 need_locks=warn |
14690 fi | 16815 fi |
14691 else | 16816 else |
14692 need_locks=no | 16817 need_locks=no |
14693 fi | 16818 fi |
14694 | 16819 |
14695 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 16820 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
14696 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 16821 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
14697 | 16822 |
14698 runpath_var= | 16823 runpath_var= |
14699 allow_undefined_flag_GCJ= | 16824 allow_undefined_flag_GCJ= |
14700 enable_shared_with_static_runtimes_GCJ=no | 16825 enable_shared_with_static_runtimes_GCJ=no |
14701 archive_cmds_GCJ= | 16826 archive_cmds_GCJ= |
14729 # platforms (ab)use it in PIC code, but their linkers get confused if | 16854 # platforms (ab)use it in PIC code, but their linkers get confused if |
14730 # the symbol is explicitly referenced. Since portable code cannot | 16855 # the symbol is explicitly referenced. Since portable code cannot |
14731 # rely on this symbol name, it's probably fine to never include it in | 16856 # rely on this symbol name, it's probably fine to never include it in |
14732 # preloaded symbol tables. | 16857 # preloaded symbol tables. |
14733 extract_expsyms_cmds= | 16858 extract_expsyms_cmds= |
16859 # Just being paranoid about ensuring that cc_basename is set. | |
16860 for cc_temp in $compiler""; do | |
16861 case $cc_temp in | |
16862 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; | |
16863 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; | |
16864 \-*) ;; | |
16865 *) break;; | |
16866 esac | |
16867 done | |
16868 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | |
14734 | 16869 |
14735 case $host_os in | 16870 case $host_os in |
14736 cygwin* | mingw* | pw32*) | 16871 cygwin* | mingw* | pw32*) |
14737 # FIXME: the MSVC++ port hasn't been tested in a loooong time | 16872 # FIXME: the MSVC++ port hasn't been tested in a loooong time |
14738 # When not using gcc, we currently assume that we are using | 16873 # When not using gcc, we currently assume that we are using |
14739 # Microsoft Visual C++. | 16874 # Microsoft Visual C++. |
14740 if test "$GCC" != yes; then | 16875 if test "$GCC" != yes; then |
14741 with_gnu_ld=no | 16876 with_gnu_ld=no |
14742 fi | 16877 fi |
14743 ;; | 16878 ;; |
16879 interix*) | |
16880 # we just hope/assume this is gcc and not c89 (= MSVC++) | |
16881 with_gnu_ld=yes | |
16882 ;; | |
14744 openbsd*) | 16883 openbsd*) |
14745 with_gnu_ld=no | 16884 with_gnu_ld=no |
14746 ;; | 16885 ;; |
14747 esac | 16886 esac |
14748 | 16887 |
14749 ld_shlibs_GCJ=yes | 16888 ld_shlibs_GCJ=yes |
14750 if test "$with_gnu_ld" = yes; then | 16889 if test "$with_gnu_ld" = yes; then |
14751 # If archive_cmds runs LD, not CC, wlarc should be empty | 16890 # If archive_cmds runs LD, not CC, wlarc should be empty |
14752 wlarc='${wl}' | 16891 wlarc='${wl}' |
16892 | |
16893 # Set some defaults for GNU ld with shared library support. These | |
16894 # are reset later if shared libraries are not supported. Putting them | |
16895 # here allows them to be overridden if necessary. | |
16896 runpath_var=LD_RUN_PATH | |
16897 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' | |
16898 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' | |
16899 # ancient GNU ld didn't support --whole-archive et. al. | |
16900 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then | |
16901 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | |
16902 else | |
16903 whole_archive_flag_spec_GCJ= | |
16904 fi | |
16905 supports_anon_versioning=no | |
16906 case `$LD -v 2>/dev/null` in | |
16907 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 | |
16908 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | |
16909 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... | |
16910 *\ 2.11.*) ;; # other 2.11 versions | |
16911 *) supports_anon_versioning=yes ;; | |
16912 esac | |
14753 | 16913 |
14754 # See if GNU ld supports shared libraries. | 16914 # See if GNU ld supports shared libraries. |
14755 case $host_os in | 16915 case $host_os in |
14756 aix3* | aix4* | aix5*) | 16916 aix3* | aix4* | aix5*) |
14757 # On AIX/PPC, the GNU linker is very broken | 16917 # On AIX/PPC, the GNU linker is very broken |
14799 # as there is no search path for DLLs. | 16959 # as there is no search path for DLLs. |
14800 hardcode_libdir_flag_spec_GCJ='-L$libdir' | 16960 hardcode_libdir_flag_spec_GCJ='-L$libdir' |
14801 allow_undefined_flag_GCJ=unsupported | 16961 allow_undefined_flag_GCJ=unsupported |
14802 always_export_symbols_GCJ=no | 16962 always_export_symbols_GCJ=no |
14803 enable_shared_with_static_runtimes_GCJ=yes | 16963 enable_shared_with_static_runtimes_GCJ=yes |
14804 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 16964 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
14805 | 16965 |
14806 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 16966 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
14807 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 16967 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
14808 # If the export-symbols file already is a .def file (1st line | 16968 # If the export-symbols file already is a .def file (1st line |
14809 # is EXPORTS), use it as is; otherwise, prepend... | 16969 # is EXPORTS), use it as is; otherwise, prepend... |
14810 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 16970 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
14811 cp $export_symbols $output_objdir/$soname.def; | 16971 cp $export_symbols $output_objdir/$soname.def; |
14812 else | 16972 else |
14813 echo EXPORTS > $output_objdir/$soname.def; | 16973 echo EXPORTS > $output_objdir/$soname.def; |
14814 cat $export_symbols >> $output_objdir/$soname.def; | 16974 cat $export_symbols >> $output_objdir/$soname.def; |
14815 fi~ | 16975 fi~ |
14816 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 16976 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
14817 else | 16977 else |
14818 ld_shlibs=no | 16978 ld_shlibs_GCJ=no |
16979 fi | |
16980 ;; | |
16981 | |
16982 interix3*) | |
16983 hardcode_direct_GCJ=no | |
16984 hardcode_shlibpath_var_GCJ=no | |
16985 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' | |
16986 export_dynamic_flag_spec_GCJ='${wl}-E' | |
16987 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. | |
16988 # Instead, shared libraries are loaded at an image base (0x10000000 by | |
16989 # default) and relocated if they conflict, which is a slow very memory | |
16990 # consuming and fragmenting process. To avoid this, we pick a random, | |
16991 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link | |
16992 # time. Moving up from 0x10000000 also allows more sbrk(2) space. | |
16993 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' | |
16994 archive_expsym_cmds_GCJ='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' | |
16995 ;; | |
16996 | |
16997 linux*) | |
16998 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | |
16999 tmp_addflag= | |
17000 case $cc_basename,$host_cpu in | |
17001 pgcc*) # Portland Group C compiler | |
17002 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' | |
17003 tmp_addflag=' $pic_flag' | |
17004 ;; | |
17005 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers | |
17006 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' | |
17007 tmp_addflag=' $pic_flag -Mnomain' ;; | |
17008 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 | |
17009 tmp_addflag=' -i_dynamic' ;; | |
17010 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 | |
17011 tmp_addflag=' -i_dynamic -nofor_main' ;; | |
17012 ifc* | ifort*) # Intel Fortran compiler | |
17013 tmp_addflag=' -nofor_main' ;; | |
17014 esac | |
17015 archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | |
17016 | |
17017 if test $supports_anon_versioning = yes; then | |
17018 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ | |
17019 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ | |
17020 $echo "local: *; };" >> $output_objdir/$libname.ver~ | |
17021 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | |
17022 fi | |
17023 else | |
17024 ld_shlibs_GCJ=no | |
14819 fi | 17025 fi |
14820 ;; | 17026 ;; |
14821 | 17027 |
14822 netbsd*) | 17028 netbsd*) |
14823 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 17029 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
14827 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 17033 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
14828 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 17034 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
14829 fi | 17035 fi |
14830 ;; | 17036 ;; |
14831 | 17037 |
14832 solaris* | sysv5*) | 17038 solaris*) |
14833 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then | 17039 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
14834 ld_shlibs_GCJ=no | 17040 ld_shlibs_GCJ=no |
14835 cat <<EOF 1>&2 | 17041 cat <<EOF 1>&2 |
14836 | 17042 |
14837 *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 17043 *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
14848 else | 17054 else |
14849 ld_shlibs_GCJ=no | 17055 ld_shlibs_GCJ=no |
14850 fi | 17056 fi |
14851 ;; | 17057 ;; |
14852 | 17058 |
17059 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) | |
17060 case `$LD -v 2>&1` in | |
17061 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) | |
17062 ld_shlibs_GCJ=no | |
17063 cat <<_LT_EOF 1>&2 | |
17064 | |
17065 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not | |
17066 *** reliably create shared libraries on SCO systems. Therefore, libtool | |
17067 *** is disabling shared libraries support. We urge you to upgrade GNU | |
17068 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify | |
17069 *** your PATH or compiler configuration so that the native linker is | |
17070 *** used, and then restart. | |
17071 | |
17072 _LT_EOF | |
17073 ;; | |
17074 *) | |
17075 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | |
17076 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' | |
17077 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' | |
17078 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' | |
17079 else | |
17080 ld_shlibs_GCJ=no | |
17081 fi | |
17082 ;; | |
17083 esac | |
17084 ;; | |
17085 | |
14853 sunos4*) | 17086 sunos4*) |
14854 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 17087 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
14855 wlarc= | 17088 wlarc= |
14856 hardcode_direct_GCJ=yes | 17089 hardcode_direct_GCJ=yes |
14857 hardcode_shlibpath_var_GCJ=no | 17090 hardcode_shlibpath_var_GCJ=no |
14865 ld_shlibs_GCJ=no | 17098 ld_shlibs_GCJ=no |
14866 fi | 17099 fi |
14867 ;; | 17100 ;; |
14868 esac | 17101 esac |
14869 | 17102 |
14870 if test "$ld_shlibs_GCJ" = yes; then | 17103 if test "$ld_shlibs_GCJ" = no; then |
14871 runpath_var=LD_RUN_PATH | 17104 runpath_var= |
14872 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' | 17105 hardcode_libdir_flag_spec_GCJ= |
14873 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' | 17106 export_dynamic_flag_spec_GCJ= |
14874 # ancient GNU ld didn't support --whole-archive et. al. | 17107 whole_archive_flag_spec_GCJ= |
14875 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then | |
14876 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | |
14877 else | |
14878 whole_archive_flag_spec_GCJ= | |
14879 fi | |
14880 fi | 17108 fi |
14881 else | 17109 else |
14882 # PORTME fill in a description of your system's linker (not GNU ld) | 17110 # PORTME fill in a description of your system's linker (not GNU ld) |
14883 case $host_os in | 17111 case $host_os in |
14884 aix3*) | 17112 aix3*) |
14886 always_export_symbols_GCJ=yes | 17114 always_export_symbols_GCJ=yes |
14887 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' | 17115 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
14888 # Note: this linker hardcodes the directories in LIBPATH if there | 17116 # Note: this linker hardcodes the directories in LIBPATH if there |
14889 # are no directories specified by -L. | 17117 # are no directories specified by -L. |
14890 hardcode_minus_L_GCJ=yes | 17118 hardcode_minus_L_GCJ=yes |
14891 if test "$GCC" = yes && test -z "$link_static_flag"; then | 17119 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
14892 # Neither direct hardcoding nor static linking is supported with a | 17120 # Neither direct hardcoding nor static linking is supported with a |
14893 # broken collect2. | 17121 # broken collect2. |
14894 hardcode_direct_GCJ=unsupported | 17122 hardcode_direct_GCJ=unsupported |
14895 fi | 17123 fi |
14896 ;; | 17124 ;; |
14920 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 17148 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
14921 aix_use_runtimelinking=yes | 17149 aix_use_runtimelinking=yes |
14922 break | 17150 break |
14923 fi | 17151 fi |
14924 done | 17152 done |
17153 ;; | |
14925 esac | 17154 esac |
14926 | 17155 |
14927 exp_sym_flag='-bexport' | 17156 exp_sym_flag='-bexport' |
14928 no_entry_flag='-bnoentry' | 17157 no_entry_flag='-bnoentry' |
14929 fi | 17158 fi |
14938 hardcode_direct_GCJ=yes | 17167 hardcode_direct_GCJ=yes |
14939 hardcode_libdir_separator_GCJ=':' | 17168 hardcode_libdir_separator_GCJ=':' |
14940 link_all_deplibs_GCJ=yes | 17169 link_all_deplibs_GCJ=yes |
14941 | 17170 |
14942 if test "$GCC" = yes; then | 17171 if test "$GCC" = yes; then |
14943 case $host_os in aix4.012|aix4.012.*) | 17172 case $host_os in aix4.[012]|aix4.[012].*) |
14944 # We only want to do this on AIX 4.2 and lower, the check | 17173 # We only want to do this on AIX 4.2 and lower, the check |
14945 # below for broken collect2 doesn't work under 4.3+ | 17174 # below for broken collect2 doesn't work under 4.3+ |
14946 collect2name=`${CC} -print-prog-name=collect2` | 17175 collect2name=`${CC} -print-prog-name=collect2` |
14947 if test -f "$collect2name" && \ | 17176 if test -f "$collect2name" && \ |
14948 strings "$collect2name" | grep resolve_lib_name >/dev/null | 17177 strings "$collect2name" | grep resolve_lib_name >/dev/null |
14957 # to unsupported forces relinking | 17186 # to unsupported forces relinking |
14958 hardcode_minus_L_GCJ=yes | 17187 hardcode_minus_L_GCJ=yes |
14959 hardcode_libdir_flag_spec_GCJ='-L$libdir' | 17188 hardcode_libdir_flag_spec_GCJ='-L$libdir' |
14960 hardcode_libdir_separator_GCJ= | 17189 hardcode_libdir_separator_GCJ= |
14961 fi | 17190 fi |
17191 ;; | |
14962 esac | 17192 esac |
14963 shared_flag='-shared' | 17193 shared_flag='-shared' |
17194 if test "$aix_use_runtimelinking" = yes; then | |
17195 shared_flag="$shared_flag "'${wl}-G' | |
17196 fi | |
14964 else | 17197 else |
14965 # not using gcc | 17198 # not using gcc |
14966 if test "$host_cpu" = ia64; then | 17199 if test "$host_cpu" = ia64; then |
14967 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 17200 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
14968 # chokes on -Wl,-G. The following line is correct: | 17201 # chokes on -Wl,-G. The following line is correct: |
14969 shared_flag='-G' | 17202 shared_flag='-G' |
14970 else | 17203 else |
14971 if test "$aix_use_runtimelinking" = yes; then | 17204 if test "$aix_use_runtimelinking" = yes; then |
14972 shared_flag='${wl}-G' | 17205 shared_flag='${wl}-G' |
14973 else | 17206 else |
14974 shared_flag='${wl}-bM:SRE' | 17207 shared_flag='${wl}-bM:SRE' |
14975 fi | 17208 fi |
14976 fi | 17209 fi |
14977 fi | 17210 fi |
14978 | 17211 |
14979 # It seems that -bexpall does not export symbols beginning with | 17212 # It seems that -bexpall does not export symbols beginning with |
14980 # underscore (_), so it is better to generate a list of symbols to export. | 17213 # underscore (_), so it is better to generate a list of symbols to export. |
14983 # Warning - without using the other runtime loading flags (-brtl), | 17216 # Warning - without using the other runtime loading flags (-brtl), |
14984 # -berok will link without error, but may produce a broken library. | 17217 # -berok will link without error, but may produce a broken library. |
14985 allow_undefined_flag_GCJ='-berok' | 17218 allow_undefined_flag_GCJ='-berok' |
14986 # Determine the default libpath from the value encoded in an empty executable. | 17219 # Determine the default libpath from the value encoded in an empty executable. |
14987 cat >conftest.$ac_ext <<_ACEOF | 17220 cat >conftest.$ac_ext <<_ACEOF |
14988 #line $LINENO "configure" | 17221 /* confdefs.h. */ |
14989 #include "confdefs.h" | 17222 _ACEOF |
14990 | 17223 cat confdefs.h >>conftest.$ac_ext |
14991 #ifdef F77_DUMMY_MAIN | 17224 cat >>conftest.$ac_ext <<_ACEOF |
14992 # ifdef __cplusplus | 17225 /* end confdefs.h. */ |
14993 extern "C" | 17226 |
14994 # endif | |
14995 int F77_DUMMY_MAIN() { return 1; } | |
14996 #endif | |
14997 int | 17227 int |
14998 main () | 17228 main () |
14999 { | 17229 { |
15000 | 17230 |
15001 ; | 17231 ; |
15002 return 0; | 17232 return 0; |
15003 } | 17233 } |
15004 _ACEOF | 17234 _ACEOF |
15005 rm -f conftest.$ac_objext conftest$ac_exeext | 17235 rm -f conftest.$ac_objext conftest$ac_exeext |
15006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 17236 if { (ac_try="$ac_link" |
15007 (eval $ac_link) 2>&5 | 17237 case "(($ac_try" in |
17238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17239 *) ac_try_echo=$ac_try;; | |
17240 esac | |
17241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17242 (eval "$ac_link") 2>conftest.er1 | |
17243 ac_status=$? | |
17244 grep -v '^ *+' conftest.er1 >conftest.err | |
17245 rm -f conftest.er1 | |
17246 cat conftest.err >&5 | |
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17248 (exit $ac_status); } && | |
17249 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
17250 { (case "(($ac_try" in | |
17251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17252 *) ac_try_echo=$ac_try;; | |
17253 esac | |
17254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17255 (eval "$ac_try") 2>&5 | |
15008 ac_status=$? | 17256 ac_status=$? |
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15010 (exit $ac_status); } && | 17258 (exit $ac_status); }; } && |
15011 { ac_try='test -s conftest$ac_exeext' | 17259 { ac_try='test -s conftest$ac_exeext' |
15012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17260 { (case "(($ac_try" in |
15013 (eval $ac_try) 2>&5 | 17261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17262 *) ac_try_echo=$ac_try;; | |
17263 esac | |
17264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17265 (eval "$ac_try") 2>&5 | |
15014 ac_status=$? | 17266 ac_status=$? |
15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15016 (exit $ac_status); }; }; then | 17268 (exit $ac_status); }; }; then |
15017 | 17269 |
15018 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | 17270 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
15020 # Check for a 64-bit object if we didn't find anything. | 17272 # Check for a 64-bit object if we didn't find anything. |
15021 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | 17273 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
15022 }'`; fi | 17274 }'`; fi |
15023 else | 17275 else |
15024 echo "$as_me: failed program was:" >&5 | 17276 echo "$as_me: failed program was:" >&5 |
15025 cat conftest.$ac_ext >&5 | 17277 sed 's/^/| /' conftest.$ac_ext >&5 |
15026 fi | 17278 |
15027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 17279 |
17280 fi | |
17281 | |
17282 rm -f core conftest.err conftest.$ac_objext \ | |
17283 conftest$ac_exeext conftest.$ac_ext | |
15028 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 17284 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
15029 | 17285 |
15030 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" | 17286 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
15031 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" | 17287 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
15032 else | 17288 else |
15033 if test "$host_cpu" = ia64; then | 17289 if test "$host_cpu" = ia64; then |
15034 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' | 17290 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' |
15035 allow_undefined_flag_GCJ="-z nodefs" | 17291 allow_undefined_flag_GCJ="-z nodefs" |
15036 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | 17292 archive_expsym_cmds_GCJ="\$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" |
15037 else | 17293 else |
15038 # Determine the default libpath from the value encoded in an empty executable. | 17294 # Determine the default libpath from the value encoded in an empty executable. |
15039 cat >conftest.$ac_ext <<_ACEOF | 17295 cat >conftest.$ac_ext <<_ACEOF |
15040 #line $LINENO "configure" | 17296 /* confdefs.h. */ |
15041 #include "confdefs.h" | 17297 _ACEOF |
15042 | 17298 cat confdefs.h >>conftest.$ac_ext |
15043 #ifdef F77_DUMMY_MAIN | 17299 cat >>conftest.$ac_ext <<_ACEOF |
15044 # ifdef __cplusplus | 17300 /* end confdefs.h. */ |
15045 extern "C" | 17301 |
15046 # endif | |
15047 int F77_DUMMY_MAIN() { return 1; } | |
15048 #endif | |
15049 int | 17302 int |
15050 main () | 17303 main () |
15051 { | 17304 { |
15052 | 17305 |
15053 ; | 17306 ; |
15054 return 0; | 17307 return 0; |
15055 } | 17308 } |
15056 _ACEOF | 17309 _ACEOF |
15057 rm -f conftest.$ac_objext conftest$ac_exeext | 17310 rm -f conftest.$ac_objext conftest$ac_exeext |
15058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 17311 if { (ac_try="$ac_link" |
15059 (eval $ac_link) 2>&5 | 17312 case "(($ac_try" in |
17313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17314 *) ac_try_echo=$ac_try;; | |
17315 esac | |
17316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17317 (eval "$ac_link") 2>conftest.er1 | |
17318 ac_status=$? | |
17319 grep -v '^ *+' conftest.er1 >conftest.err | |
17320 rm -f conftest.er1 | |
17321 cat conftest.err >&5 | |
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
17323 (exit $ac_status); } && | |
17324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
17325 { (case "(($ac_try" in | |
17326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17327 *) ac_try_echo=$ac_try;; | |
17328 esac | |
17329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17330 (eval "$ac_try") 2>&5 | |
15060 ac_status=$? | 17331 ac_status=$? |
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15062 (exit $ac_status); } && | 17333 (exit $ac_status); }; } && |
15063 { ac_try='test -s conftest$ac_exeext' | 17334 { ac_try='test -s conftest$ac_exeext' |
15064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17335 { (case "(($ac_try" in |
15065 (eval $ac_try) 2>&5 | 17336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17337 *) ac_try_echo=$ac_try;; | |
17338 esac | |
17339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17340 (eval "$ac_try") 2>&5 | |
15066 ac_status=$? | 17341 ac_status=$? |
15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15068 (exit $ac_status); }; }; then | 17343 (exit $ac_status); }; }; then |
15069 | 17344 |
15070 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | 17345 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
15072 # Check for a 64-bit object if we didn't find anything. | 17347 # Check for a 64-bit object if we didn't find anything. |
15073 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } | 17348 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
15074 }'`; fi | 17349 }'`; fi |
15075 else | 17350 else |
15076 echo "$as_me: failed program was:" >&5 | 17351 echo "$as_me: failed program was:" >&5 |
15077 cat conftest.$ac_ext >&5 | 17352 sed 's/^/| /' conftest.$ac_ext >&5 |
15078 fi | 17353 |
15079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 17354 |
17355 fi | |
17356 | |
17357 rm -f core conftest.err conftest.$ac_objext \ | |
17358 conftest$ac_exeext conftest.$ac_ext | |
15080 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 17359 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
15081 | 17360 |
15082 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" | 17361 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
15083 # Warning - without using the other run time loading flags, | 17362 # Warning - without using the other run time loading flags, |
15084 # -berok will link without error, but may produce a broken library. | 17363 # -berok will link without error, but may produce a broken library. |
15085 no_undefined_flag_GCJ=' ${wl}-bernotok' | 17364 no_undefined_flag_GCJ=' ${wl}-bernotok' |
15086 allow_undefined_flag_GCJ=' ${wl}-berok' | 17365 allow_undefined_flag_GCJ=' ${wl}-berok' |
15087 # -bexpall does not export symbols beginning with underscore (_) | |
15088 always_export_symbols_GCJ=yes | |
15089 # Exported symbols can be pulled into shared objects from archives | 17366 # Exported symbols can be pulled into shared objects from archives |
15090 whole_archive_flag_spec_GCJ=' ' | 17367 whole_archive_flag_spec_GCJ='$convenience' |
15091 archive_cmds_need_lc_GCJ=yes | 17368 archive_cmds_need_lc_GCJ=yes |
15092 # This is similar to how AIX traditionally builds it's shared libraries. | 17369 # This is similar to how AIX traditionally builds its shared libraries. |
15093 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | 17370 archive_expsym_cmds_GCJ="\$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' |
15094 fi | 17371 fi |
15095 fi | 17372 fi |
15096 ;; | 17373 ;; |
15097 | 17374 |
15098 amigaos*) | 17375 amigaos*) |
15101 hardcode_minus_L_GCJ=yes | 17378 hardcode_minus_L_GCJ=yes |
15102 # see comment about different semantics on the GNU ld section | 17379 # see comment about different semantics on the GNU ld section |
15103 ld_shlibs_GCJ=no | 17380 ld_shlibs_GCJ=no |
15104 ;; | 17381 ;; |
15105 | 17382 |
15106 bsdi4*) | 17383 bsdi[45]*) |
15107 export_dynamic_flag_spec_GCJ=-rdynamic | 17384 export_dynamic_flag_spec_GCJ=-rdynamic |
15108 ;; | 17385 ;; |
15109 | 17386 |
15110 cygwin* | mingw* | pw32*) | 17387 cygwin* | mingw* | pw32*) |
15111 # When not using gcc, we currently assume that we are using | 17388 # When not using gcc, we currently assume that we are using |
15115 hardcode_libdir_flag_spec_GCJ=' ' | 17392 hardcode_libdir_flag_spec_GCJ=' ' |
15116 allow_undefined_flag_GCJ=unsupported | 17393 allow_undefined_flag_GCJ=unsupported |
15117 # Tell ltmain to make .lib files, not .a files. | 17394 # Tell ltmain to make .lib files, not .a files. |
15118 libext=lib | 17395 libext=lib |
15119 # Tell ltmain to make .dll files, not .so files. | 17396 # Tell ltmain to make .dll files, not .so files. |
15120 shrext=".dll" | 17397 shrext_cmds=".dll" |
15121 # FIXME: Setting linknames here is a bad hack. | 17398 # FIXME: Setting linknames here is a bad hack. |
15122 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' | 17399 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
15123 # The linker will automatically build a .lib file if we build a DLL. | 17400 # The linker will automatically build a .lib file if we build a DLL. |
15124 old_archive_From_new_cmds_GCJ='true' | 17401 old_archive_From_new_cmds_GCJ='true' |
15125 # FIXME: Should let the user specify the lib program. | 17402 # FIXME: Should let the user specify the lib program. |
15126 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' | 17403 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' |
15127 fix_srcfile_path='`cygpath -w "$srcfile"`' | 17404 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' |
15128 enable_shared_with_static_runtimes_GCJ=yes | 17405 enable_shared_with_static_runtimes_GCJ=yes |
15129 ;; | 17406 ;; |
15130 | 17407 |
15131 darwin* | rhapsody*) | 17408 darwin* | rhapsody*) |
15132 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 17409 case $host_os in |
17410 rhapsody* | darwin1.[012]) | |
17411 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' | |
17412 ;; | |
17413 *) # Darwin 1.3 on | |
17414 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then | |
17415 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' | |
17416 else | |
17417 case ${MACOSX_DEPLOYMENT_TARGET} in | |
17418 10.[012]) | |
17419 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' | |
17420 ;; | |
17421 10.*) | |
17422 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' | |
17423 ;; | |
17424 esac | |
17425 fi | |
17426 ;; | |
17427 esac | |
15133 archive_cmds_need_lc_GCJ=no | 17428 archive_cmds_need_lc_GCJ=no |
15134 case "$host_os" in | |
15135 rhapsody* | darwin1.[012]) | |
15136 allow_undefined_flag_GCJ='-undefined suppress' | |
15137 ;; | |
15138 *) # Darwin 1.3 on | |
15139 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' | |
15140 ;; | |
15141 esac | |
15142 # FIXME: Relying on posixy $() will cause problems for | |
15143 # cross-compilation, but unfortunately the echo tests do not | |
15144 # yet detect zsh echo's removal of \ escapes. Also zsh mangles | |
15145 # `"' quotes if we put them in here... so don't! | |
15146 lt_int_apple_cc_single_mod=no | |
15147 output_verbose_link_cmd='echo' | |
15148 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then | |
15149 lt_int_apple_cc_single_mod=yes | |
15150 fi | |
15151 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | |
15152 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | |
15153 else | |
15154 archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | |
15155 fi | |
15156 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | |
15157 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | |
15158 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | |
15159 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
15160 else | |
15161 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
15162 fi | |
15163 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
15164 hardcode_direct_GCJ=no | 17429 hardcode_direct_GCJ=no |
15165 hardcode_automatic_GCJ=yes | 17430 hardcode_automatic_GCJ=yes |
15166 hardcode_shlibpath_var_GCJ=unsupported | 17431 hardcode_shlibpath_var_GCJ=unsupported |
15167 whole_archive_flag_spec_GCJ='-all_load $convenience' | 17432 whole_archive_flag_spec_GCJ='' |
15168 link_all_deplibs_GCJ=yes | 17433 link_all_deplibs_GCJ=yes |
17434 if test "$GCC" = yes ; then | |
17435 output_verbose_link_cmd='echo' | |
17436 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | |
17437 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' | |
17438 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds | |
17439 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
17440 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
17441 else | |
17442 case $cc_basename in | |
17443 xlc*) | |
17444 output_verbose_link_cmd='echo' | |
17445 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' | |
17446 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' | |
17447 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds | |
17448 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
17449 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
17450 ;; | |
17451 *) | |
17452 ld_shlibs_GCJ=no | |
17453 ;; | |
17454 esac | |
15169 fi | 17455 fi |
15170 ;; | 17456 ;; |
15171 | 17457 |
15172 dgux*) | 17458 dgux*) |
15173 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 17459 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
15197 hardcode_minus_L_GCJ=yes | 17483 hardcode_minus_L_GCJ=yes |
15198 hardcode_shlibpath_var_GCJ=no | 17484 hardcode_shlibpath_var_GCJ=no |
15199 ;; | 17485 ;; |
15200 | 17486 |
15201 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 17487 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
15202 freebsd*) | 17488 freebsd* | kfreebsd*-gnu | dragonfly*) |
15203 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | 17489 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
15204 hardcode_libdir_flag_spec_GCJ='-R$libdir' | 17490 hardcode_libdir_flag_spec_GCJ='-R$libdir' |
15205 hardcode_direct_GCJ=yes | 17491 hardcode_direct_GCJ=yes |
15206 hardcode_shlibpath_var_GCJ=no | 17492 hardcode_shlibpath_var_GCJ=no |
15207 ;; | 17493 ;; |
15220 # but as the default location of the library. | 17506 # but as the default location of the library. |
15221 hardcode_minus_L_GCJ=yes | 17507 hardcode_minus_L_GCJ=yes |
15222 export_dynamic_flag_spec_GCJ='${wl}-E' | 17508 export_dynamic_flag_spec_GCJ='${wl}-E' |
15223 ;; | 17509 ;; |
15224 | 17510 |
15225 hpux10* | hpux11*) | 17511 hpux10*) |
15226 if test "$GCC" = yes -a "$with_gnu_ld" = no; then | 17512 if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
15227 case "$host_cpu" in | 17513 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
15228 hppa*64*|ia64*) | 17514 else |
17515 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | |
17516 fi | |
17517 if test "$with_gnu_ld" = no; then | |
17518 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' | |
17519 hardcode_libdir_separator_GCJ=: | |
17520 | |
17521 hardcode_direct_GCJ=yes | |
17522 export_dynamic_flag_spec_GCJ='${wl}-E' | |
17523 | |
17524 # hardcode_minus_L: Not really in the search PATH, | |
17525 # but as the default location of the library. | |
17526 hardcode_minus_L_GCJ=yes | |
17527 fi | |
17528 ;; | |
17529 | |
17530 hpux11*) | |
17531 if test "$GCC" = yes -a "$with_gnu_ld" = no; then | |
17532 case $host_cpu in | |
17533 hppa*64*) | |
15229 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 17534 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
17535 ;; | |
17536 ia64*) | |
17537 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' | |
15230 ;; | 17538 ;; |
15231 *) | 17539 *) |
15232 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 17540 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
15233 ;; | 17541 ;; |
15234 esac | 17542 esac |
15235 else | 17543 else |
15236 case "$host_cpu" in | 17544 case $host_cpu in |
15237 hppa*64*|ia64*) | 17545 hppa*64*) |
15238 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' | 17546 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
17547 ;; | |
17548 ia64*) | |
17549 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' | |
15239 ;; | 17550 ;; |
15240 *) | 17551 *) |
15241 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 17552 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
15242 ;; | 17553 ;; |
15243 esac | 17554 esac |
15244 fi | 17555 fi |
15245 if test "$with_gnu_ld" = no; then | 17556 if test "$with_gnu_ld" = no; then |
15246 case "$host_cpu" in | 17557 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
15247 hppa*64*) | 17558 hardcode_libdir_separator_GCJ=: |
15248 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' | 17559 |
17560 case $host_cpu in | |
17561 hppa*64*|ia64*) | |
15249 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' | 17562 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' |
15250 hardcode_libdir_separator_GCJ=: | |
15251 hardcode_direct_GCJ=no | 17563 hardcode_direct_GCJ=no |
15252 hardcode_shlibpath_var_GCJ=no | 17564 hardcode_shlibpath_var_GCJ=no |
15253 ;; | 17565 ;; |
15254 ia64*) | |
15255 hardcode_libdir_flag_spec_GCJ='-L$libdir' | |
15256 hardcode_direct_GCJ=no | |
15257 hardcode_shlibpath_var_GCJ=no | |
15258 | |
15259 # hardcode_minus_L: Not really in the search PATH, | |
15260 # but as the default location of the library. | |
15261 hardcode_minus_L_GCJ=yes | |
15262 ;; | |
15263 *) | 17566 *) |
15264 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' | |
15265 hardcode_libdir_separator_GCJ=: | |
15266 hardcode_direct_GCJ=yes | 17567 hardcode_direct_GCJ=yes |
15267 export_dynamic_flag_spec_GCJ='${wl}-E' | 17568 export_dynamic_flag_spec_GCJ='${wl}-E' |
15268 | 17569 |
15269 # hardcode_minus_L: Not really in the search PATH, | 17570 # hardcode_minus_L: Not really in the search PATH, |
15270 # but as the default location of the library. | 17571 # but as the default location of the library. |
15308 openbsd*) | 17609 openbsd*) |
15309 hardcode_direct_GCJ=yes | 17610 hardcode_direct_GCJ=yes |
15310 hardcode_shlibpath_var_GCJ=no | 17611 hardcode_shlibpath_var_GCJ=no |
15311 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 17612 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
15312 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 17613 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
17614 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' | |
15313 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' | 17615 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
15314 export_dynamic_flag_spec_GCJ='${wl}-E' | 17616 export_dynamic_flag_spec_GCJ='${wl}-E' |
15315 else | 17617 else |
15316 case $host_os in | 17618 case $host_os in |
15317 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | 17619 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
15353 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' | 17655 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' |
15354 else | 17656 else |
15355 allow_undefined_flag_GCJ=' -expect_unresolved \*' | 17657 allow_undefined_flag_GCJ=' -expect_unresolved \*' |
15356 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 17658 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
15357 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ | 17659 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
15358 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' | 17660 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' |
15359 | 17661 |
15360 # Both c and cxx compiler support -rpath directly | 17662 # Both c and cxx compiler support -rpath directly |
15361 hardcode_libdir_flag_spec_GCJ='-rpath $libdir' | 17663 hardcode_libdir_flag_spec_GCJ='-rpath $libdir' |
15362 fi | 17664 fi |
15363 hardcode_libdir_separator_GCJ=: | 17665 hardcode_libdir_separator_GCJ=: |
15364 ;; | 17666 ;; |
15365 | 17667 |
15366 sco3.2v5*) | |
15367 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
15368 hardcode_shlibpath_var_GCJ=no | |
15369 export_dynamic_flag_spec_GCJ='${wl}-Bexport' | |
15370 runpath_var=LD_RUN_PATH | |
15371 hardcode_runpath_var=yes | |
15372 ;; | |
15373 | |
15374 solaris*) | 17668 solaris*) |
15375 no_undefined_flag_GCJ=' -z text' | 17669 no_undefined_flag_GCJ=' -z text' |
15376 if test "$GCC" = yes; then | 17670 if test "$GCC" = yes; then |
17671 wlarc='${wl}' | |
15377 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 17672 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
15378 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 17673 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
15379 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' | 17674 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
15380 else | 17675 else |
17676 wlarc='' | |
15381 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 17677 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
15382 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 17678 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
15383 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 17679 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
15384 fi | 17680 fi |
15385 hardcode_libdir_flag_spec_GCJ='-R$libdir' | 17681 hardcode_libdir_flag_spec_GCJ='-R$libdir' |
15386 hardcode_shlibpath_var_GCJ=no | 17682 hardcode_shlibpath_var_GCJ=no |
15387 case $host_os in | 17683 case $host_os in |
15388 solaris2.[0-5] | solaris2.[0-5].*) ;; | 17684 solaris2.[0-5] | solaris2.[0-5].*) ;; |
15389 *) # Supported since Solaris 2.6 (maybe 2.5.1?) | 17685 *) |
15390 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; | 17686 # The compiler driver will combine linker options so we |
17687 # cannot just pass the convience library names through | |
17688 # without $wl, iff we do not link with $LD. | |
17689 # Luckily, gcc supports the same syntax we need for Sun Studio. | |
17690 # Supported since Solaris 2.6 (maybe 2.5.1?) | |
17691 case $wlarc in | |
17692 '') | |
17693 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; | |
17694 *) | |
17695 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; | |
17696 esac ;; | |
15391 esac | 17697 esac |
15392 link_all_deplibs_GCJ=yes | 17698 link_all_deplibs_GCJ=yes |
15393 ;; | 17699 ;; |
15394 | 17700 |
15395 sunos4*) | 17701 sunos4*) |
15442 hardcode_runpath_var=yes | 17748 hardcode_runpath_var=yes |
15443 ld_shlibs_GCJ=yes | 17749 ld_shlibs_GCJ=yes |
15444 fi | 17750 fi |
15445 ;; | 17751 ;; |
15446 | 17752 |
15447 sysv4.2uw2*) | 17753 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) |
15448 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 17754 no_undefined_flag_GCJ='${wl}-z,text' |
15449 hardcode_direct_GCJ=yes | 17755 archive_cmds_need_lc_GCJ=no |
15450 hardcode_minus_L_GCJ=no | |
15451 hardcode_shlibpath_var_GCJ=no | |
15452 hardcode_runpath_var=yes | |
15453 runpath_var=LD_RUN_PATH | |
15454 ;; | |
15455 | |
15456 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) | |
15457 no_undefined_flag_GCJ='${wl}-z ${wl}text' | |
15458 if test "$GCC" = yes; then | |
15459 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
15460 else | |
15461 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
15462 fi | |
15463 runpath_var='LD_RUN_PATH' | |
15464 hardcode_shlibpath_var_GCJ=no | |
15465 ;; | |
15466 | |
15467 sysv5*) | |
15468 no_undefined_flag_GCJ=' -z text' | |
15469 # $CC -shared without GNU ld will not create a library from C++ | |
15470 # object files and a static libstdc++, better avoid it by now | |
15471 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
15472 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | |
15473 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | |
15474 hardcode_libdir_flag_spec_GCJ= | |
15475 hardcode_shlibpath_var_GCJ=no | 17756 hardcode_shlibpath_var_GCJ=no |
15476 runpath_var='LD_RUN_PATH' | 17757 runpath_var='LD_RUN_PATH' |
17758 | |
17759 if test "$GCC" = yes; then | |
17760 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
17761 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
17762 else | |
17763 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
17764 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | |
17765 fi | |
17766 ;; | |
17767 | |
17768 sysv5* | sco3.2v5* | sco5v6*) | |
17769 # Note: We can NOT use -z defs as we might desire, because we do not | |
17770 # link with -lc, and that would cause any symbols used from libc to | |
17771 # always be unresolved, which means just about no library would | |
17772 # ever link correctly. If we're not using GNU ld we use -z text | |
17773 # though, which does catch some bad symbols but isn't as heavy-handed | |
17774 # as -z defs. | |
17775 no_undefined_flag_GCJ='${wl}-z,text' | |
17776 allow_undefined_flag_GCJ='${wl}-z,nodefs' | |
17777 archive_cmds_need_lc_GCJ=no | |
17778 hardcode_shlibpath_var_GCJ=no | |
17779 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' | |
17780 hardcode_libdir_separator_GCJ=':' | |
17781 link_all_deplibs_GCJ=yes | |
17782 export_dynamic_flag_spec_GCJ='${wl}-Bexport' | |
17783 runpath_var='LD_RUN_PATH' | |
17784 | |
17785 if test "$GCC" = yes; then | |
17786 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
17787 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
17788 else | |
17789 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
17790 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' | |
17791 fi | |
15477 ;; | 17792 ;; |
15478 | 17793 |
15479 uts4*) | 17794 uts4*) |
15480 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 17795 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
15481 hardcode_libdir_flag_spec_GCJ='-L$libdir' | 17796 hardcode_libdir_flag_spec_GCJ='-L$libdir' |
15486 ld_shlibs_GCJ=no | 17801 ld_shlibs_GCJ=no |
15487 ;; | 17802 ;; |
15488 esac | 17803 esac |
15489 fi | 17804 fi |
15490 | 17805 |
15491 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 | 17806 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 |
15492 echo "${ECHO_T}$ld_shlibs_GCJ" >&6 | 17807 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; } |
15493 test "$ld_shlibs_GCJ" = no && can_build_shared=no | 17808 test "$ld_shlibs_GCJ" = no && can_build_shared=no |
15494 | |
15495 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | |
15496 if test "$GCC" = yes; then | |
15497 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | |
15498 fi | |
15499 | 17809 |
15500 # | 17810 # |
15501 # Do we need to explicitly link libc? | 17811 # Do we need to explicitly link libc? |
15502 # | 17812 # |
15503 case "x$archive_cmds_need_lc_GCJ" in | 17813 case "x$archive_cmds_need_lc_GCJ" in |
15512 ;; | 17822 ;; |
15513 '$CC '*) | 17823 '$CC '*) |
15514 # Test whether the compiler implicitly links with -lc since on some | 17824 # Test whether the compiler implicitly links with -lc since on some |
15515 # systems, -lgcc has to come before -lc. If gcc already passes -lc | 17825 # systems, -lgcc has to come before -lc. If gcc already passes -lc |
15516 # to ld, don't add -lc before -lgcc. | 17826 # to ld, don't add -lc before -lgcc. |
15517 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 | 17827 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
15518 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 17828 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } |
15519 $rm conftest* | 17829 $rm conftest* |
15520 printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 17830 printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
15521 | 17831 |
15522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 17832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
15523 (eval $ac_compile) 2>&5 | 17833 (eval $ac_compile) 2>&5 |
15527 soname=conftest | 17837 soname=conftest |
15528 lib=conftest | 17838 lib=conftest |
15529 libobjs=conftest.$ac_objext | 17839 libobjs=conftest.$ac_objext |
15530 deplibs= | 17840 deplibs= |
15531 wl=$lt_prog_compiler_wl_GCJ | 17841 wl=$lt_prog_compiler_wl_GCJ |
17842 pic_flag=$lt_prog_compiler_pic_GCJ | |
15532 compiler_flags=-v | 17843 compiler_flags=-v |
15533 linker_flags=-v | 17844 linker_flags=-v |
15534 verstring= | 17845 verstring= |
15535 output_objdir=. | 17846 output_objdir=. |
15536 libname=conftest | 17847 libname=conftest |
15549 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag | 17860 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag |
15550 else | 17861 else |
15551 cat conftest.err 1>&5 | 17862 cat conftest.err 1>&5 |
15552 fi | 17863 fi |
15553 $rm conftest* | 17864 $rm conftest* |
15554 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 | 17865 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 |
15555 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6 | 17866 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; } |
15556 ;; | 17867 ;; |
15557 esac | 17868 esac |
15558 fi | 17869 fi |
15559 ;; | 17870 ;; |
15560 esac | 17871 esac |
15561 | 17872 |
15562 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | 17873 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
15563 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 17874 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } |
15564 hardcode_action_GCJ= | |
15565 if test -n "$hardcode_libdir_flag_spec_GCJ" || \ | |
15566 test -n "$runpath_var GCJ" || \ | |
15567 test "X$hardcode_automatic_GCJ"="Xyes" ; then | |
15568 | |
15569 # We can hardcode non-existant directories. | |
15570 if test "$hardcode_direct_GCJ" != no && | |
15571 # If the only mechanism to avoid hardcoding is shlibpath_var, we | |
15572 # have to relink, otherwise we might link with an installed library | |
15573 # when we should be linking with a yet-to-be-installed one | |
15574 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && | |
15575 test "$hardcode_minus_L_GCJ" != no; then | |
15576 # Linking always hardcodes the temporary library directory. | |
15577 hardcode_action_GCJ=relink | |
15578 else | |
15579 # We can link without hardcoding, and we can hardcode nonexisting dirs. | |
15580 hardcode_action_GCJ=immediate | |
15581 fi | |
15582 else | |
15583 # We cannot hardcode anything, or else we can only hardcode existing | |
15584 # directories. | |
15585 hardcode_action_GCJ=unsupported | |
15586 fi | |
15587 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 | |
15588 echo "${ECHO_T}$hardcode_action_GCJ" >&6 | |
15589 | |
15590 if test "$hardcode_action_GCJ" = relink; then | |
15591 # Fast installation is not supported | |
15592 enable_fast_install=no | |
15593 elif test "$shlibpath_overrides_runpath" = yes || | |
15594 test "$enable_shared" = no; then | |
15595 # Fast installation is not necessary | |
15596 enable_fast_install=needless | |
15597 fi | |
15598 | |
15599 striplib= | |
15600 old_striplib= | |
15601 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | |
15602 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | |
15603 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | |
15604 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | |
15605 test -z "$striplib" && striplib="$STRIP --strip-unneeded" | |
15606 echo "$as_me:$LINENO: result: yes" >&5 | |
15607 echo "${ECHO_T}yes" >&6 | |
15608 else | |
15609 # FIXME - insert some real tests, host_os isn't really good enough | |
15610 case $host_os in | |
15611 darwin*) | |
15612 if test -n "$STRIP" ; then | |
15613 striplib="$STRIP -x" | |
15614 echo "$as_me:$LINENO: result: yes" >&5 | |
15615 echo "${ECHO_T}yes" >&6 | |
15616 else | |
15617 echo "$as_me:$LINENO: result: no" >&5 | |
15618 echo "${ECHO_T}no" >&6 | |
15619 fi | |
15620 ;; | |
15621 *) | |
15622 echo "$as_me:$LINENO: result: no" >&5 | |
15623 echo "${ECHO_T}no" >&6 | |
15624 ;; | |
15625 esac | |
15626 fi | |
15627 | |
15628 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 | |
15629 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | |
15630 library_names_spec= | 17875 library_names_spec= |
15631 libname_spec='lib$name' | 17876 libname_spec='lib$name' |
15632 soname_spec= | 17877 soname_spec= |
15633 shrext=".so" | 17878 shrext_cmds=".so" |
15634 postinstall_cmds= | 17879 postinstall_cmds= |
15635 postuninstall_cmds= | 17880 postuninstall_cmds= |
15636 finish_cmds= | 17881 finish_cmds= |
15637 finish_eval= | 17882 finish_eval= |
15638 shlibpath_var= | 17883 shlibpath_var= |
15716 ;; | 17961 ;; |
15717 | 17962 |
15718 amigaos*) | 17963 amigaos*) |
15719 library_names_spec='$libname.ixlibrary $libname.a' | 17964 library_names_spec='$libname.ixlibrary $libname.a' |
15720 # Create ${libname}_ixlibrary.a entries in /sys/libs. | 17965 # Create ${libname}_ixlibrary.a entries in /sys/libs. |
15721 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' | 17966 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' |
15722 ;; | 17967 ;; |
15723 | 17968 |
15724 beos*) | 17969 beos*) |
15725 library_names_spec='${libname}${shared_ext}' | 17970 library_names_spec='${libname}${shared_ext}' |
15726 dynamic_linker="$host_os ld.so" | 17971 dynamic_linker="$host_os ld.so" |
15727 shlibpath_var=LIBRARY_PATH | 17972 shlibpath_var=LIBRARY_PATH |
15728 ;; | 17973 ;; |
15729 | 17974 |
15730 bsdi4*) | 17975 bsdi[45]*) |
15731 version_type=linux | 17976 version_type=linux |
15732 need_version=no | 17977 need_version=no |
15733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 17978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
15734 soname_spec='${libname}${release}${shared_ext}$major' | 17979 soname_spec='${libname}${release}${shared_ext}$major' |
15735 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 17980 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
15741 # libtool to hard-code these into programs | 17986 # libtool to hard-code these into programs |
15742 ;; | 17987 ;; |
15743 | 17988 |
15744 cygwin* | mingw* | pw32*) | 17989 cygwin* | mingw* | pw32*) |
15745 version_type=windows | 17990 version_type=windows |
15746 shrext=".dll" | 17991 shrext_cmds=".dll" |
15747 need_version=no | 17992 need_version=no |
15748 need_lib_prefix=no | 17993 need_lib_prefix=no |
15749 | 17994 |
15750 case $GCC,$host_os in | 17995 case $GCC,$host_os in |
15751 yes,cygwin* | yes,mingw* | yes,pw32*) | 17996 yes,cygwin* | yes,mingw* | yes,pw32*) |
15753 # DLL is installed to $(libdir)/../bin by postinstall_cmds | 17998 # DLL is installed to $(libdir)/../bin by postinstall_cmds |
15754 postinstall_cmds='base_file=`basename \${file}`~ | 17999 postinstall_cmds='base_file=`basename \${file}`~ |
15755 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ | 18000 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
15756 dldir=$destdir/`dirname \$dlpath`~ | 18001 dldir=$destdir/`dirname \$dlpath`~ |
15757 test -d \$dldir || mkdir -p \$dldir~ | 18002 test -d \$dldir || mkdir -p \$dldir~ |
15758 $install_prog $dir/$dlname \$dldir/$dlname' | 18003 $install_prog $dir/$dlname \$dldir/$dlname~ |
18004 chmod a+x \$dldir/$dlname' | |
15759 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 18005 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
15760 dlpath=$dir/\$dldll~ | 18006 dlpath=$dir/\$dldll~ |
15761 $rm \$dlpath' | 18007 $rm \$dlpath' |
15762 shlibpath_overrides_runpath=yes | 18008 shlibpath_overrides_runpath=yes |
15763 | 18009 |
15764 case $host_os in | 18010 case $host_os in |
15765 cygwin*) | 18011 cygwin*) |
15766 # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 18012 # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
15767 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 18013 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
15768 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" | 18014 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
15769 ;; | 18015 ;; |
15770 mingw*) | 18016 mingw*) |
15771 # MinGW DLLs use traditional 'lib' prefix | 18017 # MinGW DLLs use traditional 'lib' prefix |
15772 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 18018 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
15773 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 18019 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
15783 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` | 18029 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
15784 fi | 18030 fi |
15785 ;; | 18031 ;; |
15786 pw32*) | 18032 pw32*) |
15787 # pw32 DLLs use 'pw' prefix rather than 'lib' | 18033 # pw32 DLLs use 'pw' prefix rather than 'lib' |
15788 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' | 18034 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
15789 ;; | 18035 ;; |
15790 esac | 18036 esac |
15791 ;; | 18037 ;; |
15792 | 18038 |
15793 *) | 18039 *) |
15802 darwin* | rhapsody*) | 18048 darwin* | rhapsody*) |
15803 dynamic_linker="$host_os dyld" | 18049 dynamic_linker="$host_os dyld" |
15804 version_type=darwin | 18050 version_type=darwin |
15805 need_lib_prefix=no | 18051 need_lib_prefix=no |
15806 need_version=no | 18052 need_version=no |
15807 # FIXME: Relying on posixy $() will cause problems for | |
15808 # cross-compilation, but unfortunately the echo tests do not | |
15809 # yet detect zsh echo's removal of \ escapes. | |
15810 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 18053 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
15811 soname_spec='${libname}${release}${major}$shared_ext' | 18054 soname_spec='${libname}${release}${major}$shared_ext' |
15812 shlibpath_overrides_runpath=yes | 18055 shlibpath_overrides_runpath=yes |
15813 shlibpath_var=DYLD_LIBRARY_PATH | 18056 shlibpath_var=DYLD_LIBRARY_PATH |
15814 shrext='$(test .$module = .yes && echo .so || echo .dylib)' | 18057 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
15815 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. | 18058 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
15816 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 18059 if test "$GCC" = yes; then |
15817 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` | 18060 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
18061 else | |
18062 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' | |
15818 fi | 18063 fi |
15819 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 18064 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
15820 ;; | 18065 ;; |
15821 | 18066 |
15822 dgux*) | 18067 dgux*) |
15830 | 18075 |
15831 freebsd1*) | 18076 freebsd1*) |
15832 dynamic_linker=no | 18077 dynamic_linker=no |
15833 ;; | 18078 ;; |
15834 | 18079 |
15835 freebsd*) | 18080 kfreebsd*-gnu) |
15836 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 18081 version_type=linux |
18082 need_lib_prefix=no | |
18083 need_version=no | |
18084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
18085 soname_spec='${libname}${release}${shared_ext}$major' | |
18086 shlibpath_var=LD_LIBRARY_PATH | |
18087 shlibpath_overrides_runpath=no | |
18088 hardcode_into_libs=yes | |
18089 dynamic_linker='GNU ld.so' | |
18090 ;; | |
18091 | |
18092 freebsd* | dragonfly*) | |
18093 # DragonFly does not have aout. When/if they implement a new | |
18094 # versioning mechanism, adjust this. | |
18095 if test -x /usr/bin/objformat; then | |
18096 objformat=`/usr/bin/objformat` | |
18097 else | |
18098 case $host_os in | |
18099 freebsd[123]*) objformat=aout ;; | |
18100 *) objformat=elf ;; | |
18101 esac | |
18102 fi | |
15837 version_type=freebsd-$objformat | 18103 version_type=freebsd-$objformat |
15838 case $version_type in | 18104 case $version_type in |
15839 freebsd-elf*) | 18105 freebsd-elf*) |
15840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 18106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
15841 need_version=no | 18107 need_version=no |
15849 shlibpath_var=LD_LIBRARY_PATH | 18115 shlibpath_var=LD_LIBRARY_PATH |
15850 case $host_os in | 18116 case $host_os in |
15851 freebsd2*) | 18117 freebsd2*) |
15852 shlibpath_overrides_runpath=yes | 18118 shlibpath_overrides_runpath=yes |
15853 ;; | 18119 ;; |
15854 freebsd3.01* | freebsdelf3.01*) | 18120 freebsd3.[01]* | freebsdelf3.[01]*) |
15855 shlibpath_overrides_runpath=yes | 18121 shlibpath_overrides_runpath=yes |
15856 hardcode_into_libs=yes | 18122 hardcode_into_libs=yes |
15857 ;; | 18123 ;; |
15858 *) # from 3.2 on | 18124 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
18125 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) | |
15859 shlibpath_overrides_runpath=no | 18126 shlibpath_overrides_runpath=no |
18127 hardcode_into_libs=yes | |
18128 ;; | |
18129 freebsd*) # from 4.6 on | |
18130 shlibpath_overrides_runpath=yes | |
15860 hardcode_into_libs=yes | 18131 hardcode_into_libs=yes |
15861 ;; | 18132 ;; |
15862 esac | 18133 esac |
15863 ;; | 18134 ;; |
15864 | 18135 |
15876 # Give a soname corresponding to the major version so that dld.sl refuses to | 18147 # Give a soname corresponding to the major version so that dld.sl refuses to |
15877 # link against other versions. | 18148 # link against other versions. |
15878 version_type=sunos | 18149 version_type=sunos |
15879 need_lib_prefix=no | 18150 need_lib_prefix=no |
15880 need_version=no | 18151 need_version=no |
15881 case "$host_cpu" in | 18152 case $host_cpu in |
15882 ia64*) | 18153 ia64*) |
15883 shrext='.so' | 18154 shrext_cmds='.so' |
15884 hardcode_into_libs=yes | 18155 hardcode_into_libs=yes |
15885 dynamic_linker="$host_os dld.so" | 18156 dynamic_linker="$host_os dld.so" |
15886 shlibpath_var=LD_LIBRARY_PATH | 18157 shlibpath_var=LD_LIBRARY_PATH |
15887 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 18158 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
15888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 18159 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
15893 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 18164 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
15894 fi | 18165 fi |
15895 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 18166 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
15896 ;; | 18167 ;; |
15897 hppa*64*) | 18168 hppa*64*) |
15898 shrext='.sl' | 18169 shrext_cmds='.sl' |
15899 hardcode_into_libs=yes | 18170 hardcode_into_libs=yes |
15900 dynamic_linker="$host_os dld.sl" | 18171 dynamic_linker="$host_os dld.sl" |
15901 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 18172 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
15902 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 18173 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
15903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 18174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
15904 soname_spec='${libname}${release}${shared_ext}$major' | 18175 soname_spec='${libname}${release}${shared_ext}$major' |
15905 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 18176 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
15906 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 18177 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
15907 ;; | 18178 ;; |
15908 *) | 18179 *) |
15909 shrext='.sl' | 18180 shrext_cmds='.sl' |
15910 dynamic_linker="$host_os dld.sl" | 18181 dynamic_linker="$host_os dld.sl" |
15911 shlibpath_var=SHLIB_PATH | 18182 shlibpath_var=SHLIB_PATH |
15912 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 18183 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
15913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 18184 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
15914 soname_spec='${libname}${release}${shared_ext}$major' | 18185 soname_spec='${libname}${release}${shared_ext}$major' |
15915 ;; | 18186 ;; |
15916 esac | 18187 esac |
15917 # HP-UX runs *really* slowly unless shared libraries are mode 555. | 18188 # HP-UX runs *really* slowly unless shared libraries are mode 555. |
15918 postinstall_cmds='chmod 555 $lib' | 18189 postinstall_cmds='chmod 555 $lib' |
18190 ;; | |
18191 | |
18192 interix3*) | |
18193 version_type=linux | |
18194 need_lib_prefix=no | |
18195 need_version=no | |
18196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
18197 soname_spec='${libname}${release}${shared_ext}$major' | |
18198 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' | |
18199 shlibpath_var=LD_LIBRARY_PATH | |
18200 shlibpath_overrides_runpath=no | |
18201 hardcode_into_libs=yes | |
15919 ;; | 18202 ;; |
15920 | 18203 |
15921 irix5* | irix6* | nonstopux*) | 18204 irix5* | irix6* | nonstopux*) |
15922 case $host_os in | 18205 case $host_os in |
15923 nonstopux*) version_type=nonstopux ;; | 18206 nonstopux*) version_type=nonstopux ;; |
15973 # This implies no fast_install, which is unacceptable. | 18256 # This implies no fast_install, which is unacceptable. |
15974 # Some rework will be needed to allow for fast_install | 18257 # Some rework will be needed to allow for fast_install |
15975 # before this can be enabled. | 18258 # before this can be enabled. |
15976 hardcode_into_libs=yes | 18259 hardcode_into_libs=yes |
15977 | 18260 |
18261 # Append ld.so.conf contents to the search path | |
18262 if test -f /etc/ld.so.conf; then | |
18263 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` | |
18264 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | |
18265 fi | |
18266 | |
15978 # We used to test for /lib/ld.so.1 and disable shared libraries on | 18267 # We used to test for /lib/ld.so.1 and disable shared libraries on |
15979 # powerpc, because MkLinux only supported shared libraries with the | 18268 # powerpc, because MkLinux only supported shared libraries with the |
15980 # GNU dynamic linker. Since this was broken with cross compilers, | 18269 # GNU dynamic linker. Since this was broken with cross compilers, |
15981 # most powerpc-linux boxes support dynamic linking these days and | 18270 # most powerpc-linux boxes support dynamic linking these days and |
15982 # people can always --disable-shared, the test was removed, and we | 18271 # people can always --disable-shared, the test was removed, and we |
15983 # assume the GNU/Linux dynamic linker is in use. | 18272 # assume the GNU/Linux dynamic linker is in use. |
15984 dynamic_linker='GNU/Linux ld.so' | 18273 dynamic_linker='GNU/Linux ld.so' |
18274 ;; | |
18275 | |
18276 knetbsd*-gnu) | |
18277 version_type=linux | |
18278 need_lib_prefix=no | |
18279 need_version=no | |
18280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
18281 soname_spec='${libname}${release}${shared_ext}$major' | |
18282 shlibpath_var=LD_LIBRARY_PATH | |
18283 shlibpath_overrides_runpath=no | |
18284 hardcode_into_libs=yes | |
18285 dynamic_linker='GNU ld.so' | |
15985 ;; | 18286 ;; |
15986 | 18287 |
15987 netbsd*) | 18288 netbsd*) |
15988 version_type=sunos | 18289 version_type=sunos |
15989 need_lib_prefix=no | 18290 need_lib_prefix=no |
15991 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 18292 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
15992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 18293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
15993 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 18294 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
15994 dynamic_linker='NetBSD (a.out) ld.so' | 18295 dynamic_linker='NetBSD (a.out) ld.so' |
15995 else | 18296 else |
15996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' | 18297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
15997 soname_spec='${libname}${release}${shared_ext}$major' | 18298 soname_spec='${libname}${release}${shared_ext}$major' |
15998 dynamic_linker='NetBSD ld.elf_so' | 18299 dynamic_linker='NetBSD ld.elf_so' |
15999 fi | 18300 fi |
16000 shlibpath_var=LD_LIBRARY_PATH | 18301 shlibpath_var=LD_LIBRARY_PATH |
16001 shlibpath_overrides_runpath=yes | 18302 shlibpath_overrides_runpath=yes |
16007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 18308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
16008 shlibpath_var=LD_LIBRARY_PATH | 18309 shlibpath_var=LD_LIBRARY_PATH |
16009 shlibpath_overrides_runpath=yes | 18310 shlibpath_overrides_runpath=yes |
16010 ;; | 18311 ;; |
16011 | 18312 |
16012 nto-qnx) | 18313 nto-qnx*) |
16013 version_type=linux | 18314 version_type=linux |
16014 need_lib_prefix=no | 18315 need_lib_prefix=no |
16015 need_version=no | 18316 need_version=no |
16016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 18317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
16017 soname_spec='${libname}${release}${shared_ext}$major' | 18318 soname_spec='${libname}${release}${shared_ext}$major' |
16019 shlibpath_overrides_runpath=yes | 18320 shlibpath_overrides_runpath=yes |
16020 ;; | 18321 ;; |
16021 | 18322 |
16022 openbsd*) | 18323 openbsd*) |
16023 version_type=sunos | 18324 version_type=sunos |
18325 sys_lib_dlsearch_path_spec="/usr/lib" | |
16024 need_lib_prefix=no | 18326 need_lib_prefix=no |
16025 need_version=no | 18327 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
18328 case $host_os in | |
18329 openbsd3.3 | openbsd3.3.*) need_version=yes ;; | |
18330 *) need_version=no ;; | |
18331 esac | |
16026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 18332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
16027 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 18333 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
16028 shlibpath_var=LD_LIBRARY_PATH | 18334 shlibpath_var=LD_LIBRARY_PATH |
16029 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 18335 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
16030 case $host_os in | 18336 case $host_os in |
16040 fi | 18346 fi |
16041 ;; | 18347 ;; |
16042 | 18348 |
16043 os2*) | 18349 os2*) |
16044 libname_spec='$name' | 18350 libname_spec='$name' |
16045 shrext=".dll" | 18351 shrext_cmds=".dll" |
16046 need_lib_prefix=no | 18352 need_lib_prefix=no |
16047 library_names_spec='$libname${shared_ext} $libname.a' | 18353 library_names_spec='$libname${shared_ext} $libname.a' |
16048 dynamic_linker='OS/2 ld.exe' | 18354 dynamic_linker='OS/2 ld.exe' |
16049 shlibpath_var=LIBPATH | 18355 shlibpath_var=LIBPATH |
16050 ;; | 18356 ;; |
16056 soname_spec='${libname}${release}${shared_ext}$major' | 18362 soname_spec='${libname}${release}${shared_ext}$major' |
16057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 18363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
16058 shlibpath_var=LD_LIBRARY_PATH | 18364 shlibpath_var=LD_LIBRARY_PATH |
16059 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 18365 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
16060 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 18366 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
16061 ;; | |
16062 | |
16063 sco3.2v5*) | |
16064 version_type=osf | |
16065 soname_spec='${libname}${release}${shared_ext}$major' | |
16066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | |
16067 shlibpath_var=LD_LIBRARY_PATH | |
16068 ;; | 18367 ;; |
16069 | 18368 |
16070 solaris*) | 18369 solaris*) |
16071 version_type=linux | 18370 version_type=linux |
16072 need_lib_prefix=no | 18371 need_lib_prefix=no |
16090 need_lib_prefix=no | 18389 need_lib_prefix=no |
16091 fi | 18390 fi |
16092 need_version=yes | 18391 need_version=yes |
16093 ;; | 18392 ;; |
16094 | 18393 |
16095 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 18394 sysv4 | sysv4.3*) |
16096 version_type=linux | 18395 version_type=linux |
16097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 18396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
16098 soname_spec='${libname}${release}${shared_ext}$major' | 18397 soname_spec='${libname}${release}${shared_ext}$major' |
16099 shlibpath_var=LD_LIBRARY_PATH | 18398 shlibpath_var=LD_LIBRARY_PATH |
16100 case $host_vendor in | 18399 case $host_vendor in |
16123 soname_spec='$libname${shared_ext}.$major' | 18422 soname_spec='$libname${shared_ext}.$major' |
16124 shlibpath_var=LD_LIBRARY_PATH | 18423 shlibpath_var=LD_LIBRARY_PATH |
16125 fi | 18424 fi |
16126 ;; | 18425 ;; |
16127 | 18426 |
18427 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | |
18428 version_type=freebsd-elf | |
18429 need_lib_prefix=no | |
18430 need_version=no | |
18431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | |
18432 soname_spec='${libname}${release}${shared_ext}$major' | |
18433 shlibpath_var=LD_LIBRARY_PATH | |
18434 hardcode_into_libs=yes | |
18435 if test "$with_gnu_ld" = yes; then | |
18436 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' | |
18437 shlibpath_overrides_runpath=no | |
18438 else | |
18439 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' | |
18440 shlibpath_overrides_runpath=yes | |
18441 case $host_os in | |
18442 sco3.2v5*) | |
18443 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" | |
18444 ;; | |
18445 esac | |
18446 fi | |
18447 sys_lib_dlsearch_path_spec='/usr/lib' | |
18448 ;; | |
18449 | |
16128 uts4*) | 18450 uts4*) |
16129 version_type=linux | 18451 version_type=linux |
16130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 18452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
16131 soname_spec='${libname}${release}${shared_ext}$major' | 18453 soname_spec='${libname}${release}${shared_ext}$major' |
16132 shlibpath_var=LD_LIBRARY_PATH | 18454 shlibpath_var=LD_LIBRARY_PATH |
16134 | 18456 |
16135 *) | 18457 *) |
16136 dynamic_linker=no | 18458 dynamic_linker=no |
16137 ;; | 18459 ;; |
16138 esac | 18460 esac |
16139 echo "$as_me:$LINENO: result: $dynamic_linker" >&5 | 18461 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
16140 echo "${ECHO_T}$dynamic_linker" >&6 | 18462 echo "${ECHO_T}$dynamic_linker" >&6; } |
16141 test "$dynamic_linker" = no && can_build_shared=no | 18463 test "$dynamic_linker" = no && can_build_shared=no |
16142 | 18464 |
16143 if test "x$enable_dlopen" != xyes; then | 18465 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
16144 enable_dlopen=unknown | 18466 if test "$GCC" = yes; then |
16145 enable_dlopen_self=unknown | 18467 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
16146 enable_dlopen_self_static=unknown | 18468 fi |
16147 else | 18469 |
16148 lt_cv_dlopen=no | 18470 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
16149 lt_cv_dlopen_libs= | 18471 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } |
16150 | 18472 hardcode_action_GCJ= |
16151 case $host_os in | 18473 if test -n "$hardcode_libdir_flag_spec_GCJ" || \ |
16152 beos*) | 18474 test -n "$runpath_var_GCJ" || \ |
16153 lt_cv_dlopen="load_add_on" | 18475 test "X$hardcode_automatic_GCJ" = "Xyes" ; then |
16154 lt_cv_dlopen_libs= | 18476 |
16155 lt_cv_dlopen_self=yes | 18477 # We can hardcode non-existant directories. |
16156 ;; | 18478 if test "$hardcode_direct_GCJ" != no && |
16157 | 18479 # If the only mechanism to avoid hardcoding is shlibpath_var, we |
16158 mingw* | pw32*) | 18480 # have to relink, otherwise we might link with an installed library |
16159 lt_cv_dlopen="LoadLibrary" | 18481 # when we should be linking with a yet-to-be-installed one |
16160 lt_cv_dlopen_libs= | 18482 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && |
16161 ;; | 18483 test "$hardcode_minus_L_GCJ" != no; then |
16162 | 18484 # Linking always hardcodes the temporary library directory. |
16163 cygwin*) | 18485 hardcode_action_GCJ=relink |
16164 lt_cv_dlopen="dlopen" | |
16165 lt_cv_dlopen_libs= | |
16166 ;; | |
16167 | |
16168 darwin*) | |
16169 # if libdl is installed we need to link against it | |
16170 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | |
16171 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | |
16172 if test "${ac_cv_lib_dl_dlopen+set}" = set; then | |
16173 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
16174 else | |
16175 ac_check_lib_save_LIBS=$LIBS | |
16176 LIBS="-ldl $LIBS" | |
16177 cat >conftest.$ac_ext <<_ACEOF | |
16178 #line $LINENO "configure" | |
16179 #include "confdefs.h" | |
16180 | |
16181 /* Override any gcc2 internal prototype to avoid an error. */ | |
16182 #ifdef __cplusplus | |
16183 extern "C" | |
16184 #endif | |
16185 /* We use char because int might match the return type of a gcc2 | |
16186 builtin and then its argument prototype would still apply. */ | |
16187 char dlopen (); | |
16188 #ifdef F77_DUMMY_MAIN | |
16189 # ifdef __cplusplus | |
16190 extern "C" | |
16191 # endif | |
16192 int F77_DUMMY_MAIN() { return 1; } | |
16193 #endif | |
16194 int | |
16195 main () | |
16196 { | |
16197 dlopen (); | |
16198 ; | |
16199 return 0; | |
16200 } | |
16201 _ACEOF | |
16202 rm -f conftest.$ac_objext conftest$ac_exeext | |
16203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
16204 (eval $ac_link) 2>&5 | |
16205 ac_status=$? | |
16206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16207 (exit $ac_status); } && | |
16208 { ac_try='test -s conftest$ac_exeext' | |
16209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16210 (eval $ac_try) 2>&5 | |
16211 ac_status=$? | |
16212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16213 (exit $ac_status); }; }; then | |
16214 ac_cv_lib_dl_dlopen=yes | |
16215 else | |
16216 echo "$as_me: failed program was:" >&5 | |
16217 cat conftest.$ac_ext >&5 | |
16218 ac_cv_lib_dl_dlopen=no | |
16219 fi | |
16220 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
16221 LIBS=$ac_check_lib_save_LIBS | |
16222 fi | |
16223 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | |
16224 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | |
16225 if test $ac_cv_lib_dl_dlopen = yes; then | |
16226 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | |
16227 else | |
16228 | |
16229 lt_cv_dlopen="dyld" | |
16230 lt_cv_dlopen_libs= | |
16231 lt_cv_dlopen_self=yes | |
16232 | |
16233 fi | |
16234 | |
16235 ;; | |
16236 | |
16237 *) | |
16238 echo "$as_me:$LINENO: checking for shl_load" >&5 | |
16239 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 | |
16240 if test "${ac_cv_func_shl_load+set}" = set; then | |
16241 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
16242 else | |
16243 cat >conftest.$ac_ext <<_ACEOF | |
16244 #line $LINENO "configure" | |
16245 #include "confdefs.h" | |
16246 /* System header to define __stub macros and hopefully few prototypes, | |
16247 which can conflict with char shl_load (); below. */ | |
16248 #include <assert.h> | |
16249 /* Override any gcc2 internal prototype to avoid an error. */ | |
16250 #ifdef __cplusplus | |
16251 extern "C" | |
16252 #endif | |
16253 /* We use char because int might match the return type of a gcc2 | |
16254 builtin and then its argument prototype would still apply. */ | |
16255 char shl_load (); | |
16256 char (*f) (); | |
16257 | |
16258 #ifdef F77_DUMMY_MAIN | |
16259 # ifdef __cplusplus | |
16260 extern "C" | |
16261 # endif | |
16262 int F77_DUMMY_MAIN() { return 1; } | |
16263 #endif | |
16264 int | |
16265 main () | |
16266 { | |
16267 /* The GNU C library defines this for functions which it implements | |
16268 to always fail with ENOSYS. Some functions are actually named | |
16269 something starting with __ and the normal name is an alias. */ | |
16270 #if defined (__stub_shl_load) || defined (__stub___shl_load) | |
16271 choke me | |
16272 #else | |
16273 f = shl_load; | |
16274 #endif | |
16275 | |
16276 ; | |
16277 return 0; | |
16278 } | |
16279 _ACEOF | |
16280 rm -f conftest.$ac_objext conftest$ac_exeext | |
16281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
16282 (eval $ac_link) 2>&5 | |
16283 ac_status=$? | |
16284 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16285 (exit $ac_status); } && | |
16286 { ac_try='test -s conftest$ac_exeext' | |
16287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16288 (eval $ac_try) 2>&5 | |
16289 ac_status=$? | |
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16291 (exit $ac_status); }; }; then | |
16292 ac_cv_func_shl_load=yes | |
16293 else | |
16294 echo "$as_me: failed program was:" >&5 | |
16295 cat conftest.$ac_ext >&5 | |
16296 ac_cv_func_shl_load=no | |
16297 fi | |
16298 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
16299 fi | |
16300 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 | |
16301 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 | |
16302 if test $ac_cv_func_shl_load = yes; then | |
16303 lt_cv_dlopen="shl_load" | |
16304 else | |
16305 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 | |
16306 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 | |
16307 if test "${ac_cv_lib_dld_shl_load+set}" = set; then | |
16308 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
16309 else | |
16310 ac_check_lib_save_LIBS=$LIBS | |
16311 LIBS="-ldld $LIBS" | |
16312 cat >conftest.$ac_ext <<_ACEOF | |
16313 #line $LINENO "configure" | |
16314 #include "confdefs.h" | |
16315 | |
16316 /* Override any gcc2 internal prototype to avoid an error. */ | |
16317 #ifdef __cplusplus | |
16318 extern "C" | |
16319 #endif | |
16320 /* We use char because int might match the return type of a gcc2 | |
16321 builtin and then its argument prototype would still apply. */ | |
16322 char shl_load (); | |
16323 #ifdef F77_DUMMY_MAIN | |
16324 # ifdef __cplusplus | |
16325 extern "C" | |
16326 # endif | |
16327 int F77_DUMMY_MAIN() { return 1; } | |
16328 #endif | |
16329 int | |
16330 main () | |
16331 { | |
16332 shl_load (); | |
16333 ; | |
16334 return 0; | |
16335 } | |
16336 _ACEOF | |
16337 rm -f conftest.$ac_objext conftest$ac_exeext | |
16338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
16339 (eval $ac_link) 2>&5 | |
16340 ac_status=$? | |
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16342 (exit $ac_status); } && | |
16343 { ac_try='test -s conftest$ac_exeext' | |
16344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16345 (eval $ac_try) 2>&5 | |
16346 ac_status=$? | |
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16348 (exit $ac_status); }; }; then | |
16349 ac_cv_lib_dld_shl_load=yes | |
16350 else | |
16351 echo "$as_me: failed program was:" >&5 | |
16352 cat conftest.$ac_ext >&5 | |
16353 ac_cv_lib_dld_shl_load=no | |
16354 fi | |
16355 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
16356 LIBS=$ac_check_lib_save_LIBS | |
16357 fi | |
16358 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 | |
16359 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 | |
16360 if test $ac_cv_lib_dld_shl_load = yes; then | |
16361 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" | |
16362 else | |
16363 echo "$as_me:$LINENO: checking for dlopen" >&5 | |
16364 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 | |
16365 if test "${ac_cv_func_dlopen+set}" = set; then | |
16366 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
16367 else | |
16368 cat >conftest.$ac_ext <<_ACEOF | |
16369 #line $LINENO "configure" | |
16370 #include "confdefs.h" | |
16371 /* System header to define __stub macros and hopefully few prototypes, | |
16372 which can conflict with char dlopen (); below. */ | |
16373 #include <assert.h> | |
16374 /* Override any gcc2 internal prototype to avoid an error. */ | |
16375 #ifdef __cplusplus | |
16376 extern "C" | |
16377 #endif | |
16378 /* We use char because int might match the return type of a gcc2 | |
16379 builtin and then its argument prototype would still apply. */ | |
16380 char dlopen (); | |
16381 char (*f) (); | |
16382 | |
16383 #ifdef F77_DUMMY_MAIN | |
16384 # ifdef __cplusplus | |
16385 extern "C" | |
16386 # endif | |
16387 int F77_DUMMY_MAIN() { return 1; } | |
16388 #endif | |
16389 int | |
16390 main () | |
16391 { | |
16392 /* The GNU C library defines this for functions which it implements | |
16393 to always fail with ENOSYS. Some functions are actually named | |
16394 something starting with __ and the normal name is an alias. */ | |
16395 #if defined (__stub_dlopen) || defined (__stub___dlopen) | |
16396 choke me | |
16397 #else | |
16398 f = dlopen; | |
16399 #endif | |
16400 | |
16401 ; | |
16402 return 0; | |
16403 } | |
16404 _ACEOF | |
16405 rm -f conftest.$ac_objext conftest$ac_exeext | |
16406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
16407 (eval $ac_link) 2>&5 | |
16408 ac_status=$? | |
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16410 (exit $ac_status); } && | |
16411 { ac_try='test -s conftest$ac_exeext' | |
16412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16413 (eval $ac_try) 2>&5 | |
16414 ac_status=$? | |
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16416 (exit $ac_status); }; }; then | |
16417 ac_cv_func_dlopen=yes | |
16418 else | |
16419 echo "$as_me: failed program was:" >&5 | |
16420 cat conftest.$ac_ext >&5 | |
16421 ac_cv_func_dlopen=no | |
16422 fi | |
16423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
16424 fi | |
16425 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 | |
16426 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 | |
16427 if test $ac_cv_func_dlopen = yes; then | |
16428 lt_cv_dlopen="dlopen" | |
16429 else | |
16430 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | |
16431 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | |
16432 if test "${ac_cv_lib_dl_dlopen+set}" = set; then | |
16433 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
16434 else | |
16435 ac_check_lib_save_LIBS=$LIBS | |
16436 LIBS="-ldl $LIBS" | |
16437 cat >conftest.$ac_ext <<_ACEOF | |
16438 #line $LINENO "configure" | |
16439 #include "confdefs.h" | |
16440 | |
16441 /* Override any gcc2 internal prototype to avoid an error. */ | |
16442 #ifdef __cplusplus | |
16443 extern "C" | |
16444 #endif | |
16445 /* We use char because int might match the return type of a gcc2 | |
16446 builtin and then its argument prototype would still apply. */ | |
16447 char dlopen (); | |
16448 #ifdef F77_DUMMY_MAIN | |
16449 # ifdef __cplusplus | |
16450 extern "C" | |
16451 # endif | |
16452 int F77_DUMMY_MAIN() { return 1; } | |
16453 #endif | |
16454 int | |
16455 main () | |
16456 { | |
16457 dlopen (); | |
16458 ; | |
16459 return 0; | |
16460 } | |
16461 _ACEOF | |
16462 rm -f conftest.$ac_objext conftest$ac_exeext | |
16463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
16464 (eval $ac_link) 2>&5 | |
16465 ac_status=$? | |
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16467 (exit $ac_status); } && | |
16468 { ac_try='test -s conftest$ac_exeext' | |
16469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16470 (eval $ac_try) 2>&5 | |
16471 ac_status=$? | |
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16473 (exit $ac_status); }; }; then | |
16474 ac_cv_lib_dl_dlopen=yes | |
16475 else | |
16476 echo "$as_me: failed program was:" >&5 | |
16477 cat conftest.$ac_ext >&5 | |
16478 ac_cv_lib_dl_dlopen=no | |
16479 fi | |
16480 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
16481 LIBS=$ac_check_lib_save_LIBS | |
16482 fi | |
16483 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | |
16484 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | |
16485 if test $ac_cv_lib_dl_dlopen = yes; then | |
16486 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | |
16487 else | |
16488 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 | |
16489 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 | |
16490 if test "${ac_cv_lib_svld_dlopen+set}" = set; then | |
16491 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
16492 else | |
16493 ac_check_lib_save_LIBS=$LIBS | |
16494 LIBS="-lsvld $LIBS" | |
16495 cat >conftest.$ac_ext <<_ACEOF | |
16496 #line $LINENO "configure" | |
16497 #include "confdefs.h" | |
16498 | |
16499 /* Override any gcc2 internal prototype to avoid an error. */ | |
16500 #ifdef __cplusplus | |
16501 extern "C" | |
16502 #endif | |
16503 /* We use char because int might match the return type of a gcc2 | |
16504 builtin and then its argument prototype would still apply. */ | |
16505 char dlopen (); | |
16506 #ifdef F77_DUMMY_MAIN | |
16507 # ifdef __cplusplus | |
16508 extern "C" | |
16509 # endif | |
16510 int F77_DUMMY_MAIN() { return 1; } | |
16511 #endif | |
16512 int | |
16513 main () | |
16514 { | |
16515 dlopen (); | |
16516 ; | |
16517 return 0; | |
16518 } | |
16519 _ACEOF | |
16520 rm -f conftest.$ac_objext conftest$ac_exeext | |
16521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
16522 (eval $ac_link) 2>&5 | |
16523 ac_status=$? | |
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16525 (exit $ac_status); } && | |
16526 { ac_try='test -s conftest$ac_exeext' | |
16527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16528 (eval $ac_try) 2>&5 | |
16529 ac_status=$? | |
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16531 (exit $ac_status); }; }; then | |
16532 ac_cv_lib_svld_dlopen=yes | |
16533 else | |
16534 echo "$as_me: failed program was:" >&5 | |
16535 cat conftest.$ac_ext >&5 | |
16536 ac_cv_lib_svld_dlopen=no | |
16537 fi | |
16538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
16539 LIBS=$ac_check_lib_save_LIBS | |
16540 fi | |
16541 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 | |
16542 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 | |
16543 if test $ac_cv_lib_svld_dlopen = yes; then | |
16544 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | |
16545 else | |
16546 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 | |
16547 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 | |
16548 if test "${ac_cv_lib_dld_dld_link+set}" = set; then | |
16549 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
16550 else | |
16551 ac_check_lib_save_LIBS=$LIBS | |
16552 LIBS="-ldld $LIBS" | |
16553 cat >conftest.$ac_ext <<_ACEOF | |
16554 #line $LINENO "configure" | |
16555 #include "confdefs.h" | |
16556 | |
16557 /* Override any gcc2 internal prototype to avoid an error. */ | |
16558 #ifdef __cplusplus | |
16559 extern "C" | |
16560 #endif | |
16561 /* We use char because int might match the return type of a gcc2 | |
16562 builtin and then its argument prototype would still apply. */ | |
16563 char dld_link (); | |
16564 #ifdef F77_DUMMY_MAIN | |
16565 # ifdef __cplusplus | |
16566 extern "C" | |
16567 # endif | |
16568 int F77_DUMMY_MAIN() { return 1; } | |
16569 #endif | |
16570 int | |
16571 main () | |
16572 { | |
16573 dld_link (); | |
16574 ; | |
16575 return 0; | |
16576 } | |
16577 _ACEOF | |
16578 rm -f conftest.$ac_objext conftest$ac_exeext | |
16579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
16580 (eval $ac_link) 2>&5 | |
16581 ac_status=$? | |
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16583 (exit $ac_status); } && | |
16584 { ac_try='test -s conftest$ac_exeext' | |
16585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
16586 (eval $ac_try) 2>&5 | |
16587 ac_status=$? | |
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16589 (exit $ac_status); }; }; then | |
16590 ac_cv_lib_dld_dld_link=yes | |
16591 else | |
16592 echo "$as_me: failed program was:" >&5 | |
16593 cat conftest.$ac_ext >&5 | |
16594 ac_cv_lib_dld_dld_link=no | |
16595 fi | |
16596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
16597 LIBS=$ac_check_lib_save_LIBS | |
16598 fi | |
16599 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 | |
16600 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 | |
16601 if test $ac_cv_lib_dld_dld_link = yes; then | |
16602 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" | |
16603 fi | |
16604 | |
16605 | |
16606 fi | |
16607 | |
16608 | |
16609 fi | |
16610 | |
16611 | |
16612 fi | |
16613 | |
16614 | |
16615 fi | |
16616 | |
16617 | |
16618 fi | |
16619 | |
16620 ;; | |
16621 esac | |
16622 | |
16623 if test "x$lt_cv_dlopen" != xno; then | |
16624 enable_dlopen=yes | |
16625 else | 18486 else |
16626 enable_dlopen=no | 18487 # We can link without hardcoding, and we can hardcode nonexisting dirs. |
18488 hardcode_action_GCJ=immediate | |
16627 fi | 18489 fi |
16628 | 18490 else |
16629 case $lt_cv_dlopen in | 18491 # We cannot hardcode anything, or else we can only hardcode existing |
16630 dlopen) | 18492 # directories. |
16631 save_CPPFLAGS="$CPPFLAGS" | 18493 hardcode_action_GCJ=unsupported |
16632 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 18494 fi |
16633 | 18495 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 |
16634 save_LDFLAGS="$LDFLAGS" | 18496 echo "${ECHO_T}$hardcode_action_GCJ" >&6; } |
16635 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 18497 |
16636 | 18498 if test "$hardcode_action_GCJ" = relink; then |
16637 save_LIBS="$LIBS" | 18499 # Fast installation is not supported |
16638 LIBS="$lt_cv_dlopen_libs $LIBS" | 18500 enable_fast_install=no |
16639 | 18501 elif test "$shlibpath_overrides_runpath" = yes || |
16640 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 | 18502 test "$enable_shared" = no; then |
16641 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 | 18503 # Fast installation is not necessary |
16642 if test "${lt_cv_dlopen_self+set}" = set; then | 18504 enable_fast_install=needless |
16643 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
16644 else | |
16645 if test "$cross_compiling" = yes; then : | |
16646 lt_cv_dlopen_self=cross | |
16647 else | |
16648 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | |
16649 lt_status=$lt_dlunknown | |
16650 cat > conftest.$ac_ext <<EOF | |
16651 #line 16651 "configure" | |
16652 #include "confdefs.h" | |
16653 | |
16654 #if HAVE_DLFCN_H | |
16655 #include <dlfcn.h> | |
16656 #endif | |
16657 | |
16658 #include <stdio.h> | |
16659 | |
16660 #ifdef RTLD_GLOBAL | |
16661 # define LT_DLGLOBAL RTLD_GLOBAL | |
16662 #else | |
16663 # ifdef DL_GLOBAL | |
16664 # define LT_DLGLOBAL DL_GLOBAL | |
16665 # else | |
16666 # define LT_DLGLOBAL 0 | |
16667 # endif | |
16668 #endif | |
16669 | |
16670 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | |
16671 find out it does not work in some platform. */ | |
16672 #ifndef LT_DLLAZY_OR_NOW | |
16673 # ifdef RTLD_LAZY | |
16674 # define LT_DLLAZY_OR_NOW RTLD_LAZY | |
16675 # else | |
16676 # ifdef DL_LAZY | |
16677 # define LT_DLLAZY_OR_NOW DL_LAZY | |
16678 # else | |
16679 # ifdef RTLD_NOW | |
16680 # define LT_DLLAZY_OR_NOW RTLD_NOW | |
16681 # else | |
16682 # ifdef DL_NOW | |
16683 # define LT_DLLAZY_OR_NOW DL_NOW | |
16684 # else | |
16685 # define LT_DLLAZY_OR_NOW 0 | |
16686 # endif | |
16687 # endif | |
16688 # endif | |
16689 # endif | |
16690 #endif | |
16691 | |
16692 #ifdef __cplusplus | |
16693 extern "C" void exit (int); | |
16694 #endif | |
16695 | |
16696 void fnord() { int i=42;} | |
16697 int main () | |
16698 { | |
16699 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | |
16700 int status = $lt_dlunknown; | |
16701 | |
16702 if (self) | |
16703 { | |
16704 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | |
16705 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | |
16706 /* dlclose (self); */ | |
16707 } | |
16708 | |
16709 exit (status); | |
16710 } | |
16711 EOF | |
16712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
16713 (eval $ac_link) 2>&5 | |
16714 ac_status=$? | |
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16716 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | |
16717 (./conftest; exit; ) 2>/dev/null | |
16718 lt_status=$? | |
16719 case x$lt_status in | |
16720 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | |
16721 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | |
16722 x$lt_unknown|x*) lt_cv_dlopen_self=no ;; | |
16723 esac | |
16724 else : | |
16725 # compilation failed | |
16726 lt_cv_dlopen_self=no | |
16727 fi | |
16728 fi | |
16729 rm -fr conftest* | |
16730 | |
16731 | |
16732 fi | |
16733 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 | |
16734 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 | |
16735 | |
16736 if test "x$lt_cv_dlopen_self" = xyes; then | |
16737 LDFLAGS="$LDFLAGS $link_static_flag" | |
16738 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 | |
16739 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 | |
16740 if test "${lt_cv_dlopen_self_static+set}" = set; then | |
16741 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
16742 else | |
16743 if test "$cross_compiling" = yes; then : | |
16744 lt_cv_dlopen_self_static=cross | |
16745 else | |
16746 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | |
16747 lt_status=$lt_dlunknown | |
16748 cat > conftest.$ac_ext <<EOF | |
16749 #line 16749 "configure" | |
16750 #include "confdefs.h" | |
16751 | |
16752 #if HAVE_DLFCN_H | |
16753 #include <dlfcn.h> | |
16754 #endif | |
16755 | |
16756 #include <stdio.h> | |
16757 | |
16758 #ifdef RTLD_GLOBAL | |
16759 # define LT_DLGLOBAL RTLD_GLOBAL | |
16760 #else | |
16761 # ifdef DL_GLOBAL | |
16762 # define LT_DLGLOBAL DL_GLOBAL | |
16763 # else | |
16764 # define LT_DLGLOBAL 0 | |
16765 # endif | |
16766 #endif | |
16767 | |
16768 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | |
16769 find out it does not work in some platform. */ | |
16770 #ifndef LT_DLLAZY_OR_NOW | |
16771 # ifdef RTLD_LAZY | |
16772 # define LT_DLLAZY_OR_NOW RTLD_LAZY | |
16773 # else | |
16774 # ifdef DL_LAZY | |
16775 # define LT_DLLAZY_OR_NOW DL_LAZY | |
16776 # else | |
16777 # ifdef RTLD_NOW | |
16778 # define LT_DLLAZY_OR_NOW RTLD_NOW | |
16779 # else | |
16780 # ifdef DL_NOW | |
16781 # define LT_DLLAZY_OR_NOW DL_NOW | |
16782 # else | |
16783 # define LT_DLLAZY_OR_NOW 0 | |
16784 # endif | |
16785 # endif | |
16786 # endif | |
16787 # endif | |
16788 #endif | |
16789 | |
16790 #ifdef __cplusplus | |
16791 extern "C" void exit (int); | |
16792 #endif | |
16793 | |
16794 void fnord() { int i=42;} | |
16795 int main () | |
16796 { | |
16797 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | |
16798 int status = $lt_dlunknown; | |
16799 | |
16800 if (self) | |
16801 { | |
16802 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | |
16803 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | |
16804 /* dlclose (self); */ | |
16805 } | |
16806 | |
16807 exit (status); | |
16808 } | |
16809 EOF | |
16810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
16811 (eval $ac_link) 2>&5 | |
16812 ac_status=$? | |
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
16814 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | |
16815 (./conftest; exit; ) 2>/dev/null | |
16816 lt_status=$? | |
16817 case x$lt_status in | |
16818 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | |
16819 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | |
16820 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; | |
16821 esac | |
16822 else : | |
16823 # compilation failed | |
16824 lt_cv_dlopen_self_static=no | |
16825 fi | |
16826 fi | |
16827 rm -fr conftest* | |
16828 | |
16829 | |
16830 fi | |
16831 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 | |
16832 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 | |
16833 fi | |
16834 | |
16835 CPPFLAGS="$save_CPPFLAGS" | |
16836 LDFLAGS="$save_LDFLAGS" | |
16837 LIBS="$save_LIBS" | |
16838 ;; | |
16839 esac | |
16840 | |
16841 case $lt_cv_dlopen_self in | |
16842 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | |
16843 *) enable_dlopen_self=unknown ;; | |
16844 esac | |
16845 | |
16846 case $lt_cv_dlopen_self_static in | |
16847 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | |
16848 *) enable_dlopen_self_static=unknown ;; | |
16849 esac | |
16850 fi | 18505 fi |
16851 | 18506 |
16852 | 18507 |
16853 # The else clause should only fire when bootstrapping the | 18508 # The else clause should only fire when bootstrapping the |
16854 # libtool distribution, otherwise you forgot to ship ltmain.sh | 18509 # libtool distribution, otherwise you forgot to ship ltmain.sh |
16861 setopt NO_GLOB_SUBST | 18516 setopt NO_GLOB_SUBST |
16862 fi | 18517 fi |
16863 # Now quote all the things that may contain metacharacters while being | 18518 # Now quote all the things that may contain metacharacters while being |
16864 # careful not to overquote the AC_SUBSTed values. We take copies of the | 18519 # careful not to overquote the AC_SUBSTed values. We take copies of the |
16865 # variables and quote the copies for generation of the libtool script. | 18520 # variables and quote the copies for generation of the libtool script. |
16866 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 18521 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
18522 SED SHELL STRIP \ | |
16867 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 18523 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
16868 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 18524 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
16869 deplibs_check_method reload_flag reload_cmds need_locks \ | 18525 deplibs_check_method reload_flag reload_cmds need_locks \ |
16870 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 18526 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
16871 lt_cv_sys_global_symbol_to_c_name_address \ | 18527 lt_cv_sys_global_symbol_to_c_name_address \ |
16961 fast_install=$enable_fast_install | 18617 fast_install=$enable_fast_install |
16962 | 18618 |
16963 # The host system. | 18619 # The host system. |
16964 host_alias=$host_alias | 18620 host_alias=$host_alias |
16965 host=$host | 18621 host=$host |
18622 host_os=$host_os | |
18623 | |
18624 # The build system. | |
18625 build_alias=$build_alias | |
18626 build=$build | |
18627 build_os=$build_os | |
16966 | 18628 |
16967 # An echo program that does not interpret backslashes. | 18629 # An echo program that does not interpret backslashes. |
16968 echo=$lt_echo | 18630 echo=$lt_echo |
16969 | 18631 |
16970 # The archiver. | 18632 # The archiver. |
16972 AR_FLAGS=$lt_AR_FLAGS | 18634 AR_FLAGS=$lt_AR_FLAGS |
16973 | 18635 |
16974 # A C compiler. | 18636 # A C compiler. |
16975 LTCC=$lt_LTCC | 18637 LTCC=$lt_LTCC |
16976 | 18638 |
18639 # LTCC compiler flags. | |
18640 LTCFLAGS=$lt_LTCFLAGS | |
18641 | |
16977 # A language-specific compiler. | 18642 # A language-specific compiler. |
16978 CC=$lt_compiler_GCJ | 18643 CC=$lt_compiler_GCJ |
16979 | 18644 |
16980 # Is the compiler the GNU C compiler? | 18645 # Is the compiler the GNU C compiler? |
16981 with_gcc=$GCC_GCJ | 18646 with_gcc=$GCC_GCJ |
16991 | 18656 |
16992 # A BSD-compatible nm program. | 18657 # A BSD-compatible nm program. |
16993 NM=$lt_NM | 18658 NM=$lt_NM |
16994 | 18659 |
16995 # A symbol stripping program | 18660 # A symbol stripping program |
16996 STRIP=$STRIP | 18661 STRIP=$lt_STRIP |
16997 | 18662 |
16998 # Used to examine libraries when file_magic_cmd begins "file" | 18663 # Used to examine libraries when file_magic_cmd begins "file" |
16999 MAGIC_CMD=$MAGIC_CMD | 18664 MAGIC_CMD=$MAGIC_CMD |
17000 | 18665 |
17001 # Used on cygwin: DLL creation program. | 18666 # Used on cygwin: DLL creation program. |
17022 | 18687 |
17023 # Old archive suffix (normally "a"). | 18688 # Old archive suffix (normally "a"). |
17024 libext="$libext" | 18689 libext="$libext" |
17025 | 18690 |
17026 # Shared library suffix (normally ".so"). | 18691 # Shared library suffix (normally ".so"). |
17027 shrext='$shrext' | 18692 shrext_cmds='$shrext_cmds' |
17028 | 18693 |
17029 # Executable file suffix (normally ""). | 18694 # Executable file suffix (normally ""). |
17030 exeext="$exeext" | 18695 exeext="$exeext" |
17031 | 18696 |
17032 # Additional compiler flags for building library objects. | 18697 # Additional compiler flags for building library objects. |
17037 max_cmd_len=$lt_cv_sys_max_cmd_len | 18702 max_cmd_len=$lt_cv_sys_max_cmd_len |
17038 | 18703 |
17039 # Does compiler simultaneously support -c and -o options? | 18704 # Does compiler simultaneously support -c and -o options? |
17040 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ | 18705 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ |
17041 | 18706 |
17042 # Must we lock files when doing compilation ? | 18707 # Must we lock files when doing compilation? |
17043 need_locks=$lt_need_locks | 18708 need_locks=$lt_need_locks |
17044 | 18709 |
17045 # Do we need the lib prefix for modules? | 18710 # Do we need the lib prefix for modules? |
17046 need_lib_prefix=$need_lib_prefix | 18711 need_lib_prefix=$need_lib_prefix |
17047 | 18712 |
17239 | 18904 |
17240 else | 18905 else |
17241 # If there is no Makefile yet, we rely on a make rule to execute | 18906 # If there is no Makefile yet, we rely on a make rule to execute |
17242 # `config.status --recheck' to rerun these tests and create the | 18907 # `config.status --recheck' to rerun these tests and create the |
17243 # libtool script then. | 18908 # libtool script then. |
17244 test -f Makefile && make "$ltmain" | 18909 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
18910 if test -f "$ltmain_in"; then | |
18911 test -f Makefile && make "$ltmain" | |
18912 fi | |
17245 fi | 18913 fi |
17246 | 18914 |
17247 | 18915 |
17248 ac_ext=c | 18916 ac_ext=c |
17249 ac_cpp='$CPP $CPPFLAGS' | 18917 ac_cpp='$CPP $CPPFLAGS' |
17259 ;; | 18927 ;; |
17260 | 18928 |
17261 RC) | 18929 RC) |
17262 | 18930 |
17263 | 18931 |
17264 | |
17265 # Source file extension for RC test sources. | 18932 # Source file extension for RC test sources. |
17266 ac_ext=rc | 18933 ac_ext=rc |
17267 | 18934 |
17268 # Object file extension for compiled RC test sources. | 18935 # Object file extension for compiled RC test sources. |
17269 objext=o | 18936 objext=o |
17278 # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 18945 # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
17279 | 18946 |
17280 # If no C compiler was specified, use CC. | 18947 # If no C compiler was specified, use CC. |
17281 LTCC=${LTCC-"$CC"} | 18948 LTCC=${LTCC-"$CC"} |
17282 | 18949 |
18950 # If no C compiler flags were specified, use CFLAGS. | |
18951 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | |
18952 | |
17283 # Allow CC to be a program name with arguments. | 18953 # Allow CC to be a program name with arguments. |
17284 compiler=$CC | 18954 compiler=$CC |
18955 | |
18956 | |
18957 # save warnings/boilerplate of simple test code | |
18958 ac_outfile=conftest.$ac_objext | |
18959 printf "$lt_simple_compile_test_code" >conftest.$ac_ext | |
18960 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | |
18961 _lt_compiler_boilerplate=`cat conftest.err` | |
18962 $rm conftest* | |
18963 | |
18964 ac_outfile=conftest.$ac_objext | |
18965 printf "$lt_simple_link_test_code" >conftest.$ac_ext | |
18966 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | |
18967 _lt_linker_boilerplate=`cat conftest.err` | |
18968 $rm conftest* | |
17285 | 18969 |
17286 | 18970 |
17287 # Allow CC to be a program name with arguments. | 18971 # Allow CC to be a program name with arguments. |
17288 lt_save_CC="$CC" | 18972 lt_save_CC="$CC" |
17289 CC=${RC-"windres"} | 18973 CC=${RC-"windres"} |
17290 compiler=$CC | 18974 compiler=$CC |
17291 compiler_RC=$CC | 18975 compiler_RC=$CC |
18976 for cc_temp in $compiler""; do | |
18977 case $cc_temp in | |
18978 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; | |
18979 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; | |
18980 \-*) ;; | |
18981 *) break;; | |
18982 esac | |
18983 done | |
18984 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` | |
18985 | |
17292 lt_cv_prog_compiler_c_o_RC=yes | 18986 lt_cv_prog_compiler_c_o_RC=yes |
17293 | 18987 |
17294 # The else clause should only fire when bootstrapping the | 18988 # The else clause should only fire when bootstrapping the |
17295 # libtool distribution, otherwise you forgot to ship ltmain.sh | 18989 # libtool distribution, otherwise you forgot to ship ltmain.sh |
17296 # with your package, and you will get complaints that there are | 18990 # with your package, and you will get complaints that there are |
17302 setopt NO_GLOB_SUBST | 18996 setopt NO_GLOB_SUBST |
17303 fi | 18997 fi |
17304 # Now quote all the things that may contain metacharacters while being | 18998 # Now quote all the things that may contain metacharacters while being |
17305 # careful not to overquote the AC_SUBSTed values. We take copies of the | 18999 # careful not to overquote the AC_SUBSTed values. We take copies of the |
17306 # variables and quote the copies for generation of the libtool script. | 19000 # variables and quote the copies for generation of the libtool script. |
17307 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 19001 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
19002 SED SHELL STRIP \ | |
17308 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 19003 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
17309 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 19004 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
17310 deplibs_check_method reload_flag reload_cmds need_locks \ | 19005 deplibs_check_method reload_flag reload_cmds need_locks \ |
17311 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 19006 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
17312 lt_cv_sys_global_symbol_to_c_name_address \ | 19007 lt_cv_sys_global_symbol_to_c_name_address \ |
17402 fast_install=$enable_fast_install | 19097 fast_install=$enable_fast_install |
17403 | 19098 |
17404 # The host system. | 19099 # The host system. |
17405 host_alias=$host_alias | 19100 host_alias=$host_alias |
17406 host=$host | 19101 host=$host |
19102 host_os=$host_os | |
19103 | |
19104 # The build system. | |
19105 build_alias=$build_alias | |
19106 build=$build | |
19107 build_os=$build_os | |
17407 | 19108 |
17408 # An echo program that does not interpret backslashes. | 19109 # An echo program that does not interpret backslashes. |
17409 echo=$lt_echo | 19110 echo=$lt_echo |
17410 | 19111 |
17411 # The archiver. | 19112 # The archiver. |
17413 AR_FLAGS=$lt_AR_FLAGS | 19114 AR_FLAGS=$lt_AR_FLAGS |
17414 | 19115 |
17415 # A C compiler. | 19116 # A C compiler. |
17416 LTCC=$lt_LTCC | 19117 LTCC=$lt_LTCC |
17417 | 19118 |
19119 # LTCC compiler flags. | |
19120 LTCFLAGS=$lt_LTCFLAGS | |
19121 | |
17418 # A language-specific compiler. | 19122 # A language-specific compiler. |
17419 CC=$lt_compiler_RC | 19123 CC=$lt_compiler_RC |
17420 | 19124 |
17421 # Is the compiler the GNU C compiler? | 19125 # Is the compiler the GNU C compiler? |
17422 with_gcc=$GCC_RC | 19126 with_gcc=$GCC_RC |
17432 | 19136 |
17433 # A BSD-compatible nm program. | 19137 # A BSD-compatible nm program. |
17434 NM=$lt_NM | 19138 NM=$lt_NM |
17435 | 19139 |
17436 # A symbol stripping program | 19140 # A symbol stripping program |
17437 STRIP=$STRIP | 19141 STRIP=$lt_STRIP |
17438 | 19142 |
17439 # Used to examine libraries when file_magic_cmd begins "file" | 19143 # Used to examine libraries when file_magic_cmd begins "file" |
17440 MAGIC_CMD=$MAGIC_CMD | 19144 MAGIC_CMD=$MAGIC_CMD |
17441 | 19145 |
17442 # Used on cygwin: DLL creation program. | 19146 # Used on cygwin: DLL creation program. |
17463 | 19167 |
17464 # Old archive suffix (normally "a"). | 19168 # Old archive suffix (normally "a"). |
17465 libext="$libext" | 19169 libext="$libext" |
17466 | 19170 |
17467 # Shared library suffix (normally ".so"). | 19171 # Shared library suffix (normally ".so"). |
17468 shrext='$shrext' | 19172 shrext_cmds='$shrext_cmds' |
17469 | 19173 |
17470 # Executable file suffix (normally ""). | 19174 # Executable file suffix (normally ""). |
17471 exeext="$exeext" | 19175 exeext="$exeext" |
17472 | 19176 |
17473 # Additional compiler flags for building library objects. | 19177 # Additional compiler flags for building library objects. |
17478 max_cmd_len=$lt_cv_sys_max_cmd_len | 19182 max_cmd_len=$lt_cv_sys_max_cmd_len |
17479 | 19183 |
17480 # Does compiler simultaneously support -c and -o options? | 19184 # Does compiler simultaneously support -c and -o options? |
17481 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC | 19185 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC |
17482 | 19186 |
17483 # Must we lock files when doing compilation ? | 19187 # Must we lock files when doing compilation? |
17484 need_locks=$lt_need_locks | 19188 need_locks=$lt_need_locks |
17485 | 19189 |
17486 # Do we need the lib prefix for modules? | 19190 # Do we need the lib prefix for modules? |
17487 need_lib_prefix=$need_lib_prefix | 19191 need_lib_prefix=$need_lib_prefix |
17488 | 19192 |
17680 | 19384 |
17681 else | 19385 else |
17682 # If there is no Makefile yet, we rely on a make rule to execute | 19386 # If there is no Makefile yet, we rely on a make rule to execute |
17683 # `config.status --recheck' to rerun these tests and create the | 19387 # `config.status --recheck' to rerun these tests and create the |
17684 # libtool script then. | 19388 # libtool script then. |
17685 test -f Makefile && make "$ltmain" | 19389 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
19390 if test -f "$ltmain_in"; then | |
19391 test -f Makefile && make "$ltmain" | |
19392 fi | |
17686 fi | 19393 fi |
17687 | 19394 |
17688 | 19395 |
17689 ac_ext=c | 19396 ac_ext=c |
17690 ac_cpp='$CPP $CPPFLAGS' | 19397 ac_cpp='$CPP $CPPFLAGS' |
17753 | 19460 |
17754 | 19461 |
17755 | 19462 |
17756 | 19463 |
17757 | 19464 |
17758 echo "$as_me:$LINENO: checking for library containing crypt" >&5 | 19465 { echo "$as_me:$LINENO: checking for library containing crypt" >&5 |
17759 echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6 | 19466 echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6; } |
17760 if test "${ac_cv_search_crypt+set}" = set; then | 19467 if test "${ac_cv_search_crypt+set}" = set; then |
17761 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19468 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17762 else | 19469 else |
17763 ac_func_search_save_LIBS=$LIBS | 19470 ac_func_search_save_LIBS=$LIBS |
17764 ac_cv_search_crypt=no | |
17765 cat >conftest.$ac_ext <<_ACEOF | 19471 cat >conftest.$ac_ext <<_ACEOF |
17766 #line $LINENO "configure" | 19472 /* confdefs.h. */ |
17767 #include "confdefs.h" | 19473 _ACEOF |
17768 | 19474 cat confdefs.h >>conftest.$ac_ext |
17769 /* Override any gcc2 internal prototype to avoid an error. */ | 19475 cat >>conftest.$ac_ext <<_ACEOF |
19476 /* end confdefs.h. */ | |
19477 | |
19478 /* Override any GCC internal prototype to avoid an error. | |
19479 Use char because int might match the return type of a GCC | |
19480 builtin and then its argument prototype would still apply. */ | |
17770 #ifdef __cplusplus | 19481 #ifdef __cplusplus |
17771 extern "C" | 19482 extern "C" |
17772 #endif | 19483 #endif |
17773 /* We use char because int might match the return type of a gcc2 | |
17774 builtin and then its argument prototype would still apply. */ | |
17775 char crypt (); | 19484 char crypt (); |
17776 #ifdef F77_DUMMY_MAIN | |
17777 # ifdef __cplusplus | |
17778 extern "C" | |
17779 # endif | |
17780 int F77_DUMMY_MAIN() { return 1; } | |
17781 #endif | |
17782 int | 19485 int |
17783 main () | 19486 main () |
17784 { | 19487 { |
17785 crypt (); | 19488 return crypt (); |
19489 ; | |
19490 return 0; | |
19491 } | |
19492 _ACEOF | |
19493 for ac_lib in '' crypt; do | |
19494 if test -z "$ac_lib"; then | |
19495 ac_res="none required" | |
19496 else | |
19497 ac_res=-l$ac_lib | |
19498 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
19499 fi | |
19500 rm -f conftest.$ac_objext conftest$ac_exeext | |
19501 if { (ac_try="$ac_link" | |
19502 case "(($ac_try" in | |
19503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19504 *) ac_try_echo=$ac_try;; | |
19505 esac | |
19506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19507 (eval "$ac_link") 2>conftest.er1 | |
19508 ac_status=$? | |
19509 grep -v '^ *+' conftest.er1 >conftest.err | |
19510 rm -f conftest.er1 | |
19511 cat conftest.err >&5 | |
19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19513 (exit $ac_status); } && | |
19514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
19515 { (case "(($ac_try" in | |
19516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19517 *) ac_try_echo=$ac_try;; | |
19518 esac | |
19519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19520 (eval "$ac_try") 2>&5 | |
19521 ac_status=$? | |
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19523 (exit $ac_status); }; } && | |
19524 { ac_try='test -s conftest$ac_exeext' | |
19525 { (case "(($ac_try" in | |
19526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19527 *) ac_try_echo=$ac_try;; | |
19528 esac | |
19529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19530 (eval "$ac_try") 2>&5 | |
19531 ac_status=$? | |
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19533 (exit $ac_status); }; }; then | |
19534 ac_cv_search_crypt=$ac_res | |
19535 else | |
19536 echo "$as_me: failed program was:" >&5 | |
19537 sed 's/^/| /' conftest.$ac_ext >&5 | |
19538 | |
19539 | |
19540 fi | |
19541 | |
19542 rm -f core conftest.err conftest.$ac_objext \ | |
19543 conftest$ac_exeext | |
19544 if test "${ac_cv_search_crypt+set}" = set; then | |
19545 break | |
19546 fi | |
19547 done | |
19548 if test "${ac_cv_search_crypt+set}" = set; then | |
19549 : | |
19550 else | |
19551 ac_cv_search_crypt=no | |
19552 fi | |
19553 rm conftest.$ac_ext | |
19554 LIBS=$ac_func_search_save_LIBS | |
19555 fi | |
19556 { echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5 | |
19557 echo "${ECHO_T}$ac_cv_search_crypt" >&6; } | |
19558 ac_res=$ac_cv_search_crypt | |
19559 if test "$ac_res" != no; then | |
19560 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
19561 | |
19562 fi | |
19563 | |
19564 | |
19565 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 | |
19566 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; } | |
19567 if test "${ac_cv_lib_socket_connect+set}" = set; then | |
19568 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
19569 else | |
19570 ac_check_lib_save_LIBS=$LIBS | |
19571 LIBS="-lsocket $LIBS" | |
19572 cat >conftest.$ac_ext <<_ACEOF | |
19573 /* confdefs.h. */ | |
19574 _ACEOF | |
19575 cat confdefs.h >>conftest.$ac_ext | |
19576 cat >>conftest.$ac_ext <<_ACEOF | |
19577 /* end confdefs.h. */ | |
19578 | |
19579 /* Override any GCC internal prototype to avoid an error. | |
19580 Use char because int might match the return type of a GCC | |
19581 builtin and then its argument prototype would still apply. */ | |
19582 #ifdef __cplusplus | |
19583 extern "C" | |
19584 #endif | |
19585 char connect (); | |
19586 int | |
19587 main () | |
19588 { | |
19589 return connect (); | |
17786 ; | 19590 ; |
17787 return 0; | 19591 return 0; |
17788 } | 19592 } |
17789 _ACEOF | 19593 _ACEOF |
17790 rm -f conftest.$ac_objext conftest$ac_exeext | 19594 rm -f conftest.$ac_objext conftest$ac_exeext |
17791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 19595 if { (ac_try="$ac_link" |
17792 (eval $ac_link) 2>&5 | 19596 case "(($ac_try" in |
19597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19598 *) ac_try_echo=$ac_try;; | |
19599 esac | |
19600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19601 (eval "$ac_link") 2>conftest.er1 | |
19602 ac_status=$? | |
19603 grep -v '^ *+' conftest.er1 >conftest.err | |
19604 rm -f conftest.er1 | |
19605 cat conftest.err >&5 | |
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19607 (exit $ac_status); } && | |
19608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
19609 { (case "(($ac_try" in | |
19610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19611 *) ac_try_echo=$ac_try;; | |
19612 esac | |
19613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19614 (eval "$ac_try") 2>&5 | |
17793 ac_status=$? | 19615 ac_status=$? |
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17795 (exit $ac_status); } && | 19617 (exit $ac_status); }; } && |
17796 { ac_try='test -s conftest$ac_exeext' | 19618 { ac_try='test -s conftest$ac_exeext' |
17797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19619 { (case "(($ac_try" in |
17798 (eval $ac_try) 2>&5 | 19620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19621 *) ac_try_echo=$ac_try;; | |
19622 esac | |
19623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19624 (eval "$ac_try") 2>&5 | |
17799 ac_status=$? | 19625 ac_status=$? |
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17801 (exit $ac_status); }; }; then | 19627 (exit $ac_status); }; }; then |
17802 ac_cv_search_crypt="none required" | 19628 ac_cv_lib_socket_connect=yes |
17803 else | 19629 else |
17804 echo "$as_me: failed program was:" >&5 | 19630 echo "$as_me: failed program was:" >&5 |
17805 cat conftest.$ac_ext >&5 | 19631 sed 's/^/| /' conftest.$ac_ext >&5 |
17806 fi | 19632 |
17807 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 19633 ac_cv_lib_socket_connect=no |
17808 if test "$ac_cv_search_crypt" = no; then | 19634 fi |
17809 for ac_lib in crypt; do | 19635 |
17810 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 19636 rm -f core conftest.err conftest.$ac_objext \ |
17811 cat >conftest.$ac_ext <<_ACEOF | 19637 conftest$ac_exeext conftest.$ac_ext |
17812 #line $LINENO "configure" | 19638 LIBS=$ac_check_lib_save_LIBS |
17813 #include "confdefs.h" | 19639 fi |
17814 | 19640 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 |
17815 /* Override any gcc2 internal prototype to avoid an error. */ | 19641 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; } |
19642 if test $ac_cv_lib_socket_connect = yes; then | |
19643 cat >>confdefs.h <<_ACEOF | |
19644 #define HAVE_LIBSOCKET 1 | |
19645 _ACEOF | |
19646 | |
19647 LIBS="-lsocket $LIBS" | |
19648 | |
19649 fi | |
19650 | |
19651 | |
19652 { echo "$as_me:$LINENO: checking for getservbyname in -lbind" >&5 | |
19653 echo $ECHO_N "checking for getservbyname in -lbind... $ECHO_C" >&6; } | |
19654 if test "${ac_cv_lib_bind_getservbyname+set}" = set; then | |
19655 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
19656 else | |
19657 ac_check_lib_save_LIBS=$LIBS | |
19658 LIBS="-lbind $LIBS" | |
19659 cat >conftest.$ac_ext <<_ACEOF | |
19660 /* confdefs.h. */ | |
19661 _ACEOF | |
19662 cat confdefs.h >>conftest.$ac_ext | |
19663 cat >>conftest.$ac_ext <<_ACEOF | |
19664 /* end confdefs.h. */ | |
19665 | |
19666 /* Override any GCC internal prototype to avoid an error. | |
19667 Use char because int might match the return type of a GCC | |
19668 builtin and then its argument prototype would still apply. */ | |
17816 #ifdef __cplusplus | 19669 #ifdef __cplusplus |
17817 extern "C" | 19670 extern "C" |
17818 #endif | 19671 #endif |
17819 /* We use char because int might match the return type of a gcc2 | 19672 char getservbyname (); |
17820 builtin and then its argument prototype would still apply. */ | |
17821 char crypt (); | |
17822 #ifdef F77_DUMMY_MAIN | |
17823 # ifdef __cplusplus | |
17824 extern "C" | |
17825 # endif | |
17826 int F77_DUMMY_MAIN() { return 1; } | |
17827 #endif | |
17828 int | 19673 int |
17829 main () | 19674 main () |
17830 { | 19675 { |
17831 crypt (); | 19676 return getservbyname (); |
17832 ; | 19677 ; |
17833 return 0; | 19678 return 0; |
17834 } | 19679 } |
17835 _ACEOF | 19680 _ACEOF |
17836 rm -f conftest.$ac_objext conftest$ac_exeext | 19681 rm -f conftest.$ac_objext conftest$ac_exeext |
17837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 19682 if { (ac_try="$ac_link" |
17838 (eval $ac_link) 2>&5 | 19683 case "(($ac_try" in |
19684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19685 *) ac_try_echo=$ac_try;; | |
19686 esac | |
19687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19688 (eval "$ac_link") 2>conftest.er1 | |
19689 ac_status=$? | |
19690 grep -v '^ *+' conftest.er1 >conftest.err | |
19691 rm -f conftest.er1 | |
19692 cat conftest.err >&5 | |
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19694 (exit $ac_status); } && | |
19695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
19696 { (case "(($ac_try" in | |
19697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19698 *) ac_try_echo=$ac_try;; | |
19699 esac | |
19700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19701 (eval "$ac_try") 2>&5 | |
17839 ac_status=$? | 19702 ac_status=$? |
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17841 (exit $ac_status); } && | 19704 (exit $ac_status); }; } && |
17842 { ac_try='test -s conftest$ac_exeext' | 19705 { ac_try='test -s conftest$ac_exeext' |
17843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19706 { (case "(($ac_try" in |
17844 (eval $ac_try) 2>&5 | 19707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19708 *) ac_try_echo=$ac_try;; | |
19709 esac | |
19710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19711 (eval "$ac_try") 2>&5 | |
17845 ac_status=$? | 19712 ac_status=$? |
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17847 (exit $ac_status); }; }; then | 19714 (exit $ac_status); }; }; then |
17848 ac_cv_search_crypt="-l$ac_lib" | 19715 ac_cv_lib_bind_getservbyname=yes |
17849 break | |
17850 else | 19716 else |
17851 echo "$as_me: failed program was:" >&5 | 19717 echo "$as_me: failed program was:" >&5 |
17852 cat conftest.$ac_ext >&5 | 19718 sed 's/^/| /' conftest.$ac_ext >&5 |
17853 fi | 19719 |
17854 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 19720 ac_cv_lib_bind_getservbyname=no |
17855 done | 19721 fi |
17856 fi | 19722 |
17857 LIBS=$ac_func_search_save_LIBS | 19723 rm -f core conftest.err conftest.$ac_objext \ |
17858 fi | 19724 conftest$ac_exeext conftest.$ac_ext |
17859 echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5 | 19725 LIBS=$ac_check_lib_save_LIBS |
17860 echo "${ECHO_T}$ac_cv_search_crypt" >&6 | 19726 fi |
17861 if test "$ac_cv_search_crypt" != no; then | 19727 { echo "$as_me:$LINENO: result: $ac_cv_lib_bind_getservbyname" >&5 |
17862 test "$ac_cv_search_crypt" = "none required" || LIBS="$ac_cv_search_crypt $LIBS" | 19728 echo "${ECHO_T}$ac_cv_lib_bind_getservbyname" >&6; } |
17863 | 19729 if test $ac_cv_lib_bind_getservbyname = yes; then |
17864 fi | 19730 cat >>confdefs.h <<_ACEOF |
17865 | 19731 #define HAVE_LIBBIND 1 |
17866 | 19732 _ACEOF |
17867 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 | 19733 |
17868 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6 | 19734 LIBS="-lbind $LIBS" |
17869 if test "${ac_cv_lib_socket_connect+set}" = set; then | 19735 |
19736 fi | |
19737 | |
19738 | |
19739 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 | |
19740 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; } | |
19741 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then | |
17870 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19742 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17871 else | 19743 else |
17872 ac_check_lib_save_LIBS=$LIBS | 19744 ac_check_lib_save_LIBS=$LIBS |
17873 LIBS="-lsocket $LIBS" | 19745 LIBS="-lnsl $LIBS" |
17874 cat >conftest.$ac_ext <<_ACEOF | 19746 cat >conftest.$ac_ext <<_ACEOF |
17875 #line $LINENO "configure" | 19747 /* confdefs.h. */ |
17876 #include "confdefs.h" | 19748 _ACEOF |
17877 | 19749 cat confdefs.h >>conftest.$ac_ext |
17878 /* Override any gcc2 internal prototype to avoid an error. */ | 19750 cat >>conftest.$ac_ext <<_ACEOF |
19751 /* end confdefs.h. */ | |
19752 | |
19753 /* Override any GCC internal prototype to avoid an error. | |
19754 Use char because int might match the return type of a GCC | |
19755 builtin and then its argument prototype would still apply. */ | |
17879 #ifdef __cplusplus | 19756 #ifdef __cplusplus |
17880 extern "C" | 19757 extern "C" |
17881 #endif | 19758 #endif |
17882 /* We use char because int might match the return type of a gcc2 | 19759 char gethostbyname (); |
17883 builtin and then its argument prototype would still apply. */ | |
17884 char connect (); | |
17885 #ifdef F77_DUMMY_MAIN | |
17886 # ifdef __cplusplus | |
17887 extern "C" | |
17888 # endif | |
17889 int F77_DUMMY_MAIN() { return 1; } | |
17890 #endif | |
17891 int | 19760 int |
17892 main () | 19761 main () |
17893 { | 19762 { |
17894 connect (); | 19763 return gethostbyname (); |
17895 ; | 19764 ; |
17896 return 0; | 19765 return 0; |
17897 } | 19766 } |
17898 _ACEOF | 19767 _ACEOF |
17899 rm -f conftest.$ac_objext conftest$ac_exeext | 19768 rm -f conftest.$ac_objext conftest$ac_exeext |
17900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 19769 if { (ac_try="$ac_link" |
17901 (eval $ac_link) 2>&5 | 19770 case "(($ac_try" in |
19771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19772 *) ac_try_echo=$ac_try;; | |
19773 esac | |
19774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19775 (eval "$ac_link") 2>conftest.er1 | |
19776 ac_status=$? | |
19777 grep -v '^ *+' conftest.er1 >conftest.err | |
19778 rm -f conftest.er1 | |
19779 cat conftest.err >&5 | |
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19781 (exit $ac_status); } && | |
19782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
19783 { (case "(($ac_try" in | |
19784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19785 *) ac_try_echo=$ac_try;; | |
19786 esac | |
19787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19788 (eval "$ac_try") 2>&5 | |
17902 ac_status=$? | 19789 ac_status=$? |
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17904 (exit $ac_status); } && | 19791 (exit $ac_status); }; } && |
17905 { ac_try='test -s conftest$ac_exeext' | 19792 { ac_try='test -s conftest$ac_exeext' |
17906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19793 { (case "(($ac_try" in |
17907 (eval $ac_try) 2>&5 | 19794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19795 *) ac_try_echo=$ac_try;; | |
19796 esac | |
19797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19798 (eval "$ac_try") 2>&5 | |
17908 ac_status=$? | 19799 ac_status=$? |
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19800 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17910 (exit $ac_status); }; }; then | 19801 (exit $ac_status); }; }; then |
17911 ac_cv_lib_socket_connect=yes | 19802 ac_cv_lib_nsl_gethostbyname=yes |
17912 else | 19803 else |
17913 echo "$as_me: failed program was:" >&5 | 19804 echo "$as_me: failed program was:" >&5 |
17914 cat conftest.$ac_ext >&5 | 19805 sed 's/^/| /' conftest.$ac_ext >&5 |
17915 ac_cv_lib_socket_connect=no | 19806 |
17916 fi | 19807 ac_cv_lib_nsl_gethostbyname=no |
17917 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 19808 fi |
19809 | |
19810 rm -f core conftest.err conftest.$ac_objext \ | |
19811 conftest$ac_exeext conftest.$ac_ext | |
17918 LIBS=$ac_check_lib_save_LIBS | 19812 LIBS=$ac_check_lib_save_LIBS |
17919 fi | 19813 fi |
17920 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 | 19814 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
17921 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 | 19815 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; } |
17922 if test $ac_cv_lib_socket_connect = yes; then | 19816 if test $ac_cv_lib_nsl_gethostbyname = yes; then |
17923 cat >>confdefs.h <<_ACEOF | 19817 cat >>confdefs.h <<_ACEOF |
17924 #define HAVE_LIBSOCKET 1 | 19818 #define HAVE_LIBNSL 1 |
17925 _ACEOF | 19819 _ACEOF |
17926 | 19820 |
17927 LIBS="-lsocket $LIBS" | 19821 LIBS="-lnsl $LIBS" |
17928 | 19822 |
17929 fi | 19823 fi |
17930 | 19824 |
17931 | 19825 |
17932 echo "$as_me:$LINENO: checking for getservbyname in -lbind" >&5 | 19826 { echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 |
17933 echo $ECHO_N "checking for getservbyname in -lbind... $ECHO_C" >&6 | 19827 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6; } |
17934 if test "${ac_cv_lib_bind_getservbyname+set}" = set; then | 19828 if test "${ac_cv_lib_util_openpty+set}" = set; then |
17935 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19829 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17936 else | 19830 else |
17937 ac_check_lib_save_LIBS=$LIBS | 19831 ac_check_lib_save_LIBS=$LIBS |
17938 LIBS="-lbind $LIBS" | 19832 LIBS="-lutil $LIBS" |
17939 cat >conftest.$ac_ext <<_ACEOF | 19833 cat >conftest.$ac_ext <<_ACEOF |
17940 #line $LINENO "configure" | 19834 /* confdefs.h. */ |
17941 #include "confdefs.h" | 19835 _ACEOF |
17942 | 19836 cat confdefs.h >>conftest.$ac_ext |
17943 /* Override any gcc2 internal prototype to avoid an error. */ | 19837 cat >>conftest.$ac_ext <<_ACEOF |
19838 /* end confdefs.h. */ | |
19839 | |
19840 /* Override any GCC internal prototype to avoid an error. | |
19841 Use char because int might match the return type of a GCC | |
19842 builtin and then its argument prototype would still apply. */ | |
17944 #ifdef __cplusplus | 19843 #ifdef __cplusplus |
17945 extern "C" | 19844 extern "C" |
17946 #endif | 19845 #endif |
17947 /* We use char because int might match the return type of a gcc2 | 19846 char openpty (); |
17948 builtin and then its argument prototype would still apply. */ | |
17949 char getservbyname (); | |
17950 #ifdef F77_DUMMY_MAIN | |
17951 # ifdef __cplusplus | |
17952 extern "C" | |
17953 # endif | |
17954 int F77_DUMMY_MAIN() { return 1; } | |
17955 #endif | |
17956 int | 19847 int |
17957 main () | 19848 main () |
17958 { | 19849 { |
17959 getservbyname (); | 19850 return openpty (); |
17960 ; | 19851 ; |
17961 return 0; | 19852 return 0; |
17962 } | 19853 } |
17963 _ACEOF | 19854 _ACEOF |
17964 rm -f conftest.$ac_objext conftest$ac_exeext | 19855 rm -f conftest.$ac_objext conftest$ac_exeext |
17965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 19856 if { (ac_try="$ac_link" |
17966 (eval $ac_link) 2>&5 | 19857 case "(($ac_try" in |
19858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19859 *) ac_try_echo=$ac_try;; | |
19860 esac | |
19861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19862 (eval "$ac_link") 2>conftest.er1 | |
19863 ac_status=$? | |
19864 grep -v '^ *+' conftest.er1 >conftest.err | |
19865 rm -f conftest.er1 | |
19866 cat conftest.err >&5 | |
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19868 (exit $ac_status); } && | |
19869 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
19870 { (case "(($ac_try" in | |
19871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19872 *) ac_try_echo=$ac_try;; | |
19873 esac | |
19874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19875 (eval "$ac_try") 2>&5 | |
17967 ac_status=$? | 19876 ac_status=$? |
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17969 (exit $ac_status); } && | 19878 (exit $ac_status); }; } && |
17970 { ac_try='test -s conftest$ac_exeext' | 19879 { ac_try='test -s conftest$ac_exeext' |
17971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19880 { (case "(($ac_try" in |
17972 (eval $ac_try) 2>&5 | 19881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17973 ac_status=$? | 19882 *) ac_try_echo=$ac_try;; |
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19883 esac |
17975 (exit $ac_status); }; }; then | 19884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17976 ac_cv_lib_bind_getservbyname=yes | 19885 (eval "$ac_try") 2>&5 |
17977 else | |
17978 echo "$as_me: failed program was:" >&5 | |
17979 cat conftest.$ac_ext >&5 | |
17980 ac_cv_lib_bind_getservbyname=no | |
17981 fi | |
17982 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
17983 LIBS=$ac_check_lib_save_LIBS | |
17984 fi | |
17985 echo "$as_me:$LINENO: result: $ac_cv_lib_bind_getservbyname" >&5 | |
17986 echo "${ECHO_T}$ac_cv_lib_bind_getservbyname" >&6 | |
17987 if test $ac_cv_lib_bind_getservbyname = yes; then | |
17988 cat >>confdefs.h <<_ACEOF | |
17989 #define HAVE_LIBBIND 1 | |
17990 _ACEOF | |
17991 | |
17992 LIBS="-lbind $LIBS" | |
17993 | |
17994 fi | |
17995 | |
17996 | |
17997 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 | |
17998 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 | |
17999 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then | |
18000 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
18001 else | |
18002 ac_check_lib_save_LIBS=$LIBS | |
18003 LIBS="-lnsl $LIBS" | |
18004 cat >conftest.$ac_ext <<_ACEOF | |
18005 #line $LINENO "configure" | |
18006 #include "confdefs.h" | |
18007 | |
18008 /* Override any gcc2 internal prototype to avoid an error. */ | |
18009 #ifdef __cplusplus | |
18010 extern "C" | |
18011 #endif | |
18012 /* We use char because int might match the return type of a gcc2 | |
18013 builtin and then its argument prototype would still apply. */ | |
18014 char gethostbyname (); | |
18015 #ifdef F77_DUMMY_MAIN | |
18016 # ifdef __cplusplus | |
18017 extern "C" | |
18018 # endif | |
18019 int F77_DUMMY_MAIN() { return 1; } | |
18020 #endif | |
18021 int | |
18022 main () | |
18023 { | |
18024 gethostbyname (); | |
18025 ; | |
18026 return 0; | |
18027 } | |
18028 _ACEOF | |
18029 rm -f conftest.$ac_objext conftest$ac_exeext | |
18030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
18031 (eval $ac_link) 2>&5 | |
18032 ac_status=$? | |
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18034 (exit $ac_status); } && | |
18035 { ac_try='test -s conftest$ac_exeext' | |
18036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
18037 (eval $ac_try) 2>&5 | |
18038 ac_status=$? | |
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18040 (exit $ac_status); }; }; then | |
18041 ac_cv_lib_nsl_gethostbyname=yes | |
18042 else | |
18043 echo "$as_me: failed program was:" >&5 | |
18044 cat conftest.$ac_ext >&5 | |
18045 ac_cv_lib_nsl_gethostbyname=no | |
18046 fi | |
18047 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
18048 LIBS=$ac_check_lib_save_LIBS | |
18049 fi | |
18050 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 | |
18051 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 | |
18052 if test $ac_cv_lib_nsl_gethostbyname = yes; then | |
18053 cat >>confdefs.h <<_ACEOF | |
18054 #define HAVE_LIBNSL 1 | |
18055 _ACEOF | |
18056 | |
18057 LIBS="-lnsl $LIBS" | |
18058 | |
18059 fi | |
18060 | |
18061 | |
18062 echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 | |
18063 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 | |
18064 if test "${ac_cv_lib_util_openpty+set}" = set; then | |
18065 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
18066 else | |
18067 ac_check_lib_save_LIBS=$LIBS | |
18068 LIBS="-lutil $LIBS" | |
18069 cat >conftest.$ac_ext <<_ACEOF | |
18070 #line $LINENO "configure" | |
18071 #include "confdefs.h" | |
18072 | |
18073 /* Override any gcc2 internal prototype to avoid an error. */ | |
18074 #ifdef __cplusplus | |
18075 extern "C" | |
18076 #endif | |
18077 /* We use char because int might match the return type of a gcc2 | |
18078 builtin and then its argument prototype would still apply. */ | |
18079 char openpty (); | |
18080 #ifdef F77_DUMMY_MAIN | |
18081 # ifdef __cplusplus | |
18082 extern "C" | |
18083 # endif | |
18084 int F77_DUMMY_MAIN() { return 1; } | |
18085 #endif | |
18086 int | |
18087 main () | |
18088 { | |
18089 openpty (); | |
18090 ; | |
18091 return 0; | |
18092 } | |
18093 _ACEOF | |
18094 rm -f conftest.$ac_objext conftest$ac_exeext | |
18095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
18096 (eval $ac_link) 2>&5 | |
18097 ac_status=$? | |
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18099 (exit $ac_status); } && | |
18100 { ac_try='test -s conftest$ac_exeext' | |
18101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
18102 (eval $ac_try) 2>&5 | |
18103 ac_status=$? | 19886 ac_status=$? |
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18105 (exit $ac_status); }; }; then | 19888 (exit $ac_status); }; }; then |
18106 ac_cv_lib_util_openpty=yes | 19889 ac_cv_lib_util_openpty=yes |
18107 else | 19890 else |
18108 echo "$as_me: failed program was:" >&5 | 19891 echo "$as_me: failed program was:" >&5 |
18109 cat conftest.$ac_ext >&5 | 19892 sed 's/^/| /' conftest.$ac_ext >&5 |
18110 ac_cv_lib_util_openpty=no | 19893 |
18111 fi | 19894 ac_cv_lib_util_openpty=no |
18112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 19895 fi |
19896 | |
19897 rm -f core conftest.err conftest.$ac_objext \ | |
19898 conftest$ac_exeext conftest.$ac_ext | |
18113 LIBS=$ac_check_lib_save_LIBS | 19899 LIBS=$ac_check_lib_save_LIBS |
18114 fi | 19900 fi |
18115 echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 | 19901 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 |
18116 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 | 19902 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6; } |
18117 if test $ac_cv_lib_util_openpty = yes; then | 19903 if test $ac_cv_lib_util_openpty = yes; then |
18118 cat >>confdefs.h <<_ACEOF | 19904 cat >>confdefs.h <<_ACEOF |
18119 #define HAVE_LIBUTIL 1 | 19905 #define HAVE_LIBUTIL 1 |
18120 _ACEOF | 19906 _ACEOF |
18121 | 19907 |
18122 LIBS="-lutil $LIBS" | 19908 LIBS="-lutil $LIBS" |
18123 | 19909 |
18124 fi | 19910 fi |
18125 | 19911 |
18126 | 19912 |
18127 echo "$as_me:$LINENO: checking for X" >&5 | 19913 { echo "$as_me:$LINENO: checking for X" >&5 |
18128 echo $ECHO_N "checking for X... $ECHO_C" >&6 | 19914 echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
18129 | 19915 |
18130 | 19916 |
18131 # Check whether --with-x or --without-x was given. | 19917 # Check whether --with-x was given. |
18132 if test "${with_x+set}" = set; then | 19918 if test "${with_x+set}" = set; then |
18133 withval="$with_x" | 19919 withval=$with_x; |
18134 | 19920 fi |
18135 fi; | 19921 |
18136 # $have_x is `yes', `no', `disabled', or empty when we do not yet know. | 19922 # $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
18137 if test "x$with_x" = xno; then | 19923 if test "x$with_x" = xno; then |
18138 # The user explicitly disabled X. | 19924 # The user explicitly disabled X. |
18139 have_x=disabled | 19925 have_x=disabled |
18140 else | 19926 else |
18141 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then | 19927 case $x_includes,$x_libraries in #( |
18142 # Both variables are already set. | 19928 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 |
18143 have_x=yes | 19929 echo "$as_me: error: Cannot use X directory names containing '" >&2;} |
18144 else | 19930 { (exit 1); exit 1; }; };; #( |
18145 if test "${ac_cv_have_x+set}" = set; then | 19931 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then |
18146 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19932 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18147 else | 19933 else |
18148 # One or both of the vars are not set, and there is no cached value. | 19934 # One or both of the vars are not set, and there is no cached value. |
18149 ac_x_includes=no ac_x_libraries=no | 19935 ac_x_includes=no ac_x_libraries=no |
18150 rm -fr conftest.dir | 19936 rm -f -r conftest.dir |
18151 if mkdir conftest.dir; then | 19937 if mkdir conftest.dir; then |
18152 cd conftest.dir | 19938 cd conftest.dir |
18153 # Make sure to not put "make" in the Imakefile rules, since we grep it out. | |
18154 cat >Imakefile <<'_ACEOF' | 19939 cat >Imakefile <<'_ACEOF' |
18155 acfindx: | 19940 incroot: |
18156 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' | 19941 @echo incroot='${INCROOT}' |
19942 usrlibdir: | |
19943 @echo usrlibdir='${USRLIBDIR}' | |
19944 libdir: | |
19945 @echo libdir='${LIBDIR}' | |
18157 _ACEOF | 19946 _ACEOF |
18158 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then | 19947 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then |
18159 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 19948 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
18160 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` | 19949 for ac_var in incroot usrlibdir libdir; do |
19950 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" | |
19951 done | |
18161 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. | 19952 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
18162 for ac_extension in a so sl; do | 19953 for ac_extension in a so sl; do |
18163 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && | 19954 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && |
18164 test -f $ac_im_libdir/libX11.$ac_extension; then | 19955 test -f "$ac_im_libdir/libX11.$ac_extension"; then |
18165 ac_im_usrlibdir=$ac_im_libdir; break | 19956 ac_im_usrlibdir=$ac_im_libdir; break |
18166 fi | 19957 fi |
18167 done | 19958 done |
18168 # Screen out bogus values from the imake configuration. They are | 19959 # Screen out bogus values from the imake configuration. They are |
18169 # bogus both because they are the default anyway, and because | 19960 # bogus both because they are the default anyway, and because |
18170 # using them would break gcc on systems where it needs fixed includes. | 19961 # using them would break gcc on systems where it needs fixed includes. |
18171 case $ac_im_incroot in | 19962 case $ac_im_incroot in |
18172 /usr/include) ;; | 19963 /usr/include) ac_x_includes= ;; |
18173 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; | 19964 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
18174 esac | 19965 esac |
18175 case $ac_im_usrlibdir in | 19966 case $ac_im_usrlibdir in |
18176 /usr/lib | /lib) ;; | 19967 /usr/lib | /lib) ;; |
18177 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; | 19968 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
18178 esac | 19969 esac |
18179 fi | 19970 fi |
18180 cd .. | 19971 cd .. |
18181 rm -fr conftest.dir | 19972 rm -f -r conftest.dir |
18182 fi | 19973 fi |
18183 | 19974 |
18184 # Standard set of common directories for X headers. | 19975 # Standard set of common directories for X headers. |
18185 # Check X11 before X11Rn because it is often a symlink to the current release. | 19976 # Check X11 before X11Rn because it is often a symlink to the current release. |
18186 ac_x_header_dirs=' | 19977 ac_x_header_dirs=' |
18217 | 20008 |
18218 /usr/openwin/include | 20009 /usr/openwin/include |
18219 /usr/openwin/share/include' | 20010 /usr/openwin/share/include' |
18220 | 20011 |
18221 if test "$ac_x_includes" = no; then | 20012 if test "$ac_x_includes" = no; then |
18222 # Guess where to find include files, by looking for Intrinsic.h. | 20013 # Guess where to find include files, by looking for Xlib.h. |
18223 # First, try using that file with no special directory specified. | 20014 # First, try using that file with no special directory specified. |
18224 cat >conftest.$ac_ext <<_ACEOF | 20015 cat >conftest.$ac_ext <<_ACEOF |
18225 #line $LINENO "configure" | 20016 /* confdefs.h. */ |
18226 #include "confdefs.h" | |
18227 #include <X11/Intrinsic.h> | |
18228 _ACEOF | 20017 _ACEOF |
18229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 20018 cat confdefs.h >>conftest.$ac_ext |
18230 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 20019 cat >>conftest.$ac_ext <<_ACEOF |
20020 /* end confdefs.h. */ | |
20021 #include <X11/Xlib.h> | |
20022 _ACEOF | |
20023 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
20024 case "(($ac_try" in | |
20025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20026 *) ac_try_echo=$ac_try;; | |
20027 esac | |
20028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
18231 ac_status=$? | 20030 ac_status=$? |
18232 egrep -v '^ *\+' conftest.er1 >conftest.err | 20031 grep -v '^ *+' conftest.er1 >conftest.err |
18233 rm -f conftest.er1 | 20032 rm -f conftest.er1 |
18234 cat conftest.err >&5 | 20033 cat conftest.err >&5 |
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18236 (exit $ac_status); } >/dev/null; then | 20035 (exit $ac_status); } >/dev/null; then |
18237 if test -s conftest.err; then | 20036 if test -s conftest.err; then |
18238 ac_cpp_err=$ac_c_preproc_warn_flag | 20037 ac_cpp_err=$ac_c_preproc_warn_flag |
20038 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | |
18239 else | 20039 else |
18240 ac_cpp_err= | 20040 ac_cpp_err= |
18241 fi | 20041 fi |
18242 else | 20042 else |
18243 ac_cpp_err=yes | 20043 ac_cpp_err=yes |
18245 if test -z "$ac_cpp_err"; then | 20045 if test -z "$ac_cpp_err"; then |
18246 # We can compile using X headers with no special include directory. | 20046 # We can compile using X headers with no special include directory. |
18247 ac_x_includes= | 20047 ac_x_includes= |
18248 else | 20048 else |
18249 echo "$as_me: failed program was:" >&5 | 20049 echo "$as_me: failed program was:" >&5 |
18250 cat conftest.$ac_ext >&5 | 20050 sed 's/^/| /' conftest.$ac_ext >&5 |
20051 | |
18251 for ac_dir in $ac_x_header_dirs; do | 20052 for ac_dir in $ac_x_header_dirs; do |
18252 if test -r "$ac_dir/X11/Intrinsic.h"; then | 20053 if test -r "$ac_dir/X11/Xlib.h"; then |
18253 ac_x_includes=$ac_dir | 20054 ac_x_includes=$ac_dir |
18254 break | 20055 break |
18255 fi | 20056 fi |
18256 done | 20057 done |
18257 fi | 20058 fi |
20059 | |
18258 rm -f conftest.err conftest.$ac_ext | 20060 rm -f conftest.err conftest.$ac_ext |
18259 fi # $ac_x_includes = no | 20061 fi # $ac_x_includes = no |
18260 | 20062 |
18261 if test "$ac_x_libraries" = no; then | 20063 if test "$ac_x_libraries" = no; then |
18262 # Check for the libraries. | 20064 # Check for the libraries. |
18263 # See if we find them without any special options. | 20065 # See if we find them without any special options. |
18264 # Don't add to $LIBS permanently. | 20066 # Don't add to $LIBS permanently. |
18265 ac_save_LIBS=$LIBS | 20067 ac_save_LIBS=$LIBS |
18266 LIBS="-lXt $LIBS" | 20068 LIBS="-lXt $LIBS" |
18267 cat >conftest.$ac_ext <<_ACEOF | 20069 cat >conftest.$ac_ext <<_ACEOF |
18268 #line $LINENO "configure" | 20070 /* confdefs.h. */ |
18269 #include "confdefs.h" | 20071 _ACEOF |
18270 #include <X11/Intrinsic.h> | 20072 cat confdefs.h >>conftest.$ac_ext |
18271 #ifdef F77_DUMMY_MAIN | 20073 cat >>conftest.$ac_ext <<_ACEOF |
18272 # ifdef __cplusplus | 20074 /* end confdefs.h. */ |
18273 extern "C" | 20075 #include <X11/Xlib.h> |
18274 # endif | |
18275 int F77_DUMMY_MAIN() { return 1; } | |
18276 #endif | |
18277 int | 20076 int |
18278 main () | 20077 main () |
18279 { | 20078 { |
18280 XtMalloc (0) | 20079 XrmInitialize () |
18281 ; | 20080 ; |
18282 return 0; | 20081 return 0; |
18283 } | 20082 } |
18284 _ACEOF | 20083 _ACEOF |
18285 rm -f conftest.$ac_objext conftest$ac_exeext | 20084 rm -f conftest.$ac_objext conftest$ac_exeext |
18286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 20085 if { (ac_try="$ac_link" |
18287 (eval $ac_link) 2>&5 | 20086 case "(($ac_try" in |
20087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20088 *) ac_try_echo=$ac_try;; | |
20089 esac | |
20090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20091 (eval "$ac_link") 2>conftest.er1 | |
20092 ac_status=$? | |
20093 grep -v '^ *+' conftest.er1 >conftest.err | |
20094 rm -f conftest.er1 | |
20095 cat conftest.err >&5 | |
20096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20097 (exit $ac_status); } && | |
20098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
20099 { (case "(($ac_try" in | |
20100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20101 *) ac_try_echo=$ac_try;; | |
20102 esac | |
20103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20104 (eval "$ac_try") 2>&5 | |
18288 ac_status=$? | 20105 ac_status=$? |
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18290 (exit $ac_status); } && | 20107 (exit $ac_status); }; } && |
18291 { ac_try='test -s conftest$ac_exeext' | 20108 { ac_try='test -s conftest$ac_exeext' |
18292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20109 { (case "(($ac_try" in |
18293 (eval $ac_try) 2>&5 | 20110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20111 *) ac_try_echo=$ac_try;; | |
20112 esac | |
20113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20114 (eval "$ac_try") 2>&5 | |
18294 ac_status=$? | 20115 ac_status=$? |
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18296 (exit $ac_status); }; }; then | 20117 (exit $ac_status); }; }; then |
18297 LIBS=$ac_save_LIBS | 20118 LIBS=$ac_save_LIBS |
18298 # We can link X programs with no special library path. | 20119 # We can link X programs with no special library path. |
18299 ac_x_libraries= | 20120 ac_x_libraries= |
18300 else | 20121 else |
18301 echo "$as_me: failed program was:" >&5 | 20122 echo "$as_me: failed program was:" >&5 |
18302 cat conftest.$ac_ext >&5 | 20123 sed 's/^/| /' conftest.$ac_ext >&5 |
18303 LIBS=$ac_save_LIBS | 20124 |
20125 LIBS=$ac_save_LIBS | |
18304 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` | 20126 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
18305 do | 20127 do |
18306 # Don't even attempt the hair of trying to link an X program! | 20128 # Don't even attempt the hair of trying to link an X program! |
18307 for ac_extension in a so sl; do | 20129 for ac_extension in a so sl; do |
18308 if test -r $ac_dir/libXt.$ac_extension; then | 20130 if test -r "$ac_dir/libXt.$ac_extension"; then |
18309 ac_x_libraries=$ac_dir | 20131 ac_x_libraries=$ac_dir |
18310 break 2 | 20132 break 2 |
18311 fi | 20133 fi |
18312 done | 20134 done |
18313 done | 20135 done |
18314 fi | 20136 fi |
18315 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 20137 |
20138 rm -f core conftest.err conftest.$ac_objext \ | |
20139 conftest$ac_exeext conftest.$ac_ext | |
18316 fi # $ac_x_libraries = no | 20140 fi # $ac_x_libraries = no |
18317 | 20141 |
18318 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then | 20142 case $ac_x_includes,$ac_x_libraries in #( |
18319 # Didn't find X anywhere. Cache the known absence of X. | 20143 no,* | *,no | *\'*) |
18320 ac_cv_have_x="have_x=no" | 20144 # Didn't find X, or a directory has "'" in its name. |
18321 else | 20145 ac_cv_have_x="have_x=no";; #( |
18322 # Record where we found X for the cache. | 20146 *) |
18323 ac_cv_have_x="have_x=yes \ | 20147 # Record where we found X for the cache. |
18324 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" | 20148 ac_cv_have_x="have_x=yes\ |
18325 fi | 20149 ac_x_includes='$ac_x_includes'\ |
18326 fi | 20150 ac_x_libraries='$ac_x_libraries'" |
18327 | 20151 esac |
18328 fi | 20152 fi |
20153 ;; #( | |
20154 *) have_x=yes;; | |
20155 esac | |
18329 eval "$ac_cv_have_x" | 20156 eval "$ac_cv_have_x" |
18330 fi # $with_x != no | 20157 fi # $with_x != no |
18331 | 20158 |
18332 if test "$have_x" != yes; then | 20159 if test "$have_x" != yes; then |
18333 echo "$as_me:$LINENO: result: $have_x" >&5 | 20160 { echo "$as_me:$LINENO: result: $have_x" >&5 |
18334 echo "${ECHO_T}$have_x" >&6 | 20161 echo "${ECHO_T}$have_x" >&6; } |
18335 no_x=yes | 20162 no_x=yes |
18336 else | 20163 else |
18337 # If each of the values was on the command line, it overrides each guess. | 20164 # If each of the values was on the command line, it overrides each guess. |
18338 test "x$x_includes" = xNONE && x_includes=$ac_x_includes | 20165 test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
18339 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries | 20166 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
18340 # Update the cache value to reflect the command line values. | 20167 # Update the cache value to reflect the command line values. |
18341 ac_cv_have_x="have_x=yes \ | 20168 ac_cv_have_x="have_x=yes\ |
18342 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" | 20169 ac_x_includes='$x_includes'\ |
18343 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 | 20170 ac_x_libraries='$x_libraries'" |
18344 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 | 20171 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
18345 fi | 20172 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; } |
18346 | 20173 fi |
18347 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 20174 |
18348 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 20175 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
20176 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } | |
18349 if test "${ac_cv_header_stdc+set}" = set; then | 20177 if test "${ac_cv_header_stdc+set}" = set; then |
18350 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20178 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18351 else | 20179 else |
18352 cat >conftest.$ac_ext <<_ACEOF | 20180 cat >conftest.$ac_ext <<_ACEOF |
18353 #line $LINENO "configure" | 20181 /* confdefs.h. */ |
18354 #include "confdefs.h" | 20182 _ACEOF |
20183 cat confdefs.h >>conftest.$ac_ext | |
20184 cat >>conftest.$ac_ext <<_ACEOF | |
20185 /* end confdefs.h. */ | |
18355 #include <stdlib.h> | 20186 #include <stdlib.h> |
18356 #include <stdarg.h> | 20187 #include <stdarg.h> |
18357 #include <string.h> | 20188 #include <string.h> |
18358 #include <float.h> | 20189 #include <float.h> |
18359 | 20190 |
20191 int | |
20192 main () | |
20193 { | |
20194 | |
20195 ; | |
20196 return 0; | |
20197 } | |
18360 _ACEOF | 20198 _ACEOF |
18361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 20199 rm -f conftest.$ac_objext |
18362 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 20200 if { (ac_try="$ac_compile" |
20201 case "(($ac_try" in | |
20202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20203 *) ac_try_echo=$ac_try;; | |
20204 esac | |
20205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20206 (eval "$ac_compile") 2>conftest.er1 | |
18363 ac_status=$? | 20207 ac_status=$? |
18364 egrep -v '^ *\+' conftest.er1 >conftest.err | 20208 grep -v '^ *+' conftest.er1 >conftest.err |
18365 rm -f conftest.er1 | 20209 rm -f conftest.er1 |
18366 cat conftest.err >&5 | 20210 cat conftest.err >&5 |
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18368 (exit $ac_status); } >/dev/null; then | 20212 (exit $ac_status); } && |
18369 if test -s conftest.err; then | 20213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
18370 ac_cpp_err=$ac_c_preproc_warn_flag | 20214 { (case "(($ac_try" in |
18371 else | 20215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18372 ac_cpp_err= | 20216 *) ac_try_echo=$ac_try;; |
18373 fi | 20217 esac |
18374 else | 20218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
18375 ac_cpp_err=yes | 20219 (eval "$ac_try") 2>&5 |
18376 fi | 20220 ac_status=$? |
18377 if test -z "$ac_cpp_err"; then | 20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20222 (exit $ac_status); }; } && | |
20223 { ac_try='test -s conftest.$ac_objext' | |
20224 { (case "(($ac_try" in | |
20225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20226 *) ac_try_echo=$ac_try;; | |
20227 esac | |
20228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20229 (eval "$ac_try") 2>&5 | |
20230 ac_status=$? | |
20231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20232 (exit $ac_status); }; }; then | |
18378 ac_cv_header_stdc=yes | 20233 ac_cv_header_stdc=yes |
18379 else | 20234 else |
18380 echo "$as_me: failed program was:" >&5 | 20235 echo "$as_me: failed program was:" >&5 |
18381 cat conftest.$ac_ext >&5 | 20236 sed 's/^/| /' conftest.$ac_ext >&5 |
18382 ac_cv_header_stdc=no | 20237 |
18383 fi | 20238 ac_cv_header_stdc=no |
18384 rm -f conftest.err conftest.$ac_ext | 20239 fi |
20240 | |
20241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
18385 | 20242 |
18386 if test $ac_cv_header_stdc = yes; then | 20243 if test $ac_cv_header_stdc = yes; then |
18387 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 20244 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
18388 cat >conftest.$ac_ext <<_ACEOF | 20245 cat >conftest.$ac_ext <<_ACEOF |
18389 #line $LINENO "configure" | 20246 /* confdefs.h. */ |
18390 #include "confdefs.h" | 20247 _ACEOF |
20248 cat confdefs.h >>conftest.$ac_ext | |
20249 cat >>conftest.$ac_ext <<_ACEOF | |
20250 /* end confdefs.h. */ | |
18391 #include <string.h> | 20251 #include <string.h> |
18392 | 20252 |
18393 _ACEOF | 20253 _ACEOF |
18394 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 20254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
18395 egrep "memchr" >/dev/null 2>&1; then | 20255 $EGREP "memchr" >/dev/null 2>&1; then |
18396 : | 20256 : |
18397 else | 20257 else |
18398 ac_cv_header_stdc=no | 20258 ac_cv_header_stdc=no |
18399 fi | 20259 fi |
18400 rm -f conftest* | 20260 rm -f conftest* |
18402 fi | 20262 fi |
18403 | 20263 |
18404 if test $ac_cv_header_stdc = yes; then | 20264 if test $ac_cv_header_stdc = yes; then |
18405 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 20265 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
18406 cat >conftest.$ac_ext <<_ACEOF | 20266 cat >conftest.$ac_ext <<_ACEOF |
18407 #line $LINENO "configure" | 20267 /* confdefs.h. */ |
18408 #include "confdefs.h" | 20268 _ACEOF |
20269 cat confdefs.h >>conftest.$ac_ext | |
20270 cat >>conftest.$ac_ext <<_ACEOF | |
20271 /* end confdefs.h. */ | |
18409 #include <stdlib.h> | 20272 #include <stdlib.h> |
18410 | 20273 |
18411 _ACEOF | 20274 _ACEOF |
18412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 20275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
18413 egrep "free" >/dev/null 2>&1; then | 20276 $EGREP "free" >/dev/null 2>&1; then |
18414 : | 20277 : |
18415 else | 20278 else |
18416 ac_cv_header_stdc=no | 20279 ac_cv_header_stdc=no |
18417 fi | 20280 fi |
18418 rm -f conftest* | 20281 rm -f conftest* |
18423 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 20286 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
18424 if test "$cross_compiling" = yes; then | 20287 if test "$cross_compiling" = yes; then |
18425 : | 20288 : |
18426 else | 20289 else |
18427 cat >conftest.$ac_ext <<_ACEOF | 20290 cat >conftest.$ac_ext <<_ACEOF |
18428 #line $LINENO "configure" | 20291 /* confdefs.h. */ |
18429 #include "confdefs.h" | 20292 _ACEOF |
20293 cat confdefs.h >>conftest.$ac_ext | |
20294 cat >>conftest.$ac_ext <<_ACEOF | |
20295 /* end confdefs.h. */ | |
18430 #include <ctype.h> | 20296 #include <ctype.h> |
20297 #include <stdlib.h> | |
18431 #if ((' ' & 0x0FF) == 0x020) | 20298 #if ((' ' & 0x0FF) == 0x020) |
18432 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 20299 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
18433 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 20300 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
18434 #else | 20301 #else |
18435 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | 20302 # define ISLOWER(c) \ |
18436 || ('j' <= (c) && (c) <= 'r') \ | 20303 (('a' <= (c) && (c) <= 'i') \ |
18437 || ('s' <= (c) && (c) <= 'z')) | 20304 || ('j' <= (c) && (c) <= 'r') \ |
20305 || ('s' <= (c) && (c) <= 'z')) | |
18438 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 20306 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
18439 #endif | 20307 #endif |
18440 | 20308 |
18441 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 20309 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
18442 int | 20310 int |
18443 main () | 20311 main () |
18444 { | 20312 { |
18445 int i; | 20313 int i; |
18446 for (i = 0; i < 256; i++) | 20314 for (i = 0; i < 256; i++) |
18447 if (XOR (islower (i), ISLOWER (i)) | 20315 if (XOR (islower (i), ISLOWER (i)) |
18448 || toupper (i) != TOUPPER (i)) | 20316 || toupper (i) != TOUPPER (i)) |
18449 exit(2); | 20317 return 2; |
18450 exit (0); | 20318 return 0; |
18451 } | 20319 } |
18452 _ACEOF | 20320 _ACEOF |
18453 rm -f conftest$ac_exeext | 20321 rm -f conftest$ac_exeext |
18454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 20322 if { (ac_try="$ac_link" |
18455 (eval $ac_link) 2>&5 | 20323 case "(($ac_try" in |
20324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20325 *) ac_try_echo=$ac_try;; | |
20326 esac | |
20327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20328 (eval "$ac_link") 2>&5 | |
18456 ac_status=$? | 20329 ac_status=$? |
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18458 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 20331 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
18459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20332 { (case "(($ac_try" in |
18460 (eval $ac_try) 2>&5 | 20333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20334 *) ac_try_echo=$ac_try;; | |
20335 esac | |
20336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20337 (eval "$ac_try") 2>&5 | |
18461 ac_status=$? | 20338 ac_status=$? |
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18463 (exit $ac_status); }; }; then | 20340 (exit $ac_status); }; }; then |
18464 : | 20341 : |
18465 else | 20342 else |
18466 echo "$as_me: program exited with status $ac_status" >&5 | 20343 echo "$as_me: program exited with status $ac_status" >&5 |
18467 echo "$as_me: failed program was:" >&5 | 20344 echo "$as_me: failed program was:" >&5 |
18468 cat conftest.$ac_ext >&5 | 20345 sed 's/^/| /' conftest.$ac_ext >&5 |
20346 | |
18469 ( exit $ac_status ) | 20347 ( exit $ac_status ) |
18470 ac_cv_header_stdc=no | 20348 ac_cv_header_stdc=no |
18471 fi | 20349 fi |
18472 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 20350 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
18473 fi | 20351 fi |
18474 fi | 20352 |
18475 fi | 20353 |
18476 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 20354 fi |
18477 echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 20355 fi |
20356 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
20357 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } | |
18478 if test $ac_cv_header_stdc = yes; then | 20358 if test $ac_cv_header_stdc = yes; then |
18479 | 20359 |
18480 cat >>confdefs.h <<\_ACEOF | 20360 cat >>confdefs.h <<\_ACEOF |
18481 #define STDC_HEADERS 1 | 20361 #define STDC_HEADERS 1 |
18482 _ACEOF | 20362 _ACEOF |
18483 | 20363 |
18484 fi | 20364 fi |
18485 | 20365 |
18486 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 20366 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
18487 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 | 20367 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
18488 if test "${ac_cv_header_sys_wait_h+set}" = set; then | 20368 if test "${ac_cv_header_sys_wait_h+set}" = set; then |
18489 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20369 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18490 else | 20370 else |
18491 cat >conftest.$ac_ext <<_ACEOF | 20371 cat >conftest.$ac_ext <<_ACEOF |
18492 #line $LINENO "configure" | 20372 /* confdefs.h. */ |
18493 #include "confdefs.h" | 20373 _ACEOF |
20374 cat confdefs.h >>conftest.$ac_ext | |
20375 cat >>conftest.$ac_ext <<_ACEOF | |
20376 /* end confdefs.h. */ | |
18494 #include <sys/types.h> | 20377 #include <sys/types.h> |
18495 #include <sys/wait.h> | 20378 #include <sys/wait.h> |
18496 #ifndef WEXITSTATUS | 20379 #ifndef WEXITSTATUS |
18497 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 20380 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) |
18498 #endif | 20381 #endif |
18499 #ifndef WIFEXITED | 20382 #ifndef WIFEXITED |
18500 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) | 20383 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
18501 #endif | 20384 #endif |
18502 | 20385 |
18503 #ifdef F77_DUMMY_MAIN | |
18504 # ifdef __cplusplus | |
18505 extern "C" | |
18506 # endif | |
18507 int F77_DUMMY_MAIN() { return 1; } | |
18508 #endif | |
18509 int | 20386 int |
18510 main () | 20387 main () |
18511 { | 20388 { |
18512 int s; | 20389 int s; |
18513 wait (&s); | 20390 wait (&s); |
18515 ; | 20392 ; |
18516 return 0; | 20393 return 0; |
18517 } | 20394 } |
18518 _ACEOF | 20395 _ACEOF |
18519 rm -f conftest.$ac_objext | 20396 rm -f conftest.$ac_objext |
18520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20397 if { (ac_try="$ac_compile" |
18521 (eval $ac_compile) 2>&5 | 20398 case "(($ac_try" in |
20399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20400 *) ac_try_echo=$ac_try;; | |
20401 esac | |
20402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20403 (eval "$ac_compile") 2>conftest.er1 | |
20404 ac_status=$? | |
20405 grep -v '^ *+' conftest.er1 >conftest.err | |
20406 rm -f conftest.er1 | |
20407 cat conftest.err >&5 | |
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20409 (exit $ac_status); } && | |
20410 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
20411 { (case "(($ac_try" in | |
20412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20413 *) ac_try_echo=$ac_try;; | |
20414 esac | |
20415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20416 (eval "$ac_try") 2>&5 | |
18522 ac_status=$? | 20417 ac_status=$? |
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18524 (exit $ac_status); } && | 20419 (exit $ac_status); }; } && |
18525 { ac_try='test -s conftest.$ac_objext' | 20420 { ac_try='test -s conftest.$ac_objext' |
18526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20421 { (case "(($ac_try" in |
18527 (eval $ac_try) 2>&5 | 20422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20423 *) ac_try_echo=$ac_try;; | |
20424 esac | |
20425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20426 (eval "$ac_try") 2>&5 | |
18528 ac_status=$? | 20427 ac_status=$? |
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18530 (exit $ac_status); }; }; then | 20429 (exit $ac_status); }; }; then |
18531 ac_cv_header_sys_wait_h=yes | 20430 ac_cv_header_sys_wait_h=yes |
18532 else | 20431 else |
18533 echo "$as_me: failed program was:" >&5 | 20432 echo "$as_me: failed program was:" >&5 |
18534 cat conftest.$ac_ext >&5 | 20433 sed 's/^/| /' conftest.$ac_ext >&5 |
18535 ac_cv_header_sys_wait_h=no | 20434 |
18536 fi | 20435 ac_cv_header_sys_wait_h=no |
18537 rm -f conftest.$ac_objext conftest.$ac_ext | 20436 fi |
18538 fi | 20437 |
18539 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 | 20438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
18540 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 | 20439 fi |
20440 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 | |
20441 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; } | |
18541 if test $ac_cv_header_sys_wait_h = yes; then | 20442 if test $ac_cv_header_sys_wait_h = yes; then |
18542 | 20443 |
18543 cat >>confdefs.h <<\_ACEOF | 20444 cat >>confdefs.h <<\_ACEOF |
18544 #define HAVE_SYS_WAIT_H 1 | 20445 #define HAVE_SYS_WAIT_H 1 |
18545 _ACEOF | 20446 _ACEOF |
18546 | 20447 |
18547 fi | 20448 fi |
18548 | 20449 |
18549 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | 20450 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
18550 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 | 20451 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } |
18551 if test "${ac_cv_header_time+set}" = set; then | 20452 if test "${ac_cv_header_time+set}" = set; then |
18552 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20453 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18553 else | 20454 else |
18554 cat >conftest.$ac_ext <<_ACEOF | 20455 cat >conftest.$ac_ext <<_ACEOF |
18555 #line $LINENO "configure" | 20456 /* confdefs.h. */ |
18556 #include "confdefs.h" | 20457 _ACEOF |
20458 cat confdefs.h >>conftest.$ac_ext | |
20459 cat >>conftest.$ac_ext <<_ACEOF | |
20460 /* end confdefs.h. */ | |
18557 #include <sys/types.h> | 20461 #include <sys/types.h> |
18558 #include <sys/time.h> | 20462 #include <sys/time.h> |
18559 #include <time.h> | 20463 #include <time.h> |
18560 | 20464 |
18561 #ifdef F77_DUMMY_MAIN | |
18562 # ifdef __cplusplus | |
18563 extern "C" | |
18564 # endif | |
18565 int F77_DUMMY_MAIN() { return 1; } | |
18566 #endif | |
18567 int | 20465 int |
18568 main () | 20466 main () |
18569 { | 20467 { |
18570 if ((struct tm *) 0) | 20468 if ((struct tm *) 0) |
18571 return 0; | 20469 return 0; |
18572 ; | 20470 ; |
18573 return 0; | 20471 return 0; |
18574 } | 20472 } |
18575 _ACEOF | 20473 _ACEOF |
18576 rm -f conftest.$ac_objext | 20474 rm -f conftest.$ac_objext |
18577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20475 if { (ac_try="$ac_compile" |
18578 (eval $ac_compile) 2>&5 | 20476 case "(($ac_try" in |
20477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20478 *) ac_try_echo=$ac_try;; | |
20479 esac | |
20480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20481 (eval "$ac_compile") 2>conftest.er1 | |
20482 ac_status=$? | |
20483 grep -v '^ *+' conftest.er1 >conftest.err | |
20484 rm -f conftest.er1 | |
20485 cat conftest.err >&5 | |
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20487 (exit $ac_status); } && | |
20488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
20489 { (case "(($ac_try" in | |
20490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20491 *) ac_try_echo=$ac_try;; | |
20492 esac | |
20493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20494 (eval "$ac_try") 2>&5 | |
18579 ac_status=$? | 20495 ac_status=$? |
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18581 (exit $ac_status); } && | 20497 (exit $ac_status); }; } && |
18582 { ac_try='test -s conftest.$ac_objext' | 20498 { ac_try='test -s conftest.$ac_objext' |
18583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20499 { (case "(($ac_try" in |
18584 (eval $ac_try) 2>&5 | 20500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20501 *) ac_try_echo=$ac_try;; | |
20502 esac | |
20503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20504 (eval "$ac_try") 2>&5 | |
18585 ac_status=$? | 20505 ac_status=$? |
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18587 (exit $ac_status); }; }; then | 20507 (exit $ac_status); }; }; then |
18588 ac_cv_header_time=yes | 20508 ac_cv_header_time=yes |
18589 else | 20509 else |
18590 echo "$as_me: failed program was:" >&5 | 20510 echo "$as_me: failed program was:" >&5 |
18591 cat conftest.$ac_ext >&5 | 20511 sed 's/^/| /' conftest.$ac_ext >&5 |
18592 ac_cv_header_time=no | 20512 |
18593 fi | 20513 ac_cv_header_time=no |
18594 rm -f conftest.$ac_objext conftest.$ac_ext | 20514 fi |
18595 fi | 20515 |
18596 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | 20516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
18597 echo "${ECHO_T}$ac_cv_header_time" >&6 | 20517 fi |
20518 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | |
20519 echo "${ECHO_T}$ac_cv_header_time" >&6; } | |
18598 if test $ac_cv_header_time = yes; then | 20520 if test $ac_cv_header_time = yes; then |
18599 | 20521 |
18600 cat >>confdefs.h <<\_ACEOF | 20522 cat >>confdefs.h <<\_ACEOF |
18601 #define TIME_WITH_SYS_TIME 1 | 20523 #define TIME_WITH_SYS_TIME 1 |
18602 _ACEOF | 20524 _ACEOF |
18631 curses.h ncurses.h sgtty.h term.h termio.h termios.h \ | 20553 curses.h ncurses.h sgtty.h term.h termio.h termios.h \ |
18632 termcap.h sys/termio.h libutil.h\ | 20554 termcap.h sys/termio.h libutil.h\ |
18633 | 20555 |
18634 do | 20556 do |
18635 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 20557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
18636 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 20558 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18637 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20559 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
18638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 20560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
18639 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 20561 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18640 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20562 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18641 fi | 20563 fi |
18642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 20564 ac_res=`eval echo '${'$as_ac_Header'}'` |
18643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 20565 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
20566 echo "${ECHO_T}$ac_res" >&6; } | |
18644 else | 20567 else |
18645 # Is the header compilable? | 20568 # Is the header compilable? |
18646 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 20569 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
18647 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 20570 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
18648 cat >conftest.$ac_ext <<_ACEOF | 20571 cat >conftest.$ac_ext <<_ACEOF |
18649 #line $LINENO "configure" | 20572 /* confdefs.h. */ |
18650 #include "confdefs.h" | 20573 _ACEOF |
20574 cat confdefs.h >>conftest.$ac_ext | |
20575 cat >>conftest.$ac_ext <<_ACEOF | |
20576 /* end confdefs.h. */ | |
18651 $ac_includes_default | 20577 $ac_includes_default |
18652 #include <$ac_header> | 20578 #include <$ac_header> |
18653 _ACEOF | 20579 _ACEOF |
18654 rm -f conftest.$ac_objext | 20580 rm -f conftest.$ac_objext |
18655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20581 if { (ac_try="$ac_compile" |
18656 (eval $ac_compile) 2>&5 | 20582 case "(($ac_try" in |
20583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20584 *) ac_try_echo=$ac_try;; | |
20585 esac | |
20586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20587 (eval "$ac_compile") 2>conftest.er1 | |
20588 ac_status=$? | |
20589 grep -v '^ *+' conftest.er1 >conftest.err | |
20590 rm -f conftest.er1 | |
20591 cat conftest.err >&5 | |
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20593 (exit $ac_status); } && | |
20594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
20595 { (case "(($ac_try" in | |
20596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20597 *) ac_try_echo=$ac_try;; | |
20598 esac | |
20599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20600 (eval "$ac_try") 2>&5 | |
18657 ac_status=$? | 20601 ac_status=$? |
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18659 (exit $ac_status); } && | 20603 (exit $ac_status); }; } && |
18660 { ac_try='test -s conftest.$ac_objext' | 20604 { ac_try='test -s conftest.$ac_objext' |
18661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20605 { (case "(($ac_try" in |
18662 (eval $ac_try) 2>&5 | 20606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20607 *) ac_try_echo=$ac_try;; | |
20608 esac | |
20609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20610 (eval "$ac_try") 2>&5 | |
18663 ac_status=$? | 20611 ac_status=$? |
18664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18665 (exit $ac_status); }; }; then | 20613 (exit $ac_status); }; }; then |
18666 ac_header_compiler=yes | 20614 ac_header_compiler=yes |
18667 else | 20615 else |
18668 echo "$as_me: failed program was:" >&5 | 20616 echo "$as_me: failed program was:" >&5 |
18669 cat conftest.$ac_ext >&5 | 20617 sed 's/^/| /' conftest.$ac_ext >&5 |
18670 ac_header_compiler=no | 20618 |
18671 fi | 20619 ac_header_compiler=no |
18672 rm -f conftest.$ac_objext conftest.$ac_ext | 20620 fi |
18673 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 20621 |
18674 echo "${ECHO_T}$ac_header_compiler" >&6 | 20622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20623 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
20624 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
18675 | 20625 |
18676 # Is the header present? | 20626 # Is the header present? |
18677 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 20627 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
18678 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 20628 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
18679 cat >conftest.$ac_ext <<_ACEOF | 20629 cat >conftest.$ac_ext <<_ACEOF |
18680 #line $LINENO "configure" | 20630 /* confdefs.h. */ |
18681 #include "confdefs.h" | 20631 _ACEOF |
20632 cat confdefs.h >>conftest.$ac_ext | |
20633 cat >>conftest.$ac_ext <<_ACEOF | |
20634 /* end confdefs.h. */ | |
18682 #include <$ac_header> | 20635 #include <$ac_header> |
18683 _ACEOF | 20636 _ACEOF |
18684 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 20637 if { (ac_try="$ac_cpp conftest.$ac_ext" |
18685 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 20638 case "(($ac_try" in |
20639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20640 *) ac_try_echo=$ac_try;; | |
20641 esac | |
20642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20643 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
18686 ac_status=$? | 20644 ac_status=$? |
18687 egrep -v '^ *\+' conftest.er1 >conftest.err | 20645 grep -v '^ *+' conftest.er1 >conftest.err |
18688 rm -f conftest.er1 | 20646 rm -f conftest.er1 |
18689 cat conftest.err >&5 | 20647 cat conftest.err >&5 |
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18691 (exit $ac_status); } >/dev/null; then | 20649 (exit $ac_status); } >/dev/null; then |
18692 if test -s conftest.err; then | 20650 if test -s conftest.err; then |
18693 ac_cpp_err=$ac_c_preproc_warn_flag | 20651 ac_cpp_err=$ac_c_preproc_warn_flag |
20652 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | |
18694 else | 20653 else |
18695 ac_cpp_err= | 20654 ac_cpp_err= |
18696 fi | 20655 fi |
18697 else | 20656 else |
18698 ac_cpp_err=yes | 20657 ac_cpp_err=yes |
18699 fi | 20658 fi |
18700 if test -z "$ac_cpp_err"; then | 20659 if test -z "$ac_cpp_err"; then |
18701 ac_header_preproc=yes | 20660 ac_header_preproc=yes |
18702 else | 20661 else |
18703 echo "$as_me: failed program was:" >&5 | 20662 echo "$as_me: failed program was:" >&5 |
18704 cat conftest.$ac_ext >&5 | 20663 sed 's/^/| /' conftest.$ac_ext >&5 |
20664 | |
18705 ac_header_preproc=no | 20665 ac_header_preproc=no |
18706 fi | 20666 fi |
20667 | |
18707 rm -f conftest.err conftest.$ac_ext | 20668 rm -f conftest.err conftest.$ac_ext |
18708 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 20669 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
18709 echo "${ECHO_T}$ac_header_preproc" >&6 | 20670 echo "${ECHO_T}$ac_header_preproc" >&6; } |
18710 | 20671 |
18711 # So? What about this header? | 20672 # So? What about this header? |
18712 case $ac_header_compiler:$ac_header_preproc in | 20673 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
18713 yes:no ) | 20674 yes:no: ) |
18714 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 20675 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
18715 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 20676 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
18716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 20677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
18717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 20678 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
18718 no:yes ) | 20679 ac_header_preproc=yes |
20680 ;; | |
20681 no:yes:* ) | |
18719 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 20682 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
18720 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 20683 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
18721 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 20684 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
18722 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 20685 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
20686 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
20687 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
20688 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
20689 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
18723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 20690 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
18724 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 20691 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
18725 esac | 20692 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
18726 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20693 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
18727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 20694 |
18728 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 20695 ;; |
20696 esac | |
20697 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
20698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | |
20699 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
18729 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20700 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18730 else | 20701 else |
18731 eval "$as_ac_Header=$ac_header_preproc" | 20702 eval "$as_ac_Header=\$ac_header_preproc" |
18732 fi | 20703 fi |
18733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 20704 ac_res=`eval echo '${'$as_ac_Header'}'` |
18734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 20705 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
20706 echo "${ECHO_T}$ac_res" >&6; } | |
18735 | 20707 |
18736 fi | 20708 fi |
18737 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 20709 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
18738 cat >>confdefs.h <<_ACEOF | 20710 cat >>confdefs.h <<_ACEOF |
18739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 20711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
18744 done | 20716 done |
18745 | 20717 |
18746 | 20718 |
18747 olibs="$LIBS" | 20719 olibs="$LIBS" |
18748 CNVFILE_SUBDIR=bsd | 20720 CNVFILE_SUBDIR=bsd |
18749 echo "$as_me:$LINENO: checking --with-term-libs argument" >&5 | 20721 { echo "$as_me:$LINENO: checking --with-term-libs argument" >&5 |
18750 echo $ECHO_N "checking --with-term-libs argument... $ECHO_C" >&6 | 20722 echo $ECHO_N "checking --with-term-libs argument... $ECHO_C" >&6; } |
18751 | 20723 |
18752 # Check whether --with-tlib or --without-tlib was given. | 20724 # Check whether --with-tlib was given. |
18753 if test "${with_tlib+set}" = set; then | 20725 if test "${with_tlib+set}" = set; then |
18754 withval="$with_tlib" | 20726 withval=$with_tlib; |
18755 | 20727 fi |
18756 fi; | 20728 |
18757 if test -n "$with_term_libs"; then | 20729 if test -n "$with_term_libs"; then |
18758 echo "$as_me:$LINENO: result: $with_term_libs" >&5 | 20730 { echo "$as_me:$LINENO: result: $with_term_libs" >&5 |
18759 echo "${ECHO_T}$with_term_libs" >&6 | 20731 echo "${ECHO_T}$with_term_libs" >&6; } |
18760 TERMLIB=$with_term_libs | 20732 TERMLIB=$with_term_libs |
18761 else | 20733 else |
18762 echo "$as_me:$LINENO: result: automatic terminal library selection" >&5 | 20734 { echo "$as_me:$LINENO: result: automatic terminal library selection" >&5 |
18763 echo "${ECHO_T}automatic terminal library selection" >&6 | 20735 echo "${ECHO_T}automatic terminal library selection" >&6; } |
18764 case "`uname -s 2>/dev/null`" in | 20736 case "`uname -s 2>/dev/null`" in |
18765 OSF1) tlibs="ncurses curses termlib termcap";; | 20737 OSF1) tlibs="ncurses curses termlib termcap";; |
18766 *) tlibs="ncurses termlib termcap curses";; | 20738 *) tlibs="ncurses termlib termcap curses";; |
18767 esac | 20739 esac |
18768 for libname in $tlibs; do | 20740 for libname in $tlibs; do |
18769 as_ac_Lib=`echo "ac_cv_lib_${libname}''_tgetent" | $as_tr_sh` | 20741 as_ac_Lib=`echo "ac_cv_lib_${libname}''_tgetent" | $as_tr_sh` |
18770 echo "$as_me:$LINENO: checking for tgetent in -l${libname}" >&5 | 20742 { echo "$as_me:$LINENO: checking for tgetent in -l${libname}" >&5 |
18771 echo $ECHO_N "checking for tgetent in -l${libname}... $ECHO_C" >&6 | 20743 echo $ECHO_N "checking for tgetent in -l${libname}... $ECHO_C" >&6; } |
18772 if eval "test \"\${$as_ac_Lib+set}\" = set"; then | 20744 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
18773 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20745 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18774 else | 20746 else |
18775 ac_check_lib_save_LIBS=$LIBS | 20747 ac_check_lib_save_LIBS=$LIBS |
18776 LIBS="-l${libname} $LIBS" | 20748 LIBS="-l${libname} $LIBS" |
18777 cat >conftest.$ac_ext <<_ACEOF | 20749 cat >conftest.$ac_ext <<_ACEOF |
18778 #line $LINENO "configure" | 20750 /* confdefs.h. */ |
18779 #include "confdefs.h" | 20751 _ACEOF |
18780 | 20752 cat confdefs.h >>conftest.$ac_ext |
18781 /* Override any gcc2 internal prototype to avoid an error. */ | 20753 cat >>conftest.$ac_ext <<_ACEOF |
20754 /* end confdefs.h. */ | |
20755 | |
20756 /* Override any GCC internal prototype to avoid an error. | |
20757 Use char because int might match the return type of a GCC | |
20758 builtin and then its argument prototype would still apply. */ | |
18782 #ifdef __cplusplus | 20759 #ifdef __cplusplus |
18783 extern "C" | 20760 extern "C" |
18784 #endif | 20761 #endif |
18785 /* We use char because int might match the return type of a gcc2 | |
18786 builtin and then its argument prototype would still apply. */ | |
18787 char tgetent (); | 20762 char tgetent (); |
18788 #ifdef F77_DUMMY_MAIN | |
18789 # ifdef __cplusplus | |
18790 extern "C" | |
18791 # endif | |
18792 int F77_DUMMY_MAIN() { return 1; } | |
18793 #endif | |
18794 int | 20763 int |
18795 main () | 20764 main () |
18796 { | 20765 { |
18797 tgetent (); | 20766 return tgetent (); |
18798 ; | 20767 ; |
18799 return 0; | 20768 return 0; |
18800 } | 20769 } |
18801 _ACEOF | 20770 _ACEOF |
18802 rm -f conftest.$ac_objext conftest$ac_exeext | 20771 rm -f conftest.$ac_objext conftest$ac_exeext |
18803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 20772 if { (ac_try="$ac_link" |
18804 (eval $ac_link) 2>&5 | 20773 case "(($ac_try" in |
20774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20775 *) ac_try_echo=$ac_try;; | |
20776 esac | |
20777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20778 (eval "$ac_link") 2>conftest.er1 | |
20779 ac_status=$? | |
20780 grep -v '^ *+' conftest.er1 >conftest.err | |
20781 rm -f conftest.er1 | |
20782 cat conftest.err >&5 | |
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20784 (exit $ac_status); } && | |
20785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
20786 { (case "(($ac_try" in | |
20787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20788 *) ac_try_echo=$ac_try;; | |
20789 esac | |
20790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20791 (eval "$ac_try") 2>&5 | |
18805 ac_status=$? | 20792 ac_status=$? |
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18807 (exit $ac_status); } && | 20794 (exit $ac_status); }; } && |
18808 { ac_try='test -s conftest$ac_exeext' | 20795 { ac_try='test -s conftest$ac_exeext' |
18809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20796 { (case "(($ac_try" in |
18810 (eval $ac_try) 2>&5 | 20797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20798 *) ac_try_echo=$ac_try;; | |
20799 esac | |
20800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20801 (eval "$ac_try") 2>&5 | |
18811 ac_status=$? | 20802 ac_status=$? |
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18813 (exit $ac_status); }; }; then | 20804 (exit $ac_status); }; }; then |
18814 eval "$as_ac_Lib=yes" | 20805 eval "$as_ac_Lib=yes" |
18815 else | 20806 else |
18816 echo "$as_me: failed program was:" >&5 | 20807 echo "$as_me: failed program was:" >&5 |
18817 cat conftest.$ac_ext >&5 | 20808 sed 's/^/| /' conftest.$ac_ext >&5 |
18818 eval "$as_ac_Lib=no" | 20809 |
18819 fi | 20810 eval "$as_ac_Lib=no" |
18820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 20811 fi |
20812 | |
20813 rm -f core conftest.err conftest.$ac_objext \ | |
20814 conftest$ac_exeext conftest.$ac_ext | |
18821 LIBS=$ac_check_lib_save_LIBS | 20815 LIBS=$ac_check_lib_save_LIBS |
18822 fi | 20816 fi |
18823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5 | 20817 ac_res=`eval echo '${'$as_ac_Lib'}'` |
18824 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 | 20818 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
20819 echo "${ECHO_T}$ac_res" >&6; } | |
18825 if test `eval echo '${'$as_ac_Lib'}'` = yes; then | 20820 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
18826 | 20821 |
18827 LIBS="${LIBS} -l${libname}" | 20822 LIBS="${LIBS} -l${libname}" |
18828 if test "$cross_compiling" = yes; then | 20823 if test "$cross_compiling" = yes; then |
18829 res="FAIL" | 20824 res="FAIL" |
18830 else | 20825 else |
18831 cat >conftest.$ac_ext <<_ACEOF | 20826 cat >conftest.$ac_ext <<_ACEOF |
18832 #line $LINENO "configure" | 20827 /* confdefs.h. */ |
18833 #include "confdefs.h" | 20828 _ACEOF |
20829 cat confdefs.h >>conftest.$ac_ext | |
20830 cat >>conftest.$ac_ext <<_ACEOF | |
20831 /* end confdefs.h. */ | |
18834 | 20832 |
18835 #ifdef HAVE_TERMCAP_H | 20833 #ifdef HAVE_TERMCAP_H |
18836 # include <termcap.h> | 20834 # include <termcap.h> |
18837 #endif | 20835 #endif |
18838 main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); } | 20836 main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); } |
18839 _ACEOF | 20837 _ACEOF |
18840 rm -f conftest$ac_exeext | 20838 rm -f conftest$ac_exeext |
18841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 20839 if { (ac_try="$ac_link" |
18842 (eval $ac_link) 2>&5 | 20840 case "(($ac_try" in |
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20842 *) ac_try_echo=$ac_try;; | |
20843 esac | |
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20845 (eval "$ac_link") 2>&5 | |
18843 ac_status=$? | 20846 ac_status=$? |
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18845 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 20848 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
18846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20849 { (case "(($ac_try" in |
18847 (eval $ac_try) 2>&5 | 20850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20851 *) ac_try_echo=$ac_try;; | |
20852 esac | |
20853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20854 (eval "$ac_try") 2>&5 | |
18848 ac_status=$? | 20855 ac_status=$? |
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18850 (exit $ac_status); }; }; then | 20857 (exit $ac_status); }; }; then |
18851 res="OK" | 20858 res="OK" |
18852 else | 20859 else |
18853 echo "$as_me: program exited with status $ac_status" >&5 | 20860 echo "$as_me: program exited with status $ac_status" >&5 |
18854 echo "$as_me: failed program was:" >&5 | 20861 echo "$as_me: failed program was:" >&5 |
18855 cat conftest.$ac_ext >&5 | 20862 sed 's/^/| /' conftest.$ac_ext >&5 |
20863 | |
18856 ( exit $ac_status ) | 20864 ( exit $ac_status ) |
18857 res="FAIL" | 20865 res="FAIL" |
18858 fi | 20866 fi |
18859 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 20867 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
18860 fi | 20868 fi |
20869 | |
20870 | |
18861 if test "$res" = "OK"; then | 20871 if test "$res" = "OK"; then |
18862 TERMLIB="${TERMLIB} -l${libname}" | 20872 TERMLIB="${TERMLIB} -l${libname}" |
18863 break | 20873 break |
18864 fi | 20874 fi |
18865 echo "$as_me:$LINENO: result: $libname library is not usable" >&5 | 20875 { echo "$as_me:$LINENO: result: $libname library is not usable" >&5 |
18866 echo "${ECHO_T}$libname library is not usable" >&6 | 20876 echo "${ECHO_T}$libname library is not usable" >&6; } |
18867 | 20877 |
18868 fi | 20878 fi |
18869 | 20879 |
18870 LIBS=${olibs} | 20880 LIBS=${olibs} |
18871 done | 20881 done |
18872 fi | 20882 fi |
18873 if test "x$TERMLIB" != "x"; then | 20883 if test "x$TERMLIB" != "x"; then |
18874 LIBS="${LIBS} ${TERMLIB}" | 20884 LIBS="${LIBS} ${TERMLIB}" |
18875 echo "$as_me:$LINENO: checking whether we talk terminfo" >&5 | 20885 { echo "$as_me:$LINENO: checking whether we talk terminfo" >&5 |
18876 echo $ECHO_N "checking whether we talk terminfo... $ECHO_C" >&6 | 20886 echo $ECHO_N "checking whether we talk terminfo... $ECHO_C" >&6; } |
18877 if test "$cross_compiling" = yes; then | 20887 if test "$cross_compiling" = yes; then |
18878 { { echo "$as_me:$LINENO: error: failed to compile test program." >&5 | 20888 { { echo "$as_me:$LINENO: error: failed to compile test program." >&5 |
18879 echo "$as_me: error: failed to compile test program." >&2;} | 20889 echo "$as_me: error: failed to compile test program." >&2;} |
18880 { (exit 1); exit 1; }; } | 20890 { (exit 1); exit 1; }; } |
18881 else | 20891 else |
18882 cat >conftest.$ac_ext <<_ACEOF | 20892 cat >conftest.$ac_ext <<_ACEOF |
18883 #line $LINENO "configure" | 20893 /* confdefs.h. */ |
18884 #include "confdefs.h" | 20894 _ACEOF |
20895 cat confdefs.h >>conftest.$ac_ext | |
20896 cat >>conftest.$ac_ext <<_ACEOF | |
20897 /* end confdefs.h. */ | |
18885 | 20898 |
18886 #ifdef HAVE_TERMCAP_H | 20899 #ifdef HAVE_TERMCAP_H |
18887 # include <termcap.h> | 20900 # include <termcap.h> |
18888 #endif | 20901 #endif |
18889 main() | 20902 main() |
18890 {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); } | 20903 {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); } |
18891 _ACEOF | 20904 _ACEOF |
18892 rm -f conftest$ac_exeext | 20905 rm -f conftest$ac_exeext |
18893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 20906 if { (ac_try="$ac_link" |
18894 (eval $ac_link) 2>&5 | 20907 case "(($ac_try" in |
20908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20909 *) ac_try_echo=$ac_try;; | |
20910 esac | |
20911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20912 (eval "$ac_link") 2>&5 | |
18895 ac_status=$? | 20913 ac_status=$? |
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18897 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 20915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
18898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20916 { (case "(($ac_try" in |
18899 (eval $ac_try) 2>&5 | 20917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20918 *) ac_try_echo=$ac_try;; | |
20919 esac | |
20920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20921 (eval "$ac_try") 2>&5 | |
18900 ac_status=$? | 20922 ac_status=$? |
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18902 (exit $ac_status); }; }; then | 20924 (exit $ac_status); }; }; then |
18903 echo "$as_me:$LINENO: result: no -- we are in termcap land" >&5 | 20925 { echo "$as_me:$LINENO: result: no -- we are in termcap land" >&5 |
18904 echo "${ECHO_T}no -- we are in termcap land" >&6 | 20926 echo "${ECHO_T}no -- we are in termcap land" >&6; } |
18905 CNVFILE_SUBDIR=bsd | 20927 CNVFILE_SUBDIR=bsd |
18906 else | 20928 else |
18907 echo "$as_me: program exited with status $ac_status" >&5 | 20929 echo "$as_me: program exited with status $ac_status" >&5 |
18908 echo "$as_me: failed program was:" >&5 | 20930 echo "$as_me: failed program was:" >&5 |
18909 cat conftest.$ac_ext >&5 | 20931 sed 's/^/| /' conftest.$ac_ext >&5 |
20932 | |
18910 ( exit $ac_status ) | 20933 ( exit $ac_status ) |
18911 | 20934 |
18912 cat >>confdefs.h <<\_ACEOF | 20935 cat >>confdefs.h <<\_ACEOF |
18913 #define HAVE_TERMINFO 1 | 20936 #define HAVE_TERMINFO 1 |
18914 _ACEOF | 20937 _ACEOF |
18915 | 20938 |
18916 echo "$as_me:$LINENO: result: yes -- terminfo spoken here" >&5 | 20939 { echo "$as_me:$LINENO: result: yes -- terminfo spoken here" >&5 |
18917 echo "${ECHO_T}yes -- terminfo spoken here" >&6 | 20940 echo "${ECHO_T}yes -- terminfo spoken here" >&6; } |
18918 CNVFILE_SUBDIR=sysV | 20941 CNVFILE_SUBDIR=sysV |
18919 fi | 20942 fi |
18920 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 20943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
18921 fi | 20944 fi |
18922 else | 20945 |
18923 echo "$as_me:$LINENO: result: none found" >&5 | 20946 |
18924 echo "${ECHO_T}none found" >&6 | 20947 else |
20948 { echo "$as_me:$LINENO: result: none found" >&5 | |
20949 echo "${ECHO_T}none found" >&6; } | |
18925 fi | 20950 fi |
18926 LIBS=${olibs} | 20951 LIBS=${olibs} |
18927 | 20952 |
18928 | 20953 |
18929 | 20954 |
18930 if test $client = true; then | 20955 if test $client = true; then |
18931 if test $client_utmp = auto; then | 20956 if test $client_utmp = auto; then |
18932 cat >conftest.$ac_ext <<_ACEOF | 20957 cat >conftest.$ac_ext <<_ACEOF |
18933 #line $LINENO "configure" | 20958 /* confdefs.h. */ |
18934 #include "confdefs.h" | 20959 _ACEOF |
20960 cat confdefs.h >>conftest.$ac_ext | |
20961 cat >>conftest.$ac_ext <<_ACEOF | |
20962 /* end confdefs.h. */ | |
18935 | 20963 |
18936 #if HAVE_SYS_PARAM_H | 20964 #if HAVE_SYS_PARAM_H |
18937 # include <sys/param.h> | 20965 # include <sys/param.h> |
18938 #endif | 20966 #endif |
18939 #if defined(BSD) && (BSD >= 199306) | 20967 #if defined(BSD) && (BSD >= 199306) |
18940 yes | 20968 yes |
18941 #endif | 20969 #endif |
18942 | 20970 |
18943 _ACEOF | 20971 _ACEOF |
18944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 20972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
18945 egrep "yes" >/dev/null 2>&1; then | 20973 $EGREP "yes" >/dev/null 2>&1; then |
18946 client_utmp=false | 20974 client_utmp=false |
18947 else | 20975 else |
18948 client_utmp=true | 20976 client_utmp=true |
18949 fi | 20977 fi |
18950 rm -f conftest* | 20978 rm -f conftest* |
18951 | 20979 |
18952 fi | 20980 fi |
18953 | 20981 |
18954 echo "$as_me:$LINENO: checking whether we're using utmp with uum" >&5 | 20982 { echo "$as_me:$LINENO: checking whether we're using utmp with uum" >&5 |
18955 echo $ECHO_N "checking whether we're using utmp with uum... $ECHO_C" >&6 | 20983 echo $ECHO_N "checking whether we're using utmp with uum... $ECHO_C" >&6; } |
18956 if test $client_utmp = true; then | 20984 if test $client_utmp = true; then |
18957 | 20985 |
18958 cat >>confdefs.h <<\_ACEOF | 20986 cat >>confdefs.h <<\_ACEOF |
18959 #define USE_UTMP 1 | 20987 #define USE_UTMP 1 |
18960 _ACEOF | 20988 _ACEOF |
18961 | 20989 |
18962 echo "$as_me:$LINENO: result: yes" >&5 | 20990 { echo "$as_me:$LINENO: result: yes" >&5 |
18963 echo "${ECHO_T}yes" >&6 | 20991 echo "${ECHO_T}yes" >&6; } |
18964 else | 20992 else |
18965 echo "$as_me:$LINENO: result: no" >&5 | 20993 { echo "$as_me:$LINENO: result: no" >&5 |
18966 echo "${ECHO_T}no" >&6 | 20994 echo "${ECHO_T}no" >&6; } |
18967 fi | 20995 fi |
18968 fi | 20996 fi |
18969 | 20997 |
18970 echo "$as_me:$LINENO: checking for mode_t" >&5 | 20998 { echo "$as_me:$LINENO: checking for mode_t" >&5 |
18971 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 | 20999 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } |
18972 if test "${ac_cv_type_mode_t+set}" = set; then | 21000 if test "${ac_cv_type_mode_t+set}" = set; then |
18973 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21001 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18974 else | 21002 else |
18975 cat >conftest.$ac_ext <<_ACEOF | 21003 cat >conftest.$ac_ext <<_ACEOF |
18976 #line $LINENO "configure" | 21004 /* confdefs.h. */ |
18977 #include "confdefs.h" | 21005 _ACEOF |
21006 cat confdefs.h >>conftest.$ac_ext | |
21007 cat >>conftest.$ac_ext <<_ACEOF | |
21008 /* end confdefs.h. */ | |
18978 $ac_includes_default | 21009 $ac_includes_default |
18979 #ifdef F77_DUMMY_MAIN | 21010 typedef mode_t ac__type_new_; |
18980 # ifdef __cplusplus | |
18981 extern "C" | |
18982 # endif | |
18983 int F77_DUMMY_MAIN() { return 1; } | |
18984 #endif | |
18985 int | 21011 int |
18986 main () | 21012 main () |
18987 { | 21013 { |
18988 if ((mode_t *) 0) | 21014 if ((ac__type_new_ *) 0) |
18989 return 0; | 21015 return 0; |
18990 if (sizeof (mode_t)) | 21016 if (sizeof (ac__type_new_)) |
18991 return 0; | 21017 return 0; |
18992 ; | 21018 ; |
18993 return 0; | 21019 return 0; |
18994 } | 21020 } |
18995 _ACEOF | 21021 _ACEOF |
18996 rm -f conftest.$ac_objext | 21022 rm -f conftest.$ac_objext |
18997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21023 if { (ac_try="$ac_compile" |
18998 (eval $ac_compile) 2>&5 | 21024 case "(($ac_try" in |
21025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21026 *) ac_try_echo=$ac_try;; | |
21027 esac | |
21028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21029 (eval "$ac_compile") 2>conftest.er1 | |
21030 ac_status=$? | |
21031 grep -v '^ *+' conftest.er1 >conftest.err | |
21032 rm -f conftest.er1 | |
21033 cat conftest.err >&5 | |
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21035 (exit $ac_status); } && | |
21036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
21037 { (case "(($ac_try" in | |
21038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21039 *) ac_try_echo=$ac_try;; | |
21040 esac | |
21041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21042 (eval "$ac_try") 2>&5 | |
18999 ac_status=$? | 21043 ac_status=$? |
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19001 (exit $ac_status); } && | 21045 (exit $ac_status); }; } && |
19002 { ac_try='test -s conftest.$ac_objext' | 21046 { ac_try='test -s conftest.$ac_objext' |
19003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21047 { (case "(($ac_try" in |
19004 (eval $ac_try) 2>&5 | 21048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21049 *) ac_try_echo=$ac_try;; | |
21050 esac | |
21051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21052 (eval "$ac_try") 2>&5 | |
19005 ac_status=$? | 21053 ac_status=$? |
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19007 (exit $ac_status); }; }; then | 21055 (exit $ac_status); }; }; then |
19008 ac_cv_type_mode_t=yes | 21056 ac_cv_type_mode_t=yes |
19009 else | 21057 else |
19010 echo "$as_me: failed program was:" >&5 | 21058 echo "$as_me: failed program was:" >&5 |
19011 cat conftest.$ac_ext >&5 | 21059 sed 's/^/| /' conftest.$ac_ext >&5 |
19012 ac_cv_type_mode_t=no | 21060 |
19013 fi | 21061 ac_cv_type_mode_t=no |
19014 rm -f conftest.$ac_objext conftest.$ac_ext | 21062 fi |
19015 fi | 21063 |
19016 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5 | 21064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19017 echo "${ECHO_T}$ac_cv_type_mode_t" >&6 | 21065 fi |
21066 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5 | |
21067 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; } | |
19018 if test $ac_cv_type_mode_t = yes; then | 21068 if test $ac_cv_type_mode_t = yes; then |
19019 : | 21069 : |
19020 else | 21070 else |
19021 | 21071 |
19022 cat >>confdefs.h <<_ACEOF | 21072 cat >>confdefs.h <<_ACEOF |
19023 #define mode_t int | 21073 #define mode_t int |
19024 _ACEOF | 21074 _ACEOF |
19025 | 21075 |
19026 fi | 21076 fi |
19027 | 21077 |
19028 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | 21078 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
19029 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 | 21079 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } |
19030 if test "${ac_cv_header_time+set}" = set; then | 21080 if test "${ac_cv_header_time+set}" = set; then |
19031 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21081 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19032 else | 21082 else |
19033 cat >conftest.$ac_ext <<_ACEOF | 21083 cat >conftest.$ac_ext <<_ACEOF |
19034 #line $LINENO "configure" | 21084 /* confdefs.h. */ |
19035 #include "confdefs.h" | 21085 _ACEOF |
21086 cat confdefs.h >>conftest.$ac_ext | |
21087 cat >>conftest.$ac_ext <<_ACEOF | |
21088 /* end confdefs.h. */ | |
19036 #include <sys/types.h> | 21089 #include <sys/types.h> |
19037 #include <sys/time.h> | 21090 #include <sys/time.h> |
19038 #include <time.h> | 21091 #include <time.h> |
19039 | 21092 |
19040 #ifdef F77_DUMMY_MAIN | |
19041 # ifdef __cplusplus | |
19042 extern "C" | |
19043 # endif | |
19044 int F77_DUMMY_MAIN() { return 1; } | |
19045 #endif | |
19046 int | 21093 int |
19047 main () | 21094 main () |
19048 { | 21095 { |
19049 if ((struct tm *) 0) | 21096 if ((struct tm *) 0) |
19050 return 0; | 21097 return 0; |
19051 ; | 21098 ; |
19052 return 0; | 21099 return 0; |
19053 } | 21100 } |
19054 _ACEOF | 21101 _ACEOF |
19055 rm -f conftest.$ac_objext | 21102 rm -f conftest.$ac_objext |
19056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21103 if { (ac_try="$ac_compile" |
19057 (eval $ac_compile) 2>&5 | 21104 case "(($ac_try" in |
21105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21106 *) ac_try_echo=$ac_try;; | |
21107 esac | |
21108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21109 (eval "$ac_compile") 2>conftest.er1 | |
21110 ac_status=$? | |
21111 grep -v '^ *+' conftest.er1 >conftest.err | |
21112 rm -f conftest.er1 | |
21113 cat conftest.err >&5 | |
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21115 (exit $ac_status); } && | |
21116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
21117 { (case "(($ac_try" in | |
21118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21119 *) ac_try_echo=$ac_try;; | |
21120 esac | |
21121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21122 (eval "$ac_try") 2>&5 | |
19058 ac_status=$? | 21123 ac_status=$? |
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19060 (exit $ac_status); } && | 21125 (exit $ac_status); }; } && |
19061 { ac_try='test -s conftest.$ac_objext' | 21126 { ac_try='test -s conftest.$ac_objext' |
19062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21127 { (case "(($ac_try" in |
19063 (eval $ac_try) 2>&5 | 21128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21129 *) ac_try_echo=$ac_try;; | |
21130 esac | |
21131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21132 (eval "$ac_try") 2>&5 | |
19064 ac_status=$? | 21133 ac_status=$? |
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19066 (exit $ac_status); }; }; then | 21135 (exit $ac_status); }; }; then |
19067 ac_cv_header_time=yes | 21136 ac_cv_header_time=yes |
19068 else | 21137 else |
19069 echo "$as_me: failed program was:" >&5 | 21138 echo "$as_me: failed program was:" >&5 |
19070 cat conftest.$ac_ext >&5 | 21139 sed 's/^/| /' conftest.$ac_ext >&5 |
19071 ac_cv_header_time=no | 21140 |
19072 fi | 21141 ac_cv_header_time=no |
19073 rm -f conftest.$ac_objext conftest.$ac_ext | 21142 fi |
19074 fi | 21143 |
19075 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | 21144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19076 echo "${ECHO_T}$ac_cv_header_time" >&6 | 21145 fi |
21146 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | |
21147 echo "${ECHO_T}$ac_cv_header_time" >&6; } | |
19077 if test $ac_cv_header_time = yes; then | 21148 if test $ac_cv_header_time = yes; then |
19078 | 21149 |
19079 cat >>confdefs.h <<\_ACEOF | 21150 cat >>confdefs.h <<\_ACEOF |
19080 #define TIME_WITH_SYS_TIME 1 | 21151 #define TIME_WITH_SYS_TIME 1 |
19081 _ACEOF | 21152 _ACEOF |
19082 | 21153 |
19083 fi | 21154 fi |
19084 | 21155 |
19085 | 21156 |
19086 echo "$as_me:$LINENO: checking for socklen_t" >&5 | 21157 { echo "$as_me:$LINENO: checking for socklen_t" >&5 |
19087 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 | 21158 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; } |
19088 if test "${ac_cv_type_socklen_t+set}" = set; then | 21159 if test "${ac_cv_type_socklen_t+set}" = set; then |
19089 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21160 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19090 else | 21161 else |
19091 cat >conftest.$ac_ext <<_ACEOF | 21162 cat >conftest.$ac_ext <<_ACEOF |
19092 #line $LINENO "configure" | 21163 /* confdefs.h. */ |
19093 #include "confdefs.h" | 21164 _ACEOF |
21165 cat confdefs.h >>conftest.$ac_ext | |
21166 cat >>conftest.$ac_ext <<_ACEOF | |
21167 /* end confdefs.h. */ | |
19094 | 21168 |
19095 #if HAVE_SYS_TYPES_H | 21169 #if HAVE_SYS_TYPES_H |
19096 # include <sys/types.h> | 21170 # include <sys/types.h> |
19097 #endif | 21171 #endif |
19098 #include <sys/socket.h> | 21172 #include <sys/socket.h> |
19099 | 21173 |
19100 #ifdef F77_DUMMY_MAIN | 21174 typedef socklen_t ac__type_new_; |
19101 # ifdef __cplusplus | |
19102 extern "C" | |
19103 # endif | |
19104 int F77_DUMMY_MAIN() { return 1; } | |
19105 #endif | |
19106 int | 21175 int |
19107 main () | 21176 main () |
19108 { | 21177 { |
19109 if ((socklen_t *) 0) | 21178 if ((ac__type_new_ *) 0) |
19110 return 0; | 21179 return 0; |
19111 if (sizeof (socklen_t)) | 21180 if (sizeof (ac__type_new_)) |
19112 return 0; | 21181 return 0; |
19113 ; | 21182 ; |
19114 return 0; | 21183 return 0; |
19115 } | 21184 } |
19116 _ACEOF | 21185 _ACEOF |
19117 rm -f conftest.$ac_objext | 21186 rm -f conftest.$ac_objext |
19118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21187 if { (ac_try="$ac_compile" |
19119 (eval $ac_compile) 2>&5 | 21188 case "(($ac_try" in |
21189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21190 *) ac_try_echo=$ac_try;; | |
21191 esac | |
21192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21193 (eval "$ac_compile") 2>conftest.er1 | |
21194 ac_status=$? | |
21195 grep -v '^ *+' conftest.er1 >conftest.err | |
21196 rm -f conftest.er1 | |
21197 cat conftest.err >&5 | |
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21199 (exit $ac_status); } && | |
21200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
21201 { (case "(($ac_try" in | |
21202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21203 *) ac_try_echo=$ac_try;; | |
21204 esac | |
21205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21206 (eval "$ac_try") 2>&5 | |
19120 ac_status=$? | 21207 ac_status=$? |
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19122 (exit $ac_status); } && | 21209 (exit $ac_status); }; } && |
19123 { ac_try='test -s conftest.$ac_objext' | 21210 { ac_try='test -s conftest.$ac_objext' |
19124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21211 { (case "(($ac_try" in |
19125 (eval $ac_try) 2>&5 | 21212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21213 *) ac_try_echo=$ac_try;; | |
21214 esac | |
21215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21216 (eval "$ac_try") 2>&5 | |
19126 ac_status=$? | 21217 ac_status=$? |
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19128 (exit $ac_status); }; }; then | 21219 (exit $ac_status); }; }; then |
19129 ac_cv_type_socklen_t=yes | 21220 ac_cv_type_socklen_t=yes |
19130 else | 21221 else |
19131 echo "$as_me: failed program was:" >&5 | 21222 echo "$as_me: failed program was:" >&5 |
19132 cat conftest.$ac_ext >&5 | 21223 sed 's/^/| /' conftest.$ac_ext >&5 |
19133 ac_cv_type_socklen_t=no | 21224 |
19134 fi | 21225 ac_cv_type_socklen_t=no |
19135 rm -f conftest.$ac_objext conftest.$ac_ext | 21226 fi |
19136 fi | 21227 |
19137 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 | 21228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19138 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 | 21229 fi |
21230 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 | |
21231 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; } | |
19139 if test $ac_cv_type_socklen_t = yes; then | 21232 if test $ac_cv_type_socklen_t = yes; then |
19140 | 21233 |
19141 cat >>confdefs.h <<_ACEOF | 21234 cat >>confdefs.h <<_ACEOF |
19142 #define HAVE_SOCKLEN_T 1 | 21235 #define HAVE_SOCKLEN_T 1 |
19143 _ACEOF | 21236 _ACEOF |
19150 _ACEOF | 21243 _ACEOF |
19151 | 21244 |
19152 fi | 21245 fi |
19153 | 21246 |
19154 | 21247 |
19155 echo "$as_me:$LINENO: checking for struct utmp.ut_user" >&5 | 21248 { echo "$as_me:$LINENO: checking for struct utmp.ut_user" >&5 |
19156 echo $ECHO_N "checking for struct utmp.ut_user... $ECHO_C" >&6 | 21249 echo $ECHO_N "checking for struct utmp.ut_user... $ECHO_C" >&6; } |
19157 if test "${ac_cv_member_struct_utmp_ut_user+set}" = set; then | 21250 if test "${ac_cv_member_struct_utmp_ut_user+set}" = set; then |
19158 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21251 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19159 else | 21252 else |
19160 cat >conftest.$ac_ext <<_ACEOF | 21253 cat >conftest.$ac_ext <<_ACEOF |
19161 #line $LINENO "configure" | 21254 /* confdefs.h. */ |
19162 #include "confdefs.h" | 21255 _ACEOF |
21256 cat confdefs.h >>conftest.$ac_ext | |
21257 cat >>conftest.$ac_ext <<_ACEOF | |
21258 /* end confdefs.h. */ | |
19163 | 21259 |
19164 #include <sys/types.h> | 21260 #include <sys/types.h> |
19165 #if HAVE_UTMPX_H | 21261 #if HAVE_UTMPX_H |
19166 # include <utmpx.h> | 21262 # include <utmpx.h> |
19167 #endif | 21263 #endif |
19168 #if HAVE_UTMP_H | 21264 #if HAVE_UTMP_H |
19169 # include <utmp.h> | 21265 # include <utmp.h> |
19170 #endif | 21266 #endif |
19171 | 21267 |
19172 #ifdef F77_DUMMY_MAIN | |
19173 # ifdef __cplusplus | |
19174 extern "C" | |
19175 # endif | |
19176 int F77_DUMMY_MAIN() { return 1; } | |
19177 #endif | |
19178 int | 21268 int |
19179 main () | 21269 main () |
19180 { | 21270 { |
19181 static struct utmp ac_aggr; | 21271 static struct utmp ac_aggr; |
19182 if (ac_aggr.ut_user) | 21272 if (ac_aggr.ut_user) |
19184 ; | 21274 ; |
19185 return 0; | 21275 return 0; |
19186 } | 21276 } |
19187 _ACEOF | 21277 _ACEOF |
19188 rm -f conftest.$ac_objext | 21278 rm -f conftest.$ac_objext |
19189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21279 if { (ac_try="$ac_compile" |
19190 (eval $ac_compile) 2>&5 | 21280 case "(($ac_try" in |
21281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21282 *) ac_try_echo=$ac_try;; | |
21283 esac | |
21284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21285 (eval "$ac_compile") 2>conftest.er1 | |
21286 ac_status=$? | |
21287 grep -v '^ *+' conftest.er1 >conftest.err | |
21288 rm -f conftest.er1 | |
21289 cat conftest.err >&5 | |
21290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21291 (exit $ac_status); } && | |
21292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
21293 { (case "(($ac_try" in | |
21294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21295 *) ac_try_echo=$ac_try;; | |
21296 esac | |
21297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21298 (eval "$ac_try") 2>&5 | |
19191 ac_status=$? | 21299 ac_status=$? |
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19193 (exit $ac_status); } && | 21301 (exit $ac_status); }; } && |
19194 { ac_try='test -s conftest.$ac_objext' | 21302 { ac_try='test -s conftest.$ac_objext' |
19195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21303 { (case "(($ac_try" in |
19196 (eval $ac_try) 2>&5 | 21304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21305 *) ac_try_echo=$ac_try;; | |
21306 esac | |
21307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21308 (eval "$ac_try") 2>&5 | |
19197 ac_status=$? | 21309 ac_status=$? |
19198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19199 (exit $ac_status); }; }; then | 21311 (exit $ac_status); }; }; then |
19200 ac_cv_member_struct_utmp_ut_user=yes | 21312 ac_cv_member_struct_utmp_ut_user=yes |
19201 else | 21313 else |
19202 echo "$as_me: failed program was:" >&5 | 21314 echo "$as_me: failed program was:" >&5 |
19203 cat conftest.$ac_ext >&5 | 21315 sed 's/^/| /' conftest.$ac_ext >&5 |
19204 ac_cv_member_struct_utmp_ut_user=no | 21316 |
19205 fi | 21317 cat >conftest.$ac_ext <<_ACEOF |
19206 rm -f conftest.$ac_objext conftest.$ac_ext | 21318 /* confdefs.h. */ |
19207 fi | |
19208 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_user" >&5 | |
19209 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_user" >&6 | |
19210 if test $ac_cv_member_struct_utmp_ut_user = yes; then | |
19211 | |
19212 cat >>confdefs.h <<_ACEOF | |
19213 #define HAVE_STRUCT_UTMP_UT_USER 1 | |
19214 _ACEOF | 21319 _ACEOF |
19215 | 21320 cat confdefs.h >>conftest.$ac_ext |
19216 | 21321 cat >>conftest.$ac_ext <<_ACEOF |
19217 fi | 21322 /* end confdefs.h. */ |
19218 echo "$as_me:$LINENO: checking for struct utmp.ut_name" >&5 | |
19219 echo $ECHO_N "checking for struct utmp.ut_name... $ECHO_C" >&6 | |
19220 if test "${ac_cv_member_struct_utmp_ut_name+set}" = set; then | |
19221 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
19222 else | |
19223 cat >conftest.$ac_ext <<_ACEOF | |
19224 #line $LINENO "configure" | |
19225 #include "confdefs.h" | |
19226 | 21323 |
19227 #include <sys/types.h> | 21324 #include <sys/types.h> |
19228 #if HAVE_UTMPX_H | 21325 #if HAVE_UTMPX_H |
19229 # include <utmpx.h> | 21326 # include <utmpx.h> |
19230 #endif | 21327 #endif |
19231 #if HAVE_UTMP_H | 21328 #if HAVE_UTMP_H |
19232 # include <utmp.h> | 21329 # include <utmp.h> |
19233 #endif | 21330 #endif |
19234 | 21331 |
19235 #ifdef F77_DUMMY_MAIN | 21332 int |
19236 # ifdef __cplusplus | 21333 main () |
19237 extern "C" | 21334 { |
19238 # endif | 21335 static struct utmp ac_aggr; |
19239 int F77_DUMMY_MAIN() { return 1; } | 21336 if (sizeof ac_aggr.ut_user) |
21337 return 0; | |
21338 ; | |
21339 return 0; | |
21340 } | |
21341 _ACEOF | |
21342 rm -f conftest.$ac_objext | |
21343 if { (ac_try="$ac_compile" | |
21344 case "(($ac_try" in | |
21345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21346 *) ac_try_echo=$ac_try;; | |
21347 esac | |
21348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21349 (eval "$ac_compile") 2>conftest.er1 | |
21350 ac_status=$? | |
21351 grep -v '^ *+' conftest.er1 >conftest.err | |
21352 rm -f conftest.er1 | |
21353 cat conftest.err >&5 | |
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21355 (exit $ac_status); } && | |
21356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
21357 { (case "(($ac_try" in | |
21358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21359 *) ac_try_echo=$ac_try;; | |
21360 esac | |
21361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21362 (eval "$ac_try") 2>&5 | |
21363 ac_status=$? | |
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21365 (exit $ac_status); }; } && | |
21366 { ac_try='test -s conftest.$ac_objext' | |
21367 { (case "(($ac_try" in | |
21368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21369 *) ac_try_echo=$ac_try;; | |
21370 esac | |
21371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21372 (eval "$ac_try") 2>&5 | |
21373 ac_status=$? | |
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21375 (exit $ac_status); }; }; then | |
21376 ac_cv_member_struct_utmp_ut_user=yes | |
21377 else | |
21378 echo "$as_me: failed program was:" >&5 | |
21379 sed 's/^/| /' conftest.$ac_ext >&5 | |
21380 | |
21381 ac_cv_member_struct_utmp_ut_user=no | |
21382 fi | |
21383 | |
21384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
21385 fi | |
21386 | |
21387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
21388 fi | |
21389 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_user" >&5 | |
21390 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_user" >&6; } | |
21391 if test $ac_cv_member_struct_utmp_ut_user = yes; then | |
21392 | |
21393 cat >>confdefs.h <<_ACEOF | |
21394 #define HAVE_STRUCT_UTMP_UT_USER 1 | |
21395 _ACEOF | |
21396 | |
21397 | |
21398 fi | |
21399 { echo "$as_me:$LINENO: checking for struct utmp.ut_name" >&5 | |
21400 echo $ECHO_N "checking for struct utmp.ut_name... $ECHO_C" >&6; } | |
21401 if test "${ac_cv_member_struct_utmp_ut_name+set}" = set; then | |
21402 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
21403 else | |
21404 cat >conftest.$ac_ext <<_ACEOF | |
21405 /* confdefs.h. */ | |
21406 _ACEOF | |
21407 cat confdefs.h >>conftest.$ac_ext | |
21408 cat >>conftest.$ac_ext <<_ACEOF | |
21409 /* end confdefs.h. */ | |
21410 | |
21411 #include <sys/types.h> | |
21412 #if HAVE_UTMPX_H | |
21413 # include <utmpx.h> | |
19240 #endif | 21414 #endif |
21415 #if HAVE_UTMP_H | |
21416 # include <utmp.h> | |
21417 #endif | |
21418 | |
19241 int | 21419 int |
19242 main () | 21420 main () |
19243 { | 21421 { |
19244 static struct utmp ac_aggr; | 21422 static struct utmp ac_aggr; |
19245 if (ac_aggr.ut_name) | 21423 if (ac_aggr.ut_name) |
19247 ; | 21425 ; |
19248 return 0; | 21426 return 0; |
19249 } | 21427 } |
19250 _ACEOF | 21428 _ACEOF |
19251 rm -f conftest.$ac_objext | 21429 rm -f conftest.$ac_objext |
19252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21430 if { (ac_try="$ac_compile" |
19253 (eval $ac_compile) 2>&5 | 21431 case "(($ac_try" in |
21432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21433 *) ac_try_echo=$ac_try;; | |
21434 esac | |
21435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21436 (eval "$ac_compile") 2>conftest.er1 | |
21437 ac_status=$? | |
21438 grep -v '^ *+' conftest.er1 >conftest.err | |
21439 rm -f conftest.er1 | |
21440 cat conftest.err >&5 | |
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21442 (exit $ac_status); } && | |
21443 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
21444 { (case "(($ac_try" in | |
21445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21446 *) ac_try_echo=$ac_try;; | |
21447 esac | |
21448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21449 (eval "$ac_try") 2>&5 | |
19254 ac_status=$? | 21450 ac_status=$? |
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19256 (exit $ac_status); } && | 21452 (exit $ac_status); }; } && |
19257 { ac_try='test -s conftest.$ac_objext' | 21453 { ac_try='test -s conftest.$ac_objext' |
19258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21454 { (case "(($ac_try" in |
19259 (eval $ac_try) 2>&5 | 21455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21456 *) ac_try_echo=$ac_try;; | |
21457 esac | |
21458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21459 (eval "$ac_try") 2>&5 | |
19260 ac_status=$? | 21460 ac_status=$? |
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19262 (exit $ac_status); }; }; then | 21462 (exit $ac_status); }; }; then |
19263 ac_cv_member_struct_utmp_ut_name=yes | 21463 ac_cv_member_struct_utmp_ut_name=yes |
19264 else | 21464 else |
19265 echo "$as_me: failed program was:" >&5 | 21465 echo "$as_me: failed program was:" >&5 |
19266 cat conftest.$ac_ext >&5 | 21466 sed 's/^/| /' conftest.$ac_ext >&5 |
19267 ac_cv_member_struct_utmp_ut_name=no | 21467 |
19268 fi | 21468 cat >conftest.$ac_ext <<_ACEOF |
19269 rm -f conftest.$ac_objext conftest.$ac_ext | 21469 /* confdefs.h. */ |
19270 fi | |
19271 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_name" >&5 | |
19272 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_name" >&6 | |
19273 if test $ac_cv_member_struct_utmp_ut_name = yes; then | |
19274 | |
19275 cat >>confdefs.h <<_ACEOF | |
19276 #define HAVE_STRUCT_UTMP_UT_NAME 1 | |
19277 _ACEOF | 21470 _ACEOF |
19278 | 21471 cat confdefs.h >>conftest.$ac_ext |
19279 | 21472 cat >>conftest.$ac_ext <<_ACEOF |
19280 fi | 21473 /* end confdefs.h. */ |
19281 echo "$as_me:$LINENO: checking for struct utmp.ut_id" >&5 | |
19282 echo $ECHO_N "checking for struct utmp.ut_id... $ECHO_C" >&6 | |
19283 if test "${ac_cv_member_struct_utmp_ut_id+set}" = set; then | |
19284 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
19285 else | |
19286 cat >conftest.$ac_ext <<_ACEOF | |
19287 #line $LINENO "configure" | |
19288 #include "confdefs.h" | |
19289 | 21474 |
19290 #include <sys/types.h> | 21475 #include <sys/types.h> |
19291 #if HAVE_UTMPX_H | 21476 #if HAVE_UTMPX_H |
19292 # include <utmpx.h> | 21477 # include <utmpx.h> |
19293 #endif | 21478 #endif |
19294 #if HAVE_UTMP_H | 21479 #if HAVE_UTMP_H |
19295 # include <utmp.h> | 21480 # include <utmp.h> |
19296 #endif | 21481 #endif |
19297 | 21482 |
19298 #ifdef F77_DUMMY_MAIN | 21483 int |
19299 # ifdef __cplusplus | 21484 main () |
19300 extern "C" | 21485 { |
19301 # endif | 21486 static struct utmp ac_aggr; |
19302 int F77_DUMMY_MAIN() { return 1; } | 21487 if (sizeof ac_aggr.ut_name) |
21488 return 0; | |
21489 ; | |
21490 return 0; | |
21491 } | |
21492 _ACEOF | |
21493 rm -f conftest.$ac_objext | |
21494 if { (ac_try="$ac_compile" | |
21495 case "(($ac_try" in | |
21496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21497 *) ac_try_echo=$ac_try;; | |
21498 esac | |
21499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21500 (eval "$ac_compile") 2>conftest.er1 | |
21501 ac_status=$? | |
21502 grep -v '^ *+' conftest.er1 >conftest.err | |
21503 rm -f conftest.er1 | |
21504 cat conftest.err >&5 | |
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21506 (exit $ac_status); } && | |
21507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
21508 { (case "(($ac_try" in | |
21509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21510 *) ac_try_echo=$ac_try;; | |
21511 esac | |
21512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21513 (eval "$ac_try") 2>&5 | |
21514 ac_status=$? | |
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21516 (exit $ac_status); }; } && | |
21517 { ac_try='test -s conftest.$ac_objext' | |
21518 { (case "(($ac_try" in | |
21519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21520 *) ac_try_echo=$ac_try;; | |
21521 esac | |
21522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21523 (eval "$ac_try") 2>&5 | |
21524 ac_status=$? | |
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21526 (exit $ac_status); }; }; then | |
21527 ac_cv_member_struct_utmp_ut_name=yes | |
21528 else | |
21529 echo "$as_me: failed program was:" >&5 | |
21530 sed 's/^/| /' conftest.$ac_ext >&5 | |
21531 | |
21532 ac_cv_member_struct_utmp_ut_name=no | |
21533 fi | |
21534 | |
21535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
21536 fi | |
21537 | |
21538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
21539 fi | |
21540 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_name" >&5 | |
21541 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_name" >&6; } | |
21542 if test $ac_cv_member_struct_utmp_ut_name = yes; then | |
21543 | |
21544 cat >>confdefs.h <<_ACEOF | |
21545 #define HAVE_STRUCT_UTMP_UT_NAME 1 | |
21546 _ACEOF | |
21547 | |
21548 | |
21549 fi | |
21550 { echo "$as_me:$LINENO: checking for struct utmp.ut_id" >&5 | |
21551 echo $ECHO_N "checking for struct utmp.ut_id... $ECHO_C" >&6; } | |
21552 if test "${ac_cv_member_struct_utmp_ut_id+set}" = set; then | |
21553 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
21554 else | |
21555 cat >conftest.$ac_ext <<_ACEOF | |
21556 /* confdefs.h. */ | |
21557 _ACEOF | |
21558 cat confdefs.h >>conftest.$ac_ext | |
21559 cat >>conftest.$ac_ext <<_ACEOF | |
21560 /* end confdefs.h. */ | |
21561 | |
21562 #include <sys/types.h> | |
21563 #if HAVE_UTMPX_H | |
21564 # include <utmpx.h> | |
19303 #endif | 21565 #endif |
21566 #if HAVE_UTMP_H | |
21567 # include <utmp.h> | |
21568 #endif | |
21569 | |
19304 int | 21570 int |
19305 main () | 21571 main () |
19306 { | 21572 { |
19307 static struct utmp ac_aggr; | 21573 static struct utmp ac_aggr; |
19308 if (ac_aggr.ut_id) | 21574 if (ac_aggr.ut_id) |
19310 ; | 21576 ; |
19311 return 0; | 21577 return 0; |
19312 } | 21578 } |
19313 _ACEOF | 21579 _ACEOF |
19314 rm -f conftest.$ac_objext | 21580 rm -f conftest.$ac_objext |
19315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21581 if { (ac_try="$ac_compile" |
19316 (eval $ac_compile) 2>&5 | 21582 case "(($ac_try" in |
21583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21584 *) ac_try_echo=$ac_try;; | |
21585 esac | |
21586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21587 (eval "$ac_compile") 2>conftest.er1 | |
21588 ac_status=$? | |
21589 grep -v '^ *+' conftest.er1 >conftest.err | |
21590 rm -f conftest.er1 | |
21591 cat conftest.err >&5 | |
21592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21593 (exit $ac_status); } && | |
21594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
21595 { (case "(($ac_try" in | |
21596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21597 *) ac_try_echo=$ac_try;; | |
21598 esac | |
21599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21600 (eval "$ac_try") 2>&5 | |
19317 ac_status=$? | 21601 ac_status=$? |
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19319 (exit $ac_status); } && | 21603 (exit $ac_status); }; } && |
19320 { ac_try='test -s conftest.$ac_objext' | 21604 { ac_try='test -s conftest.$ac_objext' |
19321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21605 { (case "(($ac_try" in |
19322 (eval $ac_try) 2>&5 | 21606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21607 *) ac_try_echo=$ac_try;; | |
21608 esac | |
21609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21610 (eval "$ac_try") 2>&5 | |
19323 ac_status=$? | 21611 ac_status=$? |
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19325 (exit $ac_status); }; }; then | 21613 (exit $ac_status); }; }; then |
19326 ac_cv_member_struct_utmp_ut_id=yes | 21614 ac_cv_member_struct_utmp_ut_id=yes |
19327 else | 21615 else |
19328 echo "$as_me: failed program was:" >&5 | 21616 echo "$as_me: failed program was:" >&5 |
19329 cat conftest.$ac_ext >&5 | 21617 sed 's/^/| /' conftest.$ac_ext >&5 |
19330 ac_cv_member_struct_utmp_ut_id=no | 21618 |
19331 fi | 21619 cat >conftest.$ac_ext <<_ACEOF |
19332 rm -f conftest.$ac_objext conftest.$ac_ext | 21620 /* confdefs.h. */ |
19333 fi | |
19334 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_id" >&5 | |
19335 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_id" >&6 | |
19336 if test $ac_cv_member_struct_utmp_ut_id = yes; then | |
19337 | |
19338 cat >>confdefs.h <<_ACEOF | |
19339 #define HAVE_STRUCT_UTMP_UT_ID 1 | |
19340 _ACEOF | 21621 _ACEOF |
19341 | 21622 cat confdefs.h >>conftest.$ac_ext |
19342 | 21623 cat >>conftest.$ac_ext <<_ACEOF |
19343 fi | 21624 /* end confdefs.h. */ |
19344 | 21625 |
19345 | |
19346 | |
19347 if test $ac_cv_c_compiler_gnu = yes; then | |
19348 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 | |
19349 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 | |
19350 if test "${ac_cv_prog_gcc_traditional+set}" = set; then | |
19351 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
19352 else | |
19353 ac_pattern="Autoconf.*'x'" | |
19354 cat >conftest.$ac_ext <<_ACEOF | |
19355 #line $LINENO "configure" | |
19356 #include "confdefs.h" | |
19357 #include <sgtty.h> | |
19358 Autoconf TIOCGETP | |
19359 _ACEOF | |
19360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
19361 egrep "$ac_pattern" >/dev/null 2>&1; then | |
19362 ac_cv_prog_gcc_traditional=yes | |
19363 else | |
19364 ac_cv_prog_gcc_traditional=no | |
19365 fi | |
19366 rm -f conftest* | |
19367 | |
19368 | |
19369 if test $ac_cv_prog_gcc_traditional = no; then | |
19370 cat >conftest.$ac_ext <<_ACEOF | |
19371 #line $LINENO "configure" | |
19372 #include "confdefs.h" | |
19373 #include <termio.h> | |
19374 Autoconf TCGETA | |
19375 _ACEOF | |
19376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
19377 egrep "$ac_pattern" >/dev/null 2>&1; then | |
19378 ac_cv_prog_gcc_traditional=yes | |
19379 fi | |
19380 rm -f conftest* | |
19381 | |
19382 fi | |
19383 fi | |
19384 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 | |
19385 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 | |
19386 if test $ac_cv_prog_gcc_traditional = yes; then | |
19387 CC="$CC -traditional" | |
19388 fi | |
19389 fi | |
19390 | |
19391 | |
19392 echo "$as_me:$LINENO: checking return type of signal handlers" >&5 | |
19393 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 | |
19394 if test "${ac_cv_type_signal+set}" = set; then | |
19395 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
19396 else | |
19397 cat >conftest.$ac_ext <<_ACEOF | |
19398 #line $LINENO "configure" | |
19399 #include "confdefs.h" | |
19400 #include <sys/types.h> | 21626 #include <sys/types.h> |
19401 #include <signal.h> | 21627 #if HAVE_UTMPX_H |
19402 #ifdef signal | 21628 # include <utmpx.h> |
19403 # undef signal | |
19404 #endif | 21629 #endif |
19405 #ifdef __cplusplus | 21630 #if HAVE_UTMP_H |
19406 extern "C" void (*signal (int, void (*)(int)))(int); | 21631 # include <utmp.h> |
19407 #else | |
19408 void (*signal ()) (); | |
19409 #endif | 21632 #endif |
19410 | 21633 |
19411 #ifdef F77_DUMMY_MAIN | |
19412 # ifdef __cplusplus | |
19413 extern "C" | |
19414 # endif | |
19415 int F77_DUMMY_MAIN() { return 1; } | |
19416 #endif | |
19417 int | 21634 int |
19418 main () | 21635 main () |
19419 { | 21636 { |
19420 int i; | 21637 static struct utmp ac_aggr; |
21638 if (sizeof ac_aggr.ut_id) | |
21639 return 0; | |
19421 ; | 21640 ; |
19422 return 0; | 21641 return 0; |
19423 } | 21642 } |
19424 _ACEOF | 21643 _ACEOF |
19425 rm -f conftest.$ac_objext | 21644 rm -f conftest.$ac_objext |
19426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21645 if { (ac_try="$ac_compile" |
19427 (eval $ac_compile) 2>&5 | 21646 case "(($ac_try" in |
21647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21648 *) ac_try_echo=$ac_try;; | |
21649 esac | |
21650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21651 (eval "$ac_compile") 2>conftest.er1 | |
21652 ac_status=$? | |
21653 grep -v '^ *+' conftest.er1 >conftest.err | |
21654 rm -f conftest.er1 | |
21655 cat conftest.err >&5 | |
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21657 (exit $ac_status); } && | |
21658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
21659 { (case "(($ac_try" in | |
21660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21661 *) ac_try_echo=$ac_try;; | |
21662 esac | |
21663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21664 (eval "$ac_try") 2>&5 | |
19428 ac_status=$? | 21665 ac_status=$? |
19429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19430 (exit $ac_status); } && | 21667 (exit $ac_status); }; } && |
19431 { ac_try='test -s conftest.$ac_objext' | 21668 { ac_try='test -s conftest.$ac_objext' |
19432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21669 { (case "(($ac_try" in |
19433 (eval $ac_try) 2>&5 | 21670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21671 *) ac_try_echo=$ac_try;; | |
21672 esac | |
21673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21674 (eval "$ac_try") 2>&5 | |
19434 ac_status=$? | 21675 ac_status=$? |
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19436 (exit $ac_status); }; }; then | 21677 (exit $ac_status); }; }; then |
19437 ac_cv_type_signal=void | 21678 ac_cv_member_struct_utmp_ut_id=yes |
19438 else | 21679 else |
19439 echo "$as_me: failed program was:" >&5 | 21680 echo "$as_me: failed program was:" >&5 |
19440 cat conftest.$ac_ext >&5 | 21681 sed 's/^/| /' conftest.$ac_ext >&5 |
19441 ac_cv_type_signal=int | 21682 |
19442 fi | 21683 ac_cv_member_struct_utmp_ut_id=no |
19443 rm -f conftest.$ac_objext conftest.$ac_ext | 21684 fi |
19444 fi | 21685 |
19445 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 | 21686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19446 echo "${ECHO_T}$ac_cv_type_signal" >&6 | 21687 fi |
21688 | |
21689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
21690 fi | |
21691 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_id" >&5 | |
21692 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_id" >&6; } | |
21693 if test $ac_cv_member_struct_utmp_ut_id = yes; then | |
21694 | |
21695 cat >>confdefs.h <<_ACEOF | |
21696 #define HAVE_STRUCT_UTMP_UT_ID 1 | |
21697 _ACEOF | |
21698 | |
21699 | |
21700 fi | |
21701 | |
21702 | |
21703 | |
21704 if test $ac_cv_c_compiler_gnu = yes; then | |
21705 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 | |
21706 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; } | |
21707 if test "${ac_cv_prog_gcc_traditional+set}" = set; then | |
21708 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
21709 else | |
21710 ac_pattern="Autoconf.*'x'" | |
21711 cat >conftest.$ac_ext <<_ACEOF | |
21712 /* confdefs.h. */ | |
21713 _ACEOF | |
21714 cat confdefs.h >>conftest.$ac_ext | |
21715 cat >>conftest.$ac_ext <<_ACEOF | |
21716 /* end confdefs.h. */ | |
21717 #include <sgtty.h> | |
21718 Autoconf TIOCGETP | |
21719 _ACEOF | |
21720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
21721 $EGREP "$ac_pattern" >/dev/null 2>&1; then | |
21722 ac_cv_prog_gcc_traditional=yes | |
21723 else | |
21724 ac_cv_prog_gcc_traditional=no | |
21725 fi | |
21726 rm -f conftest* | |
21727 | |
21728 | |
21729 if test $ac_cv_prog_gcc_traditional = no; then | |
21730 cat >conftest.$ac_ext <<_ACEOF | |
21731 /* confdefs.h. */ | |
21732 _ACEOF | |
21733 cat confdefs.h >>conftest.$ac_ext | |
21734 cat >>conftest.$ac_ext <<_ACEOF | |
21735 /* end confdefs.h. */ | |
21736 #include <termio.h> | |
21737 Autoconf TCGETA | |
21738 _ACEOF | |
21739 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
21740 $EGREP "$ac_pattern" >/dev/null 2>&1; then | |
21741 ac_cv_prog_gcc_traditional=yes | |
21742 fi | |
21743 rm -f conftest* | |
21744 | |
21745 fi | |
21746 fi | |
21747 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 | |
21748 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; } | |
21749 if test $ac_cv_prog_gcc_traditional = yes; then | |
21750 CC="$CC -traditional" | |
21751 fi | |
21752 fi | |
21753 | |
21754 | |
21755 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5 | |
21756 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } | |
21757 if test "${ac_cv_type_signal+set}" = set; then | |
21758 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
21759 else | |
21760 cat >conftest.$ac_ext <<_ACEOF | |
21761 /* confdefs.h. */ | |
21762 _ACEOF | |
21763 cat confdefs.h >>conftest.$ac_ext | |
21764 cat >>conftest.$ac_ext <<_ACEOF | |
21765 /* end confdefs.h. */ | |
21766 #include <sys/types.h> | |
21767 #include <signal.h> | |
21768 | |
21769 int | |
21770 main () | |
21771 { | |
21772 return *(signal (0, 0)) (0) == 1; | |
21773 ; | |
21774 return 0; | |
21775 } | |
21776 _ACEOF | |
21777 rm -f conftest.$ac_objext | |
21778 if { (ac_try="$ac_compile" | |
21779 case "(($ac_try" in | |
21780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21781 *) ac_try_echo=$ac_try;; | |
21782 esac | |
21783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21784 (eval "$ac_compile") 2>conftest.er1 | |
21785 ac_status=$? | |
21786 grep -v '^ *+' conftest.er1 >conftest.err | |
21787 rm -f conftest.er1 | |
21788 cat conftest.err >&5 | |
21789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21790 (exit $ac_status); } && | |
21791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
21792 { (case "(($ac_try" in | |
21793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21794 *) ac_try_echo=$ac_try;; | |
21795 esac | |
21796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21797 (eval "$ac_try") 2>&5 | |
21798 ac_status=$? | |
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21800 (exit $ac_status); }; } && | |
21801 { ac_try='test -s conftest.$ac_objext' | |
21802 { (case "(($ac_try" in | |
21803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21804 *) ac_try_echo=$ac_try;; | |
21805 esac | |
21806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21807 (eval "$ac_try") 2>&5 | |
21808 ac_status=$? | |
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21810 (exit $ac_status); }; }; then | |
21811 ac_cv_type_signal=int | |
21812 else | |
21813 echo "$as_me: failed program was:" >&5 | |
21814 sed 's/^/| /' conftest.$ac_ext >&5 | |
21815 | |
21816 ac_cv_type_signal=void | |
21817 fi | |
21818 | |
21819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
21820 fi | |
21821 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 | |
21822 echo "${ECHO_T}$ac_cv_type_signal" >&6; } | |
19447 | 21823 |
19448 cat >>confdefs.h <<_ACEOF | 21824 cat >>confdefs.h <<_ACEOF |
19449 #define RETSIGTYPE $ac_cv_type_signal | 21825 #define RETSIGTYPE $ac_cv_type_signal |
19450 _ACEOF | 21826 _ACEOF |
19451 | 21827 |
19456 #define RETSIGTYPE_VOID 1 | 21832 #define RETSIGTYPE_VOID 1 |
19457 _ACEOF | 21833 _ACEOF |
19458 | 21834 |
19459 fi | 21835 fi |
19460 | 21836 |
19461 echo "$as_me:$LINENO: checking for working memcmp" >&5 | 21837 { echo "$as_me:$LINENO: checking for working memcmp" >&5 |
19462 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6 | 21838 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; } |
19463 if test "${ac_cv_func_memcmp_working+set}" = set; then | 21839 if test "${ac_cv_func_memcmp_working+set}" = set; then |
19464 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21840 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19465 else | 21841 else |
19466 if test "$cross_compiling" = yes; then | 21842 if test "$cross_compiling" = yes; then |
19467 ac_cv_func_memcmp_working=no | 21843 ac_cv_func_memcmp_working=no |
19468 else | 21844 else |
19469 cat >conftest.$ac_ext <<_ACEOF | 21845 cat >conftest.$ac_ext <<_ACEOF |
19470 #line $LINENO "configure" | 21846 /* confdefs.h. */ |
19471 #include "confdefs.h" | 21847 _ACEOF |
19472 | 21848 cat confdefs.h >>conftest.$ac_ext |
19473 #ifdef F77_DUMMY_MAIN | 21849 cat >>conftest.$ac_ext <<_ACEOF |
19474 # ifdef __cplusplus | 21850 /* end confdefs.h. */ |
19475 extern "C" | 21851 $ac_includes_default |
19476 # endif | |
19477 int F77_DUMMY_MAIN() { return 1; } | |
19478 #endif | |
19479 int | 21852 int |
19480 main () | 21853 main () |
19481 { | 21854 { |
19482 | 21855 |
19483 /* Some versions of memcmp are not 8-bit clean. */ | 21856 /* Some versions of memcmp are not 8-bit clean. */ |
19484 char c0 = 0x40, c1 = 0x80, c2 = 0x81; | 21857 char c0 = '\100', c1 = '\200', c2 = '\201'; |
19485 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) | 21858 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) |
19486 exit (1); | 21859 return 1; |
19487 | 21860 |
19488 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes | 21861 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes |
19489 or more and with at least one buffer not starting on a 4-byte boundary. | 21862 or more and with at least one buffer not starting on a 4-byte boundary. |
19490 William Lewis provided this test program. */ | 21863 William Lewis provided this test program. */ |
19491 { | 21864 { |
19492 char foo[21]; | 21865 char foo[21]; |
19493 char bar[21]; | 21866 char bar[21]; |
19494 int i; | 21867 int i; |
19495 for (i = 0; i < 4; i++) | 21868 for (i = 0; i < 4; i++) |
19496 { | 21869 { |
19497 char *a = foo + i; | 21870 char *a = foo + i; |
19498 char *b = bar + i; | 21871 char *b = bar + i; |
19499 strcpy (a, "--------01111111"); | 21872 strcpy (a, "--------01111111"); |
19500 strcpy (b, "--------10000000"); | 21873 strcpy (b, "--------10000000"); |
19501 if (memcmp (a, b, 16) >= 0) | 21874 if (memcmp (a, b, 16) >= 0) |
19502 exit (1); | 21875 return 1; |
19503 } | 21876 } |
19504 exit (0); | 21877 return 0; |
19505 } | 21878 } |
19506 | 21879 |
19507 ; | 21880 ; |
19508 return 0; | 21881 return 0; |
19509 } | 21882 } |
19510 _ACEOF | 21883 _ACEOF |
19511 rm -f conftest$ac_exeext | 21884 rm -f conftest$ac_exeext |
19512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 21885 if { (ac_try="$ac_link" |
19513 (eval $ac_link) 2>&5 | 21886 case "(($ac_try" in |
21887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21888 *) ac_try_echo=$ac_try;; | |
21889 esac | |
21890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21891 (eval "$ac_link") 2>&5 | |
19514 ac_status=$? | 21892 ac_status=$? |
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19516 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 21894 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
19517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21895 { (case "(($ac_try" in |
19518 (eval $ac_try) 2>&5 | 21896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21897 *) ac_try_echo=$ac_try;; | |
21898 esac | |
21899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21900 (eval "$ac_try") 2>&5 | |
19519 ac_status=$? | 21901 ac_status=$? |
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19521 (exit $ac_status); }; }; then | 21903 (exit $ac_status); }; }; then |
19522 ac_cv_func_memcmp_working=yes | 21904 ac_cv_func_memcmp_working=yes |
19523 else | 21905 else |
19524 echo "$as_me: program exited with status $ac_status" >&5 | 21906 echo "$as_me: program exited with status $ac_status" >&5 |
19525 echo "$as_me: failed program was:" >&5 | 21907 echo "$as_me: failed program was:" >&5 |
19526 cat conftest.$ac_ext >&5 | 21908 sed 's/^/| /' conftest.$ac_ext >&5 |
21909 | |
19527 ( exit $ac_status ) | 21910 ( exit $ac_status ) |
19528 ac_cv_func_memcmp_working=no | 21911 ac_cv_func_memcmp_working=no |
19529 fi | 21912 fi |
19530 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 21913 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
19531 fi | 21914 fi |
19532 fi | 21915 |
19533 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 | 21916 |
19534 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6 | 21917 fi |
19535 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext" | 21918 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 |
21919 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; } | |
21920 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in | |
21921 *" memcmp.$ac_objext "* ) ;; | |
21922 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" | |
21923 ;; | |
21924 esac | |
21925 | |
19536 | 21926 |
19537 | 21927 |
19538 | 21928 |
19539 | 21929 |
19540 | 21930 |
19541 for ac_func in getpgid getpgrp setpgrp wait3 | 21931 for ac_func in getpgid getpgrp setpgrp wait3 |
19542 do | 21932 do |
19543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 21933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
19544 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 21934 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
19545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 21935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
19546 if eval "test \"\${$as_ac_var+set}\" = set"; then | 21936 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
19547 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21937 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19548 else | 21938 else |
19549 cat >conftest.$ac_ext <<_ACEOF | 21939 cat >conftest.$ac_ext <<_ACEOF |
19550 #line $LINENO "configure" | 21940 /* confdefs.h. */ |
19551 #include "confdefs.h" | 21941 _ACEOF |
21942 cat confdefs.h >>conftest.$ac_ext | |
21943 cat >>conftest.$ac_ext <<_ACEOF | |
21944 /* end confdefs.h. */ | |
21945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
21946 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
21947 #define $ac_func innocuous_$ac_func | |
21948 | |
19552 /* System header to define __stub macros and hopefully few prototypes, | 21949 /* System header to define __stub macros and hopefully few prototypes, |
19553 which can conflict with char $ac_func (); below. */ | 21950 which can conflict with char $ac_func (); below. |
19554 #include <assert.h> | 21951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
19555 /* Override any gcc2 internal prototype to avoid an error. */ | 21952 <limits.h> exists even on freestanding compilers. */ |
21953 | |
21954 #ifdef __STDC__ | |
21955 # include <limits.h> | |
21956 #else | |
21957 # include <assert.h> | |
21958 #endif | |
21959 | |
21960 #undef $ac_func | |
21961 | |
21962 /* Override any GCC internal prototype to avoid an error. | |
21963 Use char because int might match the return type of a GCC | |
21964 builtin and then its argument prototype would still apply. */ | |
19556 #ifdef __cplusplus | 21965 #ifdef __cplusplus |
19557 extern "C" | 21966 extern "C" |
19558 #endif | 21967 #endif |
19559 /* We use char because int might match the return type of a gcc2 | |
19560 builtin and then its argument prototype would still apply. */ | |
19561 char $ac_func (); | 21968 char $ac_func (); |
19562 char (*f) (); | 21969 /* The GNU C library defines this for functions which it implements |
19563 | 21970 to always fail with ENOSYS. Some functions are actually named |
19564 #ifdef F77_DUMMY_MAIN | 21971 something starting with __ and the normal name is an alias. */ |
19565 # ifdef __cplusplus | 21972 #if defined __stub_$ac_func || defined __stub___$ac_func |
19566 extern "C" | 21973 choke me |
19567 # endif | |
19568 int F77_DUMMY_MAIN() { return 1; } | |
19569 #endif | 21974 #endif |
21975 | |
19570 int | 21976 int |
19571 main () | 21977 main () |
19572 { | 21978 { |
19573 /* The GNU C library defines this for functions which it implements | 21979 return $ac_func (); |
19574 to always fail with ENOSYS. Some functions are actually named | |
19575 something starting with __ and the normal name is an alias. */ | |
19576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
19577 choke me | |
19578 #else | |
19579 f = $ac_func; | |
19580 #endif | |
19581 | |
19582 ; | 21980 ; |
19583 return 0; | 21981 return 0; |
19584 } | 21982 } |
19585 _ACEOF | 21983 _ACEOF |
19586 rm -f conftest.$ac_objext conftest$ac_exeext | 21984 rm -f conftest.$ac_objext conftest$ac_exeext |
19587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 21985 if { (ac_try="$ac_link" |
19588 (eval $ac_link) 2>&5 | 21986 case "(($ac_try" in |
21987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21988 *) ac_try_echo=$ac_try;; | |
21989 esac | |
21990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21991 (eval "$ac_link") 2>conftest.er1 | |
21992 ac_status=$? | |
21993 grep -v '^ *+' conftest.er1 >conftest.err | |
21994 rm -f conftest.er1 | |
21995 cat conftest.err >&5 | |
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21997 (exit $ac_status); } && | |
21998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
21999 { (case "(($ac_try" in | |
22000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22001 *) ac_try_echo=$ac_try;; | |
22002 esac | |
22003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22004 (eval "$ac_try") 2>&5 | |
19589 ac_status=$? | 22005 ac_status=$? |
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19591 (exit $ac_status); } && | 22007 (exit $ac_status); }; } && |
19592 { ac_try='test -s conftest$ac_exeext' | 22008 { ac_try='test -s conftest$ac_exeext' |
19593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22009 { (case "(($ac_try" in |
19594 (eval $ac_try) 2>&5 | 22010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22011 *) ac_try_echo=$ac_try;; | |
22012 esac | |
22013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22014 (eval "$ac_try") 2>&5 | |
19595 ac_status=$? | 22015 ac_status=$? |
19596 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19597 (exit $ac_status); }; }; then | 22017 (exit $ac_status); }; }; then |
19598 eval "$as_ac_var=yes" | 22018 eval "$as_ac_var=yes" |
19599 else | 22019 else |
19600 echo "$as_me: failed program was:" >&5 | 22020 echo "$as_me: failed program was:" >&5 |
19601 cat conftest.$ac_ext >&5 | 22021 sed 's/^/| /' conftest.$ac_ext >&5 |
19602 eval "$as_ac_var=no" | 22022 |
19603 fi | 22023 eval "$as_ac_var=no" |
19604 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 22024 fi |
19605 fi | 22025 |
19606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 22026 rm -f core conftest.err conftest.$ac_objext \ |
19607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 22027 conftest$ac_exeext conftest.$ac_ext |
22028 fi | |
22029 ac_res=`eval echo '${'$as_ac_var'}'` | |
22030 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
22031 echo "${ECHO_T}$ac_res" >&6; } | |
19608 if test `eval echo '${'$as_ac_var'}'` = yes; then | 22032 if test `eval echo '${'$as_ac_var'}'` = yes; then |
19609 cat >>confdefs.h <<_ACEOF | 22033 cat >>confdefs.h <<_ACEOF |
19610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 22034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
19611 _ACEOF | 22035 _ACEOF |
19612 | 22036 |
19613 fi | 22037 fi |
19614 done | 22038 done |
19615 | 22039 |
19616 echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 | 22040 { echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 |
19617 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6 | 22041 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6; } |
19618 if test "${ac_cv_func_getpgrp_void+set}" = set; then | 22042 if test "${ac_cv_func_getpgrp_void+set}" = set; then |
19619 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22043 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19620 else | 22044 else |
19621 # Use it with a single arg. | 22045 # Use it with a single arg. |
19622 cat >conftest.$ac_ext <<_ACEOF | 22046 cat >conftest.$ac_ext <<_ACEOF |
19623 #line $LINENO "configure" | 22047 /* confdefs.h. */ |
19624 #include "confdefs.h" | 22048 _ACEOF |
22049 cat confdefs.h >>conftest.$ac_ext | |
22050 cat >>conftest.$ac_ext <<_ACEOF | |
22051 /* end confdefs.h. */ | |
19625 $ac_includes_default | 22052 $ac_includes_default |
19626 #ifdef F77_DUMMY_MAIN | |
19627 # ifdef __cplusplus | |
19628 extern "C" | |
19629 # endif | |
19630 int F77_DUMMY_MAIN() { return 1; } | |
19631 #endif | |
19632 int | 22053 int |
19633 main () | 22054 main () |
19634 { | 22055 { |
19635 getpgrp (0); | 22056 getpgrp (0); |
19636 ; | 22057 ; |
19637 return 0; | 22058 return 0; |
19638 } | 22059 } |
19639 _ACEOF | 22060 _ACEOF |
19640 rm -f conftest.$ac_objext | 22061 rm -f conftest.$ac_objext |
19641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 22062 if { (ac_try="$ac_compile" |
19642 (eval $ac_compile) 2>&5 | 22063 case "(($ac_try" in |
22064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22065 *) ac_try_echo=$ac_try;; | |
22066 esac | |
22067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22068 (eval "$ac_compile") 2>conftest.er1 | |
22069 ac_status=$? | |
22070 grep -v '^ *+' conftest.er1 >conftest.err | |
22071 rm -f conftest.er1 | |
22072 cat conftest.err >&5 | |
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22074 (exit $ac_status); } && | |
22075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
22076 { (case "(($ac_try" in | |
22077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22078 *) ac_try_echo=$ac_try;; | |
22079 esac | |
22080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22081 (eval "$ac_try") 2>&5 | |
19643 ac_status=$? | 22082 ac_status=$? |
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19645 (exit $ac_status); } && | 22084 (exit $ac_status); }; } && |
19646 { ac_try='test -s conftest.$ac_objext' | 22085 { ac_try='test -s conftest.$ac_objext' |
19647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22086 { (case "(($ac_try" in |
19648 (eval $ac_try) 2>&5 | 22087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22088 *) ac_try_echo=$ac_try;; | |
22089 esac | |
22090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22091 (eval "$ac_try") 2>&5 | |
19649 ac_status=$? | 22092 ac_status=$? |
19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19651 (exit $ac_status); }; }; then | 22094 (exit $ac_status); }; }; then |
19652 ac_cv_func_getpgrp_void=no | 22095 ac_cv_func_getpgrp_void=no |
19653 else | 22096 else |
19654 echo "$as_me: failed program was:" >&5 | 22097 echo "$as_me: failed program was:" >&5 |
19655 cat conftest.$ac_ext >&5 | 22098 sed 's/^/| /' conftest.$ac_ext >&5 |
19656 ac_cv_func_getpgrp_void=yes | 22099 |
19657 fi | 22100 ac_cv_func_getpgrp_void=yes |
19658 rm -f conftest.$ac_objext conftest.$ac_ext | 22101 fi |
19659 | 22102 |
19660 fi | 22103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19661 echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 | 22104 |
19662 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6 | 22105 fi |
22106 { echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 | |
22107 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6; } | |
19663 if test $ac_cv_func_getpgrp_void = yes; then | 22108 if test $ac_cv_func_getpgrp_void = yes; then |
19664 | 22109 |
19665 cat >>confdefs.h <<\_ACEOF | 22110 cat >>confdefs.h <<\_ACEOF |
19666 #define GETPGRP_VOID 1 | 22111 #define GETPGRP_VOID 1 |
19667 _ACEOF | 22112 _ACEOF |
19668 | 22113 |
19669 fi | 22114 fi |
19670 | 22115 |
19671 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5 | 22116 { echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5 |
19672 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6 | 22117 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6; } |
19673 if test "${ac_cv_func_setpgrp_void+set}" = set; then | 22118 if test "${ac_cv_func_setpgrp_void+set}" = set; then |
19674 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22119 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19675 else | 22120 else |
19676 if test "$cross_compiling" = yes; then | 22121 if test "$cross_compiling" = yes; then |
19677 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5 | 22122 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5 |
19678 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;} | 22123 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;} |
19679 { (exit 1); exit 1; }; } | 22124 { (exit 1); exit 1; }; } |
19680 else | 22125 else |
19681 cat >conftest.$ac_ext <<_ACEOF | 22126 cat >conftest.$ac_ext <<_ACEOF |
19682 #line $LINENO "configure" | 22127 /* confdefs.h. */ |
19683 #include "confdefs.h" | 22128 _ACEOF |
19684 #if HAVE_UNISTD_H | 22129 cat confdefs.h >>conftest.$ac_ext |
19685 # include <unistd.h> | 22130 cat >>conftest.$ac_ext <<_ACEOF |
19686 #endif | 22131 /* end confdefs.h. */ |
19687 | 22132 $ac_includes_default |
19688 #ifdef F77_DUMMY_MAIN | |
19689 # ifdef __cplusplus | |
19690 extern "C" | |
19691 # endif | |
19692 int F77_DUMMY_MAIN() { return 1; } | |
19693 #endif | |
19694 int | 22133 int |
19695 main () | 22134 main () |
19696 { | 22135 { |
19697 /* If this system has a BSD-style setpgrp which takes arguments, | 22136 /* If this system has a BSD-style setpgrp which takes arguments, |
19698 setpgrp(1, 1) will fail with ESRCH and return -1, in that case | 22137 setpgrp(1, 1) will fail with ESRCH and return -1, in that case |
19699 exit successfully. */ | 22138 exit successfully. */ |
19700 exit (setpgrp (1,1) == -1 ? 0 : 1); | 22139 return setpgrp (1,1) != -1; |
19701 ; | 22140 ; |
19702 return 0; | 22141 return 0; |
19703 } | 22142 } |
19704 _ACEOF | 22143 _ACEOF |
19705 rm -f conftest$ac_exeext | 22144 rm -f conftest$ac_exeext |
19706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 22145 if { (ac_try="$ac_link" |
19707 (eval $ac_link) 2>&5 | 22146 case "(($ac_try" in |
22147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22148 *) ac_try_echo=$ac_try;; | |
22149 esac | |
22150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22151 (eval "$ac_link") 2>&5 | |
19708 ac_status=$? | 22152 ac_status=$? |
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19710 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 22154 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
19711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22155 { (case "(($ac_try" in |
19712 (eval $ac_try) 2>&5 | 22156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22157 *) ac_try_echo=$ac_try;; | |
22158 esac | |
22159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22160 (eval "$ac_try") 2>&5 | |
19713 ac_status=$? | 22161 ac_status=$? |
19714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19715 (exit $ac_status); }; }; then | 22163 (exit $ac_status); }; }; then |
19716 ac_cv_func_setpgrp_void=no | 22164 ac_cv_func_setpgrp_void=no |
19717 else | 22165 else |
19718 echo "$as_me: program exited with status $ac_status" >&5 | 22166 echo "$as_me: program exited with status $ac_status" >&5 |
19719 echo "$as_me: failed program was:" >&5 | 22167 echo "$as_me: failed program was:" >&5 |
19720 cat conftest.$ac_ext >&5 | 22168 sed 's/^/| /' conftest.$ac_ext >&5 |
22169 | |
19721 ( exit $ac_status ) | 22170 ( exit $ac_status ) |
19722 ac_cv_func_setpgrp_void=yes | 22171 ac_cv_func_setpgrp_void=yes |
19723 fi | 22172 fi |
19724 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 22173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
19725 fi | 22174 fi |
19726 fi | 22175 |
19727 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5 | 22176 |
19728 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6 | 22177 fi |
22178 { echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5 | |
22179 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6; } | |
19729 if test $ac_cv_func_setpgrp_void = yes; then | 22180 if test $ac_cv_func_setpgrp_void = yes; then |
19730 | 22181 |
19731 cat >>confdefs.h <<\_ACEOF | 22182 cat >>confdefs.h <<\_ACEOF |
19732 #define SETPGRP_VOID 1 | 22183 #define SETPGRP_VOID 1 |
19733 _ACEOF | 22184 _ACEOF |
19765 gethostname select socket closesocket setsockopt send recv \ | 22216 gethostname select socket closesocket setsockopt send recv \ |
19766 getdtablesize getrlimit syslog vsyslog setenv snprintf \ | 22217 getdtablesize getrlimit syslog vsyslog setenv snprintf \ |
19767 ptsname posix_openpt openpty pututxline pututline setsid | 22218 ptsname posix_openpt openpty pututxline pututline setsid |
19768 do | 22219 do |
19769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 22220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
19770 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 22221 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
19771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 22222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
19772 if eval "test \"\${$as_ac_var+set}\" = set"; then | 22223 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
19773 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22224 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19774 else | 22225 else |
19775 cat >conftest.$ac_ext <<_ACEOF | 22226 cat >conftest.$ac_ext <<_ACEOF |
19776 #line $LINENO "configure" | 22227 /* confdefs.h. */ |
19777 #include "confdefs.h" | 22228 _ACEOF |
22229 cat confdefs.h >>conftest.$ac_ext | |
22230 cat >>conftest.$ac_ext <<_ACEOF | |
22231 /* end confdefs.h. */ | |
22232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
22233 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
22234 #define $ac_func innocuous_$ac_func | |
22235 | |
19778 /* System header to define __stub macros and hopefully few prototypes, | 22236 /* System header to define __stub macros and hopefully few prototypes, |
19779 which can conflict with char $ac_func (); below. */ | 22237 which can conflict with char $ac_func (); below. |
19780 #include <assert.h> | 22238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
19781 /* Override any gcc2 internal prototype to avoid an error. */ | 22239 <limits.h> exists even on freestanding compilers. */ |
22240 | |
22241 #ifdef __STDC__ | |
22242 # include <limits.h> | |
22243 #else | |
22244 # include <assert.h> | |
22245 #endif | |
22246 | |
22247 #undef $ac_func | |
22248 | |
22249 /* Override any GCC internal prototype to avoid an error. | |
22250 Use char because int might match the return type of a GCC | |
22251 builtin and then its argument prototype would still apply. */ | |
19782 #ifdef __cplusplus | 22252 #ifdef __cplusplus |
19783 extern "C" | 22253 extern "C" |
19784 #endif | 22254 #endif |
19785 /* We use char because int might match the return type of a gcc2 | |
19786 builtin and then its argument prototype would still apply. */ | |
19787 char $ac_func (); | 22255 char $ac_func (); |
19788 char (*f) (); | 22256 /* The GNU C library defines this for functions which it implements |
19789 | 22257 to always fail with ENOSYS. Some functions are actually named |
19790 #ifdef F77_DUMMY_MAIN | 22258 something starting with __ and the normal name is an alias. */ |
19791 # ifdef __cplusplus | 22259 #if defined __stub_$ac_func || defined __stub___$ac_func |
19792 extern "C" | 22260 choke me |
19793 # endif | |
19794 int F77_DUMMY_MAIN() { return 1; } | |
19795 #endif | 22261 #endif |
22262 | |
19796 int | 22263 int |
19797 main () | 22264 main () |
19798 { | 22265 { |
19799 /* The GNU C library defines this for functions which it implements | 22266 return $ac_func (); |
19800 to always fail with ENOSYS. Some functions are actually named | |
19801 something starting with __ and the normal name is an alias. */ | |
19802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
19803 choke me | |
19804 #else | |
19805 f = $ac_func; | |
19806 #endif | |
19807 | |
19808 ; | 22267 ; |
19809 return 0; | 22268 return 0; |
19810 } | 22269 } |
19811 _ACEOF | 22270 _ACEOF |
19812 rm -f conftest.$ac_objext conftest$ac_exeext | 22271 rm -f conftest.$ac_objext conftest$ac_exeext |
19813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 22272 if { (ac_try="$ac_link" |
19814 (eval $ac_link) 2>&5 | 22273 case "(($ac_try" in |
22274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22275 *) ac_try_echo=$ac_try;; | |
22276 esac | |
22277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22278 (eval "$ac_link") 2>conftest.er1 | |
22279 ac_status=$? | |
22280 grep -v '^ *+' conftest.er1 >conftest.err | |
22281 rm -f conftest.er1 | |
22282 cat conftest.err >&5 | |
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22284 (exit $ac_status); } && | |
22285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
22286 { (case "(($ac_try" in | |
22287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22288 *) ac_try_echo=$ac_try;; | |
22289 esac | |
22290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22291 (eval "$ac_try") 2>&5 | |
19815 ac_status=$? | 22292 ac_status=$? |
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19817 (exit $ac_status); } && | 22294 (exit $ac_status); }; } && |
19818 { ac_try='test -s conftest$ac_exeext' | 22295 { ac_try='test -s conftest$ac_exeext' |
19819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22296 { (case "(($ac_try" in |
19820 (eval $ac_try) 2>&5 | 22297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22298 *) ac_try_echo=$ac_try;; | |
22299 esac | |
22300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22301 (eval "$ac_try") 2>&5 | |
19821 ac_status=$? | 22302 ac_status=$? |
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19823 (exit $ac_status); }; }; then | 22304 (exit $ac_status); }; }; then |
19824 eval "$as_ac_var=yes" | 22305 eval "$as_ac_var=yes" |
19825 else | 22306 else |
19826 echo "$as_me: failed program was:" >&5 | 22307 echo "$as_me: failed program was:" >&5 |
19827 cat conftest.$ac_ext >&5 | 22308 sed 's/^/| /' conftest.$ac_ext >&5 |
19828 eval "$as_ac_var=no" | 22309 |
19829 fi | 22310 eval "$as_ac_var=no" |
19830 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 22311 fi |
19831 fi | 22312 |
19832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 22313 rm -f core conftest.err conftest.$ac_objext \ |
19833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 22314 conftest$ac_exeext conftest.$ac_ext |
22315 fi | |
22316 ac_res=`eval echo '${'$as_ac_var'}'` | |
22317 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
22318 echo "${ECHO_T}$ac_res" >&6; } | |
19834 if test `eval echo '${'$as_ac_var'}'` = yes; then | 22319 if test `eval echo '${'$as_ac_var'}'` = yes; then |
19835 cat >>confdefs.h <<_ACEOF | 22320 cat >>confdefs.h <<_ACEOF |
19836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 22321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
19837 _ACEOF | 22322 _ACEOF |
19838 | 22323 |
19851 | 22336 |
19852 for ac_func in bcopy bzero bcmp index rindex \ | 22337 for ac_func in bcopy bzero bcmp index rindex \ |
19853 memcpy memmove memset strchr strrchr | 22338 memcpy memmove memset strchr strrchr |
19854 do | 22339 do |
19855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 22340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
19856 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 22341 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
19857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 22342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
19858 if eval "test \"\${$as_ac_var+set}\" = set"; then | 22343 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
19859 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22344 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19860 else | 22345 else |
19861 cat >conftest.$ac_ext <<_ACEOF | 22346 cat >conftest.$ac_ext <<_ACEOF |
19862 #line $LINENO "configure" | 22347 /* confdefs.h. */ |
19863 #include "confdefs.h" | 22348 _ACEOF |
22349 cat confdefs.h >>conftest.$ac_ext | |
22350 cat >>conftest.$ac_ext <<_ACEOF | |
22351 /* end confdefs.h. */ | |
22352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
22353 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
22354 #define $ac_func innocuous_$ac_func | |
22355 | |
19864 /* System header to define __stub macros and hopefully few prototypes, | 22356 /* System header to define __stub macros and hopefully few prototypes, |
19865 which can conflict with char $ac_func (); below. */ | 22357 which can conflict with char $ac_func (); below. |
19866 #include <assert.h> | 22358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
19867 /* Override any gcc2 internal prototype to avoid an error. */ | 22359 <limits.h> exists even on freestanding compilers. */ |
22360 | |
22361 #ifdef __STDC__ | |
22362 # include <limits.h> | |
22363 #else | |
22364 # include <assert.h> | |
22365 #endif | |
22366 | |
22367 #undef $ac_func | |
22368 | |
22369 /* Override any GCC internal prototype to avoid an error. | |
22370 Use char because int might match the return type of a GCC | |
22371 builtin and then its argument prototype would still apply. */ | |
19868 #ifdef __cplusplus | 22372 #ifdef __cplusplus |
19869 extern "C" | 22373 extern "C" |
19870 #endif | 22374 #endif |
19871 /* We use char because int might match the return type of a gcc2 | |
19872 builtin and then its argument prototype would still apply. */ | |
19873 char $ac_func (); | 22375 char $ac_func (); |
19874 char (*f) (); | 22376 /* The GNU C library defines this for functions which it implements |
19875 | 22377 to always fail with ENOSYS. Some functions are actually named |
19876 #ifdef F77_DUMMY_MAIN | 22378 something starting with __ and the normal name is an alias. */ |
19877 # ifdef __cplusplus | 22379 #if defined __stub_$ac_func || defined __stub___$ac_func |
19878 extern "C" | 22380 choke me |
19879 # endif | |
19880 int F77_DUMMY_MAIN() { return 1; } | |
19881 #endif | 22381 #endif |
22382 | |
19882 int | 22383 int |
19883 main () | 22384 main () |
19884 { | 22385 { |
19885 /* The GNU C library defines this for functions which it implements | 22386 return $ac_func (); |
19886 to always fail with ENOSYS. Some functions are actually named | |
19887 something starting with __ and the normal name is an alias. */ | |
19888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
19889 choke me | |
19890 #else | |
19891 f = $ac_func; | |
19892 #endif | |
19893 | |
19894 ; | 22387 ; |
19895 return 0; | 22388 return 0; |
19896 } | 22389 } |
19897 _ACEOF | 22390 _ACEOF |
19898 rm -f conftest.$ac_objext conftest$ac_exeext | 22391 rm -f conftest.$ac_objext conftest$ac_exeext |
19899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 22392 if { (ac_try="$ac_link" |
19900 (eval $ac_link) 2>&5 | 22393 case "(($ac_try" in |
22394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22395 *) ac_try_echo=$ac_try;; | |
22396 esac | |
22397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22398 (eval "$ac_link") 2>conftest.er1 | |
22399 ac_status=$? | |
22400 grep -v '^ *+' conftest.er1 >conftest.err | |
22401 rm -f conftest.er1 | |
22402 cat conftest.err >&5 | |
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22404 (exit $ac_status); } && | |
22405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
22406 { (case "(($ac_try" in | |
22407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22408 *) ac_try_echo=$ac_try;; | |
22409 esac | |
22410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22411 (eval "$ac_try") 2>&5 | |
19901 ac_status=$? | 22412 ac_status=$? |
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19903 (exit $ac_status); } && | 22414 (exit $ac_status); }; } && |
19904 { ac_try='test -s conftest$ac_exeext' | 22415 { ac_try='test -s conftest$ac_exeext' |
19905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22416 { (case "(($ac_try" in |
19906 (eval $ac_try) 2>&5 | 22417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22418 *) ac_try_echo=$ac_try;; | |
22419 esac | |
22420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22421 (eval "$ac_try") 2>&5 | |
19907 ac_status=$? | 22422 ac_status=$? |
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19909 (exit $ac_status); }; }; then | 22424 (exit $ac_status); }; }; then |
19910 eval "$as_ac_var=yes" | 22425 eval "$as_ac_var=yes" |
19911 else | 22426 else |
19912 echo "$as_me: failed program was:" >&5 | 22427 echo "$as_me: failed program was:" >&5 |
19913 cat conftest.$ac_ext >&5 | 22428 sed 's/^/| /' conftest.$ac_ext >&5 |
19914 eval "$as_ac_var=no" | 22429 |
19915 fi | 22430 eval "$as_ac_var=no" |
19916 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 22431 fi |
19917 fi | 22432 |
19918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 22433 rm -f core conftest.err conftest.$ac_objext \ |
19919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 22434 conftest$ac_exeext conftest.$ac_ext |
22435 fi | |
22436 ac_res=`eval echo '${'$as_ac_var'}'` | |
22437 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
22438 echo "${ECHO_T}$ac_res" >&6; } | |
19920 if test `eval echo '${'$as_ac_var'}'` = yes; then | 22439 if test `eval echo '${'$as_ac_var'}'` = yes; then |
19921 cat >>confdefs.h <<_ACEOF | 22440 cat >>confdefs.h <<_ACEOF |
19922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 22441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
19923 _ACEOF | 22442 _ACEOF |
19924 | 22443 |
19930 | 22449 |
19931 | 22450 |
19932 for ac_func in mkdir vasprintf | 22451 for ac_func in mkdir vasprintf |
19933 do | 22452 do |
19934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 22453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
19935 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 22454 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
19936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 22455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
19937 if eval "test \"\${$as_ac_var+set}\" = set"; then | 22456 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
19938 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22457 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19939 else | 22458 else |
19940 cat >conftest.$ac_ext <<_ACEOF | 22459 cat >conftest.$ac_ext <<_ACEOF |
19941 #line $LINENO "configure" | 22460 /* confdefs.h. */ |
19942 #include "confdefs.h" | 22461 _ACEOF |
22462 cat confdefs.h >>conftest.$ac_ext | |
22463 cat >>conftest.$ac_ext <<_ACEOF | |
22464 /* end confdefs.h. */ | |
22465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
22466 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
22467 #define $ac_func innocuous_$ac_func | |
22468 | |
19943 /* System header to define __stub macros and hopefully few prototypes, | 22469 /* System header to define __stub macros and hopefully few prototypes, |
19944 which can conflict with char $ac_func (); below. */ | 22470 which can conflict with char $ac_func (); below. |
19945 #include <assert.h> | 22471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
19946 /* Override any gcc2 internal prototype to avoid an error. */ | 22472 <limits.h> exists even on freestanding compilers. */ |
22473 | |
22474 #ifdef __STDC__ | |
22475 # include <limits.h> | |
22476 #else | |
22477 # include <assert.h> | |
22478 #endif | |
22479 | |
22480 #undef $ac_func | |
22481 | |
22482 /* Override any GCC internal prototype to avoid an error. | |
22483 Use char because int might match the return type of a GCC | |
22484 builtin and then its argument prototype would still apply. */ | |
19947 #ifdef __cplusplus | 22485 #ifdef __cplusplus |
19948 extern "C" | 22486 extern "C" |
19949 #endif | 22487 #endif |
19950 /* We use char because int might match the return type of a gcc2 | |
19951 builtin and then its argument prototype would still apply. */ | |
19952 char $ac_func (); | 22488 char $ac_func (); |
19953 char (*f) (); | 22489 /* The GNU C library defines this for functions which it implements |
19954 | 22490 to always fail with ENOSYS. Some functions are actually named |
19955 #ifdef F77_DUMMY_MAIN | 22491 something starting with __ and the normal name is an alias. */ |
19956 # ifdef __cplusplus | 22492 #if defined __stub_$ac_func || defined __stub___$ac_func |
19957 extern "C" | 22493 choke me |
19958 # endif | |
19959 int F77_DUMMY_MAIN() { return 1; } | |
19960 #endif | 22494 #endif |
22495 | |
19961 int | 22496 int |
19962 main () | 22497 main () |
19963 { | 22498 { |
19964 /* The GNU C library defines this for functions which it implements | 22499 return $ac_func (); |
19965 to always fail with ENOSYS. Some functions are actually named | |
19966 something starting with __ and the normal name is an alias. */ | |
19967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
19968 choke me | |
19969 #else | |
19970 f = $ac_func; | |
19971 #endif | |
19972 | |
19973 ; | 22500 ; |
19974 return 0; | 22501 return 0; |
19975 } | 22502 } |
19976 _ACEOF | 22503 _ACEOF |
19977 rm -f conftest.$ac_objext conftest$ac_exeext | 22504 rm -f conftest.$ac_objext conftest$ac_exeext |
19978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 22505 if { (ac_try="$ac_link" |
19979 (eval $ac_link) 2>&5 | 22506 case "(($ac_try" in |
22507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22508 *) ac_try_echo=$ac_try;; | |
22509 esac | |
22510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22511 (eval "$ac_link") 2>conftest.er1 | |
22512 ac_status=$? | |
22513 grep -v '^ *+' conftest.er1 >conftest.err | |
22514 rm -f conftest.er1 | |
22515 cat conftest.err >&5 | |
22516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22517 (exit $ac_status); } && | |
22518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
22519 { (case "(($ac_try" in | |
22520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22521 *) ac_try_echo=$ac_try;; | |
22522 esac | |
22523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22524 (eval "$ac_try") 2>&5 | |
19980 ac_status=$? | 22525 ac_status=$? |
19981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19982 (exit $ac_status); } && | 22527 (exit $ac_status); }; } && |
19983 { ac_try='test -s conftest$ac_exeext' | 22528 { ac_try='test -s conftest$ac_exeext' |
19984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22529 { (case "(($ac_try" in |
19985 (eval $ac_try) 2>&5 | 22530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22531 *) ac_try_echo=$ac_try;; | |
22532 esac | |
22533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22534 (eval "$ac_try") 2>&5 | |
19986 ac_status=$? | 22535 ac_status=$? |
19987 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19988 (exit $ac_status); }; }; then | 22537 (exit $ac_status); }; }; then |
19989 eval "$as_ac_var=yes" | 22538 eval "$as_ac_var=yes" |
19990 else | 22539 else |
19991 echo "$as_me: failed program was:" >&5 | 22540 echo "$as_me: failed program was:" >&5 |
19992 cat conftest.$ac_ext >&5 | 22541 sed 's/^/| /' conftest.$ac_ext >&5 |
19993 eval "$as_ac_var=no" | 22542 |
19994 fi | 22543 eval "$as_ac_var=no" |
19995 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 22544 fi |
19996 fi | 22545 |
19997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 22546 rm -f core conftest.err conftest.$ac_objext \ |
19998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 22547 conftest$ac_exeext conftest.$ac_ext |
22548 fi | |
22549 ac_res=`eval echo '${'$as_ac_var'}'` | |
22550 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
22551 echo "${ECHO_T}$ac_res" >&6; } | |
19999 if test `eval echo '${'$as_ac_var'}'` = yes; then | 22552 if test `eval echo '${'$as_ac_var'}'` = yes; then |
20000 cat >>confdefs.h <<_ACEOF | 22553 cat >>confdefs.h <<_ACEOF |
20001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 22554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
20002 _ACEOF | 22555 _ACEOF |
20003 | 22556 |
20007 done | 22560 done |
20008 | 22561 |
20009 | 22562 |
20010 | 22563 |
20011 | 22564 |
20012 echo "$as_me:$LINENO: checking for /dev/ptmx" >&5 | 22565 { echo "$as_me:$LINENO: checking for /dev/ptmx" >&5 |
20013 echo $ECHO_N "checking for /dev/ptmx... $ECHO_C" >&6 | 22566 echo $ECHO_N "checking for /dev/ptmx... $ECHO_C" >&6; } |
20014 if test "${ac_cv_file__dev_ptmx+set}" = set; then | 22567 if test "${ac_cv_file__dev_ptmx+set}" = set; then |
20015 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22568 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20016 else | 22569 else |
20017 test "$cross_compiling" = yes && | 22570 test "$cross_compiling" = yes && |
20018 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 | 22571 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 |
20022 ac_cv_file__dev_ptmx=yes | 22575 ac_cv_file__dev_ptmx=yes |
20023 else | 22576 else |
20024 ac_cv_file__dev_ptmx=no | 22577 ac_cv_file__dev_ptmx=no |
20025 fi | 22578 fi |
20026 fi | 22579 fi |
20027 echo "$as_me:$LINENO: result: $ac_cv_file__dev_ptmx" >&5 | 22580 { echo "$as_me:$LINENO: result: $ac_cv_file__dev_ptmx" >&5 |
20028 echo "${ECHO_T}$ac_cv_file__dev_ptmx" >&6 | 22581 echo "${ECHO_T}$ac_cv_file__dev_ptmx" >&6; } |
20029 if test $ac_cv_file__dev_ptmx = yes; then | 22582 if test $ac_cv_file__dev_ptmx = yes; then |
20030 | 22583 |
20031 cat >>confdefs.h <<_ACEOF | 22584 cat >>confdefs.h <<_ACEOF |
20032 #define HAVE__DEV_PTMX 1 | 22585 #define HAVE__DEV_PTMX 1 |
20033 _ACEOF | 22586 _ACEOF |
20037 | 22590 |
20038 | 22591 |
20039 | 22592 |
20040 | 22593 |
20041 WRAPLIB= | 22594 WRAPLIB= |
20042 echo "$as_me:$LINENO: checking whether to use libwrap" >&5 | 22595 { echo "$as_me:$LINENO: checking whether to use libwrap" >&5 |
20043 echo $ECHO_N "checking whether to use libwrap... $ECHO_C" >&6 | 22596 echo $ECHO_N "checking whether to use libwrap... $ECHO_C" >&6; } |
20044 | 22597 |
20045 # Check whether --with-libwrap or --without-libwrap was given. | 22598 # Check whether --with-libwrap was given. |
20046 if test "${with_libwrap+set}" = set; then | 22599 if test "${with_libwrap+set}" = set; then |
20047 withval="$with_libwrap" | 22600 withval=$with_libwrap; case "$withval" in |
20048 case "$withval" in | |
20049 no) | 22601 no) |
20050 echo "$as_me:$LINENO: result: no" >&5 | 22602 { echo "$as_me:$LINENO: result: no" >&5 |
20051 echo "${ECHO_T}no" >&6 | 22603 echo "${ECHO_T}no" >&6; } |
20052 WRAP_TRY=no | 22604 WRAP_TRY=no |
20053 ;; | 22605 ;; |
20054 yes) | 22606 yes) |
20055 echo "$as_me:$LINENO: result: yes" >&5 | 22607 { echo "$as_me:$LINENO: result: yes" >&5 |
20056 echo "${ECHO_T}yes" >&6 | 22608 echo "${ECHO_T}yes" >&6; } |
20057 WRAP_TRY=yes | 22609 WRAP_TRY=yes |
20058 ;; | 22610 ;; |
20059 *) | 22611 *) |
20060 echo "$as_me:$LINENO: result: yes" >&5 | 22612 { echo "$as_me:$LINENO: result: yes" >&5 |
20061 echo "${ECHO_T}yes" >&6 | 22613 echo "${ECHO_T}yes" >&6; } |
20062 WRAP_TRY=yes | 22614 WRAP_TRY=yes |
20063 if test -d "$withval"; then | 22615 if test -d "$withval"; then |
20064 WRAPINCLUDES="-I$withval" | 22616 WRAPINCLUDES="-I$withval" |
20065 if test -d $withval/include; then | 22617 if test -d $withval/include; then |
20066 WRAPINCLUDES="-I$withval/include $WRAPINCLUDES" | 22618 WRAPINCLUDES="-I$withval/include $WRAPINCLUDES" |
20073 WRAPINCLUDES="$withval" | 22625 WRAPINCLUDES="$withval" |
20074 fi | 22626 fi |
20075 ;; | 22627 ;; |
20076 esac | 22628 esac |
20077 else | 22629 else |
20078 echo "$as_me:$LINENO: result: try to find" >&5 | 22630 { echo "$as_me:$LINENO: result: try to find" >&5 |
20079 echo "${ECHO_T}try to find" >&6 | 22631 echo "${ECHO_T}try to find" >&6; } |
20080 WRAP_TRY=auto | 22632 WRAP_TRY=auto |
20081 | 22633 |
20082 fi; | 22634 fi |
22635 | |
20083 # Link test for libwrap | 22636 # Link test for libwrap |
20084 if test "$WRAP_TRY" = yes -o "$WRAP_TRY" = auto; then | 22637 if test "$WRAP_TRY" = yes -o "$WRAP_TRY" = auto; then |
20085 OLDCFLAGS="$CFLAGS" | 22638 OLDCFLAGS="$CFLAGS" |
20086 CFLAGS="$WRAPINCLUDES $CFLAGS" | 22639 CFLAGS="$WRAPINCLUDES $CFLAGS" |
20087 OLDLIBS="$LIBS" | 22640 OLDLIBS="$LIBS" |
20088 WRAPLIB=${WRAPLIB:-"-lwrap"} | 22641 WRAPLIB=${WRAPLIB:-"-lwrap"} |
20089 LIBS="$WRAPLIB $OLDLIBS" | 22642 LIBS="$WRAPLIB $OLDLIBS" |
20090 echo "$as_me:$LINENO: checking libwrap is working" >&5 | 22643 { echo "$as_me:$LINENO: checking libwrap is working" >&5 |
20091 echo $ECHO_N "checking libwrap is working... $ECHO_C" >&6 | 22644 echo $ECHO_N "checking libwrap is working... $ECHO_C" >&6; } |
20092 cat >conftest.$ac_ext <<_ACEOF | 22645 cat >conftest.$ac_ext <<_ACEOF |
20093 #line $LINENO "configure" | 22646 /* confdefs.h. */ |
20094 #include "confdefs.h" | 22647 _ACEOF |
22648 cat confdefs.h >>conftest.$ac_ext | |
22649 cat >>conftest.$ac_ext <<_ACEOF | |
22650 /* end confdefs.h. */ | |
20095 int allow_severity; int deny_severity; | 22651 int allow_severity; int deny_severity; |
20096 #ifdef F77_DUMMY_MAIN | |
20097 # ifdef __cplusplus | |
20098 extern "C" | |
20099 # endif | |
20100 int F77_DUMMY_MAIN() { return 1; } | |
20101 #endif | |
20102 int | 22652 int |
20103 main () | 22653 main () |
20104 { | 22654 { |
20105 hosts_access(); | 22655 hosts_access(); |
20106 ; | 22656 ; |
20107 return 0; | 22657 return 0; |
20108 } | 22658 } |
20109 _ACEOF | 22659 _ACEOF |
20110 rm -f conftest.$ac_objext conftest$ac_exeext | 22660 rm -f conftest.$ac_objext conftest$ac_exeext |
20111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 22661 if { (ac_try="$ac_link" |
20112 (eval $ac_link) 2>&5 | 22662 case "(($ac_try" in |
22663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22664 *) ac_try_echo=$ac_try;; | |
22665 esac | |
22666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22667 (eval "$ac_link") 2>conftest.er1 | |
22668 ac_status=$? | |
22669 grep -v '^ *+' conftest.er1 >conftest.err | |
22670 rm -f conftest.er1 | |
22671 cat conftest.err >&5 | |
22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22673 (exit $ac_status); } && | |
22674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
22675 { (case "(($ac_try" in | |
22676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22677 *) ac_try_echo=$ac_try;; | |
22678 esac | |
22679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22680 (eval "$ac_try") 2>&5 | |
20113 ac_status=$? | 22681 ac_status=$? |
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20115 (exit $ac_status); } && | 22683 (exit $ac_status); }; } && |
20116 { ac_try='test -s conftest$ac_exeext' | 22684 { ac_try='test -s conftest$ac_exeext' |
20117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22685 { (case "(($ac_try" in |
20118 (eval $ac_try) 2>&5 | 22686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22687 *) ac_try_echo=$ac_try;; | |
22688 esac | |
22689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22690 (eval "$ac_try") 2>&5 | |
20119 ac_status=$? | 22691 ac_status=$? |
20120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20121 (exit $ac_status); }; }; then | 22693 (exit $ac_status); }; }; then |
20122 echo "$as_me:$LINENO: result: yes" >&5 | 22694 { echo "$as_me:$LINENO: result: yes" >&5 |
20123 echo "${ECHO_T}yes" >&6 | 22695 echo "${ECHO_T}yes" >&6; } |
20124 | 22696 |
20125 cat >>confdefs.h <<\_ACEOF | 22697 cat >>confdefs.h <<\_ACEOF |
20126 #define HAVE_LIBWRAP 1 | 22698 #define HAVE_LIBWRAP 1 |
20127 _ACEOF | 22699 _ACEOF |
20128 | 22700 |
20129 | 22701 |
20130 else | 22702 else |
20131 echo "$as_me: failed program was:" >&5 | 22703 echo "$as_me: failed program was:" >&5 |
20132 cat conftest.$ac_ext >&5 | 22704 sed 's/^/| /' conftest.$ac_ext >&5 |
20133 echo "$as_me:$LINENO: result: no" >&5 | 22705 |
20134 echo "${ECHO_T}no" >&6 | 22706 { echo "$as_me:$LINENO: result: no" >&5 |
22707 echo "${ECHO_T}no" >&6; } | |
20135 if test "$WRAP_TRY" = yes; then | 22708 if test "$WRAP_TRY" = yes; then |
20136 { { echo "$as_me:$LINENO: error: Could not find libwrap. Please check config.log." >&5 | 22709 { { echo "$as_me:$LINENO: error: Could not find libwrap. Please check config.log." >&5 |
20137 echo "$as_me: error: Could not find libwrap. Please check config.log." >&2;} | 22710 echo "$as_me: error: Could not find libwrap. Please check config.log." >&2;} |
20138 { (exit 1); exit 1; }; } | 22711 { (exit 1); exit 1; }; } |
20139 else | 22712 else |
20140 # recover old flag / clear needless WRAPLIB and continue | 22713 # recover old flag / clear needless WRAPLIB and continue |
20141 CFLAGS=$OLDCFLAGS | 22714 CFLAGS=$OLDCFLAGS |
20142 WRAPLIB= | 22715 WRAPLIB= |
20143 fi | 22716 fi |
20144 fi | 22717 fi |
20145 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 22718 |
22719 rm -f core conftest.err conftest.$ac_objext \ | |
22720 conftest$ac_exeext conftest.$ac_ext | |
20146 # only jserver needs libwrap, recover LIBS also | 22721 # only jserver needs libwrap, recover LIBS also |
20147 LIBS=$OLDLIBS | 22722 LIBS=$OLDLIBS |
20148 fi | 22723 fi |
20149 | 22724 |
20150 | 22725 |
20151 # mkdir -p Contrib/dic/gerodic in case builddir != srcdir | 22726 # mkdir -p Contrib/dic/gerodic in case builddir != srcdir |
20152 dir=Contrib/dic/gerodic | 22727 dir=Contrib/dic/gerodic |
22728 if test ! -d $dir; then | |
22729 echo "creating $dir ..." | |
22730 $ac_install_sh -d $dir | |
22731 fi | |
22732 dir=Contrib/dic/2ch | |
20153 if test ! -d $dir; then | 22733 if test ! -d $dir; then |
20154 echo "creating $dir ..." | 22734 echo "creating $dir ..." |
20155 $ac_install_sh -d $dir | 22735 $ac_install_sh -d $dir |
20156 fi | 22736 fi |
20157 | 22737 |
20169 Wnn/man/Makefile Wnn/man/2.env/Makefile Wnn/man/3.libwnn/Makefile \ | 22749 Wnn/man/Makefile Wnn/man/2.env/Makefile Wnn/man/3.libwnn/Makefile \ |
20170 Wnn/man/4.cmd/Makefile Wnn/man/6.jutil/Makefile \ | 22750 Wnn/man/4.cmd/Makefile Wnn/man/6.jutil/Makefile \ |
20171 Wnn/man/2.env/dic/Makefile Wnn/man/2.env/wnn/Makefile \ | 22751 Wnn/man/2.env/dic/Makefile Wnn/man/2.env/wnn/Makefile \ |
20172 Wnn/man/3.libwnn/jl_lib/Makefile Wnn/man/3.libwnn/js_lib/Makefile \ | 22752 Wnn/man/3.libwnn/jl_lib/Makefile Wnn/man/3.libwnn/js_lib/Makefile \ |
20173 Wnn/man/3.libwnn/misc_lib/Makefile Wnn/man/3.libwnn/rk_lib/Makefile" | 22753 Wnn/man/3.libwnn/misc_lib/Makefile Wnn/man/3.libwnn/rk_lib/Makefile" |
20174 makefiles_wnn_dic="Contrib/dic/gerodic/Makefile Wnn/pubdicplus/Makefile \ | 22754 makefiles_wnn_dic="Contrib/dic/gerodic/Makefile Contrib/dic/2ch/Makefile \ |
22755 Wnn/pubdicplus/Makefile \ | |
20175 Wnn/wnncons/Makefile Wnn/wnncons/dic/Makefile" | 22756 Wnn/wnncons/Makefile Wnn/wnncons/dic/Makefile" |
20176 fi | 22757 fi |
20177 | 22758 |
20178 | 22759 |
20179 if test "x$cWnn" = "xcWnn"; then | 22760 if test "x$cWnn" = "xcWnn"; then |
20198 kWnn/romkan/Makefile kWnn/uum/Makefile" | 22779 kWnn/romkan/Makefile kWnn/uum/Makefile" |
20199 makefiles_kwnn_dic="kWnn/kdic/Makefile" | 22780 makefiles_kwnn_dic="kWnn/kdic/Makefile" |
20200 fi | 22781 fi |
20201 | 22782 |
20202 ac_config_files="$ac_config_files ${makefiles_generic} ${makefiles_wnn} ${makefiles_wnn_dic} ${makefiles_cwnn} ${makefiles_cwnn_dic} ${makefiles_kwnn} ${makefiles_kwnn_dic}" | 22783 ac_config_files="$ac_config_files ${makefiles_generic} ${makefiles_wnn} ${makefiles_wnn_dic} ${makefiles_cwnn} ${makefiles_cwnn_dic} ${makefiles_kwnn} ${makefiles_kwnn_dic}" |
22784 | |
20203 cat >confcache <<\_ACEOF | 22785 cat >confcache <<\_ACEOF |
20204 # This file is a shell script that caches the results of configure | 22786 # This file is a shell script that caches the results of configure |
20205 # tests run on this system so they can be shared between configure | 22787 # tests run on this system so they can be shared between configure |
20206 # scripts and configure runs, see configure's option --config-cache. | 22788 # scripts and configure runs, see configure's option --config-cache. |
20207 # It is not useful on other systems. If it contains results you don't | 22789 # It is not useful on other systems. If it contains results you don't |
20208 # want to keep, you may remove or edit it. | 22790 # want to keep, you may remove or edit it. |
20209 # | 22791 # |
20210 # config.status only pays attention to the cache file if you give it | 22792 # config.status only pays attention to the cache file if you give it |
20211 # the --recheck option to rerun configure. | 22793 # the --recheck option to rerun configure. |
20212 # | 22794 # |
20213 # `ac_cv_env_foo' variables (set or unset) will be overriden when | 22795 # `ac_cv_env_foo' variables (set or unset) will be overridden when |
20214 # loading this file, other *unset* `ac_cv_foo' will be assigned the | 22796 # loading this file, other *unset* `ac_cv_foo' will be assigned the |
20215 # following values. | 22797 # following values. |
20216 | 22798 |
20217 _ACEOF | 22799 _ACEOF |
20218 | 22800 |
20219 # The following way of writing the cache mishandles newlines in values, | 22801 # The following way of writing the cache mishandles newlines in values, |
20220 # but we know of no workaround that is simple, portable, and efficient. | 22802 # but we know of no workaround that is simple, portable, and efficient. |
20221 # So, don't put newlines in cache variables' values. | 22803 # So, we kill variables containing newlines. |
20222 # Ultrix sh set writes to stderr and can't be redirected directly, | 22804 # Ultrix sh set writes to stderr and can't be redirected directly, |
20223 # and sets the high bit in the cache file unless we assign to the vars. | 22805 # and sets the high bit in the cache file unless we assign to the vars. |
20224 { | 22806 ( |
22807 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
22808 eval ac_val=\$$ac_var | |
22809 case $ac_val in #( | |
22810 *${as_nl}*) | |
22811 case $ac_var in #( | |
22812 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | |
22813 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |
22814 esac | |
22815 case $ac_var in #( | |
22816 _ | IFS | as_nl) ;; #( | |
22817 *) $as_unset $ac_var ;; | |
22818 esac ;; | |
22819 esac | |
22820 done | |
22821 | |
20225 (set) 2>&1 | | 22822 (set) 2>&1 | |
20226 case `(ac_space=' '; set | grep ac_space) 2>&1` in | 22823 case $as_nl`(ac_space=' '; set) 2>&1` in #( |
20227 *ac_space=\ *) | 22824 *${as_nl}ac_space=\ *) |
20228 # `set' does not quote correctly, so add quotes (double-quote | 22825 # `set' does not quote correctly, so add quotes (double-quote |
20229 # substitution turns \\\\ into \\, and sed turns \\ into \). | 22826 # substitution turns \\\\ into \\, and sed turns \\ into \). |
20230 sed -n \ | 22827 sed -n \ |
20231 "s/'/'\\\\''/g; | 22828 "s/'/'\\\\''/g; |
20232 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 22829 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
20233 ;; | 22830 ;; #( |
20234 *) | 22831 *) |
20235 # `set' quotes correctly as required by POSIX, so do not add quotes. | 22832 # `set' quotes correctly as required by POSIX, so do not add quotes. |
20236 sed -n \ | 22833 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
20237 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 22834 ;; |
20238 ;; | 22835 esac | |
20239 esac; | 22836 sort |
20240 } | | 22837 ) | |
20241 sed ' | 22838 sed ' |
22839 /^ac_cv_env_/b end | |
20242 t clear | 22840 t clear |
20243 : clear | 22841 :clear |
20244 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 22842 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
20245 t end | 22843 t end |
20246 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 22844 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
20247 : end' >>confcache | 22845 :end' >>confcache |
20248 if cmp -s $cache_file confcache; then :; else | 22846 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
20249 if test -w $cache_file; then | 22847 if test -w "$cache_file"; then |
20250 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 22848 test "x$cache_file" != "x/dev/null" && |
22849 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 | |
22850 echo "$as_me: updating cache $cache_file" >&6;} | |
20251 cat confcache >$cache_file | 22851 cat confcache >$cache_file |
20252 else | 22852 else |
20253 echo "not updating unwritable cache $cache_file" | 22853 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
22854 echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
20254 fi | 22855 fi |
20255 fi | 22856 fi |
20256 rm -f confcache | 22857 rm -f confcache |
20257 | 22858 |
20258 test "x$prefix" = xNONE && prefix=$ac_default_prefix | 22859 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
20259 # Let make expand exec_prefix. | 22860 # Let make expand exec_prefix. |
20260 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 22861 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
20261 | 22862 |
20262 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
20263 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
20264 # trailing colons and then remove the whole line if VPATH becomes empty | |
20265 # (actually we leave an empty line to preserve line numbers). | |
20266 if test "x$srcdir" = x.; then | |
20267 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
20268 s/:*\$(srcdir):*/:/; | |
20269 s/:*\${srcdir}:*/:/; | |
20270 s/:*@srcdir@:*/:/; | |
20271 s/^\([^=]*=[ ]*\):*/\1/; | |
20272 s/:*$//; | |
20273 s/^[^=]*=[ ]*$//; | |
20274 }' | |
20275 fi | |
20276 | |
20277 DEFS=-DHAVE_CONFIG_H | 22863 DEFS=-DHAVE_CONFIG_H |
22864 | |
22865 ac_libobjs= | |
22866 ac_ltlibobjs= | |
22867 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
22868 # 1. Remove the extension, and $U if already installed. | |
22869 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | |
22870 ac_i=`echo "$ac_i" | sed "$ac_script"` | |
22871 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | |
22872 # will be set to the directory where LIBOBJS objects are built. | |
22873 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
22874 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | |
22875 done | |
22876 LIBOBJS=$ac_libobjs | |
22877 | |
22878 LTLIBOBJS=$ac_ltlibobjs | |
22879 | |
20278 | 22880 |
20279 | 22881 |
20280 : ${CONFIG_STATUS=./config.status} | 22882 : ${CONFIG_STATUS=./config.status} |
20281 ac_clean_files_save=$ac_clean_files | 22883 ac_clean_files_save=$ac_clean_files |
20282 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 22884 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
20288 # Run this file to recreate the current configuration. | 22890 # Run this file to recreate the current configuration. |
20289 # Compiler output produced by configure, useful for debugging | 22891 # Compiler output produced by configure, useful for debugging |
20290 # configure, is in config.log if it exists. | 22892 # configure, is in config.log if it exists. |
20291 | 22893 |
20292 debug=false | 22894 debug=false |
22895 ac_cs_recheck=false | |
22896 ac_cs_silent=false | |
20293 SHELL=\${CONFIG_SHELL-$SHELL} | 22897 SHELL=\${CONFIG_SHELL-$SHELL} |
20294 _ACEOF | 22898 _ACEOF |
20295 | 22899 |
20296 cat >>$CONFIG_STATUS <<\_ACEOF | 22900 cat >>$CONFIG_STATUS <<\_ACEOF |
20297 | |
20298 ## --------------------- ## | 22901 ## --------------------- ## |
20299 ## M4sh Initialization. ## | 22902 ## M4sh Initialization. ## |
20300 ## --------------------- ## | 22903 ## --------------------- ## |
20301 | 22904 |
20302 # Be Bourne compatible | 22905 # Be Bourne compatible |
20303 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 22906 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
20304 emulate sh | 22907 emulate sh |
20305 NULLCMD=: | 22908 NULLCMD=: |
20306 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 22909 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
20307 set -o posix | 22910 # is contrary to our usage. Disable this feature. |
20308 fi | 22911 alias -g '${1+"$@"}'='"$@"' |
20309 | 22912 setopt NO_GLOB_SUBST |
20310 # NLS nuisances. | 22913 else |
20311 # Support unset when possible. | 22914 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac |
20312 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 22915 fi |
20313 as_unset=unset | 22916 BIN_SH=xpg4; export BIN_SH # for Tru64 |
20314 else | 22917 DUALCASE=1; export DUALCASE # for MKS sh |
20315 as_unset=false | 22918 |
20316 fi | 22919 |
20317 | 22920 # PATH needs CR |
20318 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && | |
20319 { $as_unset LANG || test "${LANG+set}" != set; } || | |
20320 { LANG=C; export LANG; } | |
20321 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && | |
20322 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || | |
20323 { LC_ALL=C; export LC_ALL; } | |
20324 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && | |
20325 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || | |
20326 { LC_TIME=C; export LC_TIME; } | |
20327 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && | |
20328 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || | |
20329 { LC_CTYPE=C; export LC_CTYPE; } | |
20330 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && | |
20331 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || | |
20332 { LANGUAGE=C; export LANGUAGE; } | |
20333 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && | |
20334 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || | |
20335 { LC_COLLATE=C; export LC_COLLATE; } | |
20336 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && | |
20337 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || | |
20338 { LC_NUMERIC=C; export LC_NUMERIC; } | |
20339 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && | |
20340 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || | |
20341 { LC_MESSAGES=C; export LC_MESSAGES; } | |
20342 | |
20343 | |
20344 # Name of the executable. | |
20345 as_me=`(basename "$0") 2>/dev/null || | |
20346 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
20347 X"$0" : 'X\(//\)$' \| \ | |
20348 X"$0" : 'X\(/\)$' \| \ | |
20349 . : '\(.\)' 2>/dev/null || | |
20350 echo X/"$0" | | |
20351 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | |
20352 /^X\/\(\/\/\)$/{ s//\1/; q; } | |
20353 /^X\/\(\/\).*/{ s//\1/; q; } | |
20354 s/.*/./; q'` | |
20355 | |
20356 # PATH needs CR, and LINENO needs CR and PATH. | |
20357 # Avoid depending upon Character Ranges. | 22921 # Avoid depending upon Character Ranges. |
20358 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 22922 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
20359 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 22923 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
20360 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 22924 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
20361 as_cr_digits='0123456789' | 22925 as_cr_digits='0123456789' |
20362 as_cr_alnum=$as_cr_Letters$as_cr_digits | 22926 as_cr_alnum=$as_cr_Letters$as_cr_digits |
20363 | 22927 |
20364 # The user is always right. | 22928 # The user is always right. |
20365 if test "${PATH_SEPARATOR+set}" != set; then | 22929 if test "${PATH_SEPARATOR+set}" != set; then |
20366 echo "#! /bin/sh" >conftest.sh | 22930 echo "#! /bin/sh" >conf$$.sh |
20367 echo "exit 0" >>conftest.sh | 22931 echo "exit 0" >>conf$$.sh |
20368 chmod +x conftest.sh | 22932 chmod +x conf$$.sh |
20369 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then | 22933 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
20370 PATH_SEPARATOR=';' | 22934 PATH_SEPARATOR=';' |
20371 else | 22935 else |
20372 PATH_SEPARATOR=: | 22936 PATH_SEPARATOR=: |
20373 fi | 22937 fi |
20374 rm -f conftest.sh | 22938 rm -f conf$$.sh |
20375 fi | 22939 fi |
20376 | 22940 |
20377 | 22941 # Support unset when possible. |
20378 as_lineno_1=$LINENO | 22942 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
20379 as_lineno_2=$LINENO | 22943 as_unset=unset |
20380 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 22944 else |
20381 test "x$as_lineno_1" != "x$as_lineno_2" && | 22945 as_unset=false |
20382 test "x$as_lineno_3" = "x$as_lineno_2" || { | 22946 fi |
20383 # Find who we are. Look in the path if we contain no path at all | 22947 |
20384 # relative or not. | 22948 |
20385 case $0 in | 22949 # IFS |
20386 *[\\/]* ) as_myself=$0 ;; | 22950 # We need space, tab and new line, in precisely that order. Quoting is |
20387 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 22951 # there to prevent editors from complaining about space-tab. |
22952 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
22953 # splitting by setting IFS to empty value.) | |
22954 as_nl=' | |
22955 ' | |
22956 IFS=" "" $as_nl" | |
22957 | |
22958 # Find who we are. Look in the path if we contain no directory separator. | |
22959 case $0 in | |
22960 *[\\/]* ) as_myself=$0 ;; | |
22961 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
20388 for as_dir in $PATH | 22962 for as_dir in $PATH |
20389 do | 22963 do |
20390 IFS=$as_save_IFS | 22964 IFS=$as_save_IFS |
20391 test -z "$as_dir" && as_dir=. | 22965 test -z "$as_dir" && as_dir=. |
20392 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 22966 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
20393 done | 22967 done |
20394 | 22968 IFS=$as_save_IFS |
20395 ;; | 22969 |
20396 esac | 22970 ;; |
20397 # We did not find ourselves, most probably we were run as `sh COMMAND' | 22971 esac |
20398 # in which case we are not to be found in the path. | 22972 # We did not find ourselves, most probably we were run as `sh COMMAND' |
20399 if test "x$as_myself" = x; then | 22973 # in which case we are not to be found in the path. |
20400 as_myself=$0 | 22974 if test "x$as_myself" = x; then |
22975 as_myself=$0 | |
22976 fi | |
22977 if test ! -f "$as_myself"; then | |
22978 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
22979 { (exit 1); exit 1; } | |
22980 fi | |
22981 | |
22982 # Work around bugs in pre-3.0 UWIN ksh. | |
22983 for as_var in ENV MAIL MAILPATH | |
22984 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
22985 done | |
22986 PS1='$ ' | |
22987 PS2='> ' | |
22988 PS4='+ ' | |
22989 | |
22990 # NLS nuisances. | |
22991 for as_var in \ | |
22992 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
22993 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
22994 LC_TELEPHONE LC_TIME | |
22995 do | |
22996 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
22997 eval $as_var=C; export $as_var | |
22998 else | |
22999 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
20401 fi | 23000 fi |
20402 if test ! -f "$as_myself"; then | 23001 done |
20403 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | 23002 |
20404 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | 23003 # Required to use basename. |
20405 { (exit 1); exit 1; }; } | 23004 if expr a : '\(a\)' >/dev/null 2>&1 && |
20406 fi | 23005 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
20407 case $CONFIG_SHELL in | 23006 as_expr=expr |
20408 '') | 23007 else |
20409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 23008 as_expr=false |
20410 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 23009 fi |
20411 do | 23010 |
20412 IFS=$as_save_IFS | 23011 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
20413 test -z "$as_dir" && as_dir=. | 23012 as_basename=basename |
20414 for as_base in sh bash ksh sh5; do | 23013 else |
20415 case $as_dir in | 23014 as_basename=false |
20416 /*) | 23015 fi |
20417 if ("$as_dir/$as_base" -c ' | 23016 |
23017 | |
23018 # Name of the executable. | |
23019 as_me=`$as_basename -- "$0" || | |
23020 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
23021 X"$0" : 'X\(//\)$' \| \ | |
23022 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
23023 echo X/"$0" | | |
23024 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
23025 s//\1/ | |
23026 q | |
23027 } | |
23028 /^X\/\(\/\/\)$/{ | |
23029 s//\1/ | |
23030 q | |
23031 } | |
23032 /^X\/\(\/\).*/{ | |
23033 s//\1/ | |
23034 q | |
23035 } | |
23036 s/.*/./; q'` | |
23037 | |
23038 # CDPATH. | |
23039 $as_unset CDPATH | |
23040 | |
23041 | |
23042 | |
20418 as_lineno_1=$LINENO | 23043 as_lineno_1=$LINENO |
20419 as_lineno_2=$LINENO | 23044 as_lineno_2=$LINENO |
20420 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
20421 test "x$as_lineno_1" != "x$as_lineno_2" && | 23045 test "x$as_lineno_1" != "x$as_lineno_2" && |
20422 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | 23046 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
20423 CONFIG_SHELL=$as_dir/$as_base | |
20424 export CONFIG_SHELL | |
20425 exec "$CONFIG_SHELL" "$0" ${1+"$@"} | |
20426 fi;; | |
20427 esac | |
20428 done | |
20429 done | |
20430 ;; | |
20431 esac | |
20432 | 23047 |
20433 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 23048 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
20434 # uniformly replaced by the line number. The first 'sed' inserts a | 23049 # uniformly replaced by the line number. The first 'sed' inserts a |
20435 # line-number line before each line; the second 'sed' does the real | 23050 # line-number line after each line using $LINENO; the second 'sed' |
20436 # work. The second script uses 'N' to pair each line-number line | 23051 # does the real work. The second script uses 'N' to pair each |
20437 # with the numbered line, and appends trailing '-' during | 23052 # line-number line with the line containing $LINENO, and appends |
20438 # substitution so that $LINENO is not a special case at line end. | 23053 # trailing '-' during substitution so that $LINENO is not a special |
23054 # case at line end. | |
20439 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 23055 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
20440 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | 23056 # scripts with optimization help from Paolo Bonzini. Blame Lee |
20441 sed '=' <$as_myself | | 23057 # E. McMahon (1931-1989) for sed's syntax. :-) |
23058 sed -n ' | |
23059 p | |
23060 /[$]LINENO/= | |
23061 ' <$as_myself | | |
20442 sed ' | 23062 sed ' |
23063 s/[$]LINENO.*/&-/ | |
23064 t lineno | |
23065 b | |
23066 :lineno | |
20443 N | 23067 N |
20444 s,$,-, | 23068 :loop |
20445 : loop | 23069 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
20446 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
20447 t loop | 23070 t loop |
20448 s,-$,, | 23071 s/-\n.*// |
20449 s,^['$as_cr_digits']*\n,, | |
20450 ' >$as_me.lineno && | 23072 ' >$as_me.lineno && |
20451 chmod +x $as_me.lineno || | 23073 chmod +x "$as_me.lineno" || |
20452 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | 23074 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
20453 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | |
20454 { (exit 1); exit 1; }; } | 23075 { (exit 1); exit 1; }; } |
20455 | 23076 |
20456 # Don't try to exec as it changes $[0], causing all sort of problems | 23077 # Don't try to exec as it changes $[0], causing all sort of problems |
20457 # (the dirname of $[0] is not the place where we might find the | 23078 # (the dirname of $[0] is not the place where we might find the |
20458 # original and so on. Autoconf is especially sensible to this). | 23079 # original and so on. Autoconf is especially sensitive to this). |
20459 . ./$as_me.lineno | 23080 . "./$as_me.lineno" |
20460 # Exit status is that of the last command. | 23081 # Exit status is that of the last command. |
20461 exit | 23082 exit |
20462 } | 23083 } |
20463 | 23084 |
20464 | 23085 |
20465 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 23086 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
20466 *c*,-n*) ECHO_N= ECHO_C=' | 23087 as_dirname=dirname |
20467 ' ECHO_T=' ' ;; | 23088 else |
20468 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 23089 as_dirname=false |
20469 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | 23090 fi |
20470 esac | 23091 |
20471 | 23092 ECHO_C= ECHO_N= ECHO_T= |
20472 if expr a : '\(a\)' >/dev/null 2>&1; then | 23093 case `echo -n x` in |
23094 -n*) | |
23095 case `echo 'x\c'` in | |
23096 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
23097 *) ECHO_C='\c';; | |
23098 esac;; | |
23099 *) | |
23100 ECHO_N='-n';; | |
23101 esac | |
23102 | |
23103 if expr a : '\(a\)' >/dev/null 2>&1 && | |
23104 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
20473 as_expr=expr | 23105 as_expr=expr |
20474 else | 23106 else |
20475 as_expr=false | 23107 as_expr=false |
20476 fi | 23108 fi |
20477 | 23109 |
20478 rm -f conf$$ conf$$.exe conf$$.file | 23110 rm -f conf$$ conf$$.exe conf$$.file |
23111 if test -d conf$$.dir; then | |
23112 rm -f conf$$.dir/conf$$.file | |
23113 else | |
23114 rm -f conf$$.dir | |
23115 mkdir conf$$.dir | |
23116 fi | |
20479 echo >conf$$.file | 23117 echo >conf$$.file |
20480 if ln -s conf$$.file conf$$ 2>/dev/null; then | 23118 if ln -s conf$$.file conf$$ 2>/dev/null; then |
20481 # We could just check for DJGPP; but this test a) works b) is more generic | 23119 as_ln_s='ln -s' |
20482 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 23120 # ... but there are two gotchas: |
20483 if test -f conf$$.exe; then | 23121 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
20484 # Don't use ln at all; we don't have any links | 23122 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
23123 # In both cases, we have to default to `cp -p'. | |
23124 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
20485 as_ln_s='cp -p' | 23125 as_ln_s='cp -p' |
20486 else | |
20487 as_ln_s='ln -s' | |
20488 fi | |
20489 elif ln conf$$.file conf$$ 2>/dev/null; then | 23126 elif ln conf$$.file conf$$ 2>/dev/null; then |
20490 as_ln_s=ln | 23127 as_ln_s=ln |
20491 else | 23128 else |
20492 as_ln_s='cp -p' | 23129 as_ln_s='cp -p' |
20493 fi | 23130 fi |
20494 rm -f conf$$ conf$$.exe conf$$.file | 23131 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
20495 | 23132 rmdir conf$$.dir 2>/dev/null |
20496 as_executable_p="test -f" | 23133 |
23134 if mkdir -p . 2>/dev/null; then | |
23135 as_mkdir_p=: | |
23136 else | |
23137 test -d ./-p && rmdir ./-p | |
23138 as_mkdir_p=false | |
23139 fi | |
23140 | |
23141 # Find out whether ``test -x'' works. Don't use a zero-byte file, as | |
23142 # systems may use methods other than mode bits to determine executability. | |
23143 cat >conf$$.file <<_ASEOF | |
23144 #! /bin/sh | |
23145 exit 0 | |
23146 _ASEOF | |
23147 chmod +x conf$$.file | |
23148 if test -x conf$$.file >/dev/null 2>&1; then | |
23149 as_executable_p="test -x" | |
23150 else | |
23151 as_executable_p=: | |
23152 fi | |
23153 rm -f conf$$.file | |
20497 | 23154 |
20498 # Sed expression to map a string onto a valid CPP name. | 23155 # Sed expression to map a string onto a valid CPP name. |
20499 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 23156 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
20500 | 23157 |
20501 # Sed expression to map a string onto a valid variable name. | 23158 # Sed expression to map a string onto a valid variable name. |
20502 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 23159 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
20503 | 23160 |
20504 | |
20505 # IFS | |
20506 # We need space, tab and new line, in precisely that order. | |
20507 as_nl=' | |
20508 ' | |
20509 IFS=" $as_nl" | |
20510 | |
20511 # CDPATH. | |
20512 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } | |
20513 | 23161 |
20514 exec 6>&1 | 23162 exec 6>&1 |
20515 | 23163 |
20516 # Open the log real soon, to keep \$[0] and so on meaningful, and to | 23164 # Save the log message, to keep $[0] and so on meaningful, and to |
20517 # report actual input values of CONFIG_FILES etc. instead of their | 23165 # report actual input values of CONFIG_FILES etc. instead of their |
20518 # values after options handling. Logging --version etc. is OK. | 23166 # values after options handling. |
20519 exec 5>>config.log | 23167 ac_log=" |
20520 { | |
20521 echo | |
20522 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
20523 ## Running $as_me. ## | |
20524 _ASBOX | |
20525 } >&5 | |
20526 cat >&5 <<_CSEOF | |
20527 | |
20528 This file was extended by $as_me, which was | 23168 This file was extended by $as_me, which was |
20529 generated by GNU Autoconf 2.53. Invocation command line was | 23169 generated by GNU Autoconf 2.60. Invocation command line was |
20530 | 23170 |
20531 CONFIG_FILES = $CONFIG_FILES | 23171 CONFIG_FILES = $CONFIG_FILES |
20532 CONFIG_HEADERS = $CONFIG_HEADERS | 23172 CONFIG_HEADERS = $CONFIG_HEADERS |
20533 CONFIG_LINKS = $CONFIG_LINKS | 23173 CONFIG_LINKS = $CONFIG_LINKS |
20534 CONFIG_COMMANDS = $CONFIG_COMMANDS | 23174 CONFIG_COMMANDS = $CONFIG_COMMANDS |
20535 $ $0 $@ | 23175 $ $0 $@ |
20536 | 23176 |
20537 _CSEOF | 23177 on `(hostname || uname -n) 2>/dev/null | sed 1q` |
20538 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | 23178 " |
20539 echo >&5 | 23179 |
20540 _ACEOF | 23180 _ACEOF |
20541 | 23181 |
23182 cat >>$CONFIG_STATUS <<_ACEOF | |
20542 # Files that config.status was made for. | 23183 # Files that config.status was made for. |
20543 if test -n "$ac_config_files"; then | 23184 config_files="$ac_config_files" |
20544 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 23185 config_headers="$ac_config_headers" |
20545 fi | 23186 |
20546 | 23187 _ACEOF |
20547 if test -n "$ac_config_headers"; then | |
20548 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | |
20549 fi | |
20550 | |
20551 if test -n "$ac_config_links"; then | |
20552 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | |
20553 fi | |
20554 | |
20555 if test -n "$ac_config_commands"; then | |
20556 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | |
20557 fi | |
20558 | 23188 |
20559 cat >>$CONFIG_STATUS <<\_ACEOF | 23189 cat >>$CONFIG_STATUS <<\_ACEOF |
20560 | |
20561 ac_cs_usage="\ | 23190 ac_cs_usage="\ |
20562 \`$as_me' instantiates files from templates according to the | 23191 \`$as_me' instantiates files from templates according to the |
20563 current configuration. | 23192 current configuration. |
20564 | 23193 |
20565 Usage: $0 [OPTIONS] [FILE]... | 23194 Usage: $0 [OPTIONS] [FILE]... |
20566 | 23195 |
20567 -h, --help print this help, then exit | 23196 -h, --help print this help, then exit |
20568 -V, --version print version number, then exit | 23197 -V, --version print version number, then exit |
23198 -q, --quiet do not print progress messages | |
20569 -d, --debug don't remove temporary files | 23199 -d, --debug don't remove temporary files |
20570 --recheck update $as_me by reconfiguring in the same conditions | 23200 --recheck update $as_me by reconfiguring in the same conditions |
20571 --file=FILE[:TEMPLATE] | 23201 --file=FILE[:TEMPLATE] |
20572 instantiate the configuration file FILE | 23202 instantiate the configuration file FILE |
20573 --header=FILE[:TEMPLATE] | 23203 --header=FILE[:TEMPLATE] |
20574 instantiate the configuration header FILE | 23204 instantiate the configuration header FILE |
20575 | 23205 |
20576 Configuration files: | 23206 Configuration files: |
20577 $config_files | 23207 $config_files |
20578 | 23208 |
20579 Configuration headers: | 23209 Configuration headers: |
20580 $config_headers | 23210 $config_headers |
20581 | 23211 |
20582 Report bugs to <bug-autoconf@gnu.org>." | 23212 Report bugs to <bug-autoconf@gnu.org>." |
23213 | |
20583 _ACEOF | 23214 _ACEOF |
20584 | |
20585 cat >>$CONFIG_STATUS <<_ACEOF | 23215 cat >>$CONFIG_STATUS <<_ACEOF |
20586 ac_cs_version="\\ | 23216 ac_cs_version="\\ |
20587 config.status | 23217 config.status |
20588 configured by $0, generated by GNU Autoconf 2.53, | 23218 configured by $0, generated by GNU Autoconf 2.60, |
20589 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 23219 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
20590 | 23220 |
20591 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | 23221 Copyright (C) 2006 Free Software Foundation, Inc. |
20592 Free Software Foundation, Inc. | |
20593 This config.status script is free software; the Free Software Foundation | 23222 This config.status script is free software; the Free Software Foundation |
20594 gives unlimited permission to copy, distribute and modify it." | 23223 gives unlimited permission to copy, distribute and modify it." |
20595 srcdir=$srcdir | 23224 |
20596 INSTALL="$INSTALL" | 23225 ac_pwd='$ac_pwd' |
23226 srcdir='$srcdir' | |
23227 INSTALL='$INSTALL' | |
20597 _ACEOF | 23228 _ACEOF |
20598 | 23229 |
20599 cat >>$CONFIG_STATUS <<\_ACEOF | 23230 cat >>$CONFIG_STATUS <<\_ACEOF |
20600 # If no file are specified by the user, then we need to provide default | 23231 # If no file are specified by the user, then we need to provide default |
20601 # value. By we need to know if files were specified by the user. | 23232 # value. By we need to know if files were specified by the user. |
20602 ac_need_defaults=: | 23233 ac_need_defaults=: |
20603 while test $# != 0 | 23234 while test $# != 0 |
20604 do | 23235 do |
20605 case $1 in | 23236 case $1 in |
20606 --*=*) | 23237 --*=*) |
20607 ac_option=`expr "x$1" : 'x\([^=]*\)='` | 23238 ac_option=`expr "X$1" : 'X\([^=]*\)='` |
20608 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 23239 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
20609 shift | 23240 ac_shift=: |
20610 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} | |
20611 shift | |
20612 ;; | 23241 ;; |
20613 -*);; | 23242 *) |
20614 *) # This is not an option, so the user has probably given explicit | 23243 ac_option=$1 |
20615 # arguments. | 23244 ac_optarg=$2 |
20616 ac_need_defaults=false;; | 23245 ac_shift=shift |
23246 ;; | |
20617 esac | 23247 esac |
20618 | 23248 |
20619 case $1 in | 23249 case $ac_option in |
20620 # Handling of the options. | 23250 # Handling of the options. |
20621 _ACEOF | |
20622 cat >>$CONFIG_STATUS <<_ACEOF | |
20623 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 23251 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
20624 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" | 23252 ac_cs_recheck=: ;; |
20625 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; | 23253 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
20626 _ACEOF | 23254 echo "$ac_cs_version"; exit ;; |
20627 cat >>$CONFIG_STATUS <<\_ACEOF | 23255 --debug | --debu | --deb | --de | --d | -d ) |
20628 --version | --vers* | -V ) | 23256 debug=: ;; |
20629 echo "$ac_cs_version"; exit 0 ;; | 23257 --file | --fil | --fi | --f ) |
23258 $ac_shift | |
23259 CONFIG_FILES="$CONFIG_FILES $ac_optarg" | |
23260 ac_need_defaults=false;; | |
23261 --header | --heade | --head | --hea ) | |
23262 $ac_shift | |
23263 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | |
23264 ac_need_defaults=false;; | |
20630 --he | --h) | 23265 --he | --h) |
20631 # Conflict between --help and --header | 23266 # Conflict between --help and --header |
20632 { { echo "$as_me:$LINENO: error: ambiguous option: $1 | 23267 { echo "$as_me: error: ambiguous option: $1 |
20633 Try \`$0 --help' for more information." >&5 | 23268 Try \`$0 --help' for more information." >&2 |
20634 echo "$as_me: error: ambiguous option: $1 | |
20635 Try \`$0 --help' for more information." >&2;} | |
20636 { (exit 1); exit 1; }; };; | 23269 { (exit 1); exit 1; }; };; |
20637 --help | --hel | -h ) | 23270 --help | --hel | -h ) |
20638 echo "$ac_cs_usage"; exit 0 ;; | 23271 echo "$ac_cs_usage"; exit ;; |
20639 --debug | --d* | -d ) | 23272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
20640 debug=: ;; | 23273 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
20641 --file | --fil | --fi | --f ) | 23274 ac_cs_silent=: ;; |
20642 shift | |
20643 CONFIG_FILES="$CONFIG_FILES $1" | |
20644 ac_need_defaults=false;; | |
20645 --header | --heade | --head | --hea ) | |
20646 shift | |
20647 CONFIG_HEADERS="$CONFIG_HEADERS $1" | |
20648 ac_need_defaults=false;; | |
20649 | 23275 |
20650 # This is an error. | 23276 # This is an error. |
20651 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 23277 -*) { echo "$as_me: error: unrecognized option: $1 |
20652 Try \`$0 --help' for more information." >&5 | 23278 Try \`$0 --help' for more information." >&2 |
20653 echo "$as_me: error: unrecognized option: $1 | |
20654 Try \`$0 --help' for more information." >&2;} | |
20655 { (exit 1); exit 1; }; } ;; | 23279 { (exit 1); exit 1; }; } ;; |
20656 | 23280 |
20657 *) ac_config_targets="$ac_config_targets $1" ;; | 23281 *) ac_config_targets="$ac_config_targets $1" |
23282 ac_need_defaults=false ;; | |
20658 | 23283 |
20659 esac | 23284 esac |
20660 shift | 23285 shift |
20661 done | 23286 done |
20662 | 23287 |
23288 ac_configure_extra_args= | |
23289 | |
23290 if $ac_cs_silent; then | |
23291 exec 6>/dev/null | |
23292 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
23293 fi | |
23294 | |
20663 _ACEOF | 23295 _ACEOF |
20664 | 23296 cat >>$CONFIG_STATUS <<_ACEOF |
20665 | 23297 if \$ac_cs_recheck; then |
20666 | 23298 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
20667 | 23299 CONFIG_SHELL=$SHELL |
20668 | 23300 export CONFIG_SHELL |
23301 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
23302 fi | |
23303 | |
23304 _ACEOF | |
20669 cat >>$CONFIG_STATUS <<\_ACEOF | 23305 cat >>$CONFIG_STATUS <<\_ACEOF |
23306 exec 5>>config.log | |
23307 { | |
23308 echo | |
23309 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
23310 ## Running $as_me. ## | |
23311 _ASBOX | |
23312 echo "$ac_log" | |
23313 } >&5 | |
23314 | |
23315 _ACEOF | |
23316 cat >>$CONFIG_STATUS <<_ACEOF | |
23317 _ACEOF | |
23318 | |
23319 cat >>$CONFIG_STATUS <<\_ACEOF | |
23320 | |
23321 # Handling of arguments. | |
20670 for ac_config_target in $ac_config_targets | 23322 for ac_config_target in $ac_config_targets |
20671 do | 23323 do |
20672 case "$ac_config_target" in | 23324 case $ac_config_target in |
20673 # Handling of arguments. | 23325 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
20674 "${makefiles_generic}" ) CONFIG_FILES="$CONFIG_FILES ${makefiles_generic}" ;; | 23326 "${makefiles_generic}") CONFIG_FILES="$CONFIG_FILES ${makefiles_generic}" ;; |
20675 "${makefiles_wnn}" ) CONFIG_FILES="$CONFIG_FILES ${makefiles_wnn}" ;; | 23327 "${makefiles_wnn}") CONFIG_FILES="$CONFIG_FILES ${makefiles_wnn}" ;; |
20676 "${makefiles_wnn_dic}" ) CONFIG_FILES="$CONFIG_FILES ${makefiles_wnn_dic}" ;; | 23328 "${makefiles_wnn_dic}") CONFIG_FILES="$CONFIG_FILES ${makefiles_wnn_dic}" ;; |
20677 "${makefiles_cwnn}" ) CONFIG_FILES="$CONFIG_FILES ${makefiles_cwnn}" ;; | 23329 "${makefiles_cwnn}") CONFIG_FILES="$CONFIG_FILES ${makefiles_cwnn}" ;; |
20678 "${makefiles_cwnn_dic}" ) CONFIG_FILES="$CONFIG_FILES ${makefiles_cwnn_dic}" ;; | 23330 "${makefiles_cwnn_dic}") CONFIG_FILES="$CONFIG_FILES ${makefiles_cwnn_dic}" ;; |
20679 "${makefiles_kwnn}" ) CONFIG_FILES="$CONFIG_FILES ${makefiles_kwnn}" ;; | 23331 "${makefiles_kwnn}") CONFIG_FILES="$CONFIG_FILES ${makefiles_kwnn}" ;; |
20680 "${makefiles_kwnn_dic}" ) CONFIG_FILES="$CONFIG_FILES ${makefiles_kwnn_dic}" ;; | 23332 "${makefiles_kwnn_dic}") CONFIG_FILES="$CONFIG_FILES ${makefiles_kwnn_dic}" ;; |
20681 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 23333 |
20682 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 23334 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
20683 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 23335 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
20684 { (exit 1); exit 1; }; };; | 23336 { (exit 1); exit 1; }; };; |
20685 esac | 23337 esac |
20686 done | 23338 done |
23339 | |
20687 | 23340 |
20688 # If the user did not use the arguments to specify the items to instantiate, | 23341 # If the user did not use the arguments to specify the items to instantiate, |
20689 # then the envvar interface is used. Set only those that are not. | 23342 # then the envvar interface is used. Set only those that are not. |
20690 # We use the long form for the default assignment because of an extremely | 23343 # We use the long form for the default assignment because of an extremely |
20691 # bizarre bug on SunOS 4.1.3. | 23344 # bizarre bug on SunOS 4.1.3. |
20692 if $ac_need_defaults; then | 23345 if $ac_need_defaults; then |
20693 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 23346 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
20694 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 23347 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
20695 fi | 23348 fi |
20696 | 23349 |
20697 # Create a temporary directory, and hook for its removal unless debugging. | 23350 # Have a temporary directory for convenience. Make it in the build tree |
23351 # simply because there is no reason against having it here, and in addition, | |
23352 # creating and moving files from /tmp can sometimes cause problems. | |
23353 # Hook for its removal unless debugging. | |
23354 # Note that there is a small window in which the directory will not be cleaned: | |
23355 # after its creation but before its name has been assigned to `$tmp'. | |
20698 $debug || | 23356 $debug || |
20699 { | 23357 { |
20700 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 23358 tmp= |
23359 trap 'exit_status=$? | |
23360 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
23361 ' 0 | |
20701 trap '{ (exit 1); exit 1; }' 1 2 13 15 | 23362 trap '{ (exit 1); exit 1; }' 1 2 13 15 |
20702 } | 23363 } |
20703 | |
20704 # Create a (secure) tmp directory for tmp files. | 23364 # Create a (secure) tmp directory for tmp files. |
20705 : ${TMPDIR=/tmp} | 23365 |
20706 { | 23366 { |
20707 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && | 23367 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
20708 test -n "$tmp" && test -d "$tmp" | 23368 test -n "$tmp" && test -d "$tmp" |
20709 } || | 23369 } || |
20710 { | 23370 { |
20711 tmp=$TMPDIR/cs$$-$RANDOM | 23371 tmp=./conf$$-$RANDOM |
20712 (umask 077 && mkdir $tmp) | 23372 (umask 077 && mkdir "$tmp") |
20713 } || | 23373 } || |
20714 { | 23374 { |
20715 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 | 23375 echo "$me: cannot create a temporary directory in ." >&2 |
20716 { (exit 1); exit 1; } | 23376 { (exit 1); exit 1; } |
20717 } | 23377 } |
20718 | 23378 |
20719 _ACEOF | |
20720 | |
20721 cat >>$CONFIG_STATUS <<_ACEOF | |
20722 | |
20723 # | 23379 # |
20724 # CONFIG_FILES section. | 23380 # Set up the sed scripts for CONFIG_FILES section. |
20725 # | 23381 # |
20726 | 23382 |
20727 # No need to generate the scripts if there are no CONFIG_FILES. | 23383 # No need to generate the scripts if there are no CONFIG_FILES. |
20728 # This happens for instance when ./config.status config.h | 23384 # This happens for instance when ./config.status config.h |
20729 if test -n "\$CONFIG_FILES"; then | 23385 if test -n "$CONFIG_FILES"; then |
20730 # Protect against being on the right side of a sed subst in config.status. | |
20731 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | |
20732 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | |
20733 s,@SHELL@,$SHELL,;t t | |
20734 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | |
20735 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | |
20736 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | |
20737 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | |
20738 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | |
20739 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | |
20740 s,@exec_prefix@,$exec_prefix,;t t | |
20741 s,@prefix@,$prefix,;t t | |
20742 s,@program_transform_name@,$program_transform_name,;t t | |
20743 s,@bindir@,$bindir,;t t | |
20744 s,@sbindir@,$sbindir,;t t | |
20745 s,@libexecdir@,$libexecdir,;t t | |
20746 s,@datadir@,$datadir,;t t | |
20747 s,@sysconfdir@,$sysconfdir,;t t | |
20748 s,@sharedstatedir@,$sharedstatedir,;t t | |
20749 s,@localstatedir@,$localstatedir,;t t | |
20750 s,@libdir@,$libdir,;t t | |
20751 s,@includedir@,$includedir,;t t | |
20752 s,@oldincludedir@,$oldincludedir,;t t | |
20753 s,@infodir@,$infodir,;t t | |
20754 s,@mandir@,$mandir,;t t | |
20755 s,@build_alias@,$build_alias,;t t | |
20756 s,@host_alias@,$host_alias,;t t | |
20757 s,@target_alias@,$target_alias,;t t | |
20758 s,@DEFS@,$DEFS,;t t | |
20759 s,@ECHO_C@,$ECHO_C,;t t | |
20760 s,@ECHO_N@,$ECHO_N,;t t | |
20761 s,@ECHO_T@,$ECHO_T,;t t | |
20762 s,@LIBS@,$LIBS,;t t | |
20763 s,@build@,$build,;t t | |
20764 s,@build_cpu@,$build_cpu,;t t | |
20765 s,@build_vendor@,$build_vendor,;t t | |
20766 s,@build_os@,$build_os,;t t | |
20767 s,@host@,$host,;t t | |
20768 s,@host_cpu@,$host_cpu,;t t | |
20769 s,@host_vendor@,$host_vendor,;t t | |
20770 s,@host_os@,$host_os,;t t | |
20771 s,@SUBDIRS@,$SUBDIRS,;t t | |
20772 s,@WNNMANDIR@,$WNNMANDIR,;t t | |
20773 s,@Wnn@,$Wnn,;t t | |
20774 s,@JSERVER_SUBDIRS2@,$JSERVER_SUBDIRS2,;t t | |
20775 s,@cWnn@,$cWnn,;t t | |
20776 s,@kWnn@,$kWnn,;t t | |
20777 s,@WNNJLIB@,$WNNJLIB,;t t | |
20778 s,@DEPWNNJLIB@,$DEPWNNJLIB,;t t | |
20779 s,@HINSI_DATA@,$HINSI_DATA,;t t | |
20780 s,@CWNNJLIB@,$CWNNJLIB,;t t | |
20781 s,@DEPCWNNJLIB@,$DEPCWNNJLIB,;t t | |
20782 s,@CHINSI_DATA@,$CHINSI_DATA,;t t | |
20783 s,@THINSI_DATA@,$THINSI_DATA,;t t | |
20784 s,@KWNNJLIB@,$KWNNJLIB,;t t | |
20785 s,@DEPKWNNJLIB@,$DEPKWNNJLIB,;t t | |
20786 s,@KHINSI_DATA@,$KHINSI_DATA,;t t | |
20787 s,@ipv6@,$ipv6,;t t | |
20788 s,@unsafe_path@,$unsafe_path,;t t | |
20789 s,@CC@,$CC,;t t | |
20790 s,@CFLAGS@,$CFLAGS,;t t | |
20791 s,@LDFLAGS@,$LDFLAGS,;t t | |
20792 s,@CPPFLAGS@,$CPPFLAGS,;t t | |
20793 s,@ac_ct_CC@,$ac_ct_CC,;t t | |
20794 s,@EXEEXT@,$EXEEXT,;t t | |
20795 s,@OBJEXT@,$OBJEXT,;t t | |
20796 s,@CCOPTIONS@,$CCOPTIONS,;t t | |
20797 s,@CDEBUGFLAGS@,$CDEBUGFLAGS,;t t | |
20798 s,@INSTPGMFLAGS@,$INSTPGMFLAGS,;t t | |
20799 s,@CPP@,$CPP,;t t | |
20800 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | |
20801 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | |
20802 s,@INSTALL_DATA@,$INSTALL_DATA,;t t | |
20803 s,@LN_S@,$LN_S,;t t | |
20804 s,@SET_MAKE@,$SET_MAKE,;t t | |
20805 s,@EGREP@,$EGREP,;t t | |
20806 s,@ECHO@,$ECHO,;t t | |
20807 s,@AR@,$AR,;t t | |
20808 s,@ac_ct_AR@,$ac_ct_AR,;t t | |
20809 s,@RANLIB@,$RANLIB,;t t | |
20810 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | |
20811 s,@STRIP@,$STRIP,;t t | |
20812 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t | |
20813 s,@CXX@,$CXX,;t t | |
20814 s,@CXXFLAGS@,$CXXFLAGS,;t t | |
20815 s,@ac_ct_CXX@,$ac_ct_CXX,;t t | |
20816 s,@CXXCPP@,$CXXCPP,;t t | |
20817 s,@F77@,$F77,;t t | |
20818 s,@FFLAGS@,$FFLAGS,;t t | |
20819 s,@ac_ct_F77@,$ac_ct_F77,;t t | |
20820 s,@LIBTOOL@,$LIBTOOL,;t t | |
20821 s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t | |
20822 s,@TERMLIB@,$TERMLIB,;t t | |
20823 s,@CNVFILE_SUBDIR@,$CNVFILE_SUBDIR,;t t | |
20824 s,@LIBOBJS@,$LIBOBJS,;t t | |
20825 s,@JS_SUPPORTOBJS@,$JS_SUPPORTOBJS,;t t | |
20826 s,@WRAPLIB@,$WRAPLIB,;t t | |
20827 CEOF | |
20828 | 23386 |
20829 _ACEOF | 23387 _ACEOF |
20830 | 23388 |
20831 cat >>$CONFIG_STATUS <<\_ACEOF | 23389 |
20832 # Split the substitutions into bite-sized pieces for seds with | 23390 |
20833 # small command number limits, like on Digital OSF/1 and HP-UX. | 23391 ac_delim='%!_!# ' |
20834 ac_max_sed_lines=48 | 23392 for ac_last_try in false false false false false :; do |
20835 ac_sed_frag=1 # Number of current file. | 23393 cat >conf$$subs.sed <<_ACEOF |
20836 ac_beg=1 # First line for current file. | 23394 SHELL!$SHELL$ac_delim |
20837 ac_end=$ac_max_sed_lines # Line after last line for current file. | 23395 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
20838 ac_more_lines=: | 23396 PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
20839 ac_sed_cmds= | 23397 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
20840 while $ac_more_lines; do | 23398 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
20841 if test $ac_beg -gt 1; then | 23399 PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
20842 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 23400 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
20843 else | 23401 exec_prefix!$exec_prefix$ac_delim |
20844 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 23402 prefix!$prefix$ac_delim |
23403 program_transform_name!$program_transform_name$ac_delim | |
23404 bindir!$bindir$ac_delim | |
23405 sbindir!$sbindir$ac_delim | |
23406 libexecdir!$libexecdir$ac_delim | |
23407 datarootdir!$datarootdir$ac_delim | |
23408 datadir!$datadir$ac_delim | |
23409 sysconfdir!$sysconfdir$ac_delim | |
23410 sharedstatedir!$sharedstatedir$ac_delim | |
23411 localstatedir!$localstatedir$ac_delim | |
23412 includedir!$includedir$ac_delim | |
23413 oldincludedir!$oldincludedir$ac_delim | |
23414 docdir!$docdir$ac_delim | |
23415 infodir!$infodir$ac_delim | |
23416 htmldir!$htmldir$ac_delim | |
23417 dvidir!$dvidir$ac_delim | |
23418 pdfdir!$pdfdir$ac_delim | |
23419 psdir!$psdir$ac_delim | |
23420 libdir!$libdir$ac_delim | |
23421 localedir!$localedir$ac_delim | |
23422 mandir!$mandir$ac_delim | |
23423 DEFS!$DEFS$ac_delim | |
23424 ECHO_C!$ECHO_C$ac_delim | |
23425 ECHO_N!$ECHO_N$ac_delim | |
23426 ECHO_T!$ECHO_T$ac_delim | |
23427 LIBS!$LIBS$ac_delim | |
23428 build_alias!$build_alias$ac_delim | |
23429 host_alias!$host_alias$ac_delim | |
23430 target_alias!$target_alias$ac_delim | |
23431 build!$build$ac_delim | |
23432 build_cpu!$build_cpu$ac_delim | |
23433 build_vendor!$build_vendor$ac_delim | |
23434 build_os!$build_os$ac_delim | |
23435 host!$host$ac_delim | |
23436 host_cpu!$host_cpu$ac_delim | |
23437 host_vendor!$host_vendor$ac_delim | |
23438 host_os!$host_os$ac_delim | |
23439 SUBDIRS!$SUBDIRS$ac_delim | |
23440 WNNMANDIR!$WNNMANDIR$ac_delim | |
23441 Wnn!$Wnn$ac_delim | |
23442 JSERVER_SUBDIRS2!$JSERVER_SUBDIRS2$ac_delim | |
23443 cWnn!$cWnn$ac_delim | |
23444 kWnn!$kWnn$ac_delim | |
23445 WNNJLIB!$WNNJLIB$ac_delim | |
23446 DEPWNNJLIB!$DEPWNNJLIB$ac_delim | |
23447 HINSI_DATA!$HINSI_DATA$ac_delim | |
23448 CWNNJLIB!$CWNNJLIB$ac_delim | |
23449 DEPCWNNJLIB!$DEPCWNNJLIB$ac_delim | |
23450 CHINSI_DATA!$CHINSI_DATA$ac_delim | |
23451 THINSI_DATA!$THINSI_DATA$ac_delim | |
23452 KWNNJLIB!$KWNNJLIB$ac_delim | |
23453 DEPKWNNJLIB!$DEPKWNNJLIB$ac_delim | |
23454 KHINSI_DATA!$KHINSI_DATA$ac_delim | |
23455 ipv6!$ipv6$ac_delim | |
23456 unsafe_path!$unsafe_path$ac_delim | |
23457 CC!$CC$ac_delim | |
23458 CFLAGS!$CFLAGS$ac_delim | |
23459 LDFLAGS!$LDFLAGS$ac_delim | |
23460 CPPFLAGS!$CPPFLAGS$ac_delim | |
23461 ac_ct_CC!$ac_ct_CC$ac_delim | |
23462 EXEEXT!$EXEEXT$ac_delim | |
23463 OBJEXT!$OBJEXT$ac_delim | |
23464 CCOPTIONS!$CCOPTIONS$ac_delim | |
23465 CDEBUGFLAGS!$CDEBUGFLAGS$ac_delim | |
23466 INSTPGMFLAGS!$INSTPGMFLAGS$ac_delim | |
23467 CPP!$CPP$ac_delim | |
23468 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim | |
23469 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim | |
23470 INSTALL_DATA!$INSTALL_DATA$ac_delim | |
23471 LN_S!$LN_S$ac_delim | |
23472 SET_MAKE!$SET_MAKE$ac_delim | |
23473 GREP!$GREP$ac_delim | |
23474 EGREP!$EGREP$ac_delim | |
23475 ECHO!$ECHO$ac_delim | |
23476 AR!$AR$ac_delim | |
23477 RANLIB!$RANLIB$ac_delim | |
23478 STRIP!$STRIP$ac_delim | |
23479 CXX!$CXX$ac_delim | |
23480 CXXFLAGS!$CXXFLAGS$ac_delim | |
23481 ac_ct_CXX!$ac_ct_CXX$ac_delim | |
23482 CXXCPP!$CXXCPP$ac_delim | |
23483 F77!$F77$ac_delim | |
23484 FFLAGS!$FFLAGS$ac_delim | |
23485 ac_ct_F77!$ac_ct_F77$ac_delim | |
23486 LIBTOOL!$LIBTOOL$ac_delim | |
23487 LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim | |
23488 XMKMF!$XMKMF$ac_delim | |
23489 TERMLIB!$TERMLIB$ac_delim | |
23490 CNVFILE_SUBDIR!$CNVFILE_SUBDIR$ac_delim | |
23491 _ACEOF | |
23492 | |
23493 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | |
23494 break | |
23495 elif $ac_last_try; then | |
23496 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
23497 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
23498 { (exit 1); exit 1; }; } | |
23499 else | |
23500 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
23501 fi | |
23502 done | |
23503 | |
23504 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | |
23505 if test -n "$ac_eof"; then | |
23506 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
23507 ac_eof=`expr $ac_eof + 1` | |
23508 fi | |
23509 | |
23510 cat >>$CONFIG_STATUS <<_ACEOF | |
23511 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof | |
23512 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
23513 _ACEOF | |
23514 sed ' | |
23515 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
23516 s/^/s,@/; s/!/@,|#_!!_#|/ | |
23517 :n | |
23518 t n | |
23519 s/'"$ac_delim"'$/,g/; t | |
23520 s/$/\\/; p | |
23521 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
23522 ' >>$CONFIG_STATUS <conf$$subs.sed | |
23523 rm -f conf$$subs.sed | |
23524 cat >>$CONFIG_STATUS <<_ACEOF | |
23525 CEOF$ac_eof | |
23526 _ACEOF | |
23527 | |
23528 | |
23529 ac_delim='%!_!# ' | |
23530 for ac_last_try in false false false false false :; do | |
23531 cat >conf$$subs.sed <<_ACEOF | |
23532 LIBOBJS!$LIBOBJS$ac_delim | |
23533 JS_SUPPORTOBJS!$JS_SUPPORTOBJS$ac_delim | |
23534 WRAPLIB!$WRAPLIB$ac_delim | |
23535 LTLIBOBJS!$LTLIBOBJS$ac_delim | |
23536 _ACEOF | |
23537 | |
23538 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 4; then | |
23539 break | |
23540 elif $ac_last_try; then | |
23541 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
23542 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
23543 { (exit 1); exit 1; }; } | |
23544 else | |
23545 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
23546 fi | |
23547 done | |
23548 | |
23549 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | |
23550 if test -n "$ac_eof"; then | |
23551 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
23552 ac_eof=`expr $ac_eof + 1` | |
23553 fi | |
23554 | |
23555 cat >>$CONFIG_STATUS <<_ACEOF | |
23556 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof | |
23557 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end | |
23558 _ACEOF | |
23559 sed ' | |
23560 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
23561 s/^/s,@/; s/!/@,|#_!!_#|/ | |
23562 :n | |
23563 t n | |
23564 s/'"$ac_delim"'$/,g/; t | |
23565 s/$/\\/; p | |
23566 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
23567 ' >>$CONFIG_STATUS <conf$$subs.sed | |
23568 rm -f conf$$subs.sed | |
23569 cat >>$CONFIG_STATUS <<_ACEOF | |
23570 :end | |
23571 s/|#_!!_#|//g | |
23572 CEOF$ac_eof | |
23573 _ACEOF | |
23574 | |
23575 | |
23576 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
23577 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
23578 # trailing colons and then remove the whole line if VPATH becomes empty | |
23579 # (actually we leave an empty line to preserve line numbers). | |
23580 if test "x$srcdir" = x.; then | |
23581 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
23582 s/:*\$(srcdir):*/:/ | |
23583 s/:*\${srcdir}:*/:/ | |
23584 s/:*@srcdir@:*/:/ | |
23585 s/^\([^=]*=[ ]*\):*/\1/ | |
23586 s/:*$// | |
23587 s/^[^=]*=[ ]*$// | |
23588 }' | |
23589 fi | |
23590 | |
23591 cat >>$CONFIG_STATUS <<\_ACEOF | |
23592 fi # test -n "$CONFIG_FILES" | |
23593 | |
23594 | |
23595 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS | |
23596 do | |
23597 case $ac_tag in | |
23598 :[FHLC]) ac_mode=$ac_tag; continue;; | |
23599 esac | |
23600 case $ac_mode$ac_tag in | |
23601 :[FHL]*:*);; | |
23602 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 | |
23603 echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |
23604 { (exit 1); exit 1; }; };; | |
23605 :[FH]-) ac_tag=-:-;; | |
23606 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
23607 esac | |
23608 ac_save_IFS=$IFS | |
23609 IFS=: | |
23610 set x $ac_tag | |
23611 IFS=$ac_save_IFS | |
23612 shift | |
23613 ac_file=$1 | |
23614 shift | |
23615 | |
23616 case $ac_mode in | |
23617 :L) ac_source=$1;; | |
23618 :[FH]) | |
23619 ac_file_inputs= | |
23620 for ac_f | |
23621 do | |
23622 case $ac_f in | |
23623 -) ac_f="$tmp/stdin";; | |
23624 *) # Look for the file first in the build tree, then in the source tree | |
23625 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
23626 # because $ac_f cannot contain `:'. | |
23627 test -f "$ac_f" || | |
23628 case $ac_f in | |
23629 [\\/$]*) false;; | |
23630 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
23631 esac || | |
23632 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | |
23633 echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
23634 { (exit 1); exit 1; }; };; | |
23635 esac | |
23636 ac_file_inputs="$ac_file_inputs $ac_f" | |
23637 done | |
23638 | |
23639 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
23640 # use $as_me), people would be surprised to read: | |
23641 # /* config.h. Generated by config.status. */ | |
23642 configure_input="Generated from "`IFS=: | |
23643 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." | |
23644 if test x"$ac_file" != x-; then | |
23645 configure_input="$ac_file. $configure_input" | |
23646 { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
23647 echo "$as_me: creating $ac_file" >&6;} | |
20845 fi | 23648 fi |
20846 if test ! -s $tmp/subs.frag; then | 23649 |
20847 ac_more_lines=false | 23650 case $ac_tag in |
20848 else | 23651 *:-:* | *:-) cat >"$tmp/stdin";; |
20849 # The purpose of the label and of the branching condition is to | 23652 esac |
20850 # speed up the sed processing (if there are no `@' at all, there | |
20851 # is no need to browse any of the substitutions). | |
20852 # These are the two extra sed commands mentioned above. | |
20853 (echo ':t | |
20854 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | |
20855 if test -z "$ac_sed_cmds"; then | |
20856 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | |
20857 else | |
20858 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | |
20859 fi | |
20860 ac_sed_frag=`expr $ac_sed_frag + 1` | |
20861 ac_beg=$ac_end | |
20862 ac_end=`expr $ac_end + $ac_max_sed_lines` | |
20863 fi | |
20864 done | |
20865 if test -z "$ac_sed_cmds"; then | |
20866 ac_sed_cmds=cat | |
20867 fi | |
20868 fi # test -n "$CONFIG_FILES" | |
20869 | |
20870 _ACEOF | |
20871 cat >>$CONFIG_STATUS <<\_ACEOF | |
20872 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | |
20873 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
20874 case $ac_file in | |
20875 - | *:- | *:-:* ) # input from stdin | |
20876 cat >$tmp/stdin | |
20877 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
20878 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
20879 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
20880 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
20881 * ) ac_file_in=$ac_file.in ;; | |
20882 esac | |
20883 | |
20884 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | |
20885 ac_dir=`(dirname "$ac_file") 2>/dev/null || | |
20886 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
20887 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
20888 X"$ac_file" : 'X\(//\)$' \| \ | |
20889 X"$ac_file" : 'X\(/\)' \| \ | |
20890 . : '\(.\)' 2>/dev/null || | |
20891 echo X"$ac_file" | | |
20892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
20893 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
20894 /^X\(\/\/\)$/{ s//\1/; q; } | |
20895 /^X\(\/\).*/{ s//\1/; q; } | |
20896 s/.*/./; q'` | |
20897 { case "$ac_dir" in | |
20898 [\\/]* | ?:[\\/]* ) as_incr_dir=;; | |
20899 *) as_incr_dir=.;; | |
20900 esac | |
20901 as_dummy="$ac_dir" | |
20902 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | |
20903 case $as_mkdir_dir in | |
20904 # Skip DOS drivespec | |
20905 ?:) as_incr_dir=$as_mkdir_dir ;; | |
20906 *) | |
20907 as_incr_dir=$as_incr_dir/$as_mkdir_dir | |
20908 test -d "$as_incr_dir" || | |
20909 mkdir "$as_incr_dir" || | |
20910 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 | |
20911 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} | |
20912 { (exit 1); exit 1; }; } | |
20913 ;; | 23653 ;; |
20914 esac | 23654 esac |
20915 done; } | 23655 |
20916 | 23656 ac_dir=`$as_dirname -- "$ac_file" || |
23657 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
23658 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
23659 X"$ac_file" : 'X\(//\)$' \| \ | |
23660 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
23661 echo X"$ac_file" | | |
23662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
23663 s//\1/ | |
23664 q | |
23665 } | |
23666 /^X\(\/\/\)[^/].*/{ | |
23667 s//\1/ | |
23668 q | |
23669 } | |
23670 /^X\(\/\/\)$/{ | |
23671 s//\1/ | |
23672 q | |
23673 } | |
23674 /^X\(\/\).*/{ | |
23675 s//\1/ | |
23676 q | |
23677 } | |
23678 s/.*/./; q'` | |
23679 { as_dir="$ac_dir" | |
23680 case $as_dir in #( | |
23681 -*) as_dir=./$as_dir;; | |
23682 esac | |
23683 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
23684 as_dirs= | |
23685 while :; do | |
23686 case $as_dir in #( | |
23687 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( | |
23688 *) as_qdir=$as_dir;; | |
23689 esac | |
23690 as_dirs="'$as_qdir' $as_dirs" | |
23691 as_dir=`$as_dirname -- "$as_dir" || | |
23692 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
23693 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
23694 X"$as_dir" : 'X\(//\)$' \| \ | |
23695 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
23696 echo X"$as_dir" | | |
23697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
23698 s//\1/ | |
23699 q | |
23700 } | |
23701 /^X\(\/\/\)[^/].*/{ | |
23702 s//\1/ | |
23703 q | |
23704 } | |
23705 /^X\(\/\/\)$/{ | |
23706 s//\1/ | |
23707 q | |
23708 } | |
23709 /^X\(\/\).*/{ | |
23710 s//\1/ | |
23711 q | |
23712 } | |
23713 s/.*/./; q'` | |
23714 test -d "$as_dir" && break | |
23715 done | |
23716 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
23717 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | |
23718 echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
23719 { (exit 1); exit 1; }; }; } | |
20917 ac_builddir=. | 23720 ac_builddir=. |
20918 | 23721 |
20919 if test "$ac_dir" != .; then | 23722 case "$ac_dir" in |
23723 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
23724 *) | |
20920 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 23725 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
20921 # A "../" for each directory in $ac_dir_suffix. | 23726 # A ".." for each directory in $ac_dir_suffix. |
20922 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 23727 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
20923 else | 23728 case $ac_top_builddir_sub in |
20924 ac_dir_suffix= ac_top_builddir= | 23729 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
20925 fi | 23730 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
23731 esac ;; | |
23732 esac | |
23733 ac_abs_top_builddir=$ac_pwd | |
23734 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
23735 # for backward compatibility: | |
23736 ac_top_builddir=$ac_top_build_prefix | |
20926 | 23737 |
20927 case $srcdir in | 23738 case $srcdir in |
20928 .) # No --srcdir option. We are building in place. | 23739 .) # We are building in place. |
20929 ac_srcdir=. | 23740 ac_srcdir=. |
20930 if test -z "$ac_top_builddir"; then | 23741 ac_top_srcdir=$ac_top_builddir_sub |
20931 ac_top_srcdir=. | 23742 ac_abs_top_srcdir=$ac_pwd ;; |
20932 else | 23743 [\\/]* | ?:[\\/]* ) # Absolute name. |
20933 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
20934 fi ;; | |
20935 [\\/]* | ?:[\\/]* ) # Absolute path. | |
20936 ac_srcdir=$srcdir$ac_dir_suffix; | 23744 ac_srcdir=$srcdir$ac_dir_suffix; |
20937 ac_top_srcdir=$srcdir ;; | 23745 ac_top_srcdir=$srcdir |
20938 *) # Relative path. | 23746 ac_abs_top_srcdir=$srcdir ;; |
20939 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 23747 *) # Relative name. |
20940 ac_top_srcdir=$ac_top_builddir$srcdir ;; | 23748 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
20941 esac | 23749 ac_top_srcdir=$ac_top_build_prefix$srcdir |
20942 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 23750 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
20943 # absolute. | 23751 esac |
20944 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 23752 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
20945 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | 23753 |
20946 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 23754 |
20947 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 23755 case $ac_mode in |
20948 | 23756 :F) |
23757 # | |
23758 # CONFIG_FILE | |
23759 # | |
20949 | 23760 |
20950 case $INSTALL in | 23761 case $INSTALL in |
20951 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 23762 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
20952 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 23763 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
20953 esac | 23764 esac |
20954 | |
20955 if test x"$ac_file" != x-; then | |
20956 { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
20957 echo "$as_me: creating $ac_file" >&6;} | |
20958 rm -f "$ac_file" | |
20959 fi | |
20960 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
20961 # use $as_me), people would be surprised to read: | |
20962 # /* config.h. Generated by config.status. */ | |
20963 if test x"$ac_file" = x-; then | |
20964 configure_input= | |
20965 else | |
20966 configure_input="$ac_file. " | |
20967 fi | |
20968 configure_input=$configure_input"Generated from `echo $ac_file_in | | |
20969 sed 's,.*/,,'` by configure." | |
20970 | |
20971 # First look for the input files in the build tree, otherwise in the | |
20972 # src tree. | |
20973 ac_file_inputs=`IFS=: | |
20974 for f in $ac_file_in; do | |
20975 case $f in | |
20976 -) echo $tmp/stdin ;; | |
20977 [\\/$]*) | |
20978 # Absolute (can't be DOS-style, as IFS=:) | |
20979 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
20980 echo "$as_me: error: cannot find input file: $f" >&2;} | |
20981 { (exit 1); exit 1; }; } | |
20982 echo $f;; | |
20983 *) # Relative | |
20984 if test -f "$f"; then | |
20985 # Build tree | |
20986 echo $f | |
20987 elif test -f "$srcdir/$f"; then | |
20988 # Source tree | |
20989 echo $srcdir/$f | |
20990 else | |
20991 # /dev/null tree | |
20992 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
20993 echo "$as_me: error: cannot find input file: $f" >&2;} | |
20994 { (exit 1); exit 1; }; } | |
20995 fi;; | |
20996 esac | |
20997 done` || { (exit 1); exit 1; } | |
20998 _ACEOF | 23765 _ACEOF |
23766 | |
23767 cat >>$CONFIG_STATUS <<\_ACEOF | |
23768 # If the template does not know about datarootdir, expand it. | |
23769 # FIXME: This hack should be removed a few years after 2.60. | |
23770 ac_datarootdir_hack=; ac_datarootdir_seen= | |
23771 | |
23772 case `sed -n '/datarootdir/ { | |
23773 p | |
23774 q | |
23775 } | |
23776 /@datadir@/p | |
23777 /@docdir@/p | |
23778 /@infodir@/p | |
23779 /@localedir@/p | |
23780 /@mandir@/p | |
23781 ' $ac_file_inputs` in | |
23782 *datarootdir*) ac_datarootdir_seen=yes;; | |
23783 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
23784 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | |
23785 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
23786 _ACEOF | |
23787 cat >>$CONFIG_STATUS <<_ACEOF | |
23788 ac_datarootdir_hack=' | |
23789 s&@datadir@&$datadir&g | |
23790 s&@docdir@&$docdir&g | |
23791 s&@infodir@&$infodir&g | |
23792 s&@localedir@&$localedir&g | |
23793 s&@mandir@&$mandir&g | |
23794 s&\\\${datarootdir}&$datarootdir&g' ;; | |
23795 esac | |
23796 _ACEOF | |
23797 | |
23798 # Neutralize VPATH when `$srcdir' = `.'. | |
23799 # Shell code in configure.ac might set extrasub. | |
23800 # FIXME: do we really want to maintain this feature? | |
20999 cat >>$CONFIG_STATUS <<_ACEOF | 23801 cat >>$CONFIG_STATUS <<_ACEOF |
21000 sed "$ac_vpsub | 23802 sed "$ac_vpsub |
21001 $extrasub | 23803 $extrasub |
21002 _ACEOF | 23804 _ACEOF |
21003 cat >>$CONFIG_STATUS <<\_ACEOF | 23805 cat >>$CONFIG_STATUS <<\_ACEOF |
21004 :t | 23806 :t |
21005 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 23807 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
21006 s,@configure_input@,$configure_input,;t t | 23808 s&@configure_input@&$configure_input&;t t |
21007 s,@srcdir@,$ac_srcdir,;t t | 23809 s&@top_builddir@&$ac_top_builddir_sub&;t t |
21008 s,@abs_srcdir@,$ac_abs_srcdir,;t t | 23810 s&@srcdir@&$ac_srcdir&;t t |
21009 s,@top_srcdir@,$ac_top_srcdir,;t t | 23811 s&@abs_srcdir@&$ac_abs_srcdir&;t t |
21010 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 23812 s&@top_srcdir@&$ac_top_srcdir&;t t |
21011 s,@builddir@,$ac_builddir,;t t | 23813 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
21012 s,@abs_builddir@,$ac_abs_builddir,;t t | 23814 s&@builddir@&$ac_builddir&;t t |
21013 s,@top_builddir@,$ac_top_builddir,;t t | 23815 s&@abs_builddir@&$ac_abs_builddir&;t t |
21014 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 23816 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
21015 s,@INSTALL@,$ac_INSTALL,;t t | 23817 s&@INSTALL@&$ac_INSTALL&;t t |
21016 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 23818 $ac_datarootdir_hack |
21017 rm -f $tmp/stdin | 23819 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
21018 if test x"$ac_file" != x-; then | 23820 |
21019 mv $tmp/out $ac_file | 23821 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
21020 else | 23822 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
21021 cat $tmp/out | 23823 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
21022 rm -f $tmp/out | 23824 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
21023 fi | 23825 which seems to be undefined. Please make sure it is defined." >&5 |
21024 | 23826 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
21025 done | 23827 which seems to be undefined. Please make sure it is defined." >&2;} |
23828 | |
23829 rm -f "$tmp/stdin" | |
23830 case $ac_file in | |
23831 -) cat "$tmp/out"; rm -f "$tmp/out";; | |
23832 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; | |
23833 esac | |
23834 ;; | |
23835 :H) | |
23836 # | |
23837 # CONFIG_HEADER | |
23838 # | |
21026 _ACEOF | 23839 _ACEOF |
21027 cat >>$CONFIG_STATUS <<\_ACEOF | 23840 |
21028 | 23841 # Transform confdefs.h into a sed script `conftest.defines', that |
21029 # | 23842 # substitutes the proper values into config.h.in to produce config.h. |
21030 # CONFIG_HEADER section. | 23843 rm -f conftest.defines conftest.tail |
21031 # | 23844 # First, append a space to every undef/define line, to ease matching. |
21032 | 23845 echo 's/$/ /' >conftest.defines |
21033 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 23846 # Then, protect against being on the right side of a sed subst, or in |
21034 # NAME is the cpp macro being defined and VALUE is the value it is being given. | 23847 # an unquoted here document, in config.status. If some macros were |
21035 # | 23848 # called several times there might be several #defines for the same |
21036 # ac_d sets the value in "#define NAME VALUE" lines. | 23849 # symbol, which is useless. But do not sort them, since the last |
21037 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' | 23850 # AC_DEFINE must be honored. |
21038 ac_dB='[ ].*$,\1#\2' | 23851 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
23852 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where | |
23853 # NAME is the cpp macro being defined, VALUE is the value it is being given. | |
23854 # PARAMS is the parameter list in the macro definition--in most cases, it's | |
23855 # just an empty string. | |
23856 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' | |
23857 ac_dB='\\)[ (].*,\\1define\\2' | |
21039 ac_dC=' ' | 23858 ac_dC=' ' |
21040 ac_dD=',;t' | 23859 ac_dD=' ,' |
21041 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 23860 |
21042 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | 23861 uniq confdefs.h | |
21043 ac_uB='$,\1#\2define\3' | 23862 sed -n ' |
21044 ac_uC=' ' | 23863 t rset |
21045 ac_uD=',;t' | 23864 :rset |
21046 | 23865 s/^[ ]*#[ ]*define[ ][ ]*// |
21047 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | 23866 t ok |
21048 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 23867 d |
21049 case $ac_file in | 23868 :ok |
21050 - | *:- | *:-:* ) # input from stdin | 23869 s/[\\&,]/\\&/g |
21051 cat >$tmp/stdin | 23870 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
21052 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 23871 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
21053 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 23872 ' >>conftest.defines |
21054 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 23873 |
21055 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 23874 # Remove the space that was appended to ease matching. |
21056 * ) ac_file_in=$ac_file.in ;; | 23875 # Then replace #undef with comments. This is necessary, for |
21057 esac | |
21058 | |
21059 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
21060 echo "$as_me: creating $ac_file" >&6;} | |
21061 | |
21062 # First look for the input files in the build tree, otherwise in the | |
21063 # src tree. | |
21064 ac_file_inputs=`IFS=: | |
21065 for f in $ac_file_in; do | |
21066 case $f in | |
21067 -) echo $tmp/stdin ;; | |
21068 [\\/$]*) | |
21069 # Absolute (can't be DOS-style, as IFS=:) | |
21070 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
21071 echo "$as_me: error: cannot find input file: $f" >&2;} | |
21072 { (exit 1); exit 1; }; } | |
21073 echo $f;; | |
21074 *) # Relative | |
21075 if test -f "$f"; then | |
21076 # Build tree | |
21077 echo $f | |
21078 elif test -f "$srcdir/$f"; then | |
21079 # Source tree | |
21080 echo $srcdir/$f | |
21081 else | |
21082 # /dev/null tree | |
21083 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
21084 echo "$as_me: error: cannot find input file: $f" >&2;} | |
21085 { (exit 1); exit 1; }; } | |
21086 fi;; | |
21087 esac | |
21088 done` || { (exit 1); exit 1; } | |
21089 # Remove the trailing spaces. | |
21090 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in | |
21091 | |
21092 _ACEOF | |
21093 | |
21094 # Transform confdefs.h into two sed scripts, `conftest.defines' and | |
21095 # `conftest.undefs', that substitutes the proper values into | |
21096 # config.h.in to produce config.h. The first handles `#define' | |
21097 # templates, and the second `#undef' templates. | |
21098 # And first: Protect against being on the right side of a sed subst in | |
21099 # config.status. Protect against being in an unquoted here document | |
21100 # in config.status. | |
21101 rm -f conftest.defines conftest.undefs | |
21102 # Using a here document instead of a string reduces the quoting nightmare. | |
21103 # Putting comments in sed scripts is not portable. | |
21104 # | |
21105 # `end' is used to avoid that the second main sed command (meant for | |
21106 # 0-ary CPP macros) applies to n-ary macro definitions. | |
21107 # See the Autoconf documentation for `clear'. | |
21108 cat >confdef2sed.sed <<\_ACEOF | |
21109 s/[\\&,]/\\&/g | |
21110 s,[\\$`],\\&,g | |
21111 t clear | |
21112 : clear | |
21113 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | |
21114 t end | |
21115 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | |
21116 : end | |
21117 _ACEOF | |
21118 # If some macros were called several times there might be several times | |
21119 # the same #defines, which is useless. Nevertheless, we may not want to | |
21120 # sort them, since we want the *last* AC-DEFINE to be honored. | |
21121 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | |
21122 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | |
21123 rm -f confdef2sed.sed | |
21124 | |
21125 # This sed command replaces #undef with comments. This is necessary, for | |
21126 # example, in the case of _POSIX_SOURCE, which is predefined and required | 23876 # example, in the case of _POSIX_SOURCE, which is predefined and required |
21127 # on some systems where configure will not decide to define it. | 23877 # on some systems where configure will not decide to define it. |
21128 cat >>conftest.undefs <<\_ACEOF | 23878 # (The regexp can be short, since the line contains either #define or #undef.) |
21129 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 23879 echo 's/ $// |
23880 s,^[ #]*u.*,/* & */,' >>conftest.defines | |
23881 | |
23882 # Break up conftest.defines: | |
23883 ac_max_sed_lines=50 | |
23884 | |
23885 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" | |
23886 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" | |
23887 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" | |
23888 # et cetera. | |
23889 ac_in='$ac_file_inputs' | |
23890 ac_out='"$tmp/out1"' | |
23891 ac_nxt='"$tmp/out2"' | |
23892 | |
23893 while : | |
23894 do | |
23895 # Write a here document: | |
23896 cat >>$CONFIG_STATUS <<_ACEOF | |
23897 # First, check the format of the line: | |
23898 cat >"\$tmp/defines.sed" <<\\CEOF | |
23899 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def | |
23900 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def | |
23901 b | |
23902 :def | |
21130 _ACEOF | 23903 _ACEOF |
21131 | 23904 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
21132 # Break up conftest.defines because some shells have a limit on the size | |
21133 # of here documents, and old seds have small limits too (100 cmds). | |
21134 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | |
21135 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | |
21136 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | |
21137 echo ' :' >>$CONFIG_STATUS | |
21138 rm -f conftest.tail | |
21139 while grep . conftest.defines >/dev/null | |
21140 do | |
21141 # Write a limited-size here document to $tmp/defines.sed. | |
21142 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | |
21143 # Speed up: don't consider the non `#define' lines. | |
21144 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS | |
21145 # Work around the forget-to-reset-the-flag bug. | |
21146 echo 't clr' >>$CONFIG_STATUS | |
21147 echo ': clr' >>$CONFIG_STATUS | |
21148 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | |
21149 echo 'CEOF | 23905 echo 'CEOF |
21150 sed -f $tmp/defines.sed $tmp/in >$tmp/out | 23906 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
21151 rm -f $tmp/in | 23907 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
21152 mv $tmp/out $tmp/in | 23908 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
21153 ' >>$CONFIG_STATUS | 23909 grep . conftest.tail >/dev/null || break |
21154 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | |
21155 rm -f conftest.defines | 23910 rm -f conftest.defines |
21156 mv conftest.tail conftest.defines | 23911 mv conftest.tail conftest.defines |
21157 done | 23912 done |
21158 rm -f conftest.defines | 23913 rm -f conftest.defines conftest.tail |
21159 echo ' fi # egrep' >>$CONFIG_STATUS | 23914 |
21160 echo >>$CONFIG_STATUS | 23915 echo "ac_result=$ac_in" >>$CONFIG_STATUS |
21161 | |
21162 # Break up conftest.undefs because some shells have a limit on the size | |
21163 # of here documents, and old seds have small limits too (100 cmds). | |
21164 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS | |
21165 rm -f conftest.tail | |
21166 while grep . conftest.undefs >/dev/null | |
21167 do | |
21168 # Write a limited-size here document to $tmp/undefs.sed. | |
21169 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | |
21170 # Speed up: don't consider the non `#undef' | |
21171 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS | |
21172 # Work around the forget-to-reset-the-flag bug. | |
21173 echo 't clr' >>$CONFIG_STATUS | |
21174 echo ': clr' >>$CONFIG_STATUS | |
21175 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | |
21176 echo 'CEOF | |
21177 sed -f $tmp/undefs.sed $tmp/in >$tmp/out | |
21178 rm -f $tmp/in | |
21179 mv $tmp/out $tmp/in | |
21180 ' >>$CONFIG_STATUS | |
21181 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | |
21182 rm -f conftest.undefs | |
21183 mv conftest.tail conftest.undefs | |
21184 done | |
21185 rm -f conftest.undefs | |
21186 | |
21187 cat >>$CONFIG_STATUS <<\_ACEOF | 23916 cat >>$CONFIG_STATUS <<\_ACEOF |
21188 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
21189 # use $as_me), people would be surprised to read: | |
21190 # /* config.h. Generated by config.status. */ | |
21191 if test x"$ac_file" = x-; then | |
21192 echo "/* Generated by configure. */" >$tmp/config.h | |
21193 else | |
21194 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h | |
21195 fi | |
21196 cat $tmp/in >>$tmp/config.h | |
21197 rm -f $tmp/in | |
21198 if test x"$ac_file" != x-; then | 23917 if test x"$ac_file" != x-; then |
21199 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then | 23918 echo "/* $configure_input */" >"$tmp/config.h" |
23919 cat "$ac_result" >>"$tmp/config.h" | |
23920 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then | |
21200 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 23921 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
21201 echo "$as_me: $ac_file is unchanged" >&6;} | 23922 echo "$as_me: $ac_file is unchanged" >&6;} |
21202 else | 23923 else |
21203 ac_dir=`(dirname "$ac_file") 2>/dev/null || | |
21204 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
21205 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
21206 X"$ac_file" : 'X\(//\)$' \| \ | |
21207 X"$ac_file" : 'X\(/\)' \| \ | |
21208 . : '\(.\)' 2>/dev/null || | |
21209 echo X"$ac_file" | | |
21210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
21211 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
21212 /^X\(\/\/\)$/{ s//\1/; q; } | |
21213 /^X\(\/\).*/{ s//\1/; q; } | |
21214 s/.*/./; q'` | |
21215 { case "$ac_dir" in | |
21216 [\\/]* | ?:[\\/]* ) as_incr_dir=;; | |
21217 *) as_incr_dir=.;; | |
21218 esac | |
21219 as_dummy="$ac_dir" | |
21220 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | |
21221 case $as_mkdir_dir in | |
21222 # Skip DOS drivespec | |
21223 ?:) as_incr_dir=$as_mkdir_dir ;; | |
21224 *) | |
21225 as_incr_dir=$as_incr_dir/$as_mkdir_dir | |
21226 test -d "$as_incr_dir" || | |
21227 mkdir "$as_incr_dir" || | |
21228 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 | |
21229 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} | |
21230 { (exit 1); exit 1; }; } | |
21231 ;; | |
21232 esac | |
21233 done; } | |
21234 | |
21235 rm -f $ac_file | 23924 rm -f $ac_file |
21236 mv $tmp/config.h $ac_file | 23925 mv "$tmp/config.h" $ac_file |
21237 fi | 23926 fi |
21238 else | 23927 else |
21239 cat $tmp/config.h | 23928 echo "/* $configure_input */" |
21240 rm -f $tmp/config.h | 23929 cat "$ac_result" |
21241 fi | 23930 fi |
21242 done | 23931 rm -f "$tmp/out12" |
21243 _ACEOF | 23932 ;; |
21244 | 23933 |
21245 cat >>$CONFIG_STATUS <<\_ACEOF | 23934 |
23935 esac | |
23936 | |
23937 done # for ac_tag | |
23938 | |
21246 | 23939 |
21247 { (exit 0); exit 0; } | 23940 { (exit 0); exit 0; } |
21248 _ACEOF | 23941 _ACEOF |
21249 chmod +x $CONFIG_STATUS | 23942 chmod +x $CONFIG_STATUS |
21250 ac_clean_files=$ac_clean_files_save | 23943 ac_clean_files=$ac_clean_files_save |
21258 # effectively closing config.log, so it can be properly (re)opened and | 23951 # effectively closing config.log, so it can be properly (re)opened and |
21259 # appended to by config.status. When coming back to configure, we | 23952 # appended to by config.status. When coming back to configure, we |
21260 # need to make the FD available again. | 23953 # need to make the FD available again. |
21261 if test "$no_create" != yes; then | 23954 if test "$no_create" != yes; then |
21262 ac_cs_success=: | 23955 ac_cs_success=: |
23956 ac_config_status_args= | |
23957 test "$silent" = yes && | |
23958 ac_config_status_args="$ac_config_status_args --quiet" | |
21263 exec 5>/dev/null | 23959 exec 5>/dev/null |
21264 $SHELL $CONFIG_STATUS || ac_cs_success=false | 23960 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
21265 exec 5>>config.log | 23961 exec 5>>config.log |
21266 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 23962 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
21267 # would make configure fail if this is the last instruction. | 23963 # would make configure fail if this is the last instruction. |
21268 $ac_cs_success || { (exit 1); exit 1; } | 23964 $ac_cs_success || { (exit 1); exit 1; } |
21269 fi | 23965 fi |