Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for diagnostics 0.3.3.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 as_nl='
43 '
44 export as_nl
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset
86 else
87 as_unset=false
88 fi
89
90
91 # IFS
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
96 IFS=" "" $as_nl"
97
98 # Find who we are. Look in the path if we contain no directory separator.
99 case $0 in
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 for as_dir in $PATH
103 do
104 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 done
108 IFS=$as_save_IFS
109
110 ;;
111 esac
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
115 as_myself=$0
116 fi
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
120 fi
121
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
139 as_expr=expr
140 else
141 as_expr=false
142 fi
143
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145 as_basename=basename
146 else
147 as_basename=false
148 fi
149
150
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156 $as_echo X/"$0" |
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/
159 q
160 }
161 /^X\/\(\/\/\)$/{
162 s//\1/
163 q
164 }
165 /^X\/\(\/\).*/{
166 s//\1/
167 q
168 }
169 s/.*/./; q'`
170
171 # CDPATH.
172 $as_unset CDPATH
173
174
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
177 as_have_required=yes
178 else
179 as_have_required=no
180 fi
181
182 if test $as_have_required = yes && (eval ":
183 (as_func_return () {
184 (exit \$1)
185 }
186 as_func_success () {
187 as_func_return 0
188 }
189 as_func_failure () {
190 as_func_return 1
191 }
192 as_func_ret_success () {
193 return 0
194 }
195 as_func_ret_failure () {
196 return 1
197 }
198
199 exitcode=0
200 if as_func_success; then
201 :
202 else
203 exitcode=1
204 echo as_func_success failed.
205 fi
206
207 if as_func_failure; then
208 exitcode=1
209 echo as_func_failure succeeded.
210 fi
211
212 if as_func_ret_success; then
213 :
214 else
215 exitcode=1
216 echo as_func_ret_success failed.
217 fi
218
219 if as_func_ret_failure; then
220 exitcode=1
221 echo as_func_ret_failure succeeded.
222 fi
223
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225 :
226 else
227 exitcode=1
228 echo positional parameters were not saved.
229 fi
230
231 test \$exitcode = 0) || { (exit 1); exit 1; }
232
233 (
234 as_lineno_1=\$LINENO
235 as_lineno_2=\$LINENO
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
239 (
240 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
241 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
242 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
243 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
244 PATH=/empty FPATH=/empty; export PATH FPATH
245 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
246 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" )) || { (exit 1); exit 1; }
247 ") 2> /dev/null; then
248 :
249 else
250 as_candidate_shells=
251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
252 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
253 do
254 IFS=$as_save_IFS
255 test -z "$as_dir" && as_dir=.
256 case $as_dir in
257 /*)
258 for as_base in sh bash ksh sh5; do
259 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
260 done;;
261 esac
262 done
263 IFS=$as_save_IFS
264
265
266 for as_shell in $as_candidate_shells $SHELL; do
267 # Try only shells that exist, to save several forks.
268 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
269 { ("$as_shell") 2> /dev/null <<\_ASEOF
270 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
271 emulate sh
272 NULLCMD=:
273 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
274 # is contrary to our usage. Disable this feature.
275 alias -g '${1+"$@"}'='"$@"'
276 setopt NO_GLOB_SUBST
277 else
278 case `(set -o) 2>/dev/null` in
279 *posix*) set -o posix ;;
280 esac
281
282 fi
283
284
285 :
286 _ASEOF
287 }; then
288 CONFIG_SHELL=$as_shell
289 as_have_required=yes
290 if { "$as_shell" 2> /dev/null <<\_ASEOF
291 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
292 emulate sh
293 NULLCMD=:
294 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
295 # is contrary to our usage. Disable this feature.
296 alias -g '${1+"$@"}'='"$@"'
297 setopt NO_GLOB_SUBST
298 else
299 case `(set -o) 2>/dev/null` in
300 *posix*) set -o posix ;;
301 esac
302
303 fi
304
305
306 :
307 (as_func_return () {
308 (exit $1)
309 }
310 as_func_success () {
311 as_func_return 0
312 }
313 as_func_failure () {
314 as_func_return 1
315 }
316 as_func_ret_success () {
317 return 0
318 }
319 as_func_ret_failure () {
320 return 1
321 }
322
323 exitcode=0
324 if as_func_success; then
325 :
326 else
327 exitcode=1
328 echo as_func_success failed.
329 fi
330
331 if as_func_failure; then
332 exitcode=1
333 echo as_func_failure succeeded.
334 fi
335
336 if as_func_ret_success; then
337 :
338 else
339 exitcode=1
340 echo as_func_ret_success failed.
341 fi
342
343 if as_func_ret_failure; then
344 exitcode=1
345 echo as_func_ret_failure succeeded.
346 fi
347
348 if ( set x; as_func_ret_success y && test x = "$1" ); then
349 :
350 else
351 exitcode=1
352 echo positional parameters were not saved.
353 fi
354
355 test $exitcode = 0) || { (exit 1); exit 1; }
356
357 (
358 as_lineno_1=$LINENO
359 as_lineno_2=$LINENO
360 test "x$as_lineno_1" != "x$as_lineno_2" &&
361 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
362
363 (
364 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
365 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
366 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
367 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
368 PATH=/empty FPATH=/empty; export PATH FPATH
369 test "X`printf %s $ECHO`" = "X$ECHO" \
370 || test "X`print -r -- $ECHO`" = "X$ECHO" )) || { (exit 1); exit 1; }
371
372 _ASEOF
373 }; then
374 break
375 fi
376
377 fi
378
379 done
380
381 if test "x$CONFIG_SHELL" != x; then
382 for as_var in BASH_ENV ENV
383 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
384 done
385 export CONFIG_SHELL
386 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
387 fi
388
389
390 if test $as_have_required = no; then
391 echo This script requires a shell more modern than all the
392 echo shells that I found on your system. Please install a
393 echo modern shell, or manually run the script under such a
394 echo shell if you do have one.
395 { (exit 1); exit 1; }
396 fi
397
398
399 fi
400
401 fi
402
403
404
405 (eval "as_func_return () {
406 (exit \$1)
407 }
408 as_func_success () {
409 as_func_return 0
410 }
411 as_func_failure () {
412 as_func_return 1
413 }
414 as_func_ret_success () {
415 return 0
416 }
417 as_func_ret_failure () {
418 return 1
419 }
420
421 exitcode=0
422 if as_func_success; then
423 :
424 else
425 exitcode=1
426 echo as_func_success failed.
427 fi
428
429 if as_func_failure; then
430 exitcode=1
431 echo as_func_failure succeeded.
432 fi
433
434 if as_func_ret_success; then
435 :
436 else
437 exitcode=1
438 echo as_func_ret_success failed.
439 fi
440
441 if as_func_ret_failure; then
442 exitcode=1
443 echo as_func_ret_failure succeeded.
444 fi
445
446 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
447 :
448 else
449 exitcode=1
450 echo positional parameters were not saved.
451 fi
452
453 test \$exitcode = 0") || {
454 echo No shell found that supports shell functions.
455 echo Please tell [email protected] about your system,
456 echo including any error possibly output before this message.
457 echo This can help us improve future autoconf versions.
458 echo Configuration will now proceed without shell functions.
459 }
460
461
462
463 as_lineno_1=$LINENO
464 as_lineno_2=$LINENO
465 test "x$as_lineno_1" != "x$as_lineno_2" &&
466 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
467
468 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
469 # uniformly replaced by the line number. The first 'sed' inserts a
470 # line-number line after each line using $LINENO; the second 'sed'
471 # does the real work. The second script uses 'N' to pair each
472 # line-number line with the line containing $LINENO, and appends
473 # trailing '-' during substitution so that $LINENO is not a special
474 # case at line end.
475 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
476 # scripts with optimization help from Paolo Bonzini. Blame Lee
477 # E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
479 p
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
485 b
486 :lineno
487 N
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
495 { (exit 1); exit 1; }; }
496
497 # Don't try to exec as it changes $[0], causing all sort of problems
498 # (the dirname of $[0] is not the place where we might find the
499 # original and so on. Autoconf is especially sensitive to this).
500 . "./$as_me.lineno"
501 # Exit status is that of the last command.
502 exit
503 }
504
505
506 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
507 as_dirname=dirname
508 else
509 as_dirname=false
510 fi
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in
514 -n*)
515 case `echo 'x\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) ECHO_C='\c';;
518 esac;;
519 *)
520 ECHO_N='-n';;
521 esac
522 if expr a : '\(a\)' >/dev/null 2>&1 &&
523 test "X`expr 00001 : '.*\(...\)'`" = X001; then
524 as_expr=expr
525 else
526 as_expr=false
527 fi
528
529 rm -f conf$$ conf$$.exe conf$$.file
530 if test -d conf$$.dir; then
531 rm -f conf$$.dir/conf$$.file
532 else
533 rm -f conf$$.dir
534 mkdir conf$$.dir 2>/dev/null
535 fi
536 if (echo >conf$$.file) 2>/dev/null; then
537 if ln -s conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s='ln -s'
539 # ... but there are two gotchas:
540 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
541 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
542 # In both cases, we have to default to `cp -p'.
543 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
544 as_ln_s='cp -p'
545 elif ln conf$$.file conf$$ 2>/dev/null; then
546 as_ln_s=ln
547 else
548 as_ln_s='cp -p'
549 fi
550 else
551 as_ln_s='cp -p'
552 fi
553 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
554 rmdir conf$$.dir 2>/dev/null
555
556 if mkdir -p . 2>/dev/null; then
557 as_mkdir_p=:
558 else
559 test -d ./-p && rmdir ./-p
560 as_mkdir_p=false
561 fi
562
563 if test -x / >/dev/null 2>&1; then
564 as_test_x='test -x'
565 else
566 if ls -dL / >/dev/null 2>&1; then
567 as_ls_L_option=L
568 else
569 as_ls_L_option=
570 fi
571 as_test_x='
572 eval sh -c '\''
573 if test -d "$1"; then
574 test -d "$1/.";
575 else
576 case $1 in
577 -*)set "./$1";;
578 esac;
579 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
580 ???[sx]*):;;*)false;;esac;fi
581 '\'' sh
582 '
583 fi
584 as_executable_p=$as_test_x
585
586 # Sed expression to map a string onto a valid CPP name.
587 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
588
589 # Sed expression to map a string onto a valid variable name.
590 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591
592
593 lt_ltdl_dir='libltdl'
594
595 lt_dlopen_dir="$lt_ltdl_dir"
596
597 SHELL=${CONFIG_SHELL-/bin/sh}
598
599
600 exec 7<&0 </dev/null 6>&1
601
602 # Name of the host.
603 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
604 # so uname gets run too.
605 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
606
607 #
608 # Initializations.
609 #
610 ac_default_prefix=/usr/local
611 ac_clean_files=
612 ac_config_libobj_dir=.
613 LIBOBJS=
614 cross_compiling=no
615 subdirs=
616 MFLAGS=
617 MAKEFLAGS=
618 SHELL=${CONFIG_SHELL-/bin/sh}
619
620 # Identity of this package.
621 PACKAGE_NAME='diagnostics'
622 PACKAGE_TARNAME='diagnostics'
623 PACKAGE_VERSION='0.3.3'
624 PACKAGE_STRING='diagnostics 0.3.3'
625 PACKAGE_BUGREPORT='[email protected]'
626
627 ac_unique_file="diagnostics/annotations.hpp"
628 # Factoring default headers for most tests.
629 ac_includes_default="\
630 #include <stdio.h>
631 #ifdef HAVE_SYS_TYPES_H
632 # include <sys/types.h>
633 #endif
634 #ifdef HAVE_SYS_STAT_H
635 # include <sys/stat.h>
636 #endif
637 #ifdef STDC_HEADERS
638 # include <stdlib.h>
639 # include <stddef.h>
640 #else
641 # ifdef HAVE_STDLIB_H
642 # include <stdlib.h>
643 # endif
644 #endif
645 #ifdef HAVE_STRING_H
646 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
647 # include <memory.h>
648 # endif
649 # include <string.h>
650 #endif
651 #ifdef HAVE_STRINGS_H
652 # include <strings.h>
653 #endif
654 #ifdef HAVE_INTTYPES_H
655 # include <inttypes.h>
656 #endif
657 #ifdef HAVE_STDINT_H
658 # include <stdint.h>
659 #endif
660 #ifdef HAVE_UNISTD_H
661 # include <unistd.h>
662 #endif"
663
664 enable_option_checking=no
665 ac_subst_vars='ltdl_LTLIBOBJS
666 ltdl_LIBOBJS
667 am__EXEEXT_FALSE
668 am__EXEEXT_TRUE
669 LTLIBOBJS
670 DOXYGEN_PAPER_SIZE
671 DX_COND_latex_FALSE
672 DX_COND_latex_TRUE
673 DX_COND_pdf_FALSE
674 DX_COND_pdf_TRUE
675 DX_PDFLATEX
676 DX_FLAG_pdf
677 DX_COND_ps_FALSE
678 DX_COND_ps_TRUE
679 DX_EGREP
680 DX_DVIPS
681 DX_MAKEINDEX
682 DX_LATEX
683 DX_FLAG_ps
684 DX_COND_html_FALSE
685 DX_COND_html_TRUE
686 DX_FLAG_html
687 DX_COND_chi_FALSE
688 DX_COND_chi_TRUE
689 DX_FLAG_chi
690 DX_COND_chm_FALSE
691 DX_COND_chm_TRUE
692 DX_HHC
693 DX_FLAG_chm
694 DX_COND_xml_FALSE
695 DX_COND_xml_TRUE
696 DX_FLAG_xml
697 DX_COND_rtf_FALSE
698 DX_COND_rtf_TRUE
699 DX_FLAG_rtf
700 DX_COND_man_FALSE
701 DX_COND_man_TRUE
702 DX_FLAG_man
703 DX_COND_dot_FALSE
704 DX_COND_dot_TRUE
705 DX_DOT
706 DX_FLAG_dot
707 DX_COND_doc_FALSE
708 DX_COND_doc_TRUE
709 DX_PERL
710 DX_DOXYGEN
711 DX_FLAG_doc
712 DX_ENV
713 DX_DOCDIR
714 DX_CONFIG
715 DX_PROJECT
716 LIBOBJS
717 STACKTRACE_FALSE
718 STACKTRACE_TRUE
719 enable_stacktrace
720 DIAGNOSTICSLEVEL
721 disable_update_makefiles
722 enable_install_headers
723 ACE_LIBS
724 ACE_CFLAGS
725 PKG_CONFIG_LIBDIR
726 PKG_CONFIG_PATH
727 PKG_CONFIG
728 PKGCONFIG
729 OTOOL64
730 OTOOL
731 LIPO
732 NMEDIT
733 DSYMUTIL
734 MANIFEST_TOOL
735 RANLIB
736 ac_ct_AR
737 AR
738 DLLTOOL
739 LIBTOOL
740 LTDLOPEN
741 LT_CONFIG_H
742 subdirs
743 CONVENIENCE_LTDL_FALSE
744 CONVENIENCE_LTDL_TRUE
745 INSTALL_LTDL_FALSE
746 INSTALL_LTDL_TRUE
747 ARGZ_H
748 sys_symbol_underscore
749 LD
750 NM
751 ac_ct_DUMPBIN
752 DUMPBIN
753 LIBADD_DL
754 LT_DLPREOPEN
755 LIBADD_DLD_LINK
756 LIBADD_SHL_LOAD
757 LIBADD_DLOPEN
758 LT_DLLOADERS
759 SED
760 OBJDUMP
761 FGREP
762 host_os
763 host_vendor
764 host_cpu
765 host
766 build_os
767 build_vendor
768 build_cpu
769 build
770 EGREP
771 GREP
772 INCLTDL
773 LTDLINCL
774 LTDLDEPS
775 LIBLTDL
776 LN_S
777 CXXCPP
778 CPP
779 am__fastdepCC_FALSE
780 am__fastdepCC_TRUE
781 CCDEPMODE
782 ac_ct_CC
783 CFLAGS
784 CC
785 am__fastdepCXX_FALSE
786 am__fastdepCXX_TRUE
787 CXXDEPMODE
788 AMDEPBACKSLASH
789 AMDEP_FALSE
790 AMDEP_TRUE
791 am__quote
792 am__include
793 DEPDIR
794 OBJEXT
795 EXEEXT
796 ac_ct_CXX
797 CPPFLAGS
798 LDFLAGS
799 CXXFLAGS
800 CXX
801 ac_aux_dir
802 am__untar
803 am__tar
804 AMTAR
805 am__leading_dot
806 SET_MAKE
807 AWK
808 mkdir_p
809 MKDIR_P
810 INSTALL_STRIP_PROGRAM
811 STRIP
812 install_sh
813 MAKEINFO
814 AUTOHEADER
815 AUTOMAKE
816 AUTOCONF
817 ACLOCAL
818 VERSION
819 PACKAGE
820 CYGPATH_W
821 am__isrc
822 INSTALL_DATA
823 INSTALL_SCRIPT
824 INSTALL_PROGRAM
825 target_alias
826 host_alias
827 build_alias
828 LIBS
829 ECHO_T
830 ECHO_N
831 ECHO_C
832 DEFS
833 mandir
834 localedir
835 libdir
836 psdir
837 pdfdir
838 dvidir
839 htmldir
840 infodir
841 docdir
842 oldincludedir
843 includedir
844 localstatedir
845 sharedstatedir
846 sysconfdir
847 datadir
848 datarootdir
849 libexecdir
850 sbindir
851 bindir
852 program_transform_name
853 prefix
854 exec_prefix
855 PACKAGE_BUGREPORT
856 PACKAGE_STRING
857 PACKAGE_VERSION
858 PACKAGE_TARNAME
859 PACKAGE_NAME
860 PATH_SEPARATOR
861 SHELL'
862 ac_subst_files=''
863 ac_user_opts='
864 enable_option_checking
865 enable_dependency_tracking
866 with_included_ltdl
867 with_ltdl_include
868 with_ltdl_lib
869 with_gnu_ld
870 enable_ltdl_install
871 enable_shared
872 enable_static
873 with_pic
874 enable_fast_install
875 with_sysroot
876 enable_libtool_lock
877 enable_install_headers
878 enable_update_makefiles
879 enable_doxygen_doc
880 enable_doxygen_dot
881 enable_doxygen_man
882 enable_doxygen_rtf
883 enable_doxygen_xml
884 enable_doxygen_chm
885 enable_doxygen_chi
886 enable_doxygen_html
887 enable_doxygen_ps
888 enable_doxygen_pdf
889 '
890 ac_precious_vars='build_alias
891 host_alias
892 target_alias
893 CXX
894 CXXFLAGS
895 LDFLAGS
896 LIBS
897 CPPFLAGS
898 CCC
899 CC
900 CFLAGS
901 CPP
902 CXXCPP
903 PKG_CONFIG
904 PKG_CONFIG_PATH
905 PKG_CONFIG_LIBDIR
906 ACE_CFLAGS
907 ACE_LIBS
908 DOXYGEN_PAPER_SIZE'
909 ac_subdirs_all='libltdl'
910
911 # Initialize some variables set by options.
912 ac_init_help=
913 ac_init_version=false
914 ac_unrecognized_opts=
915 ac_unrecognized_sep=
916 # The variables have the same names as the options, with
917 # dashes changed to underlines.
918 cache_file=/dev/null
919 exec_prefix=NONE
920 no_create=
921 no_recursion=
922 prefix=NONE
923 program_prefix=NONE
924 program_suffix=NONE
925 program_transform_name=s,x,x,
926 silent=
927 site=
928 srcdir=
929 verbose=
930 x_includes=NONE
931 x_libraries=NONE
932
933 # Installation directory options.
934 # These are left unexpanded so users can "make install exec_prefix=/foo"
935 # and all the variables that are supposed to be based on exec_prefix
936 # by default will actually change.
937 # Use braces instead of parens because sh, perl, etc. also accept them.
938 # (The list follows the same order as the GNU Coding Standards.)
939 bindir='${exec_prefix}/bin'
940 sbindir='${exec_prefix}/sbin'
941 libexecdir='${exec_prefix}/libexec'
942 datarootdir='${prefix}/share'
943 datadir='${datarootdir}'
944 sysconfdir='${prefix}/etc'
945 sharedstatedir='${prefix}/com'
946 localstatedir='${prefix}/var'
947 includedir='${prefix}/include'
948 oldincludedir='/usr/include'
949 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
950 infodir='${datarootdir}/info'
951 htmldir='${docdir}'
952 dvidir='${docdir}'
953 pdfdir='${docdir}'
954 psdir='${docdir}'
955 libdir='${exec_prefix}/lib'
956 localedir='${datarootdir}/locale'
957 mandir='${datarootdir}/man'
958
959 ac_prev=
960 ac_dashdash=
961 for ac_option
962 do
963 # If the previous option needs an argument, assign it.
964 if test -n "$ac_prev"; then
965 eval $ac_prev=\$ac_option
966 ac_prev=
967 continue
968 fi
969
970 case $ac_option in
971 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
972 *) ac_optarg=yes ;;
973 esac
974
975 # Accept the important Cygnus configure options, so we can diagnose typos.
976
977 case $ac_dashdash$ac_option in
978 --)
979 ac_dashdash=yes ;;
980
981 -bindir | --bindir | --bindi | --bind | --bin | --bi)
982 ac_prev=bindir ;;
983 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
984 bindir=$ac_optarg ;;
985
986 -build | --build | --buil | --bui | --bu)
987 ac_prev=build_alias ;;
988 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
989 build_alias=$ac_optarg ;;
990
991 -cache-file | --cache-file | --cache-fil | --cache-fi \
992 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
993 ac_prev=cache_file ;;
994 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
995 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
996 cache_file=$ac_optarg ;;
997
998 --config-cache | -C)
999 cache_file=config.cache ;;
1000
1001 -datadir | --datadir | --datadi | --datad)
1002 ac_prev=datadir ;;
1003 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1004 datadir=$ac_optarg ;;
1005
1006 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1007 | --dataroo | --dataro | --datar)
1008 ac_prev=datarootdir ;;
1009 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1010 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1011 datarootdir=$ac_optarg ;;
1012
1013 -disable-* | --disable-*)
1014 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1017 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1018 { (exit 1); exit 1; }; }
1019 ac_useropt_orig=$ac_useropt
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1022 *"
1023 "enable_$ac_useropt"
1024 "*) ;;
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1027 esac
1028 eval enable_$ac_useropt=no ;;
1029
1030 -docdir | --docdir | --docdi | --doc | --do)
1031 ac_prev=docdir ;;
1032 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1033 docdir=$ac_optarg ;;
1034
1035 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1036 ac_prev=dvidir ;;
1037 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1038 dvidir=$ac_optarg ;;
1039
1040 -enable-* | --enable-*)
1041 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1045 { (exit 1); exit 1; }; }
1046 ac_useropt_orig=$ac_useropt
1047 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1049 *"
1050 "enable_$ac_useropt"
1051 "*) ;;
1052 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1053 ac_unrecognized_sep=', ';;
1054 esac
1055 eval enable_$ac_useropt=\$ac_optarg ;;
1056
1057 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1058 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1059 | --exec | --exe | --ex)
1060 ac_prev=exec_prefix ;;
1061 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1062 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1063 | --exec=* | --exe=* | --ex=*)
1064 exec_prefix=$ac_optarg ;;
1065
1066 -gas | --gas | --ga | --g)
1067 # Obsolete; use --with-gas.
1068 with_gas=yes ;;
1069
1070 -help | --help | --hel | --he | -h)
1071 ac_init_help=long ;;
1072 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1073 ac_init_help=recursive ;;
1074 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1075 ac_init_help=short ;;
1076
1077 -host | --host | --hos | --ho)
1078 ac_prev=host_alias ;;
1079 -host=* | --host=* | --hos=* | --ho=*)
1080 host_alias=$ac_optarg ;;
1081
1082 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1083 ac_prev=htmldir ;;
1084 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1085 | --ht=*)
1086 htmldir=$ac_optarg ;;
1087
1088 -includedir | --includedir | --includedi | --included | --include \
1089 | --includ | --inclu | --incl | --inc)
1090 ac_prev=includedir ;;
1091 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1092 | --includ=* | --inclu=* | --incl=* | --inc=*)
1093 includedir=$ac_optarg ;;
1094
1095 -infodir | --infodir | --infodi | --infod | --info | --inf)
1096 ac_prev=infodir ;;
1097 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1098 infodir=$ac_optarg ;;
1099
1100 -libdir | --libdir | --libdi | --libd)
1101 ac_prev=libdir ;;
1102 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1103 libdir=$ac_optarg ;;
1104
1105 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1106 | --libexe | --libex | --libe)
1107 ac_prev=libexecdir ;;
1108 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1109 | --libexe=* | --libex=* | --libe=*)
1110 libexecdir=$ac_optarg ;;
1111
1112 -localedir | --localedir | --localedi | --localed | --locale)
1113 ac_prev=localedir ;;
1114 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1115 localedir=$ac_optarg ;;
1116
1117 -localstatedir | --localstatedir | --localstatedi | --localstated \
1118 | --localstate | --localstat | --localsta | --localst | --locals)
1119 ac_prev=localstatedir ;;
1120 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1121 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1122 localstatedir=$ac_optarg ;;
1123
1124 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1125 ac_prev=mandir ;;
1126 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1127 mandir=$ac_optarg ;;
1128
1129 -nfp | --nfp | --nf)
1130 # Obsolete; use --without-fp.
1131 with_fp=no ;;
1132
1133 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1134 | --no-cr | --no-c | -n)
1135 no_create=yes ;;
1136
1137 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1138 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1139 no_recursion=yes ;;
1140
1141 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1142 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1143 | --oldin | --oldi | --old | --ol | --o)
1144 ac_prev=oldincludedir ;;
1145 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1146 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1147 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1148 oldincludedir=$ac_optarg ;;
1149
1150 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1151 ac_prev=prefix ;;
1152 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1153 prefix=$ac_optarg ;;
1154
1155 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1156 | --program-pre | --program-pr | --program-p)
1157 ac_prev=program_prefix ;;
1158 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1159 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1160 program_prefix=$ac_optarg ;;
1161
1162 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1163 | --program-suf | --program-su | --program-s)
1164 ac_prev=program_suffix ;;
1165 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1166 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1167 program_suffix=$ac_optarg ;;
1168
1169 -program-transform-name | --program-transform-name \
1170 | --program-transform-nam | --program-transform-na \
1171 | --program-transform-n | --program-transform- \
1172 | --program-transform | --program-transfor \
1173 | --program-transfo | --program-transf \
1174 | --program-trans | --program-tran \
1175 | --progr-tra | --program-tr | --program-t)
1176 ac_prev=program_transform_name ;;
1177 -program-transform-name=* | --program-transform-name=* \
1178 | --program-transform-nam=* | --program-transform-na=* \
1179 | --program-transform-n=* | --program-transform-=* \
1180 | --program-transform=* | --program-transfor=* \
1181 | --program-transfo=* | --program-transf=* \
1182 | --program-trans=* | --program-tran=* \
1183 | --progr-tra=* | --program-tr=* | --program-t=*)
1184 program_transform_name=$ac_optarg ;;
1185
1186 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1187 ac_prev=pdfdir ;;
1188 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1189 pdfdir=$ac_optarg ;;
1190
1191 -psdir | --psdir | --psdi | --psd | --ps)
1192 ac_prev=psdir ;;
1193 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1194 psdir=$ac_optarg ;;
1195
1196 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1197 | -silent | --silent | --silen | --sile | --sil)
1198 silent=yes ;;
1199
1200 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1201 ac_prev=sbindir ;;
1202 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1203 | --sbi=* | --sb=*)
1204 sbindir=$ac_optarg ;;
1205
1206 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1207 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1208 | --sharedst | --shareds | --shared | --share | --shar \
1209 | --sha | --sh)
1210 ac_prev=sharedstatedir ;;
1211 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1212 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1213 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1214 | --sha=* | --sh=*)
1215 sharedstatedir=$ac_optarg ;;
1216
1217 -site | --site | --sit)
1218 ac_prev=site ;;
1219 -site=* | --site=* | --sit=*)
1220 site=$ac_optarg ;;
1221
1222 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1223 ac_prev=srcdir ;;
1224 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1225 srcdir=$ac_optarg ;;
1226
1227 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1228 | --syscon | --sysco | --sysc | --sys | --sy)
1229 ac_prev=sysconfdir ;;
1230 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1231 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1232 sysconfdir=$ac_optarg ;;
1233
1234 -target | --target | --targe | --targ | --tar | --ta | --t)
1235 ac_prev=target_alias ;;
1236 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1237 target_alias=$ac_optarg ;;
1238
1239 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1240 verbose=yes ;;
1241
1242 -version | --version | --versio | --versi | --vers | -V)
1243 ac_init_version=: ;;
1244
1245 -with-* | --with-*)
1246 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1250 { (exit 1); exit 1; }; }
1251 ac_useropt_orig=$ac_useropt
1252 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253 case $ac_user_opts in
1254 *"
1255 "with_$ac_useropt"
1256 "*) ;;
1257 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1258 ac_unrecognized_sep=', ';;
1259 esac
1260 eval with_$ac_useropt=\$ac_optarg ;;
1261
1262 -without-* | --without-*)
1263 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1266 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1267 { (exit 1); exit 1; }; }
1268 ac_useropt_orig=$ac_useropt
1269 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1270 case $ac_user_opts in
1271 *"
1272 "with_$ac_useropt"
1273 "*) ;;
1274 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1275 ac_unrecognized_sep=', ';;
1276 esac
1277 eval with_$ac_useropt=no ;;
1278
1279 --x)
1280 # Obsolete; use --with-x.
1281 with_x=yes ;;
1282
1283 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1284 | --x-incl | --x-inc | --x-in | --x-i)
1285 ac_prev=x_includes ;;
1286 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1287 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1288 x_includes=$ac_optarg ;;
1289
1290 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1291 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1292 ac_prev=x_libraries ;;
1293 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1294 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1295 x_libraries=$ac_optarg ;;
1296
1297 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1298 Try \`$0 --help' for more information." >&2
1299 { (exit 1); exit 1; }; }
1300 ;;
1301
1302 *=*)
1303 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1304 # Reject names that are not valid shell variable names.
1305 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1306 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1307 { (exit 1); exit 1; }; }
1308 eval $ac_envvar=\$ac_optarg
1309 export $ac_envvar ;;
1310
1311 *)
1312 # FIXME: should be removed in autoconf 3.0.
1313 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1314 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1315 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1316 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1317 ;;
1318
1319 esac
1320 done
1321
1322 if test -n "$ac_prev"; then
1323 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1324 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1325 { (exit 1); exit 1; }; }
1326 fi
1327
1328 if test -n "$ac_unrecognized_opts"; then
1329 case $enable_option_checking in
1330 no) ;;
1331 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1332 { (exit 1); exit 1; }; } ;;
1333 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1334 esac
1335 fi
1336
1337 # Check all directory arguments for consistency.
1338 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1339 datadir sysconfdir sharedstatedir localstatedir includedir \
1340 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1341 libdir localedir mandir
1342 do
1343 eval ac_val=\$$ac_var
1344 # Remove trailing slashes.
1345 case $ac_val in
1346 */ )
1347 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1348 eval $ac_var=\$ac_val;;
1349 esac
1350 # Be sure to have absolute directory names.
1351 case $ac_val in
1352 [\\/$]* | ?:[\\/]* ) continue;;
1353 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1354 esac
1355 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1356 { (exit 1); exit 1; }; }
1357 done
1358
1359 # There might be people who depend on the old broken behavior: `$host'
1360 # used to hold the argument of --host etc.
1361 # FIXME: To remove some day.
1362 build=$build_alias
1363 host=$host_alias
1364 target=$target_alias
1365
1366 # FIXME: To remove some day.
1367 if test "x$host_alias" != x; then
1368 if test "x$build_alias" = x; then
1369 cross_compiling=maybe
1370 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1371 If a cross compiler is detected then cross compile mode will be used." >&2
1372 elif test "x$build_alias" != "x$host_alias"; then
1373 cross_compiling=yes
1374 fi
1375 fi
1376
1377 ac_tool_prefix=
1378 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1379
1380 test "$silent" = yes && exec 6>/dev/null
1381
1382
1383 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1384 ac_ls_di=`ls -di .` &&
1385 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1386 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1387 { (exit 1); exit 1; }; }
1388 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1389 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1390 { (exit 1); exit 1; }; }
1391
1392
1393 # Find the source files, if location was not specified.
1394 if test -z "$srcdir"; then
1395 ac_srcdir_defaulted=yes
1396 # Try the directory containing this script, then the parent directory.
1397 ac_confdir=`$as_dirname -- "$as_myself" ||
1398 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1399 X"$as_myself" : 'X\(//\)[^/]' \| \
1400 X"$as_myself" : 'X\(//\)$' \| \
1401 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1402 $as_echo X"$as_myself" |
1403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1404 s//\1/
1405 q
1406 }
1407 /^X\(\/\/\)[^/].*/{
1408 s//\1/
1409 q
1410 }
1411 /^X\(\/\/\)$/{
1412 s//\1/
1413 q
1414 }
1415 /^X\(\/\).*/{
1416 s//\1/
1417 q
1418 }
1419 s/.*/./; q'`
1420 srcdir=$ac_confdir
1421 if test ! -r "$srcdir/$ac_unique_file"; then
1422 srcdir=..
1423 fi
1424 else
1425 ac_srcdir_defaulted=no
1426 fi
1427 if test ! -r "$srcdir/$ac_unique_file"; then
1428 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1429 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1430 { (exit 1); exit 1; }; }
1431 fi
1432 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1433 ac_abs_confdir=`(
1434 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1435 { (exit 1); exit 1; }; }
1436 pwd)`
1437 # When building in place, set srcdir=.
1438 if test "$ac_abs_confdir" = "$ac_pwd"; then
1439 srcdir=.
1440 fi
1441 # Remove unnecessary trailing slashes from srcdir.
1442 # Double slashes in file names in object file debugging info
1443 # mess up M-x gdb in Emacs.
1444 case $srcdir in
1445 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1446 esac
1447 for ac_var in $ac_precious_vars; do
1448 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1449 eval ac_env_${ac_var}_value=\$${ac_var}
1450 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1451 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1452 done
1453
1454 #
1455 # Report the --help message.
1456 #
1457 if test "$ac_init_help" = "long"; then
1458 # Omit some internal or obsolete options to make the list less imposing.
1459 # This message is too long to be a string in the A/UX 3.1 sh.
1460 cat <<_ACEOF
1461 \`configure' configures diagnostics 0.3.3 to adapt to many kinds of systems.
1462
1463 Usage: $0 [OPTION]... [VAR=VALUE]...
1464
1465 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1466 VAR=VALUE. See below for descriptions of some of the useful variables.
1467
1468 Defaults for the options are specified in brackets.
1469
1470 Configuration:
1471 -h, --help display this help and exit
1472 --help=short display options specific to this package
1473 --help=recursive display the short help of all the included packages
1474 -V, --version display version information and exit
1475 -q, --quiet, --silent do not print \`checking...' messages
1476 --cache-file=FILE cache test results in FILE [disabled]
1477 -C, --config-cache alias for \`--cache-file=config.cache'
1478 -n, --no-create do not create output files
1479 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1480
1481 Installation directories:
1482 --prefix=PREFIX install architecture-independent files in PREFIX
1483 [$ac_default_prefix]
1484 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1485 [PREFIX]
1486
1487 By default, \`make install' will install all the files in
1488 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1489 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1490 for instance \`--prefix=\$HOME'.
1491
1492 For better control, use the options below.
1493
1494 Fine tuning of the installation directories:
1495 --bindir=DIR user executables [EPREFIX/bin]
1496 --sbindir=DIR system admin executables [EPREFIX/sbin]
1497 --libexecdir=DIR program executables [EPREFIX/libexec]
1498 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1499 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1500 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1501 --libdir=DIR object code libraries [EPREFIX/lib]
1502 --includedir=DIR C header files [PREFIX/include]
1503 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1504 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1505 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1506 --infodir=DIR info documentation [DATAROOTDIR/info]
1507 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1508 --mandir=DIR man documentation [DATAROOTDIR/man]
1509 --docdir=DIR documentation root [DATAROOTDIR/doc/diagnostics]
1510 --htmldir=DIR html documentation [DOCDIR]
1511 --dvidir=DIR dvi documentation [DOCDIR]
1512 --pdfdir=DIR pdf documentation [DOCDIR]
1513 --psdir=DIR ps documentation [DOCDIR]
1514 _ACEOF
1515
1516 cat <<\_ACEOF
1517
1518 Program names:
1519 --program-prefix=PREFIX prepend PREFIX to installed program names
1520 --program-suffix=SUFFIX append SUFFIX to installed program names
1521 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1522
1523 System types:
1524 --build=BUILD configure for building on BUILD [guessed]
1525 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1526 _ACEOF
1527 fi
1528
1529 if test -n "$ac_init_help"; then
1530 case $ac_init_help in
1531 short | recursive ) echo "Configuration of diagnostics 0.3.3:";;
1532 esac
1533 cat <<\_ACEOF
1534
1535 Optional Features:
1536 --disable-option-checking ignore unrecognized --enable/--with options
1537 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1538 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1539 --disable-dependency-tracking speeds up one-time build
1540 --enable-dependency-tracking do not reject slow dependency extractors
1541 --enable-ltdl-install install libltdl
1542 --enable-shared[=PKGS] build shared libraries [default=yes]
1543 --enable-static[=PKGS] build static libraries [default=yes]
1544 --enable-fast-install[=PKGS]
1545 optimize for fast installation [default=yes]
1546 --disable-libtool-lock avoid locking (might break parallel builds)
1547 --enable-install-headers Install header files during make install
1548 --disable-update-makefiles Do not update any Makefile.am
1549 --disable-doxygen-doc don't generate any doxygen documentation
1550 --disable-doxygen-dot don't generate graphics for doxygen documentation
1551 --enable-doxygen-man generate doxygen manual pages
1552 --enable-doxygen-rtf generate doxygen RTF documentation
1553 --enable-doxygen-xml generate doxygen XML documentation
1554 --enable-doxygen-chm generate doxygen compressed HTML help documentation
1555 --enable-doxygen-chi generate doxygen seperate compressed HTML help index
1556 file
1557 --disable-doxygen-html don't generate doxygen plain HTML documentation
1558 --enable-doxygen-ps generate doxygen PostScript documentation
1559 --enable-doxygen-pdf generate doxygen PDF documentation
1560
1561 Optional Packages:
1562 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1563 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1564 --with-included-ltdl use the GNU ltdl sources included here
1565 --with-ltdl-include=DIR use the ltdl headers installed in DIR
1566 --with-ltdl-lib=DIR use the libltdl.la installed in DIR
1567 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1568 --with-pic try to use only PIC/non-PIC objects [default=use
1569 both]
1570 --with-sysroot=DIR Search for dependent libraries within DIR
1571 (or the compiler's sysroot if not specified).
1572
1573 Some influential environment variables:
1574 CXX C++ compiler command
1575 CXXFLAGS C++ compiler flags
1576 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1577 nonstandard directory <lib dir>
1578 LIBS libraries to pass to the linker, e.g. -l<library>
1579 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1580 you have headers in a nonstandard directory <include dir>
1581 CC C compiler command
1582 CFLAGS C compiler flags
1583 CPP C preprocessor
1584 CXXCPP C++ preprocessor
1585 PKG_CONFIG path to pkg-config utility
1586 PKG_CONFIG_PATH
1587 directories to add to pkg-config's search path
1588 PKG_CONFIG_LIBDIR
1589 path overriding pkg-config's built-in search path
1590 ACE_CFLAGS C compiler flags for ACE, overriding pkg-config
1591 ACE_LIBS linker flags for ACE, overriding pkg-config
1592 DOXYGEN_PAPER_SIZE
1593 a4wide (default), a4, letter, legal or executive
1594
1595 Use these variables to override the choices made by `configure' or to help
1596 it to find libraries and programs with nonstandard names/locations.
1597
1598 Report bugs to <[email protected]>.
1599 _ACEOF
1600 ac_status=$?
1601 fi
1602
1603 if test "$ac_init_help" = "recursive"; then
1604 # If there are subdirs, report their specific --help.
1605 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1606 test -d "$ac_dir" ||
1607 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1608 continue
1609 ac_builddir=.
1610
1611 case "$ac_dir" in
1612 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1613 *)
1614 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1615 # A ".." for each directory in $ac_dir_suffix.
1616 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1617 case $ac_top_builddir_sub in
1618 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1619 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1620 esac ;;
1621 esac
1622 ac_abs_top_builddir=$ac_pwd
1623 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1624 # for backward compatibility:
1625 ac_top_builddir=$ac_top_build_prefix
1626
1627 case $srcdir in
1628 .) # We are building in place.
1629 ac_srcdir=.
1630 ac_top_srcdir=$ac_top_builddir_sub
1631 ac_abs_top_srcdir=$ac_pwd ;;
1632 [\\/]* | ?:[\\/]* ) # Absolute name.
1633 ac_srcdir=$srcdir$ac_dir_suffix;
1634 ac_top_srcdir=$srcdir
1635 ac_abs_top_srcdir=$srcdir ;;
1636 *) # Relative name.
1637 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1638 ac_top_srcdir=$ac_top_build_prefix$srcdir
1639 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1640 esac
1641 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1642
1643 cd "$ac_dir" || { ac_status=$?; continue; }
1644 # Check for guested configure.
1645 if test -f "$ac_srcdir/configure.gnu"; then
1646 echo &&
1647 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1648 elif test -f "$ac_srcdir/configure"; then
1649 echo &&
1650 $SHELL "$ac_srcdir/configure" --help=recursive
1651 else
1652 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1653 fi || ac_status=$?
1654 cd "$ac_pwd" || { ac_status=$?; break; }
1655 done
1656 fi
1657
1658 test -n "$ac_init_help" && exit $ac_status
1659 if $ac_init_version; then
1660 cat <<\_ACEOF
1661 diagnostics configure 0.3.3
1662 generated by GNU Autoconf 2.63
1663
1664 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1665 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1666 This configure script is free software; the Free Software Foundation
1667 gives unlimited permission to copy, distribute and modify it.
1668 _ACEOF
1669 exit
1670 fi
1671 cat >config.log <<_ACEOF
1672 This file contains any messages produced by compilers while
1673 running configure, to aid debugging if configure makes a mistake.
1674
1675 It was created by diagnostics $as_me 0.3.3, which was
1676 generated by GNU Autoconf 2.63. Invocation command line was
1677
1678 $ $0 $@
1679
1680 _ACEOF
1681 exec 5>>config.log
1682 {
1683 cat <<_ASUNAME
1684 ## --------- ##
1685 ## Platform. ##
1686 ## --------- ##
1687
1688 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1689 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1690 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1691 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1692 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1693
1694 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1695 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1696
1697 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1698 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1699 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1700 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1701 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1702 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1703 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1704
1705 _ASUNAME
1706
1707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708 for as_dir in $PATH
1709 do
1710 IFS=$as_save_IFS
1711 test -z "$as_dir" && as_dir=.
1712 $as_echo "PATH: $as_dir"
1713 done
1714 IFS=$as_save_IFS
1715
1716 } >&5
1717
1718 cat >&5 <<_ACEOF
1719
1720
1721 ## ----------- ##
1722 ## Core tests. ##
1723 ## ----------- ##
1724
1725 _ACEOF
1726
1727
1728 # Keep a trace of the command line.
1729 # Strip out --no-create and --no-recursion so they do not pile up.
1730 # Strip out --silent because we don't want to record it for future runs.
1731 # Also quote any args containing shell meta-characters.
1732 # Make two passes to allow for proper duplicate-argument suppression.
1733 ac_configure_args=
1734 ac_configure_args0=
1735 ac_configure_args1=
1736 ac_must_keep_next=false
1737 for ac_pass in 1 2
1738 do
1739 for ac_arg
1740 do
1741 case $ac_arg in
1742 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1743 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1744 | -silent | --silent | --silen | --sile | --sil)
1745 continue ;;
1746 *\'*)
1747 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1748 esac
1749 case $ac_pass in
1750 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1751 2)
1752 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1753 if test $ac_must_keep_next = true; then
1754 ac_must_keep_next=false # Got value, back to normal.
1755 else
1756 case $ac_arg in
1757 *=* | --config-cache | -C | -disable-* | --disable-* \
1758 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1759 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1760 | -with-* | --with-* | -without-* | --without-* | --x)
1761 case "$ac_configure_args0 " in
1762 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1763 esac
1764 ;;
1765 -* ) ac_must_keep_next=true ;;
1766 esac
1767 fi
1768 ac_configure_args="$ac_configure_args '$ac_arg'"
1769 ;;
1770 esac
1771 done
1772 done
1773 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1774 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1775
1776 # When interrupted or exit'd, cleanup temporary files, and complete
1777 # config.log. We remove comments because anyway the quotes in there
1778 # would cause problems or look ugly.
1779 # WARNING: Use '\'' to represent an apostrophe within the trap.
1780 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1781 trap 'exit_status=$?
1782 # Save into config.log some information that might help in debugging.
1783 {
1784 echo
1785
1786 cat <<\_ASBOX
1787 ## ---------------- ##
1788 ## Cache variables. ##
1789 ## ---------------- ##
1790 _ASBOX
1791 echo
1792 # The following way of writing the cache mishandles newlines in values,
1793 (
1794 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1795 eval ac_val=\$$ac_var
1796 case $ac_val in #(
1797 *${as_nl}*)
1798 case $ac_var in #(
1799 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1800 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1801 esac
1802 case $ac_var in #(
1803 _ | IFS | as_nl) ;; #(
1804 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1805 *) $as_unset $ac_var ;;
1806 esac ;;
1807 esac
1808 done
1809 (set) 2>&1 |
1810 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1811 *${as_nl}ac_space=\ *)
1812 sed -n \
1813 "s/'\''/'\''\\\\'\'''\''/g;
1814 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1815 ;; #(
1816 *)
1817 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1818 ;;
1819 esac |
1820 sort
1821 )
1822 echo
1823
1824 cat <<\_ASBOX
1825 ## ----------------- ##
1826 ## Output variables. ##
1827 ## ----------------- ##
1828 _ASBOX
1829 echo
1830 for ac_var in $ac_subst_vars
1831 do
1832 eval ac_val=\$$ac_var
1833 case $ac_val in
1834 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1835 esac
1836 $as_echo "$ac_var='\''$ac_val'\''"
1837 done | sort
1838 echo
1839
1840 if test -n "$ac_subst_files"; then
1841 cat <<\_ASBOX
1842 ## ------------------- ##
1843 ## File substitutions. ##
1844 ## ------------------- ##
1845 _ASBOX
1846 echo
1847 for ac_var in $ac_subst_files
1848 do
1849 eval ac_val=\$$ac_var
1850 case $ac_val in
1851 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1852 esac
1853 $as_echo "$ac_var='\''$ac_val'\''"
1854 done | sort
1855 echo
1856 fi
1857
1858 if test -s confdefs.h; then
1859 cat <<\_ASBOX
1860 ## ----------- ##
1861 ## confdefs.h. ##
1862 ## ----------- ##
1863 _ASBOX
1864 echo
1865 cat confdefs.h
1866 echo
1867 fi
1868 test "$ac_signal" != 0 &&
1869 $as_echo "$as_me: caught signal $ac_signal"
1870 $as_echo "$as_me: exit $exit_status"
1871 } >&5
1872 rm -f core *.core core.conftest.* &&
1873 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1874 exit $exit_status
1875 ' 0
1876 for ac_signal in 1 2 13 15; do
1877 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1878 done
1879 ac_signal=0
1880
1881 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1882 rm -f -r conftest* confdefs.h
1883
1884 # Predefined preprocessor variables.
1885
1886 cat >>confdefs.h <<_ACEOF
1887 #define PACKAGE_NAME "$PACKAGE_NAME"
1888 _ACEOF
1889
1890
1891 cat >>confdefs.h <<_ACEOF
1892 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1893 _ACEOF
1894
1895
1896 cat >>confdefs.h <<_ACEOF
1897 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1898 _ACEOF
1899
1900
1901 cat >>confdefs.h <<_ACEOF
1902 #define PACKAGE_STRING "$PACKAGE_STRING"
1903 _ACEOF
1904
1905
1906 cat >>confdefs.h <<_ACEOF
1907 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1908 _ACEOF
1909
1910
1911 # Let the site file select an alternate cache file if it wants to.
1912 # Prefer an explicitly selected file to automatically selected ones.
1913 ac_site_file1=NONE
1914 ac_site_file2=NONE
1915 if test -n "$CONFIG_SITE"; then
1916 ac_site_file1=$CONFIG_SITE
1917 elif test "x$prefix" != xNONE; then
1918 ac_site_file1=$prefix/share/config.site
1919 ac_site_file2=$prefix/etc/config.site
1920 else
1921 ac_site_file1=$ac_default_prefix/share/config.site
1922 ac_site_file2=$ac_default_prefix/etc/config.site
1923 fi
1924 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1925 do
1926 test "x$ac_site_file" = xNONE && continue
1927 if test -r "$ac_site_file"; then
1928 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1929 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1930 sed 's/^/| /' "$ac_site_file" >&5
1931 . "$ac_site_file"
1932 fi
1933 done
1934
1935 if test -r "$cache_file"; then
1936 # Some versions of bash will fail to source /dev/null (special
1937 # files actually), so we avoid doing that.
1938 if test -f "$cache_file"; then
1939 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1940 $as_echo "$as_me: loading cache $cache_file" >&6;}
1941 case $cache_file in
1942 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1943 *) . "./$cache_file";;
1944 esac
1945 fi
1946 else
1947 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1948 $as_echo "$as_me: creating cache $cache_file" >&6;}
1949 >$cache_file
1950 fi
1951
1952 # Check that the precious variables saved in the cache have kept the same
1953 # value.
1954 ac_cache_corrupted=false
1955 for ac_var in $ac_precious_vars; do
1956 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1957 eval ac_new_set=\$ac_env_${ac_var}_set
1958 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1959 eval ac_new_val=\$ac_env_${ac_var}_value
1960 case $ac_old_set,$ac_new_set in
1961 set,)
1962 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1963 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1964 ac_cache_corrupted=: ;;
1965 ,set)
1966 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1967 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1968 ac_cache_corrupted=: ;;
1969 ,);;
1970 *)
1971 if test "x$ac_old_val" != "x$ac_new_val"; then
1972 # differences in whitespace do not lead to failure.
1973 ac_old_val_w=`echo x $ac_old_val`
1974 ac_new_val_w=`echo x $ac_new_val`
1975 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1976 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1977 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1978 ac_cache_corrupted=:
1979 else
1980 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1981 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1982 eval $ac_var=\$ac_old_val
1983 fi
1984 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1985 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1986 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1987 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1988 fi;;
1989 esac
1990 # Pass precious variables to config.status.
1991 if test "$ac_new_set" = set; then
1992 case $ac_new_val in
1993 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1994 *) ac_arg=$ac_var=$ac_new_val ;;
1995 esac
1996 case " $ac_configure_args " in
1997 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1998 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1999 esac
2000 fi
2001 done
2002 if $ac_cache_corrupted; then
2003 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2005 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2006 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2007 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2008 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2009 { (exit 1); exit 1; }; }
2010 fi
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036 ac_ext=c
2037 ac_cpp='$CPP $CPPFLAGS'
2038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2041
2042
2043
2044 ac_aux_dir=
2045 for ac_dir in config "$srcdir"/config; do
2046 if test -f "$ac_dir/install-sh"; then
2047 ac_aux_dir=$ac_dir
2048 ac_install_sh="$ac_aux_dir/install-sh -c"
2049 break
2050 elif test -f "$ac_dir/install.sh"; then
2051 ac_aux_dir=$ac_dir
2052 ac_install_sh="$ac_aux_dir/install.sh -c"
2053 break
2054 elif test -f "$ac_dir/shtool"; then
2055 ac_aux_dir=$ac_dir
2056 ac_install_sh="$ac_aux_dir/shtool install -c"
2057 break
2058 fi
2059 done
2060 if test -z "$ac_aux_dir"; then
2061 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
2062 $as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2063 { (exit 1); exit 1; }; }
2064 fi
2065
2066 # These three variables are undocumented and unsupported,
2067 # and are intended to be withdrawn in a future Autoconf release.
2068 # They can cause serious problems if a builder's source tree is in a directory
2069 # whose full name contains unusual characters.
2070 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2071 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2072 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2073
2074
2075 ac_config_headers="$ac_config_headers config.h"
2076
2077 # suppress -I. -I. -I../.., includes explicitly set
2078 am__api_version='1.11'
2079
2080 # Find a good install program. We prefer a C program (faster),
2081 # so one script is as good as another. But avoid the broken or
2082 # incompatible versions:
2083 # SysV /etc/install, /usr/sbin/install
2084 # SunOS /usr/etc/install
2085 # IRIX /sbin/install
2086 # AIX /bin/install
2087 # AmigaOS /C/install, which installs bootblocks on floppy discs
2088 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2089 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2090 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2091 # OS/2's system install, which has a completely different semantic
2092 # ./install, which can be erroneously created by make from ./install.sh.
2093 # Reject install programs that cannot install multiple files.
2094 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2095 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2096 if test -z "$INSTALL"; then
2097 if test "${ac_cv_path_install+set}" = set; then
2098 $as_echo_n "(cached) " >&6
2099 else
2100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2101 for as_dir in $PATH
2102 do
2103 IFS=$as_save_IFS
2104 test -z "$as_dir" && as_dir=.
2105 # Account for people who put trailing slashes in PATH elements.
2106 case $as_dir/ in
2107 ./ | .// | /cC/* | \
2108 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2109 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2110 /usr/ucb/* ) ;;
2111 *)
2112 # OSF1 and SCO ODT 3.0 have their own names for install.
2113 # Don't use installbsd from OSF since it installs stuff as root
2114 # by default.
2115 for ac_prog in ginstall scoinst install; do
2116 for ac_exec_ext in '' $ac_executable_extensions; do
2117 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2118 if test $ac_prog = install &&
2119 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2120 # AIX install. It has an incompatible calling convention.
2121 :
2122 elif test $ac_prog = install &&
2123 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2124 # program-specific install script used by HP pwplus--don't use.
2125 :
2126 else
2127 rm -rf conftest.one conftest.two conftest.dir
2128 echo one > conftest.one
2129 echo two > conftest.two
2130 mkdir conftest.dir
2131 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2132 test -s conftest.one && test -s conftest.two &&
2133 test -s conftest.dir/conftest.one &&
2134 test -s conftest.dir/conftest.two
2135 then
2136 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2137 break 3
2138 fi
2139 fi
2140 fi
2141 done
2142 done
2143 ;;
2144 esac
2145
2146 done
2147 IFS=$as_save_IFS
2148
2149 rm -rf conftest.one conftest.two conftest.dir
2150
2151 fi
2152 if test "${ac_cv_path_install+set}" = set; then
2153 INSTALL=$ac_cv_path_install
2154 else
2155 # As a last resort, use the slow shell script. Don't cache a
2156 # value for INSTALL within a source directory, because that will
2157 # break other packages using the cache if that directory is
2158 # removed, or if the value is a relative name.
2159 INSTALL=$ac_install_sh
2160 fi
2161 fi
2162 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2163 $as_echo "$INSTALL" >&6; }
2164
2165 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2166 # It thinks the first close brace ends the variable substitution.
2167 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2168
2169 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2170
2171 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2172
2173 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2174 $as_echo_n "checking whether build environment is sane... " >&6; }
2175 # Just in case
2176 sleep 1
2177 echo timestamp > conftest.file
2178 # Reject unsafe characters in $srcdir or the absolute working directory
2179 # name. Accept space and tab only in the latter.
2180 am_lf='
2181 '
2182 case `pwd` in
2183 *[\\\"\#\$\&\'\`$am_lf]*)
2184 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2185 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2186 { (exit 1); exit 1; }; };;
2187 esac
2188 case $srcdir in
2189 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2190 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2191 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2192 { (exit 1); exit 1; }; };;
2193 esac
2194
2195 # Do `set' in a subshell so we don't clobber the current shell's
2196 # arguments. Must try -L first in case configure is actually a
2197 # symlink; some systems play weird games with the mod time of symlinks
2198 # (eg FreeBSD returns the mod time of the symlink's containing
2199 # directory).
2200 if (
2201 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2202 if test "$*" = "X"; then
2203 # -L didn't work.
2204 set X `ls -t "$srcdir/configure" conftest.file`
2205 fi
2206 rm -f conftest.file
2207 if test "$*" != "X $srcdir/configure conftest.file" \
2208 && test "$*" != "X conftest.file $srcdir/configure"; then
2209
2210 # If neither matched, then we have a broken ls. This can happen
2211 # if, for instance, CONFIG_SHELL is bash and it inherits a
2212 # broken ls alias from the environment. This has actually
2213 # happened. Such a system could not be considered "sane".
2214 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2215 alias in your environment" >&5
2216 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2217 alias in your environment" >&2;}
2218 { (exit 1); exit 1; }; }
2219 fi
2220
2221 test "$2" = conftest.file
2222 )
2223 then
2224 # Ok.
2225 :
2226 else
2227 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2228 Check your system clock" >&5
2229 $as_echo "$as_me: error: newly created file is older than distributed files!
2230 Check your system clock" >&2;}
2231 { (exit 1); exit 1; }; }
2232 fi
2233 { $as_echo "$as_me:$LINENO: result: yes" >&5
2234 $as_echo "yes" >&6; }
2235 test "$program_prefix" != NONE &&
2236 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2237 # Use a double $ so make ignores it.
2238 test "$program_suffix" != NONE &&
2239 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2240 # Double any \ or $.
2241 # By default was `s,x,x', remove it if useless.
2242 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2243 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2244
2245 # expand $ac_aux_dir to an absolute path
2246 am_aux_dir=`cd $ac_aux_dir && pwd`
2247
2248 if test x"${MISSING+set}" != xset; then
2249 case $am_aux_dir in
2250 *\ * | *\ *)
2251 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2252 *)
2253 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2254 esac
2255 fi
2256 # Use eval to expand $SHELL
2257 if eval "$MISSING --run true"; then
2258 am_missing_run="$MISSING --run "
2259 else
2260 am_missing_run=
2261 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2262 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2263 fi
2264
2265 if test x"${install_sh}" != xset; then
2266 case $am_aux_dir in
2267 *\ * | *\ *)
2268 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2269 *)
2270 install_sh="\${SHELL} $am_aux_dir/install-sh"
2271 esac
2272 fi
2273
2274 # Installed binaries are usually stripped using `strip' when the user
2275 # run `make install-strip'. However `strip' might not be the right
2276 # tool to use in cross-compilation environments, therefore Automake
2277 # will honor the `STRIP' environment variable to overrule this program.
2278 if test "$cross_compiling" != no; then
2279 if test -n "$ac_tool_prefix"; then
2280 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2281 set dummy ${ac_tool_prefix}strip; ac_word=$2
2282 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2283 $as_echo_n "checking for $ac_word... " >&6; }
2284 if test "${ac_cv_prog_STRIP+set}" = set; then
2285 $as_echo_n "(cached) " >&6
2286 else
2287 if test -n "$STRIP"; then
2288 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2289 else
2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2291 for as_dir in $PATH
2292 do
2293 IFS=$as_save_IFS
2294 test -z "$as_dir" && as_dir=.
2295 for ac_exec_ext in '' $ac_executable_extensions; do
2296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2297 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2298 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2299 break 2
2300 fi
2301 done
2302 done
2303 IFS=$as_save_IFS
2304
2305 fi
2306 fi
2307 STRIP=$ac_cv_prog_STRIP
2308 if test -n "$STRIP"; then
2309 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2310 $as_echo "$STRIP" >&6; }
2311 else
2312 { $as_echo "$as_me:$LINENO: result: no" >&5
2313 $as_echo "no" >&6; }
2314 fi
2315
2316
2317 fi
2318 if test -z "$ac_cv_prog_STRIP"; then
2319 ac_ct_STRIP=$STRIP
2320 # Extract the first word of "strip", so it can be a program name with args.
2321 set dummy strip; ac_word=$2
2322 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2323 $as_echo_n "checking for $ac_word... " >&6; }
2324 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2325 $as_echo_n "(cached) " >&6
2326 else
2327 if test -n "$ac_ct_STRIP"; then
2328 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2329 else
2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 for as_dir in $PATH
2332 do
2333 IFS=$as_save_IFS
2334 test -z "$as_dir" && as_dir=.
2335 for ac_exec_ext in '' $ac_executable_extensions; do
2336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2337 ac_cv_prog_ac_ct_STRIP="strip"
2338 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339 break 2
2340 fi
2341 done
2342 done
2343 IFS=$as_save_IFS
2344
2345 fi
2346 fi
2347 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2348 if test -n "$ac_ct_STRIP"; then
2349 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2350 $as_echo "$ac_ct_STRIP" >&6; }
2351 else
2352 { $as_echo "$as_me:$LINENO: result: no" >&5
2353 $as_echo "no" >&6; }
2354 fi
2355
2356 if test "x$ac_ct_STRIP" = x; then
2357 STRIP=":"
2358 else
2359 case $cross_compiling:$ac_tool_warned in
2360 yes:)
2361 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2363 ac_tool_warned=yes ;;
2364 esac
2365 STRIP=$ac_ct_STRIP
2366 fi
2367 else
2368 STRIP="$ac_cv_prog_STRIP"
2369 fi
2370
2371 fi
2372 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2373
2374 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2375 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2376 if test -z "$MKDIR_P"; then
2377 if test "${ac_cv_path_mkdir+set}" = set; then
2378 $as_echo_n "(cached) " >&6
2379 else
2380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2381 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2382 do
2383 IFS=$as_save_IFS
2384 test -z "$as_dir" && as_dir=.
2385 for ac_prog in mkdir gmkdir; do
2386 for ac_exec_ext in '' $ac_executable_extensions; do
2387 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2388 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2389 'mkdir (GNU coreutils) '* | \
2390 'mkdir (coreutils) '* | \
2391 'mkdir (fileutils) '4.1*)
2392 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2393 break 3;;
2394 esac
2395 done
2396 done
2397 done
2398 IFS=$as_save_IFS
2399
2400 fi
2401
2402 if test "${ac_cv_path_mkdir+set}" = set; then
2403 MKDIR_P="$ac_cv_path_mkdir -p"
2404 else
2405 # As a last resort, use the slow shell script. Don't cache a
2406 # value for MKDIR_P within a source directory, because that will
2407 # break other packages using the cache if that directory is
2408 # removed, or if the value is a relative name.
2409 test -d ./--version && rmdir ./--version
2410 MKDIR_P="$ac_install_sh -d"
2411 fi
2412 fi
2413 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2414 $as_echo "$MKDIR_P" >&6; }
2415
2416 mkdir_p="$MKDIR_P"
2417 case $mkdir_p in
2418 [\\/$]* | ?:[\\/]*) ;;
2419 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2420 esac
2421
2422 for ac_prog in gawk mawk nawk awk
2423 do
2424 # Extract the first word of "$ac_prog", so it can be a program name with args.
2425 set dummy $ac_prog; ac_word=$2
2426 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2427 $as_echo_n "checking for $ac_word... " >&6; }
2428 if test "${ac_cv_prog_AWK+set}" = set; then
2429 $as_echo_n "(cached) " >&6
2430 else
2431 if test -n "$AWK"; then
2432 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2433 else
2434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2435 for as_dir in $PATH
2436 do
2437 IFS=$as_save_IFS
2438 test -z "$as_dir" && as_dir=.
2439 for ac_exec_ext in '' $ac_executable_extensions; do
2440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2441 ac_cv_prog_AWK="$ac_prog"
2442 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2443 break 2
2444 fi
2445 done
2446 done
2447 IFS=$as_save_IFS
2448
2449 fi
2450 fi
2451 AWK=$ac_cv_prog_AWK
2452 if test -n "$AWK"; then
2453 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2454 $as_echo "$AWK" >&6; }
2455 else
2456 { $as_echo "$as_me:$LINENO: result: no" >&5
2457 $as_echo "no" >&6; }
2458 fi
2459
2460
2461 test -n "$AWK" && break
2462 done
2463
2464 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2465 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2466 set x ${MAKE-make}
2467 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2468 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2469 $as_echo_n "(cached) " >&6
2470 else
2471 cat >conftest.make <<\_ACEOF
2472 SHELL = /bin/sh
2473 all:
2474 @echo '@@@%%%=$(MAKE)=@@@%%%'
2475 _ACEOF
2476 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2477 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2478 *@@@%%%=?*=@@@%%%*)
2479 eval ac_cv_prog_make_${ac_make}_set=yes;;
2480 *)
2481 eval ac_cv_prog_make_${ac_make}_set=no;;
2482 esac
2483 rm -f conftest.make
2484 fi
2485 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2486 { $as_echo "$as_me:$LINENO: result: yes" >&5
2487 $as_echo "yes" >&6; }
2488 SET_MAKE=
2489 else
2490 { $as_echo "$as_me:$LINENO: result: no" >&5
2491 $as_echo "no" >&6; }
2492 SET_MAKE="MAKE=${MAKE-make}"
2493 fi
2494
2495 rm -rf .tst 2>/dev/null
2496 mkdir .tst 2>/dev/null
2497 if test -d .tst; then
2498 am__leading_dot=.
2499 else
2500 am__leading_dot=_
2501 fi
2502 rmdir .tst 2>/dev/null
2503
2504 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2505 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2506 # is not polluted with repeated "-I."
2507 am__isrc=' -I$(srcdir)'
2508 # test to see if srcdir already configured
2509 if test -f $srcdir/config.status; then
2510 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2511 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2512 { (exit 1); exit 1; }; }
2513 fi
2514 fi
2515
2516 # test whether we have cygpath
2517 if test -z "$CYGPATH_W"; then
2518 if (cygpath --version) >/dev/null 2>/dev/null; then
2519 CYGPATH_W='cygpath -w'
2520 else
2521 CYGPATH_W=echo
2522 fi
2523 fi
2524
2525
2526 # Define the identity of the package.
2527 PACKAGE='diagnostics'
2528 VERSION='0.3.3'
2529
2530
2531 cat >>confdefs.h <<_ACEOF
2532 #define PACKAGE "$PACKAGE"
2533 _ACEOF
2534
2535
2536 cat >>confdefs.h <<_ACEOF
2537 #define VERSION "$VERSION"
2538 _ACEOF
2539
2540 # Some tools Automake needs.
2541
2542 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2543
2544
2545 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2546
2547
2548 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2549
2550
2551 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2552
2553
2554 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2555
2556 # We need awk for the "check" target. The system "awk" is bad on
2557 # some platforms.
2558 # Always define AMTAR for backward compatibility.
2559
2560 AMTAR=${AMTAR-"${am_missing_run}tar"}
2561
2562 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572 ac_config_commands="$ac_config_commands diagnostics/features.hpp"
2573
2574
2575 ac_ext=cpp
2576 ac_cpp='$CXXCPP $CPPFLAGS'
2577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2580
2581
2582 # Checks for programs.
2583 ac_ext=cpp
2584 ac_cpp='$CXXCPP $CPPFLAGS'
2585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2588 if test -z "$CXX"; then
2589 if test -n "$CCC"; then
2590 CXX=$CCC
2591 else
2592 if test -n "$ac_tool_prefix"; then
2593 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2594 do
2595 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2596 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2597 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2598 $as_echo_n "checking for $ac_word... " >&6; }
2599 if test "${ac_cv_prog_CXX+set}" = set; then
2600 $as_echo_n "(cached) " >&6
2601 else
2602 if test -n "$CXX"; then
2603 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2604 else
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606 for as_dir in $PATH
2607 do
2608 IFS=$as_save_IFS
2609 test -z "$as_dir" && as_dir=.
2610 for ac_exec_ext in '' $ac_executable_extensions; do
2611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2612 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2613 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2614 break 2
2615 fi
2616 done
2617 done
2618 IFS=$as_save_IFS
2619
2620 fi
2621 fi
2622 CXX=$ac_cv_prog_CXX
2623 if test -n "$CXX"; then
2624 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
2625 $as_echo "$CXX" >&6; }
2626 else
2627 { $as_echo "$as_me:$LINENO: result: no" >&5
2628 $as_echo "no" >&6; }
2629 fi
2630
2631
2632 test -n "$CXX" && break
2633 done
2634 fi
2635 if test -z "$CXX"; then
2636 ac_ct_CXX=$CXX
2637 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2638 do
2639 # Extract the first word of "$ac_prog", so it can be a program name with args.
2640 set dummy $ac_prog; ac_word=$2
2641 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2642 $as_echo_n "checking for $ac_word... " >&6; }
2643 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2644 $as_echo_n "(cached) " >&6
2645 else
2646 if test -n "$ac_ct_CXX"; then
2647 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2648 else
2649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2650 for as_dir in $PATH
2651 do
2652 IFS=$as_save_IFS
2653 test -z "$as_dir" && as_dir=.
2654 for ac_exec_ext in '' $ac_executable_extensions; do
2655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2656 ac_cv_prog_ac_ct_CXX="$ac_prog"
2657 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2658 break 2
2659 fi
2660 done
2661 done
2662 IFS=$as_save_IFS
2663
2664 fi
2665 fi
2666 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2667 if test -n "$ac_ct_CXX"; then
2668 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2669 $as_echo "$ac_ct_CXX" >&6; }
2670 else
2671 { $as_echo "$as_me:$LINENO: result: no" >&5
2672 $as_echo "no" >&6; }
2673 fi
2674
2675
2676 test -n "$ac_ct_CXX" && break
2677 done
2678
2679 if test "x$ac_ct_CXX" = x; then
2680 CXX="g++"
2681 else
2682 case $cross_compiling:$ac_tool_warned in
2683 yes:)
2684 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2686 ac_tool_warned=yes ;;
2687 esac
2688 CXX=$ac_ct_CXX
2689 fi
2690 fi
2691
2692 fi
2693 fi
2694 # Provide some information about the compiler.
2695 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2696 set X $ac_compile
2697 ac_compiler=$2
2698 { (ac_try="$ac_compiler --version >&5"
2699 case "(($ac_try" in
2700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2701 *) ac_try_echo=$ac_try;;
2702 esac
2703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2704 $as_echo "$ac_try_echo") >&5
2705 (eval "$ac_compiler --version >&5") 2>&5
2706 ac_status=$?
2707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); }
2709 { (ac_try="$ac_compiler -v >&5"
2710 case "(($ac_try" in
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2713 esac
2714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2715 $as_echo "$ac_try_echo") >&5
2716 (eval "$ac_compiler -v >&5") 2>&5
2717 ac_status=$?
2718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }
2720 { (ac_try="$ac_compiler -V >&5"
2721 case "(($ac_try" in
2722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2723 *) ac_try_echo=$ac_try;;
2724 esac
2725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2726 $as_echo "$ac_try_echo") >&5
2727 (eval "$ac_compiler -V >&5") 2>&5
2728 ac_status=$?
2729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); }
2731
2732 cat >conftest.$ac_ext <<_ACEOF
2733 /* confdefs.h. */
2734 _ACEOF
2735 cat confdefs.h >>conftest.$ac_ext
2736 cat >>conftest.$ac_ext <<_ACEOF
2737 /* end confdefs.h. */
2738
2739 int
2740 main ()
2741 {
2742
2743 ;
2744 return 0;
2745 }
2746 _ACEOF
2747 ac_clean_files_save=$ac_clean_files
2748 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2749 # Try to create an executable without -o first, disregard a.out.
2750 # It will help us diagnose broken compilers, and finding out an intuition
2751 # of exeext.
2752 { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2753 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2754 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2755
2756 # The possible output files:
2757 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2758
2759 ac_rmfiles=
2760 for ac_file in $ac_files
2761 do
2762 case $ac_file in
2763 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2764 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2765 esac
2766 done
2767 rm -f $ac_rmfiles
2768
2769 if { (ac_try="$ac_link_default"
2770 case "(($ac_try" in
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2773 esac
2774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2775 $as_echo "$ac_try_echo") >&5
2776 (eval "$ac_link_default") 2>&5
2777 ac_status=$?
2778 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }; then
2780 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2781 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2782 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2783 # so that the user can short-circuit this test for compilers unknown to
2784 # Autoconf.
2785 for ac_file in $ac_files ''
2786 do
2787 test -f "$ac_file" || continue
2788 case $ac_file in
2789 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2790 ;;
2791 [ab].out )
2792 # We found the default executable, but exeext='' is most
2793 # certainly right.
2794 break;;
2795 *.* )
2796 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2797 then :; else
2798 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2799 fi
2800 # We set ac_cv_exeext here because the later test for it is not
2801 # safe: cross compilers may not add the suffix if given an `-o'
2802 # argument, so we may need to know it at that point already.
2803 # Even if this section looks crufty: it has the advantage of
2804 # actually working.
2805 break;;
2806 * )
2807 break;;
2808 esac
2809 done
2810 test "$ac_cv_exeext" = no && ac_cv_exeext=
2811
2812 else
2813 ac_file=''
2814 fi
2815
2816 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2817 $as_echo "$ac_file" >&6; }
2818 if test -z "$ac_file"; then
2819 $as_echo "$as_me: failed program was:" >&5
2820 sed 's/^/| /' conftest.$ac_ext >&5
2821
2822 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824 { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2825 See \`config.log' for more details." >&5
2826 $as_echo "$as_me: error: C++ compiler cannot create executables
2827 See \`config.log' for more details." >&2;}
2828 { (exit 77); exit 77; }; }; }
2829 fi
2830
2831 ac_exeext=$ac_cv_exeext
2832
2833 # Check that the compiler produces executables we can run. If not, either
2834 # the compiler is broken, or we cross compile.
2835 { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2836 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2837 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2838 # If not cross compiling, check that we can run a simple program.
2839 if test "$cross_compiling" != yes; then
2840 if { ac_try='./$ac_file'
2841 { (case "(($ac_try" in
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2844 esac
2845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2846 $as_echo "$ac_try_echo") >&5
2847 (eval "$ac_try") 2>&5
2848 ac_status=$?
2849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }; }; then
2851 cross_compiling=no
2852 else
2853 if test "$cross_compiling" = maybe; then
2854 cross_compiling=yes
2855 else
2856 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2858 { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2859 If you meant to cross compile, use \`--host'.
2860 See \`config.log' for more details." >&5
2861 $as_echo "$as_me: error: cannot run C++ compiled programs.
2862 If you meant to cross compile, use \`--host'.
2863 See \`config.log' for more details." >&2;}
2864 { (exit 1); exit 1; }; }; }
2865 fi
2866 fi
2867 fi
2868 { $as_echo "$as_me:$LINENO: result: yes" >&5
2869 $as_echo "yes" >&6; }
2870
2871 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2872 ac_clean_files=$ac_clean_files_save
2873 # Check that the compiler produces executables we can run. If not, either
2874 # the compiler is broken, or we cross compile.
2875 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2876 $as_echo_n "checking whether we are cross compiling... " >&6; }
2877 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2878 $as_echo "$cross_compiling" >&6; }
2879
2880 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2881 $as_echo_n "checking for suffix of executables... " >&6; }
2882 if { (ac_try="$ac_link"
2883 case "(($ac_try" in
2884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2885 *) ac_try_echo=$ac_try;;
2886 esac
2887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2888 $as_echo "$ac_try_echo") >&5
2889 (eval "$ac_link") 2>&5
2890 ac_status=$?
2891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }; then
2893 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2894 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2895 # work properly (i.e., refer to `conftest.exe'), while it won't with
2896 # `rm'.
2897 for ac_file in conftest.exe conftest conftest.*; do
2898 test -f "$ac_file" || continue
2899 case $ac_file in
2900 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2901 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2902 break;;
2903 * ) break;;
2904 esac
2905 done
2906 else
2907 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2908 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2909 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2910 See \`config.log' for more details." >&5
2911 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2912 See \`config.log' for more details." >&2;}
2913 { (exit 1); exit 1; }; }; }
2914 fi
2915
2916 rm -f conftest$ac_cv_exeext
2917 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2918 $as_echo "$ac_cv_exeext" >&6; }
2919
2920 rm -f conftest.$ac_ext
2921 EXEEXT=$ac_cv_exeext
2922 ac_exeext=$EXEEXT
2923 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2924 $as_echo_n "checking for suffix of object files... " >&6; }
2925 if test "${ac_cv_objext+set}" = set; then
2926 $as_echo_n "(cached) " >&6
2927 else
2928 cat >conftest.$ac_ext <<_ACEOF
2929 /* confdefs.h. */
2930 _ACEOF
2931 cat confdefs.h >>conftest.$ac_ext
2932 cat >>conftest.$ac_ext <<_ACEOF
2933 /* end confdefs.h. */
2934
2935 int
2936 main ()
2937 {
2938
2939 ;
2940 return 0;
2941 }
2942 _ACEOF
2943 rm -f conftest.o conftest.obj
2944 if { (ac_try="$ac_compile"
2945 case "(($ac_try" in
2946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2947 *) ac_try_echo=$ac_try;;
2948 esac
2949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2950 $as_echo "$ac_try_echo") >&5
2951 (eval "$ac_compile") 2>&5
2952 ac_status=$?
2953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); }; then
2955 for ac_file in conftest.o conftest.obj conftest.*; do
2956 test -f "$ac_file" || continue;
2957 case $ac_file in
2958 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2959 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2960 break;;
2961 esac
2962 done
2963 else
2964 $as_echo "$as_me: failed program was:" >&5
2965 sed 's/^/| /' conftest.$ac_ext >&5
2966
2967 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2969 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2970 See \`config.log' for more details." >&5
2971 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2972 See \`config.log' for more details." >&2;}
2973 { (exit 1); exit 1; }; }; }
2974 fi
2975
2976 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2977 fi
2978 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2979 $as_echo "$ac_cv_objext" >&6; }
2980 OBJEXT=$ac_cv_objext
2981 ac_objext=$OBJEXT
2982 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2983 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2984 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2985 $as_echo_n "(cached) " >&6
2986 else
2987 cat >conftest.$ac_ext <<_ACEOF
2988 /* confdefs.h. */
2989 _ACEOF
2990 cat confdefs.h >>conftest.$ac_ext
2991 cat >>conftest.$ac_ext <<_ACEOF
2992 /* end confdefs.h. */
2993
2994 int
2995 main ()
2996 {
2997 #ifndef __GNUC__
2998 choke me
2999 #endif
3000
3001 ;
3002 return 0;
3003 }
3004 _ACEOF
3005 rm -f conftest.$ac_objext
3006 if { (ac_try="$ac_compile"
3007 case "(($ac_try" in
3008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009 *) ac_try_echo=$ac_try;;
3010 esac
3011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3012 $as_echo "$ac_try_echo") >&5
3013 (eval "$ac_compile") 2>conftest.er1
3014 ac_status=$?
3015 grep -v '^ *+' conftest.er1 >conftest.err
3016 rm -f conftest.er1
3017 cat conftest.err >&5
3018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); } && {
3020 test -z "$ac_cxx_werror_flag" ||
3021 test ! -s conftest.err
3022 } && test -s conftest.$ac_objext; then
3023 ac_compiler_gnu=yes
3024 else
3025 $as_echo "$as_me: failed program was:" >&5
3026 sed 's/^/| /' conftest.$ac_ext >&5
3027
3028 ac_compiler_gnu=no
3029 fi
3030
3031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3032 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3033
3034 fi
3035 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3036 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3037 if test $ac_compiler_gnu = yes; then
3038 GXX=yes
3039 else
3040 GXX=
3041 fi
3042 ac_test_CXXFLAGS=${CXXFLAGS+set}
3043 ac_save_CXXFLAGS=$CXXFLAGS
3044 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3045 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3046 if test "${ac_cv_prog_cxx_g+set}" = set; then
3047 $as_echo_n "(cached) " >&6
3048 else
3049 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3050 ac_cxx_werror_flag=yes
3051 ac_cv_prog_cxx_g=no
3052 CXXFLAGS="-g"
3053 cat >conftest.$ac_ext <<_ACEOF
3054 /* confdefs.h. */
3055 _ACEOF
3056 cat confdefs.h >>conftest.$ac_ext
3057 cat >>conftest.$ac_ext <<_ACEOF
3058 /* end confdefs.h. */
3059
3060 int
3061 main ()
3062 {
3063
3064 ;
3065 return 0;
3066 }
3067 _ACEOF
3068 rm -f conftest.$ac_objext
3069 if { (ac_try="$ac_compile"
3070 case "(($ac_try" in
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3073 esac
3074 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3075 $as_echo "$ac_try_echo") >&5
3076 (eval "$ac_compile") 2>conftest.er1
3077 ac_status=$?
3078 grep -v '^ *+' conftest.er1 >conftest.err
3079 rm -f conftest.er1
3080 cat conftest.err >&5
3081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); } && {
3083 test -z "$ac_cxx_werror_flag" ||
3084 test ! -s conftest.err
3085 } && test -s conftest.$ac_objext; then
3086 ac_cv_prog_cxx_g=yes
3087 else
3088 $as_echo "$as_me: failed program was:" >&5
3089 sed 's/^/| /' conftest.$ac_ext >&5
3090
3091 CXXFLAGS=""
3092 cat >conftest.$ac_ext <<_ACEOF
3093 /* confdefs.h. */
3094 _ACEOF
3095 cat confdefs.h >>conftest.$ac_ext
3096 cat >>conftest.$ac_ext <<_ACEOF
3097 /* end confdefs.h. */
3098
3099 int
3100 main ()
3101 {
3102
3103 ;
3104 return 0;
3105 }
3106 _ACEOF
3107 rm -f conftest.$ac_objext
3108 if { (ac_try="$ac_compile"
3109 case "(($ac_try" in
3110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3111 *) ac_try_echo=$ac_try;;
3112 esac
3113 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3114 $as_echo "$ac_try_echo") >&5
3115 (eval "$ac_compile") 2>conftest.er1
3116 ac_status=$?
3117 grep -v '^ *+' conftest.er1 >conftest.err
3118 rm -f conftest.er1
3119 cat conftest.err >&5
3120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121 (exit $ac_status); } && {
3122 test -z "$ac_cxx_werror_flag" ||
3123 test ! -s conftest.err
3124 } && test -s conftest.$ac_objext; then
3125 :
3126 else
3127 $as_echo "$as_me: failed program was:" >&5
3128 sed 's/^/| /' conftest.$ac_ext >&5
3129
3130 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3131 CXXFLAGS="-g"
3132 cat >conftest.$ac_ext <<_ACEOF
3133 /* confdefs.h. */
3134 _ACEOF
3135 cat confdefs.h >>conftest.$ac_ext
3136 cat >>conftest.$ac_ext <<_ACEOF
3137 /* end confdefs.h. */
3138
3139 int
3140 main ()
3141 {
3142
3143 ;
3144 return 0;
3145 }
3146 _ACEOF
3147 rm -f conftest.$ac_objext
3148 if { (ac_try="$ac_compile"
3149 case "(($ac_try" in
3150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151 *) ac_try_echo=$ac_try;;
3152 esac
3153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3154 $as_echo "$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 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); } && {
3162 test -z "$ac_cxx_werror_flag" ||
3163 test ! -s conftest.err
3164 } && test -s conftest.$ac_objext; then
3165 ac_cv_prog_cxx_g=yes
3166 else
3167 $as_echo "$as_me: failed program was:" >&5
3168 sed 's/^/| /' conftest.$ac_ext >&5
3169
3170
3171 fi
3172
3173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3174 fi
3175
3176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177 fi
3178
3179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3180 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3181 fi
3182 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3183 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3184 if test "$ac_test_CXXFLAGS" = set; then
3185 CXXFLAGS=$ac_save_CXXFLAGS
3186 elif test $ac_cv_prog_cxx_g = yes; then
3187 if test "$GXX" = yes; then
3188 CXXFLAGS="-g -O2"
3189 else
3190 CXXFLAGS="-g"
3191 fi
3192 else
3193 if test "$GXX" = yes; then
3194 CXXFLAGS="-O2"
3195 else
3196 CXXFLAGS=
3197 fi
3198 fi
3199 ac_ext=cpp
3200 ac_cpp='$CXXCPP $CPPFLAGS'
3201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3204 DEPDIR="${am__leading_dot}deps"
3205
3206 ac_config_commands="$ac_config_commands depfiles"
3207
3208
3209 am_make=${MAKE-make}
3210 cat > confinc << 'END'
3211 am__doit:
3212 @echo this is the am__doit target
3213 .PHONY: am__doit
3214 END
3215 # If we don't find an include directive, just comment out the code.
3216 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3217 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3218 am__include="#"
3219 am__quote=
3220 _am_result=none
3221 # First try GNU make style include.
3222 echo "include confinc" > confmf
3223 # Ignore all kinds of additional output from `make'.
3224 case `$am_make -s -f confmf 2> /dev/null` in #(
3225 *the\ am__doit\ target*)
3226 am__include=include
3227 am__quote=
3228 _am_result=GNU
3229 ;;
3230 esac
3231 # Now try BSD make style include.
3232 if test "$am__include" = "#"; then
3233 echo '.include "confinc"' > confmf
3234 case `$am_make -s -f confmf 2> /dev/null` in #(
3235 *the\ am__doit\ target*)
3236 am__include=.include
3237 am__quote="\""
3238 _am_result=BSD
3239 ;;
3240 esac
3241 fi
3242
3243
3244 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3245 $as_echo "$_am_result" >&6; }
3246 rm -f confinc confmf
3247
3248 # Check whether --enable-dependency-tracking was given.
3249 if test "${enable_dependency_tracking+set}" = set; then
3250 enableval=$enable_dependency_tracking;
3251 fi
3252
3253 if test "x$enable_dependency_tracking" != xno; then
3254 am_depcomp="$ac_aux_dir/depcomp"
3255 AMDEPBACKSLASH='\'
3256 fi
3257 if test "x$enable_dependency_tracking" != xno; then
3258 AMDEP_TRUE=
3259 AMDEP_FALSE='#'
3260 else
3261 AMDEP_TRUE='#'
3262 AMDEP_FALSE=
3263 fi
3264
3265
3266
3267 depcc="$CXX" am_compiler_list=
3268
3269 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3270 $as_echo_n "checking dependency style of $depcc... " >&6; }
3271 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3272 $as_echo_n "(cached) " >&6
3273 else
3274 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3275 # We make a subdir and do the tests there. Otherwise we can end up
3276 # making bogus files that we don't know about and never remove. For
3277 # instance it was reported that on HP-UX the gcc test will end up
3278 # making a dummy file named `D' -- because `-MD' means `put the output
3279 # in D'.
3280 mkdir conftest.dir
3281 # Copy depcomp to subdir because otherwise we won't find it if we're
3282 # using a relative directory.
3283 cp "$am_depcomp" conftest.dir
3284 cd conftest.dir
3285 # We will build objects and dependencies in a subdirectory because
3286 # it helps to detect inapplicable dependency modes. For instance
3287 # both Tru64's cc and ICC support -MD to output dependencies as a
3288 # side effect of compilation, but ICC will put the dependencies in
3289 # the current directory while Tru64 will put them in the object
3290 # directory.
3291 mkdir sub
3292
3293 am_cv_CXX_dependencies_compiler_type=none
3294 if test "$am_compiler_list" = ""; then
3295 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3296 fi
3297 am__universal=false
3298 case " $depcc " in #(
3299 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3300 esac
3301
3302 for depmode in $am_compiler_list; do
3303 # Setup a source with many dependencies, because some compilers
3304 # like to wrap large dependency lists on column 80 (with \), and
3305 # we should not choose a depcomp mode which is confused by this.
3306 #
3307 # We need to recreate these files for each test, as the compiler may
3308 # overwrite some of them when testing with obscure command lines.
3309 # This happens at least with the AIX C compiler.
3310 : > sub/conftest.c
3311 for i in 1 2 3 4 5 6; do
3312 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3313 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3314 # Solaris 8's {/usr,}/bin/sh.
3315 touch sub/conftst$i.h
3316 done
3317 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3318
3319 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3320 # mode. It turns out that the SunPro C++ compiler does not properly
3321 # handle `-M -o', and we need to detect this. Also, some Intel
3322 # versions had trouble with output in subdirs
3323 am__obj=sub/conftest.${OBJEXT-o}
3324 am__minus_obj="-o $am__obj"
3325 case $depmode in
3326 gcc)
3327 # This depmode causes a compiler race in universal mode.
3328 test "$am__universal" = false || continue
3329 ;;
3330 nosideeffect)
3331 # after this tag, mechanisms are not by side-effect, so they'll
3332 # only be used when explicitly requested
3333 if test "x$enable_dependency_tracking" = xyes; then
3334 continue
3335 else
3336 break
3337 fi
3338 ;;
3339 msvisualcpp | msvcmsys)
3340 # This compiler won't grok `-c -o', but also, the minuso test has
3341 # not run yet. These depmodes are late enough in the game, and
3342 # so weak that their functioning should not be impacted.
3343 am__obj=conftest.${OBJEXT-o}
3344 am__minus_obj=
3345 ;;
3346 none) break ;;
3347 esac
3348 if depmode=$depmode \
3349 source=sub/conftest.c object=$am__obj \
3350 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3351 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3352 >/dev/null 2>conftest.err &&
3353 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3354 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3355 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3356 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3357 # icc doesn't choke on unknown options, it will just issue warnings
3358 # or remarks (even with -Werror). So we grep stderr for any message
3359 # that says an option was ignored or not supported.
3360 # When given -MP, icc 7.0 and 7.1 complain thusly:
3361 # icc: Command line warning: ignoring option '-M'; no argument required
3362 # The diagnosis changed in icc 8.0:
3363 # icc: Command line remark: option '-MP' not supported
3364 if (grep 'ignoring option' conftest.err ||
3365 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3366 am_cv_CXX_dependencies_compiler_type=$depmode
3367 break
3368 fi
3369 fi
3370 done
3371
3372 cd ..
3373 rm -rf conftest.dir
3374 else
3375 am_cv_CXX_dependencies_compiler_type=none
3376 fi
3377
3378 fi
3379 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3380 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3381 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3382
3383 if
3384 test "x$enable_dependency_tracking" != xno \
3385 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3386 am__fastdepCXX_TRUE=
3387 am__fastdepCXX_FALSE='#'
3388 else
3389 am__fastdepCXX_TRUE='#'
3390 am__fastdepCXX_FALSE=
3391 fi
3392
3393
3394 ac_ext=c
3395 ac_cpp='$CPP $CPPFLAGS'
3396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3399 if test -n "$ac_tool_prefix"; then
3400 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3401 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3402 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3403 $as_echo_n "checking for $ac_word... " >&6; }
3404 if test "${ac_cv_prog_CC+set}" = set; then
3405 $as_echo_n "(cached) " >&6
3406 else
3407 if test -n "$CC"; then
3408 ac_cv_prog_CC="$CC" # Let the user override the test.
3409 else
3410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3411 for as_dir in $PATH
3412 do
3413 IFS=$as_save_IFS
3414 test -z "$as_dir" && as_dir=.
3415 for ac_exec_ext in '' $ac_executable_extensions; do
3416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3417 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3418 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3419 break 2
3420 fi
3421 done
3422 done
3423 IFS=$as_save_IFS
3424
3425 fi
3426 fi
3427 CC=$ac_cv_prog_CC
3428 if test -n "$CC"; then
3429 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3430 $as_echo "$CC" >&6; }
3431 else
3432 { $as_echo "$as_me:$LINENO: result: no" >&5
3433 $as_echo "no" >&6; }
3434 fi
3435
3436
3437 fi
3438 if test -z "$ac_cv_prog_CC"; then
3439 ac_ct_CC=$CC
3440 # Extract the first word of "gcc", so it can be a program name with args.
3441 set dummy gcc; ac_word=$2
3442 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3443 $as_echo_n "checking for $ac_word... " >&6; }
3444 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3445 $as_echo_n "(cached) " >&6
3446 else
3447 if test -n "$ac_ct_CC"; then
3448 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3449 else
3450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3451 for as_dir in $PATH
3452 do
3453 IFS=$as_save_IFS
3454 test -z "$as_dir" && as_dir=.
3455 for ac_exec_ext in '' $ac_executable_extensions; do
3456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3457 ac_cv_prog_ac_ct_CC="gcc"
3458 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3459 break 2
3460 fi
3461 done
3462 done
3463 IFS=$as_save_IFS
3464
3465 fi
3466 fi
3467 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3468 if test -n "$ac_ct_CC"; then
3469 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3470 $as_echo "$ac_ct_CC" >&6; }
3471 else
3472 { $as_echo "$as_me:$LINENO: result: no" >&5
3473 $as_echo "no" >&6; }
3474 fi
3475
3476 if test "x$ac_ct_CC" = x; then
3477 CC=""
3478 else
3479 case $cross_compiling:$ac_tool_warned in
3480 yes:)
3481 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3483 ac_tool_warned=yes ;;
3484 esac
3485 CC=$ac_ct_CC
3486 fi
3487 else
3488 CC="$ac_cv_prog_CC"
3489 fi
3490
3491 if test -z "$CC"; then
3492 if test -n "$ac_tool_prefix"; then
3493 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3494 set dummy ${ac_tool_prefix}cc; ac_word=$2
3495 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3496 $as_echo_n "checking for $ac_word... " >&6; }
3497 if test "${ac_cv_prog_CC+set}" = set; then
3498 $as_echo_n "(cached) " >&6
3499 else
3500 if test -n "$CC"; then
3501 ac_cv_prog_CC="$CC" # Let the user override the test.
3502 else
3503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3504 for as_dir in $PATH
3505 do
3506 IFS=$as_save_IFS
3507 test -z "$as_dir" && as_dir=.
3508 for ac_exec_ext in '' $ac_executable_extensions; do
3509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3510 ac_cv_prog_CC="${ac_tool_prefix}cc"
3511 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3512 break 2
3513 fi
3514 done
3515 done
3516 IFS=$as_save_IFS
3517
3518 fi
3519 fi
3520 CC=$ac_cv_prog_CC
3521 if test -n "$CC"; then
3522 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3523 $as_echo "$CC" >&6; }
3524 else
3525 { $as_echo "$as_me:$LINENO: result: no" >&5
3526 $as_echo "no" >&6; }
3527 fi
3528
3529
3530 fi
3531 fi
3532 if test -z "$CC"; then
3533 # Extract the first word of "cc", so it can be a program name with args.
3534 set dummy cc; ac_word=$2
3535 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3536 $as_echo_n "checking for $ac_word... " >&6; }
3537 if test "${ac_cv_prog_CC+set}" = set; then
3538 $as_echo_n "(cached) " >&6
3539 else
3540 if test -n "$CC"; then
3541 ac_cv_prog_CC="$CC" # Let the user override the test.
3542 else
3543 ac_prog_rejected=no
3544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545 for as_dir in $PATH
3546 do
3547 IFS=$as_save_IFS
3548 test -z "$as_dir" && as_dir=.
3549 for ac_exec_ext in '' $ac_executable_extensions; do
3550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3551 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3552 ac_prog_rejected=yes
3553 continue
3554 fi
3555 ac_cv_prog_CC="cc"
3556 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3557 break 2
3558 fi
3559 done
3560 done
3561 IFS=$as_save_IFS
3562
3563 if test $ac_prog_rejected = yes; then
3564 # We found a bogon in the path, so make sure we never use it.
3565 set dummy $ac_cv_prog_CC
3566 shift
3567 if test $# != 0; then
3568 # We chose a different compiler from the bogus one.
3569 # However, it has the same basename, so the bogon will be chosen
3570 # first if we set CC to just the basename; use the full file name.
3571 shift
3572 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3573 fi
3574 fi
3575 fi
3576 fi
3577 CC=$ac_cv_prog_CC
3578 if test -n "$CC"; then
3579 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3580 $as_echo "$CC" >&6; }
3581 else
3582 { $as_echo "$as_me:$LINENO: result: no" >&5
3583 $as_echo "no" >&6; }
3584 fi
3585
3586
3587 fi
3588 if test -z "$CC"; then
3589 if test -n "$ac_tool_prefix"; then
3590 for ac_prog in cl.exe
3591 do
3592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3593 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3594 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3595 $as_echo_n "checking for $ac_word... " >&6; }
3596 if test "${ac_cv_prog_CC+set}" = set; then
3597 $as_echo_n "(cached) " >&6
3598 else
3599 if test -n "$CC"; then
3600 ac_cv_prog_CC="$CC" # Let the user override the test.
3601 else
3602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3603 for as_dir in $PATH
3604 do
3605 IFS=$as_save_IFS
3606 test -z "$as_dir" && as_dir=.
3607 for ac_exec_ext in '' $ac_executable_extensions; do
3608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3609 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3610 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3611 break 2
3612 fi
3613 done
3614 done
3615 IFS=$as_save_IFS
3616
3617 fi
3618 fi
3619 CC=$ac_cv_prog_CC
3620 if test -n "$CC"; then
3621 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3622 $as_echo "$CC" >&6; }
3623 else
3624 { $as_echo "$as_me:$LINENO: result: no" >&5
3625 $as_echo "no" >&6; }
3626 fi
3627
3628
3629 test -n "$CC" && break
3630 done
3631 fi
3632 if test -z "$CC"; then
3633 ac_ct_CC=$CC
3634 for ac_prog in cl.exe
3635 do
3636 # Extract the first word of "$ac_prog", so it can be a program name with args.
3637 set dummy $ac_prog; ac_word=$2
3638 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3641 $as_echo_n "(cached) " >&6
3642 else
3643 if test -n "$ac_ct_CC"; then
3644 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3645 else
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 for as_dir in $PATH
3648 do
3649 IFS=$as_save_IFS
3650 test -z "$as_dir" && as_dir=.
3651 for ac_exec_ext in '' $ac_executable_extensions; do
3652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3653 ac_cv_prog_ac_ct_CC="$ac_prog"
3654 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3655 break 2
3656 fi
3657 done
3658 done
3659 IFS=$as_save_IFS
3660
3661 fi
3662 fi
3663 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3664 if test -n "$ac_ct_CC"; then
3665 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3666 $as_echo "$ac_ct_CC" >&6; }
3667 else
3668 { $as_echo "$as_me:$LINENO: result: no" >&5
3669 $as_echo "no" >&6; }
3670 fi
3671
3672
3673 test -n "$ac_ct_CC" && break
3674 done
3675
3676 if test "x$ac_ct_CC" = x; then
3677 CC=""
3678 else
3679 case $cross_compiling:$ac_tool_warned in
3680 yes:)
3681 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3683 ac_tool_warned=yes ;;
3684 esac
3685 CC=$ac_ct_CC
3686 fi
3687 fi
3688
3689 fi
3690
3691
3692 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3694 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3695 See \`config.log' for more details." >&5
3696 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3697 See \`config.log' for more details." >&2;}
3698 { (exit 1); exit 1; }; }; }
3699
3700 # Provide some information about the compiler.
3701 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3702 set X $ac_compile
3703 ac_compiler=$2
3704 { (ac_try="$ac_compiler --version >&5"
3705 case "(($ac_try" in
3706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3707 *) ac_try_echo=$ac_try;;
3708 esac
3709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3710 $as_echo "$ac_try_echo") >&5
3711 (eval "$ac_compiler --version >&5") 2>&5
3712 ac_status=$?
3713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); }
3715 { (ac_try="$ac_compiler -v >&5"
3716 case "(($ac_try" in
3717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3718 *) ac_try_echo=$ac_try;;
3719 esac
3720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3721 $as_echo "$ac_try_echo") >&5
3722 (eval "$ac_compiler -v >&5") 2>&5
3723 ac_status=$?
3724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725 (exit $ac_status); }
3726 { (ac_try="$ac_compiler -V >&5"
3727 case "(($ac_try" in
3728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3729 *) ac_try_echo=$ac_try;;
3730 esac
3731 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3732 $as_echo "$ac_try_echo") >&5
3733 (eval "$ac_compiler -V >&5") 2>&5
3734 ac_status=$?
3735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736 (exit $ac_status); }
3737
3738 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3739 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3740 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3741 $as_echo_n "(cached) " >&6
3742 else
3743 cat >conftest.$ac_ext <<_ACEOF
3744 /* confdefs.h. */
3745 _ACEOF
3746 cat confdefs.h >>conftest.$ac_ext
3747 cat >>conftest.$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3749
3750 int
3751 main ()
3752 {
3753 #ifndef __GNUC__
3754 choke me
3755 #endif
3756
3757 ;
3758 return 0;
3759 }
3760 _ACEOF
3761 rm -f conftest.$ac_objext
3762 if { (ac_try="$ac_compile"
3763 case "(($ac_try" in
3764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3765 *) ac_try_echo=$ac_try;;
3766 esac
3767 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3768 $as_echo "$ac_try_echo") >&5
3769 (eval "$ac_compile") 2>conftest.er1
3770 ac_status=$?
3771 grep -v '^ *+' conftest.er1 >conftest.err
3772 rm -f conftest.er1
3773 cat conftest.err >&5
3774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775 (exit $ac_status); } && {
3776 test -z "$ac_c_werror_flag" ||
3777 test ! -s conftest.err
3778 } && test -s conftest.$ac_objext; then
3779 ac_compiler_gnu=yes
3780 else
3781 $as_echo "$as_me: failed program was:" >&5
3782 sed 's/^/| /' conftest.$ac_ext >&5
3783
3784 ac_compiler_gnu=no
3785 fi
3786
3787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3788 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3789
3790 fi
3791 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3792 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3793 if test $ac_compiler_gnu = yes; then
3794 GCC=yes
3795 else
3796 GCC=
3797 fi
3798 ac_test_CFLAGS=${CFLAGS+set}
3799 ac_save_CFLAGS=$CFLAGS
3800 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3801 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3802 if test "${ac_cv_prog_cc_g+set}" = set; then
3803 $as_echo_n "(cached) " >&6
3804 else
3805 ac_save_c_werror_flag=$ac_c_werror_flag
3806 ac_c_werror_flag=yes
3807 ac_cv_prog_cc_g=no
3808 CFLAGS="-g"
3809 cat >conftest.$ac_ext <<_ACEOF
3810 /* confdefs.h. */
3811 _ACEOF
3812 cat confdefs.h >>conftest.$ac_ext
3813 cat >>conftest.$ac_ext <<_ACEOF
3814 /* end confdefs.h. */
3815
3816 int
3817 main ()
3818 {
3819
3820 ;
3821 return 0;
3822 }
3823 _ACEOF
3824 rm -f conftest.$ac_objext
3825 if { (ac_try="$ac_compile"
3826 case "(($ac_try" in
3827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3828 *) ac_try_echo=$ac_try;;
3829 esac
3830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3831 $as_echo "$ac_try_echo") >&5
3832 (eval "$ac_compile") 2>conftest.er1
3833 ac_status=$?
3834 grep -v '^ *+' conftest.er1 >conftest.err
3835 rm -f conftest.er1
3836 cat conftest.err >&5
3837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); } && {
3839 test -z "$ac_c_werror_flag" ||
3840 test ! -s conftest.err
3841 } && test -s conftest.$ac_objext; then
3842 ac_cv_prog_cc_g=yes
3843 else
3844 $as_echo "$as_me: failed program was:" >&5
3845 sed 's/^/| /' conftest.$ac_ext >&5
3846
3847 CFLAGS=""
3848 cat >conftest.$ac_ext <<_ACEOF
3849 /* confdefs.h. */
3850 _ACEOF
3851 cat confdefs.h >>conftest.$ac_ext
3852 cat >>conftest.$ac_ext <<_ACEOF
3853 /* end confdefs.h. */
3854
3855 int
3856 main ()
3857 {
3858
3859 ;
3860 return 0;
3861 }
3862 _ACEOF
3863 rm -f conftest.$ac_objext
3864 if { (ac_try="$ac_compile"
3865 case "(($ac_try" in
3866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3867 *) ac_try_echo=$ac_try;;
3868 esac
3869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3870 $as_echo "$ac_try_echo") >&5
3871 (eval "$ac_compile") 2>conftest.er1
3872 ac_status=$?
3873 grep -v '^ *+' conftest.er1 >conftest.err
3874 rm -f conftest.er1
3875 cat conftest.err >&5
3876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); } && {
3878 test -z "$ac_c_werror_flag" ||
3879 test ! -s conftest.err
3880 } && test -s conftest.$ac_objext; then
3881 :
3882 else
3883 $as_echo "$as_me: failed program was:" >&5
3884 sed 's/^/| /' conftest.$ac_ext >&5
3885
3886 ac_c_werror_flag=$ac_save_c_werror_flag
3887 CFLAGS="-g"
3888 cat >conftest.$ac_ext <<_ACEOF
3889 /* confdefs.h. */
3890 _ACEOF
3891 cat confdefs.h >>conftest.$ac_ext
3892 cat >>conftest.$ac_ext <<_ACEOF
3893 /* end confdefs.h. */
3894
3895 int
3896 main ()
3897 {
3898
3899 ;
3900 return 0;
3901 }
3902 _ACEOF
3903 rm -f conftest.$ac_objext
3904 if { (ac_try="$ac_compile"
3905 case "(($ac_try" in
3906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3907 *) ac_try_echo=$ac_try;;
3908 esac
3909 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3910 $as_echo "$ac_try_echo") >&5
3911 (eval "$ac_compile") 2>conftest.er1
3912 ac_status=$?
3913 grep -v '^ *+' conftest.er1 >conftest.err
3914 rm -f conftest.er1
3915 cat conftest.err >&5
3916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917 (exit $ac_status); } && {
3918 test -z "$ac_c_werror_flag" ||
3919 test ! -s conftest.err
3920 } && test -s conftest.$ac_objext; then
3921 ac_cv_prog_cc_g=yes
3922 else
3923 $as_echo "$as_me: failed program was:" >&5
3924 sed 's/^/| /' conftest.$ac_ext >&5
3925
3926
3927 fi
3928
3929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3930 fi
3931
3932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3933 fi
3934
3935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3936 ac_c_werror_flag=$ac_save_c_werror_flag
3937 fi
3938 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3939 $as_echo "$ac_cv_prog_cc_g" >&6; }
3940 if test "$ac_test_CFLAGS" = set; then
3941 CFLAGS=$ac_save_CFLAGS
3942 elif test $ac_cv_prog_cc_g = yes; then
3943 if test "$GCC" = yes; then
3944 CFLAGS="-g -O2"
3945 else
3946 CFLAGS="-g"
3947 fi
3948 else
3949 if test "$GCC" = yes; then
3950 CFLAGS="-O2"
3951 else
3952 CFLAGS=
3953 fi
3954 fi
3955 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3956 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3957 if test "${ac_cv_prog_cc_c89+set}" = set; then
3958 $as_echo_n "(cached) " >&6
3959 else
3960 ac_cv_prog_cc_c89=no
3961 ac_save_CC=$CC
3962 cat >conftest.$ac_ext <<_ACEOF
3963 /* confdefs.h. */
3964 _ACEOF
3965 cat confdefs.h >>conftest.$ac_ext
3966 cat >>conftest.$ac_ext <<_ACEOF
3967 /* end confdefs.h. */
3968 #include <stdarg.h>
3969 #include <stdio.h>
3970 #include <sys/types.h>
3971 #include <sys/stat.h>
3972 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3973 struct buf { int x; };
3974 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3975 static char *e (p, i)
3976 char **p;
3977 int i;
3978 {
3979 return p[i];
3980 }
3981 static char *f (char * (*g) (char **, int), char **p, ...)
3982 {
3983 char *s;
3984 va_list v;
3985 va_start (v,p);
3986 s = g (p, va_arg (v,int));
3987 va_end (v);
3988 return s;
3989 }
3990
3991 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3992 function prototypes and stuff, but not '\xHH' hex character constants.
3993 These don't provoke an error unfortunately, instead are silently treated
3994 as 'x'. The following induces an error, until -std is added to get
3995 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3996 array size at least. It's necessary to write '\x00'==0 to get something
3997 that's true only with -std. */
3998 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3999
4000 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4001 inside strings and character constants. */
4002 #define FOO(x) 'x'
4003 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4004
4005 int test (int i, double x);
4006 struct s1 {int (*f) (int a);};
4007 struct s2 {int (*f) (double a);};
4008 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4009 int argc;
4010 char **argv;
4011 int
4012 main ()
4013 {
4014 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4015 ;
4016 return 0;
4017 }
4018 _ACEOF
4019 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4020 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4021 do
4022 CC="$ac_save_CC $ac_arg"
4023 rm -f conftest.$ac_objext
4024 if { (ac_try="$ac_compile"
4025 case "(($ac_try" in
4026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4027 *) ac_try_echo=$ac_try;;
4028 esac
4029 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4030 $as_echo "$ac_try_echo") >&5
4031 (eval "$ac_compile") 2>conftest.er1
4032 ac_status=$?
4033 grep -v '^ *+' conftest.er1 >conftest.err
4034 rm -f conftest.er1
4035 cat conftest.err >&5
4036 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); } && {
4038 test -z "$ac_c_werror_flag" ||
4039 test ! -s conftest.err
4040 } && test -s conftest.$ac_objext; then
4041 ac_cv_prog_cc_c89=$ac_arg
4042 else
4043 $as_echo "$as_me: failed program was:" >&5
4044 sed 's/^/| /' conftest.$ac_ext >&5
4045
4046
4047 fi
4048
4049 rm -f core conftest.err conftest.$ac_objext
4050 test "x$ac_cv_prog_cc_c89" != "xno" && break
4051 done
4052 rm -f conftest.$ac_ext
4053 CC=$ac_save_CC
4054
4055 fi
4056 # AC_CACHE_VAL
4057 case "x$ac_cv_prog_cc_c89" in
4058 x)
4059 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4060 $as_echo "none needed" >&6; } ;;
4061 xno)
4062 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4063 $as_echo "unsupported" >&6; } ;;
4064 *)
4065 CC="$CC $ac_cv_prog_cc_c89"
4066 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4067 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4068 esac
4069
4070
4071 ac_ext=cpp
4072 ac_cpp='$CXXCPP $CPPFLAGS'
4073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4076
4077 depcc="$CC" am_compiler_list=
4078
4079 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4080 $as_echo_n "checking dependency style of $depcc... " >&6; }
4081 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4082 $as_echo_n "(cached) " >&6
4083 else
4084 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4085 # We make a subdir and do the tests there. Otherwise we can end up
4086 # making bogus files that we don't know about and never remove. For
4087 # instance it was reported that on HP-UX the gcc test will end up
4088 # making a dummy file named `D' -- because `-MD' means `put the output
4089 # in D'.
4090 mkdir conftest.dir
4091 # Copy depcomp to subdir because otherwise we won't find it if we're
4092 # using a relative directory.
4093 cp "$am_depcomp" conftest.dir
4094 cd conftest.dir
4095 # We will build objects and dependencies in a subdirectory because
4096 # it helps to detect inapplicable dependency modes. For instance
4097 # both Tru64's cc and ICC support -MD to output dependencies as a
4098 # side effect of compilation, but ICC will put the dependencies in
4099 # the current directory while Tru64 will put them in the object
4100 # directory.
4101 mkdir sub
4102
4103 am_cv_CC_dependencies_compiler_type=none
4104 if test "$am_compiler_list" = ""; then
4105 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4106 fi
4107 am__universal=false
4108 case " $depcc " in #(
4109 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4110 esac
4111
4112 for depmode in $am_compiler_list; do
4113 # Setup a source with many dependencies, because some compilers
4114 # like to wrap large dependency lists on column 80 (with \), and
4115 # we should not choose a depcomp mode which is confused by this.
4116 #
4117 # We need to recreate these files for each test, as the compiler may
4118 # overwrite some of them when testing with obscure command lines.
4119 # This happens at least with the AIX C compiler.
4120 : > sub/conftest.c
4121 for i in 1 2 3 4 5 6; do
4122 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4123 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4124 # Solaris 8's {/usr,}/bin/sh.
4125 touch sub/conftst$i.h
4126 done
4127 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4128
4129 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4130 # mode. It turns out that the SunPro C++ compiler does not properly
4131 # handle `-M -o', and we need to detect this. Also, some Intel
4132 # versions had trouble with output in subdirs
4133 am__obj=sub/conftest.${OBJEXT-o}
4134 am__minus_obj="-o $am__obj"
4135 case $depmode in
4136 gcc)
4137 # This depmode causes a compiler race in universal mode.
4138 test "$am__universal" = false || continue
4139 ;;
4140 nosideeffect)
4141 # after this tag, mechanisms are not by side-effect, so they'll
4142 # only be used when explicitly requested
4143 if test "x$enable_dependency_tracking" = xyes; then
4144 continue
4145 else
4146 break
4147 fi
4148 ;;
4149 msvisualcpp | msvcmsys)
4150 # This compiler won't grok `-c -o', but also, the minuso test has
4151 # not run yet. These depmodes are late enough in the game, and
4152 # so weak that their functioning should not be impacted.
4153 am__obj=conftest.${OBJEXT-o}
4154 am__minus_obj=
4155 ;;
4156 none) break ;;
4157 esac
4158 if depmode=$depmode \
4159 source=sub/conftest.c object=$am__obj \
4160 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4161 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4162 >/dev/null 2>conftest.err &&
4163 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4164 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4165 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4166 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4167 # icc doesn't choke on unknown options, it will just issue warnings
4168 # or remarks (even with -Werror). So we grep stderr for any message
4169 # that says an option was ignored or not supported.
4170 # When given -MP, icc 7.0 and 7.1 complain thusly:
4171 # icc: Command line warning: ignoring option '-M'; no argument required
4172 # The diagnosis changed in icc 8.0:
4173 # icc: Command line remark: option '-MP' not supported
4174 if (grep 'ignoring option' conftest.err ||
4175 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4176 am_cv_CC_dependencies_compiler_type=$depmode
4177 break
4178 fi
4179 fi
4180 done
4181
4182 cd ..
4183 rm -rf conftest.dir
4184 else
4185 am_cv_CC_dependencies_compiler_type=none
4186 fi
4187
4188 fi
4189 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4190 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4191 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4192
4193 if
4194 test "x$enable_dependency_tracking" != xno \
4195 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4196 am__fastdepCC_TRUE=
4197 am__fastdepCC_FALSE='#'
4198 else
4199 am__fastdepCC_TRUE='#'
4200 am__fastdepCC_FALSE=
4201 fi
4202
4203
4204 ac_ext=c
4205 ac_cpp='$CPP $CPPFLAGS'
4206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4209 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4210 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4211 # On Suns, sometimes $CPP names a directory.
4212 if test -n "$CPP" && test -d "$CPP"; then
4213 CPP=
4214 fi
4215 if test -z "$CPP"; then
4216 if test "${ac_cv_prog_CPP+set}" = set; then
4217 $as_echo_n "(cached) " >&6
4218 else
4219 # Double quotes because CPP needs to be expanded
4220 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4221 do
4222 ac_preproc_ok=false
4223 for ac_c_preproc_warn_flag in '' yes
4224 do
4225 # Use a header file that comes with gcc, so configuring glibc
4226 # with a fresh cross-compiler works.
4227 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4228 # <limits.h> exists even on freestanding compilers.
4229 # On the NeXT, cc -E runs the code through the compiler's parser,
4230 # not just through cpp. "Syntax error" is here to catch this case.
4231 cat >conftest.$ac_ext <<_ACEOF
4232 /* confdefs.h. */
4233 _ACEOF
4234 cat confdefs.h >>conftest.$ac_ext
4235 cat >>conftest.$ac_ext <<_ACEOF
4236 /* end confdefs.h. */
4237 #ifdef __STDC__
4238 # include <limits.h>
4239 #else
4240 # include <assert.h>
4241 #endif
4242 Syntax error
4243 _ACEOF
4244 if { (ac_try="$ac_cpp conftest.$ac_ext"
4245 case "(($ac_try" in
4246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4247 *) ac_try_echo=$ac_try;;
4248 esac
4249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4250 $as_echo "$ac_try_echo") >&5
4251 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4252 ac_status=$?
4253 grep -v '^ *+' conftest.er1 >conftest.err
4254 rm -f conftest.er1
4255 cat conftest.err >&5
4256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); } >/dev/null && {
4258 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4259 test ! -s conftest.err
4260 }; then
4261 :
4262 else
4263 $as_echo "$as_me: failed program was:" >&5
4264 sed 's/^/| /' conftest.$ac_ext >&5
4265
4266 # Broken: fails on valid input.
4267 continue
4268 fi
4269
4270 rm -f conftest.err conftest.$ac_ext
4271
4272 # OK, works on sane cases. Now check whether nonexistent headers
4273 # can be detected and how.
4274 cat >conftest.$ac_ext <<_ACEOF
4275 /* confdefs.h. */
4276 _ACEOF
4277 cat confdefs.h >>conftest.$ac_ext
4278 cat >>conftest.$ac_ext <<_ACEOF
4279 /* end confdefs.h. */
4280 #include <ac_nonexistent.h>
4281 _ACEOF
4282 if { (ac_try="$ac_cpp conftest.$ac_ext"
4283 case "(($ac_try" in
4284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4285 *) ac_try_echo=$ac_try;;
4286 esac
4287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4288 $as_echo "$ac_try_echo") >&5
4289 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4290 ac_status=$?
4291 grep -v '^ *+' conftest.er1 >conftest.err
4292 rm -f conftest.er1
4293 cat conftest.err >&5
4294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295 (exit $ac_status); } >/dev/null && {
4296 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4297 test ! -s conftest.err
4298 }; then
4299 # Broken: success on invalid input.
4300 continue
4301 else
4302 $as_echo "$as_me: failed program was:" >&5
4303 sed 's/^/| /' conftest.$ac_ext >&5
4304
4305 # Passes both tests.
4306 ac_preproc_ok=:
4307 break
4308 fi
4309
4310 rm -f conftest.err conftest.$ac_ext
4311
4312 done
4313 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4314 rm -f conftest.err conftest.$ac_ext
4315 if $ac_preproc_ok; then
4316 break
4317 fi
4318
4319 done
4320 ac_cv_prog_CPP=$CPP
4321
4322 fi
4323 CPP=$ac_cv_prog_CPP
4324 else
4325 ac_cv_prog_CPP=$CPP
4326 fi
4327 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4328 $as_echo "$CPP" >&6; }
4329 ac_preproc_ok=false
4330 for ac_c_preproc_warn_flag in '' yes
4331 do
4332 # Use a header file that comes with gcc, so configuring glibc
4333 # with a fresh cross-compiler works.
4334 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4335 # <limits.h> exists even on freestanding compilers.
4336 # On the NeXT, cc -E runs the code through the compiler's parser,
4337 # not just through cpp. "Syntax error" is here to catch this case.
4338 cat >conftest.$ac_ext <<_ACEOF
4339 /* confdefs.h. */
4340 _ACEOF
4341 cat confdefs.h >>conftest.$ac_ext
4342 cat >>conftest.$ac_ext <<_ACEOF
4343 /* end confdefs.h. */
4344 #ifdef __STDC__
4345 # include <limits.h>
4346 #else
4347 # include <assert.h>
4348 #endif
4349 Syntax error
4350 _ACEOF
4351 if { (ac_try="$ac_cpp conftest.$ac_ext"
4352 case "(($ac_try" in
4353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354 *) ac_try_echo=$ac_try;;
4355 esac
4356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4357 $as_echo "$ac_try_echo") >&5
4358 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4359 ac_status=$?
4360 grep -v '^ *+' conftest.er1 >conftest.err
4361 rm -f conftest.er1
4362 cat conftest.err >&5
4363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } >/dev/null && {
4365 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4366 test ! -s conftest.err
4367 }; then
4368 :
4369 else
4370 $as_echo "$as_me: failed program was:" >&5
4371 sed 's/^/| /' conftest.$ac_ext >&5
4372
4373 # Broken: fails on valid input.
4374 continue
4375 fi
4376
4377 rm -f conftest.err conftest.$ac_ext
4378
4379 # OK, works on sane cases. Now check whether nonexistent headers
4380 # can be detected and how.
4381 cat >conftest.$ac_ext <<_ACEOF
4382 /* confdefs.h. */
4383 _ACEOF
4384 cat confdefs.h >>conftest.$ac_ext
4385 cat >>conftest.$ac_ext <<_ACEOF
4386 /* end confdefs.h. */
4387 #include <ac_nonexistent.h>
4388 _ACEOF
4389 if { (ac_try="$ac_cpp conftest.$ac_ext"
4390 case "(($ac_try" in
4391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4392 *) ac_try_echo=$ac_try;;
4393 esac
4394 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4395 $as_echo "$ac_try_echo") >&5
4396 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4397 ac_status=$?
4398 grep -v '^ *+' conftest.er1 >conftest.err
4399 rm -f conftest.er1
4400 cat conftest.err >&5
4401 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4402 (exit $ac_status); } >/dev/null && {
4403 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4404 test ! -s conftest.err
4405 }; then
4406 # Broken: success on invalid input.
4407 continue
4408 else
4409 $as_echo "$as_me: failed program was:" >&5
4410 sed 's/^/| /' conftest.$ac_ext >&5
4411
4412 # Passes both tests.
4413 ac_preproc_ok=:
4414 break
4415 fi
4416
4417 rm -f conftest.err conftest.$ac_ext
4418
4419 done
4420 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4421 rm -f conftest.err conftest.$ac_ext
4422 if $ac_preproc_ok; then
4423 :
4424 else
4425 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4427 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4428 See \`config.log' for more details." >&5
4429 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4430 See \`config.log' for more details." >&2;}
4431 { (exit 1); exit 1; }; }; }
4432 fi
4433
4434 ac_ext=cpp
4435 ac_cpp='$CXXCPP $CPPFLAGS'
4436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4439
4440 ac_ext=cpp
4441 ac_cpp='$CXXCPP $CPPFLAGS'
4442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4445 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4446 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4447 if test -z "$CXXCPP"; then
4448 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4449 $as_echo_n "(cached) " >&6
4450 else
4451 # Double quotes because CXXCPP needs to be expanded
4452 for CXXCPP in "$CXX -E" "/lib/cpp"
4453 do
4454 ac_preproc_ok=false
4455 for ac_cxx_preproc_warn_flag in '' yes
4456 do
4457 # Use a header file that comes with gcc, so configuring glibc
4458 # with a fresh cross-compiler works.
4459 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4460 # <limits.h> exists even on freestanding compilers.
4461 # On the NeXT, cc -E runs the code through the compiler's parser,
4462 # not just through cpp. "Syntax error" is here to catch this case.
4463 cat >conftest.$ac_ext <<_ACEOF
4464 /* confdefs.h. */
4465 _ACEOF
4466 cat confdefs.h >>conftest.$ac_ext
4467 cat >>conftest.$ac_ext <<_ACEOF
4468 /* end confdefs.h. */
4469 #ifdef __STDC__
4470 # include <limits.h>
4471 #else
4472 # include <assert.h>
4473 #endif
4474 Syntax error
4475 _ACEOF
4476 if { (ac_try="$ac_cpp conftest.$ac_ext"
4477 case "(($ac_try" in
4478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4479 *) ac_try_echo=$ac_try;;
4480 esac
4481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4482 $as_echo "$ac_try_echo") >&5
4483 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4484 ac_status=$?
4485 grep -v '^ *+' conftest.er1 >conftest.err
4486 rm -f conftest.er1
4487 cat conftest.err >&5
4488 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); } >/dev/null && {
4490 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4491 test ! -s conftest.err
4492 }; then
4493 :
4494 else
4495 $as_echo "$as_me: failed program was:" >&5
4496 sed 's/^/| /' conftest.$ac_ext >&5
4497
4498 # Broken: fails on valid input.
4499 continue
4500 fi
4501
4502 rm -f conftest.err conftest.$ac_ext
4503
4504 # OK, works on sane cases. Now check whether nonexistent headers
4505 # can be detected and how.
4506 cat >conftest.$ac_ext <<_ACEOF
4507 /* confdefs.h. */
4508 _ACEOF
4509 cat confdefs.h >>conftest.$ac_ext
4510 cat >>conftest.$ac_ext <<_ACEOF
4511 /* end confdefs.h. */
4512 #include <ac_nonexistent.h>
4513 _ACEOF
4514 if { (ac_try="$ac_cpp conftest.$ac_ext"
4515 case "(($ac_try" in
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4518 esac
4519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4520 $as_echo "$ac_try_echo") >&5
4521 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4522 ac_status=$?
4523 grep -v '^ *+' conftest.er1 >conftest.err
4524 rm -f conftest.er1
4525 cat conftest.err >&5
4526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); } >/dev/null && {
4528 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4529 test ! -s conftest.err
4530 }; then
4531 # Broken: success on invalid input.
4532 continue
4533 else
4534 $as_echo "$as_me: failed program was:" >&5
4535 sed 's/^/| /' conftest.$ac_ext >&5
4536
4537 # Passes both tests.
4538 ac_preproc_ok=:
4539 break
4540 fi
4541
4542 rm -f conftest.err conftest.$ac_ext
4543
4544 done
4545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4546 rm -f conftest.err conftest.$ac_ext
4547 if $ac_preproc_ok; then
4548 break
4549 fi
4550
4551 done
4552 ac_cv_prog_CXXCPP=$CXXCPP
4553
4554 fi
4555 CXXCPP=$ac_cv_prog_CXXCPP
4556 else
4557 ac_cv_prog_CXXCPP=$CXXCPP
4558 fi
4559 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
4560 $as_echo "$CXXCPP" >&6; }
4561 ac_preproc_ok=false
4562 for ac_cxx_preproc_warn_flag in '' yes
4563 do
4564 # Use a header file that comes with gcc, so configuring glibc
4565 # with a fresh cross-compiler works.
4566 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4567 # <limits.h> exists even on freestanding compilers.
4568 # On the NeXT, cc -E runs the code through the compiler's parser,
4569 # not just through cpp. "Syntax error" is here to catch this case.
4570 cat >conftest.$ac_ext <<_ACEOF
4571 /* confdefs.h. */
4572 _ACEOF
4573 cat confdefs.h >>conftest.$ac_ext
4574 cat >>conftest.$ac_ext <<_ACEOF
4575 /* end confdefs.h. */
4576 #ifdef __STDC__
4577 # include <limits.h>
4578 #else
4579 # include <assert.h>
4580 #endif
4581 Syntax error
4582 _ACEOF
4583 if { (ac_try="$ac_cpp conftest.$ac_ext"
4584 case "(($ac_try" in
4585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4586 *) ac_try_echo=$ac_try;;
4587 esac
4588 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4589 $as_echo "$ac_try_echo") >&5
4590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4591 ac_status=$?
4592 grep -v '^ *+' conftest.er1 >conftest.err
4593 rm -f conftest.er1
4594 cat conftest.err >&5
4595 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); } >/dev/null && {
4597 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4598 test ! -s conftest.err
4599 }; then
4600 :
4601 else
4602 $as_echo "$as_me: failed program was:" >&5
4603 sed 's/^/| /' conftest.$ac_ext >&5
4604
4605 # Broken: fails on valid input.
4606 continue
4607 fi
4608
4609 rm -f conftest.err conftest.$ac_ext
4610
4611 # OK, works on sane cases. Now check whether nonexistent headers
4612 # can be detected and how.
4613 cat >conftest.$ac_ext <<_ACEOF
4614 /* confdefs.h. */
4615 _ACEOF
4616 cat confdefs.h >>conftest.$ac_ext
4617 cat >>conftest.$ac_ext <<_ACEOF
4618 /* end confdefs.h. */
4619 #include <ac_nonexistent.h>
4620 _ACEOF
4621 if { (ac_try="$ac_cpp conftest.$ac_ext"
4622 case "(($ac_try" in
4623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4624 *) ac_try_echo=$ac_try;;
4625 esac
4626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4627 $as_echo "$ac_try_echo") >&5
4628 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4629 ac_status=$?
4630 grep -v '^ *+' conftest.er1 >conftest.err
4631 rm -f conftest.er1
4632 cat conftest.err >&5
4633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); } >/dev/null && {
4635 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4636 test ! -s conftest.err
4637 }; then
4638 # Broken: success on invalid input.
4639 continue
4640 else
4641 $as_echo "$as_me: failed program was:" >&5
4642 sed 's/^/| /' conftest.$ac_ext >&5
4643
4644 # Passes both tests.
4645 ac_preproc_ok=:
4646 break
4647 fi
4648
4649 rm -f conftest.err conftest.$ac_ext
4650
4651 done
4652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4653 rm -f conftest.err conftest.$ac_ext
4654 if $ac_preproc_ok; then
4655 :
4656 else
4657 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4659 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4660 See \`config.log' for more details." >&5
4661 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4662 See \`config.log' for more details." >&2;}
4663 { (exit 1); exit 1; }; }; }
4664 fi
4665
4666 ac_ext=cpp
4667 ac_cpp='$CXXCPP $CPPFLAGS'
4668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4671
4672 # Find a good install program. We prefer a C program (faster),
4673 # so one script is as good as another. But avoid the broken or
4674 # incompatible versions:
4675 # SysV /etc/install, /usr/sbin/install
4676 # SunOS /usr/etc/install
4677 # IRIX /sbin/install
4678 # AIX /bin/install
4679 # AmigaOS /C/install, which installs bootblocks on floppy discs
4680 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4681 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4682 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4683 # OS/2's system install, which has a completely different semantic
4684 # ./install, which can be erroneously created by make from ./install.sh.
4685 # Reject install programs that cannot install multiple files.
4686 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4687 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4688 if test -z "$INSTALL"; then
4689 if test "${ac_cv_path_install+set}" = set; then
4690 $as_echo_n "(cached) " >&6
4691 else
4692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4693 for as_dir in $PATH
4694 do
4695 IFS=$as_save_IFS
4696 test -z "$as_dir" && as_dir=.
4697 # Account for people who put trailing slashes in PATH elements.
4698 case $as_dir/ in
4699 ./ | .// | /cC/* | \
4700 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4701 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4702 /usr/ucb/* ) ;;
4703 *)
4704 # OSF1 and SCO ODT 3.0 have their own names for install.
4705 # Don't use installbsd from OSF since it installs stuff as root
4706 # by default.
4707 for ac_prog in ginstall scoinst install; do
4708 for ac_exec_ext in '' $ac_executable_extensions; do
4709 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4710 if test $ac_prog = install &&
4711 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4712 # AIX install. It has an incompatible calling convention.
4713 :
4714 elif test $ac_prog = install &&
4715 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4716 # program-specific install script used by HP pwplus--don't use.
4717 :
4718 else
4719 rm -rf conftest.one conftest.two conftest.dir
4720 echo one > conftest.one
4721 echo two > conftest.two
4722 mkdir conftest.dir
4723 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4724 test -s conftest.one && test -s conftest.two &&
4725 test -s conftest.dir/conftest.one &&
4726 test -s conftest.dir/conftest.two
4727 then
4728 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4729 break 3
4730 fi
4731 fi
4732 fi
4733 done
4734 done
4735 ;;
4736 esac
4737
4738 done
4739 IFS=$as_save_IFS
4740
4741 rm -rf conftest.one conftest.two conftest.dir
4742
4743 fi
4744 if test "${ac_cv_path_install+set}" = set; then
4745 INSTALL=$ac_cv_path_install
4746 else
4747 # As a last resort, use the slow shell script. Don't cache a
4748 # value for INSTALL within a source directory, because that will
4749 # break other packages using the cache if that directory is
4750 # removed, or if the value is a relative name.
4751 INSTALL=$ac_install_sh
4752 fi
4753 fi
4754 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4755 $as_echo "$INSTALL" >&6; }
4756
4757 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4758 # It thinks the first close brace ends the variable substitution.
4759 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4760
4761 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4762
4763 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4764
4765 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4766 $as_echo_n "checking whether ln -s works... " >&6; }
4767 LN_S=$as_ln_s
4768 if test "$LN_S" = "ln -s"; then
4769 { $as_echo "$as_me:$LINENO: result: yes" >&5
4770 $as_echo "yes" >&6; }
4771 else
4772 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4773 $as_echo "no, using $LN_S" >&6; }
4774 fi
4775
4776 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4777 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4778 set x ${MAKE-make}
4779 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4780 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4781 $as_echo_n "(cached) " >&6
4782 else
4783 cat >conftest.make <<\_ACEOF
4784 SHELL = /bin/sh
4785 all:
4786 @echo '@@@%%%=$(MAKE)=@@@%%%'
4787 _ACEOF
4788 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4789 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4790 *@@@%%%=?*=@@@%%%*)
4791 eval ac_cv_prog_make_${ac_make}_set=yes;;
4792 *)
4793 eval ac_cv_prog_make_${ac_make}_set=no;;
4794 esac
4795 rm -f conftest.make
4796 fi
4797 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4798 { $as_echo "$as_me:$LINENO: result: yes" >&5
4799 $as_echo "yes" >&6; }
4800 SET_MAKE=
4801 else
4802 { $as_echo "$as_me:$LINENO: result: no" >&5
4803 $as_echo "no" >&6; }
4804 SET_MAKE="MAKE=${MAKE-make}"
4805 fi
4806
4807 for ac_prog in gawk mawk nawk awk
4808 do
4809 # Extract the first word of "$ac_prog", so it can be a program name with args.
4810 set dummy $ac_prog; ac_word=$2
4811 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4812 $as_echo_n "checking for $ac_word... " >&6; }
4813 if test "${ac_cv_prog_AWK+set}" = set; then
4814 $as_echo_n "(cached) " >&6
4815 else
4816 if test -n "$AWK"; then
4817 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4818 else
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 for as_dir in $PATH
4821 do
4822 IFS=$as_save_IFS
4823 test -z "$as_dir" && as_dir=.
4824 for ac_exec_ext in '' $ac_executable_extensions; do
4825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4826 ac_cv_prog_AWK="$ac_prog"
4827 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4828 break 2
4829 fi
4830 done
4831 done
4832 IFS=$as_save_IFS
4833
4834 fi
4835 fi
4836 AWK=$ac_cv_prog_AWK
4837 if test -n "$AWK"; then
4838 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
4839 $as_echo "$AWK" >&6; }
4840 else
4841 { $as_echo "$as_me:$LINENO: result: no" >&5
4842 $as_echo "no" >&6; }
4843 fi
4844
4845
4846 test -n "$AWK" && break
4847 done
4848
4849 # new libtool versions:
4850 # LT_INIT
4851 # LTDL_INIT
4852
4853
4854
4855
4856
4857 case $enable_ltdl_convenience in
4858 no) { { $as_echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
4859 $as_echo "$as_me: error: this package needs a convenience libltdl" >&2;}
4860 { (exit 1); exit 1; }; } ;;
4861 "") enable_ltdl_convenience=yes
4862 ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
4863 esac
4864 LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
4865 LTDLDEPS=$LIBLTDL
4866 LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
4867
4868
4869
4870
4871
4872 # For backwards non-gettext consistent compatibility...
4873 INCLTDL="$LTDLINCL"
4874
4875
4876
4877
4878 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4879 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4880 if test "${ac_cv_path_GREP+set}" = set; then
4881 $as_echo_n "(cached) " >&6
4882 else
4883 if test -z "$GREP"; then
4884 ac_path_GREP_found=false
4885 # Loop through the user's path and test for each of PROGNAME-LIST
4886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4887 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4888 do
4889 IFS=$as_save_IFS
4890 test -z "$as_dir" && as_dir=.
4891 for ac_prog in grep ggrep; do
4892 for ac_exec_ext in '' $ac_executable_extensions; do
4893 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4894 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4895 # Check for GNU ac_path_GREP and select it if it is found.
4896 # Check for GNU $ac_path_GREP
4897 case `"$ac_path_GREP" --version 2>&1` in
4898 *GNU*)
4899 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4900 *)
4901 ac_count=0
4902 $as_echo_n 0123456789 >"conftest.in"
4903 while :
4904 do
4905 cat "conftest.in" "conftest.in" >"conftest.tmp"
4906 mv "conftest.tmp" "conftest.in"
4907 cp "conftest.in" "conftest.nl"
4908 $as_echo 'GREP' >> "conftest.nl"
4909 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4910 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4911 ac_count=`expr $ac_count + 1`
4912 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4913 # Best one so far, save it but keep looking for a better one
4914 ac_cv_path_GREP="$ac_path_GREP"
4915 ac_path_GREP_max=$ac_count
4916 fi
4917 # 10*(2^10) chars as input seems more than enough
4918 test $ac_count -gt 10 && break
4919 done
4920 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4921 esac
4922
4923 $ac_path_GREP_found && break 3
4924 done
4925 done
4926 done
4927 IFS=$as_save_IFS
4928 if test -z "$ac_cv_path_GREP"; then
4929 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4930 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4931 { (exit 1); exit 1; }; }
4932 fi
4933 else
4934 ac_cv_path_GREP=$GREP
4935 fi
4936
4937 fi
4938 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4939 $as_echo "$ac_cv_path_GREP" >&6; }
4940 GREP="$ac_cv_path_GREP"
4941
4942
4943 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4944 $as_echo_n "checking for egrep... " >&6; }
4945 if test "${ac_cv_path_EGREP+set}" = set; then
4946 $as_echo_n "(cached) " >&6
4947 else
4948 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4949 then ac_cv_path_EGREP="$GREP -E"
4950 else
4951 if test -z "$EGREP"; then
4952 ac_path_EGREP_found=false
4953 # Loop through the user's path and test for each of PROGNAME-LIST
4954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4955 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4956 do
4957 IFS=$as_save_IFS
4958 test -z "$as_dir" && as_dir=.
4959 for ac_prog in egrep; do
4960 for ac_exec_ext in '' $ac_executable_extensions; do
4961 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4962 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4963 # Check for GNU ac_path_EGREP and select it if it is found.
4964 # Check for GNU $ac_path_EGREP
4965 case `"$ac_path_EGREP" --version 2>&1` in
4966 *GNU*)
4967 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4968 *)
4969 ac_count=0
4970 $as_echo_n 0123456789 >"conftest.in"
4971 while :
4972 do
4973 cat "conftest.in" "conftest.in" >"conftest.tmp"
4974 mv "conftest.tmp" "conftest.in"
4975 cp "conftest.in" "conftest.nl"
4976 $as_echo 'EGREP' >> "conftest.nl"
4977 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4978 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4979 ac_count=`expr $ac_count + 1`
4980 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4981 # Best one so far, save it but keep looking for a better one
4982 ac_cv_path_EGREP="$ac_path_EGREP"
4983 ac_path_EGREP_max=$ac_count
4984 fi
4985 # 10*(2^10) chars as input seems more than enough
4986 test $ac_count -gt 10 && break
4987 done
4988 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4989 esac
4990
4991 $ac_path_EGREP_found && break 3
4992 done
4993 done
4994 done
4995 IFS=$as_save_IFS
4996 if test -z "$ac_cv_path_EGREP"; then
4997 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4998 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4999 { (exit 1); exit 1; }; }
5000 fi
5001 else
5002 ac_cv_path_EGREP=$EGREP
5003 fi
5004
5005 fi
5006 fi
5007 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5008 $as_echo "$ac_cv_path_EGREP" >&6; }
5009 EGREP="$ac_cv_path_EGREP"
5010
5011
5012 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5013 $as_echo_n "checking for ANSI C header files... " >&6; }
5014 if test "${ac_cv_header_stdc+set}" = set; then
5015 $as_echo_n "(cached) " >&6
5016 else
5017 cat >conftest.$ac_ext <<_ACEOF
5018 /* confdefs.h. */
5019 _ACEOF
5020 cat confdefs.h >>conftest.$ac_ext
5021 cat >>conftest.$ac_ext <<_ACEOF
5022 /* end confdefs.h. */
5023 #include <stdlib.h>
5024 #include <stdarg.h>
5025 #include <string.h>
5026 #include <float.h>
5027
5028 int
5029 main ()
5030 {
5031
5032 ;
5033 return 0;
5034 }
5035 _ACEOF
5036 rm -f conftest.$ac_objext
5037 if { (ac_try="$ac_compile"
5038 case "(($ac_try" in
5039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5040 *) ac_try_echo=$ac_try;;
5041 esac
5042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5043 $as_echo "$ac_try_echo") >&5
5044 (eval "$ac_compile") 2>conftest.er1
5045 ac_status=$?
5046 grep -v '^ *+' conftest.er1 >conftest.err
5047 rm -f conftest.er1
5048 cat conftest.err >&5
5049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5050 (exit $ac_status); } && {
5051 test -z "$ac_cxx_werror_flag" ||
5052 test ! -s conftest.err
5053 } && test -s conftest.$ac_objext; then
5054 ac_cv_header_stdc=yes
5055 else
5056 $as_echo "$as_me: failed program was:" >&5
5057 sed 's/^/| /' conftest.$ac_ext >&5
5058
5059 ac_cv_header_stdc=no
5060 fi
5061
5062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5063
5064 if test $ac_cv_header_stdc = yes; then
5065 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5066 cat >conftest.$ac_ext <<_ACEOF
5067 /* confdefs.h. */
5068 _ACEOF
5069 cat confdefs.h >>conftest.$ac_ext
5070 cat >>conftest.$ac_ext <<_ACEOF
5071 /* end confdefs.h. */
5072 #include <string.h>
5073
5074 _ACEOF
5075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5076 $EGREP "memchr" >/dev/null 2>&1; then
5077 :
5078 else
5079 ac_cv_header_stdc=no
5080 fi
5081 rm -f conftest*
5082
5083 fi
5084
5085 if test $ac_cv_header_stdc = yes; then
5086 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5087 cat >conftest.$ac_ext <<_ACEOF
5088 /* confdefs.h. */
5089 _ACEOF
5090 cat confdefs.h >>conftest.$ac_ext
5091 cat >>conftest.$ac_ext <<_ACEOF
5092 /* end confdefs.h. */
5093 #include <stdlib.h>
5094
5095 _ACEOF
5096 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5097 $EGREP "free" >/dev/null 2>&1; then
5098 :
5099 else
5100 ac_cv_header_stdc=no
5101 fi
5102 rm -f conftest*
5103
5104 fi
5105
5106 if test $ac_cv_header_stdc = yes; then
5107 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5108 if test "$cross_compiling" = yes; then
5109 :
5110 else
5111 cat >conftest.$ac_ext <<_ACEOF
5112 /* confdefs.h. */
5113 _ACEOF
5114 cat confdefs.h >>conftest.$ac_ext
5115 cat >>conftest.$ac_ext <<_ACEOF
5116 /* end confdefs.h. */
5117 #include <ctype.h>
5118 #include <stdlib.h>
5119 #if ((' ' & 0x0FF) == 0x020)
5120 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5121 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5122 #else
5123 # define ISLOWER(c) \
5124 (('a' <= (c) && (c) <= 'i') \
5125 || ('j' <= (c) && (c) <= 'r') \
5126 || ('s' <= (c) && (c) <= 'z'))
5127 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5128 #endif
5129
5130 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5131 int
5132 main ()
5133 {
5134 int i;
5135 for (i = 0; i < 256; i++)
5136 if (XOR (islower (i), ISLOWER (i))
5137 || toupper (i) != TOUPPER (i))
5138 return 2;
5139 return 0;
5140 }
5141 _ACEOF
5142 rm -f conftest$ac_exeext
5143 if { (ac_try="$ac_link"
5144 case "(($ac_try" in
5145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5146 *) ac_try_echo=$ac_try;;
5147 esac
5148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5149 $as_echo "$ac_try_echo") >&5
5150 (eval "$ac_link") 2>&5
5151 ac_status=$?
5152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5154 { (case "(($ac_try" in
5155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5156 *) ac_try_echo=$ac_try;;
5157 esac
5158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5159 $as_echo "$ac_try_echo") >&5
5160 (eval "$ac_try") 2>&5
5161 ac_status=$?
5162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163 (exit $ac_status); }; }; then
5164 :
5165 else
5166 $as_echo "$as_me: program exited with status $ac_status" >&5
5167 $as_echo "$as_me: failed program was:" >&5
5168 sed 's/^/| /' conftest.$ac_ext >&5
5169
5170 ( exit $ac_status )
5171 ac_cv_header_stdc=no
5172 fi
5173 rm -rf conftest.dSYM
5174 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5175 fi
5176
5177
5178 fi
5179 fi
5180 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5181 $as_echo "$ac_cv_header_stdc" >&6; }
5182 if test $ac_cv_header_stdc = yes; then
5183
5184 cat >>confdefs.h <<\_ACEOF
5185 #define STDC_HEADERS 1
5186 _ACEOF
5187
5188 fi
5189
5190 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5201 inttypes.h stdint.h unistd.h
5202 do
5203 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5204 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5205 $as_echo_n "checking for $ac_header... " >&6; }
5206 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5207 $as_echo_n "(cached) " >&6
5208 else
5209 cat >conftest.$ac_ext <<_ACEOF
5210 /* confdefs.h. */
5211 _ACEOF
5212 cat confdefs.h >>conftest.$ac_ext
5213 cat >>conftest.$ac_ext <<_ACEOF
5214 /* end confdefs.h. */
5215 $ac_includes_default
5216
5217 #include <$ac_header>
5218 _ACEOF
5219 rm -f conftest.$ac_objext
5220 if { (ac_try="$ac_compile"
5221 case "(($ac_try" in
5222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5223 *) ac_try_echo=$ac_try;;
5224 esac
5225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5226 $as_echo "$ac_try_echo") >&5
5227 (eval "$ac_compile") 2>conftest.er1
5228 ac_status=$?
5229 grep -v '^ *+' conftest.er1 >conftest.err
5230 rm -f conftest.er1
5231 cat conftest.err >&5
5232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); } && {
5234 test -z "$ac_cxx_werror_flag" ||
5235 test ! -s conftest.err
5236 } && test -s conftest.$ac_objext; then
5237 eval "$as_ac_Header=yes"
5238 else
5239 $as_echo "$as_me: failed program was:" >&5
5240 sed 's/^/| /' conftest.$ac_ext >&5
5241
5242 eval "$as_ac_Header=no"
5243 fi
5244
5245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5246 fi
5247 ac_res=`eval 'as_val=${'$as_ac_Header'}
5248 $as_echo "$as_val"'`
5249 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5250 $as_echo "$ac_res" >&6; }
5251 as_val=`eval 'as_val=${'$as_ac_Header'}
5252 $as_echo "$as_val"'`
5253 if test "x$as_val" = x""yes; then
5254 cat >>confdefs.h <<_ACEOF
5255 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5256 _ACEOF
5257
5258 fi
5259
5260 done
5261
5262
5263 # Make sure we can run config.sub.
5264 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5265 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5266 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5267 { (exit 1); exit 1; }; }
5268
5269 { $as_echo "$as_me:$LINENO: checking build system type" >&5
5270 $as_echo_n "checking build system type... " >&6; }
5271 if test "${ac_cv_build+set}" = set; then
5272 $as_echo_n "(cached) " >&6
5273 else
5274 ac_build_alias=$build_alias
5275 test "x$ac_build_alias" = x &&
5276 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5277 test "x$ac_build_alias" = x &&
5278 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5279 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5280 { (exit 1); exit 1; }; }
5281 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5282 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5283 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5284 { (exit 1); exit 1; }; }
5285
5286 fi
5287 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5288 $as_echo "$ac_cv_build" >&6; }
5289 case $ac_cv_build in
5290 *-*-*) ;;
5291 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5292 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
5293 { (exit 1); exit 1; }; };;
5294 esac
5295 build=$ac_cv_build
5296 ac_save_IFS=$IFS; IFS='-'
5297 set x $ac_cv_build
5298 shift
5299 build_cpu=$1
5300 build_vendor=$2
5301 shift; shift
5302 # Remember, the first character of IFS is used to create $*,
5303 # except with old shells:
5304 build_os=$*
5305 IFS=$ac_save_IFS
5306 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5307
5308
5309 { $as_echo "$as_me:$LINENO: checking host system type" >&5
5310 $as_echo_n "checking host system type... " >&6; }
5311 if test "${ac_cv_host+set}" = set; then
5312 $as_echo_n "(cached) " >&6
5313 else
5314 if test "x$host_alias" = x; then
5315 ac_cv_host=$ac_cv_build
5316 else
5317 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5318 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5319 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5320 { (exit 1); exit 1; }; }
5321 fi
5322
5323 fi
5324 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5325 $as_echo "$ac_cv_host" >&6; }
5326 case $ac_cv_host in
5327 *-*-*) ;;
5328 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5329 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
5330 { (exit 1); exit 1; }; };;
5331 esac
5332 host=$ac_cv_host
5333 ac_save_IFS=$IFS; IFS='-'
5334 set x $ac_cv_host
5335 shift
5336 host_cpu=$1
5337 host_vendor=$2
5338 shift; shift
5339 # Remember, the first character of IFS is used to create $*,
5340 # except with old shells:
5341 host_os=$*
5342 IFS=$ac_save_IFS
5343 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5344
5345
5346 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
5347 $as_echo_n "checking for fgrep... " >&6; }
5348 if test "${ac_cv_path_FGREP+set}" = set; then
5349 $as_echo_n "(cached) " >&6
5350 else
5351 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5352 then ac_cv_path_FGREP="$GREP -F"
5353 else
5354 if test -z "$FGREP"; then
5355 ac_path_FGREP_found=false
5356 # Loop through the user's path and test for each of PROGNAME-LIST
5357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5358 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5359 do
5360 IFS=$as_save_IFS
5361 test -z "$as_dir" && as_dir=.
5362 for ac_prog in fgrep; do
5363 for ac_exec_ext in '' $ac_executable_extensions; do
5364 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5365 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5366 # Check for GNU ac_path_FGREP and select it if it is found.
5367 # Check for GNU $ac_path_FGREP
5368 case `"$ac_path_FGREP" --version 2>&1` in
5369 *GNU*)
5370 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5371 *)
5372 ac_count=0
5373 $as_echo_n 0123456789 >"conftest.in"
5374 while :
5375 do
5376 cat "conftest.in" "conftest.in" >"conftest.tmp"
5377 mv "conftest.tmp" "conftest.in"
5378 cp "conftest.in" "conftest.nl"
5379 $as_echo 'FGREP' >> "conftest.nl"
5380 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5381 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5382 ac_count=`expr $ac_count + 1`
5383 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5384 # Best one so far, save it but keep looking for a better one
5385 ac_cv_path_FGREP="$ac_path_FGREP"
5386 ac_path_FGREP_max=$ac_count
5387 fi
5388 # 10*(2^10) chars as input seems more than enough
5389 test $ac_count -gt 10 && break
5390 done
5391 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5392 esac
5393
5394 $ac_path_FGREP_found && break 3
5395 done
5396 done
5397 done
5398 IFS=$as_save_IFS
5399 if test -z "$ac_cv_path_FGREP"; then
5400 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5401 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5402 { (exit 1); exit 1; }; }
5403 fi
5404 else
5405 ac_cv_path_FGREP=$FGREP
5406 fi
5407
5408 fi
5409 fi
5410 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5411 $as_echo "$ac_cv_path_FGREP" >&6; }
5412 FGREP="$ac_cv_path_FGREP"
5413
5414
5415 test -z "$GREP" && GREP=grep
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433 : ${CP="cp -f"}
5434 : ${MV="mv -f"}
5435 : ${RM="rm -f"}
5436
5437 if test -n "$ac_tool_prefix"; then
5438 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5439 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5440 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5441 $as_echo_n "checking for $ac_word... " >&6; }
5442 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5443 $as_echo_n "(cached) " >&6
5444 else
5445 if test -n "$OBJDUMP"; then
5446 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5447 else
5448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5449 for as_dir in $PATH
5450 do
5451 IFS=$as_save_IFS
5452 test -z "$as_dir" && as_dir=.
5453 for ac_exec_ext in '' $ac_executable_extensions; do
5454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5455 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5456 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5457 break 2
5458 fi
5459 done
5460 done
5461 IFS=$as_save_IFS
5462
5463 fi
5464 fi
5465 OBJDUMP=$ac_cv_prog_OBJDUMP
5466 if test -n "$OBJDUMP"; then
5467 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5468 $as_echo "$OBJDUMP" >&6; }
5469 else
5470 { $as_echo "$as_me:$LINENO: result: no" >&5
5471 $as_echo "no" >&6; }
5472 fi
5473
5474
5475 fi
5476 if test -z "$ac_cv_prog_OBJDUMP"; then
5477 ac_ct_OBJDUMP=$OBJDUMP
5478 # Extract the first word of "objdump", so it can be a program name with args.
5479 set dummy objdump; ac_word=$2
5480 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5481 $as_echo_n "checking for $ac_word... " >&6; }
5482 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5483 $as_echo_n "(cached) " >&6
5484 else
5485 if test -n "$ac_ct_OBJDUMP"; then
5486 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5487 else
5488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5489 for as_dir in $PATH
5490 do
5491 IFS=$as_save_IFS
5492 test -z "$as_dir" && as_dir=.
5493 for ac_exec_ext in '' $ac_executable_extensions; do
5494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5495 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5496 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5497 break 2
5498 fi
5499 done
5500 done
5501 IFS=$as_save_IFS
5502
5503 fi
5504 fi
5505 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5506 if test -n "$ac_ct_OBJDUMP"; then
5507 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5508 $as_echo "$ac_ct_OBJDUMP" >&6; }
5509 else
5510 { $as_echo "$as_me:$LINENO: result: no" >&5
5511 $as_echo "no" >&6; }
5512 fi
5513
5514 if test "x$ac_ct_OBJDUMP" = x; then
5515 OBJDUMP="false"
5516 else
5517 case $cross_compiling:$ac_tool_warned in
5518 yes:)
5519 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5521 ac_tool_warned=yes ;;
5522 esac
5523 OBJDUMP=$ac_ct_OBJDUMP
5524 fi
5525 else
5526 OBJDUMP="$ac_cv_prog_OBJDUMP"
5527 fi
5528
5529 test -z "$OBJDUMP" && OBJDUMP=objdump
5530
5531
5532
5533
5534
5535
5536
5537 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5538 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5539 if test "${ac_cv_path_SED+set}" = set; then
5540 $as_echo_n "(cached) " >&6
5541 else
5542 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5543 for ac_i in 1 2 3 4 5 6 7; do
5544 ac_script="$ac_script$as_nl$ac_script"
5545 done
5546 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5547 $as_unset ac_script || ac_script=
5548 if test -z "$SED"; then
5549 ac_path_SED_found=false
5550 # Loop through the user's path and test for each of PROGNAME-LIST
5551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5552 for as_dir in $PATH
5553 do
5554 IFS=$as_save_IFS
5555 test -z "$as_dir" && as_dir=.
5556 for ac_prog in sed gsed; do
5557 for ac_exec_ext in '' $ac_executable_extensions; do
5558 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5559 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5560 # Check for GNU ac_path_SED and select it if it is found.
5561 # Check for GNU $ac_path_SED
5562 case `"$ac_path_SED" --version 2>&1` in
5563 *GNU*)
5564 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5565 *)
5566 ac_count=0
5567 $as_echo_n 0123456789 >"conftest.in"
5568 while :
5569 do
5570 cat "conftest.in" "conftest.in" >"conftest.tmp"
5571 mv "conftest.tmp" "conftest.in"
5572 cp "conftest.in" "conftest.nl"
5573 $as_echo '' >> "conftest.nl"
5574 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5575 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5576 ac_count=`expr $ac_count + 1`
5577 if test $ac_count -gt ${ac_path_SED_max-0}; then
5578 # Best one so far, save it but keep looking for a better one
5579 ac_cv_path_SED="$ac_path_SED"
5580 ac_path_SED_max=$ac_count
5581 fi
5582 # 10*(2^10) chars as input seems more than enough
5583 test $ac_count -gt 10 && break
5584 done
5585 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5586 esac
5587
5588 $ac_path_SED_found && break 3
5589 done
5590 done
5591 done
5592 IFS=$as_save_IFS
5593 if test -z "$ac_cv_path_SED"; then
5594 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
5595 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
5596 { (exit 1); exit 1; }; }
5597 fi
5598 else
5599 ac_cv_path_SED=$SED
5600 fi
5601
5602 fi
5603 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5604 $as_echo "$ac_cv_path_SED" >&6; }
5605 SED="$ac_cv_path_SED"
5606 rm -f conftest.sed
5607
5608 test -z "$SED" && SED=sed
5609 Xsed="$SED -e 1s/^X//"
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5622 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5623 # Try some XSI features
5624 xsi_shell=no
5625 ( _lt_dummy="a/b/c"
5626 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5627 = c,a/b,b/c, \
5628 && eval 'test $(( 1 + 1 )) -eq 2 \
5629 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5630 && xsi_shell=yes
5631 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
5632 $as_echo "$xsi_shell" >&6; }
5633
5634
5635 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5636 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5637 lt_shell_append=no
5638 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5639 >/dev/null 2>&1 \
5640 && lt_shell_append=yes
5641 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5642 $as_echo "$lt_shell_append" >&6; }
5643
5644
5645 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5646 lt_unset=unset
5647 else
5648 lt_unset=false
5649 fi
5650
5651
5652
5653
5654
5655 # test EBCDIC or ASCII
5656 case `echo X|tr X '\101'` in
5657 A) # ASCII based system
5658 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5659 lt_SP2NL='tr \040 \012'
5660 lt_NL2SP='tr \015\012 \040\040'
5661 ;;
5662 *) # EBCDIC based system
5663 lt_SP2NL='tr \100 \n'
5664 lt_NL2SP='tr \r\n \100\100'
5665 ;;
5666 esac
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
5677 $as_echo_n "checking dynamic linker characteristics... " >&6; }
5678
5679 if test "$GCC" = yes; then
5680 case $host_os in
5681 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
5682 *) lt_awk_arg="/^libraries:/" ;;
5683 esac
5684 case $host_os in
5685 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
5686 *) lt_sed_strip_eq="s,=/,/,g" ;;
5687 esac
5688 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
5689 case $lt_search_path_spec in
5690 *\;*)
5691 # if the path contains ";" then we assume it to be the separator
5692 # otherwise default to the standard path separator (i.e. ":") - it is
5693 # assumed that no part of a normal pathname contains ";" but that should
5694 # okay in the real world where ";" in dirpaths is itself problematic.
5695 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
5696 ;;
5697 *)
5698 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
5699 ;;
5700 esac
5701 # Ok, now we have the path, separated by spaces, we can step through it
5702 # and add multilib dir if necessary.
5703 lt_tmp_lt_search_path_spec=
5704 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
5705 for lt_sys_path in $lt_search_path_spec; do
5706 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
5707 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
5708 else
5709 test -d "$lt_sys_path" && \
5710 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
5711 fi
5712 done
5713 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
5714 BEGIN {RS=" "; FS="/|\n";} {
5715 lt_foo="";
5716 lt_count=0;
5717 for (lt_i = NF; lt_i > 0; lt_i--) {
5718 if ($lt_i != "" && $lt_i != ".") {
5719 if ($lt_i == "..") {
5720 lt_count++;
5721 } else {
5722 if (lt_count == 0) {
5723 lt_foo="/" $lt_i lt_foo;
5724 } else {
5725 lt_count--;
5726 }
5727 }
5728 }
5729 }
5730 if (lt_foo != "") { lt_freq[lt_foo]++; }
5731 if (lt_freq[lt_foo] == 1) { print lt_foo; }
5732 }'`
5733 # AWK program above erroneously prepends '/' to C:/dos/paths
5734 # for these hosts.
5735 case $host_os in
5736 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
5737 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
5738 esac
5739 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
5740 else
5741 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
5742 fi
5743 library_names_spec=
5744 libname_spec='lib$name'
5745 soname_spec=
5746 shrext_cmds=".so"
5747 postinstall_cmds=
5748 postuninstall_cmds=
5749 finish_cmds=
5750 finish_eval=
5751 shlibpath_var=
5752 shlibpath_overrides_runpath=unknown
5753 version_type=none
5754 dynamic_linker="$host_os ld.so"
5755 sys_lib_dlsearch_path_spec="/lib /usr/lib"
5756 need_lib_prefix=unknown
5757 hardcode_into_libs=no
5758
5759 # when you set need_version to no, make sure it does not cause -set_version
5760 # flags to be left without arguments
5761 need_version=unknown
5762
5763 case $host_os in
5764 aix3*)
5765 version_type=linux
5766 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
5767 shlibpath_var=LIBPATH
5768
5769 # AIX 3 has no versioning support, so we append a major version to the name.
5770 soname_spec='${libname}${release}${shared_ext}$major'
5771 ;;
5772
5773 aix[4-9]*)
5774 version_type=linux
5775 need_lib_prefix=no
5776 need_version=no
5777 hardcode_into_libs=yes
5778 if test "$host_cpu" = ia64; then
5779 # AIX 5 supports IA64
5780 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
5781 shlibpath_var=LD_LIBRARY_PATH
5782 else
5783 # With GCC up to 2.95.x, collect2 would create an import file
5784 # for dependence libraries. The import file would start with
5785 # the line `#! .'. This would cause the generated library to
5786 # depend on `.', always an invalid library. This was fixed in
5787 # development snapshots of GCC prior to 3.0.
5788 case $host_os in
5789 aix4 | aix4.[01] | aix4.[01].*)
5790 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
5791 echo ' yes '
5792 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
5793 :
5794 else
5795 can_build_shared=no
5796 fi
5797 ;;
5798 esac
5799 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
5800 # soname into executable. Probably we can add versioning support to
5801 # collect2, so additional links can be useful in future.
5802 if test "$aix_use_runtimelinking" = yes; then
5803 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
5804 # instead of lib<name>.a to let people know that these are not
5805 # typical AIX shared libraries.
5806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5807 else
5808 # We preserve .a as extension for shared libraries through AIX4.2
5809 # and later when we are not doing run time linking.
5810 library_names_spec='${libname}${release}.a $libname.a'
5811 soname_spec='${libname}${release}${shared_ext}$major'
5812 fi
5813 shlibpath_var=LIBPATH
5814 fi
5815 ;;
5816
5817 amigaos*)
5818 case $host_cpu in
5819 powerpc)
5820 # Since July 2007 AmigaOS4 officially supports .so libraries.
5821 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
5822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5823 ;;
5824 m68k)
5825 library_names_spec='$libname.ixlibrary $libname.a'
5826 # Create ${libname}_ixlibrary.a entries in /sys/libs.
5827 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
5828 ;;
5829 esac
5830 ;;
5831
5832 beos*)
5833 library_names_spec='${libname}${shared_ext}'
5834 dynamic_linker="$host_os ld.so"
5835 shlibpath_var=LIBRARY_PATH
5836 ;;
5837
5838 bsdi[45]*)
5839 version_type=linux
5840 need_version=no
5841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5842 soname_spec='${libname}${release}${shared_ext}$major'
5843 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
5844 shlibpath_var=LD_LIBRARY_PATH
5845 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
5846 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
5847 # the default ld.so.conf also contains /usr/contrib/lib and
5848 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
5849 # libtool to hard-code these into programs
5850 ;;
5851
5852 cygwin* | mingw* | pw32* | cegcc*)
5853 version_type=windows
5854 shrext_cmds=".dll"
5855 need_version=no
5856 need_lib_prefix=no
5857
5858 case $GCC,$cc_basename in
5859 yes,*)
5860 # gcc
5861 library_names_spec='$libname.dll.a'
5862 # DLL is installed to $(libdir)/../bin by postinstall_cmds
5863 postinstall_cmds='base_file=`basename \${file}`~
5864 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
5865 dldir=$destdir/`dirname \$dlpath`~
5866 test -d \$dldir || mkdir -p \$dldir~
5867 $install_prog $dir/$dlname \$dldir/$dlname~
5868 chmod a+x \$dldir/$dlname~
5869 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
5870 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
5871 fi'
5872 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
5873 dlpath=$dir/\$dldll~
5874 $RM \$dlpath'
5875 shlibpath_overrides_runpath=yes
5876
5877 case $host_os in
5878 cygwin*)
5879 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
5880 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
5881
5882 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
5883 ;;
5884 mingw* | cegcc*)
5885 # MinGW DLLs use traditional 'lib' prefix
5886 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
5887 ;;
5888 pw32*)
5889 # pw32 DLLs use 'pw' prefix rather than 'lib'
5890 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
5891 ;;
5892 esac
5893 dynamic_linker='Win32 ld.exe'
5894 ;;
5895
5896 *,cl*)
5897 # Native MSVC
5898 libname_spec='$name'
5899 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
5900 library_names_spec='${libname}.dll.lib'
5901
5902 case $build_os in
5903 mingw*)
5904 sys_lib_search_path_spec=
5905 lt_save_ifs=$IFS
5906 IFS=';'
5907 for lt_path in $LIB
5908 do
5909 IFS=$lt_save_ifs
5910 # Let DOS variable expansion print the short 8.3 style file name.
5911 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
5912 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
5913 done
5914 IFS=$lt_save_ifs
5915 # Convert to MSYS style.
5916 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
5917 ;;
5918 cygwin*)
5919 # Convert to unix form, then to dos form, then back to unix form
5920 # but this time dos style (no spaces!) so that the unix form looks
5921 # like /cygdrive/c/PROGRA~1:/cygdr...
5922 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
5923 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
5924 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
5925 ;;
5926 *)
5927 sys_lib_search_path_spec="$LIB"
5928 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
5929 # It is most probably a Windows format PATH.
5930 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
5931 else
5932 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
5933 fi
5934 # FIXME: find the short name or the path components, as spaces are
5935 # common. (e.g. "Program Files" -> "PROGRA~1")
5936 ;;
5937 esac
5938
5939 # DLL is installed to $(libdir)/../bin by postinstall_cmds
5940 postinstall_cmds='base_file=`basename \${file}`~
5941 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
5942 dldir=$destdir/`dirname \$dlpath`~
5943 test -d \$dldir || mkdir -p \$dldir~
5944 $install_prog $dir/$dlname \$dldir/$dlname'
5945 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
5946 dlpath=$dir/\$dldll~
5947 $RM \$dlpath'
5948 shlibpath_overrides_runpath=yes
5949 dynamic_linker='Win32 link.exe'
5950 ;;
5951
5952 *)
5953 # Assume MSVC wrapper
5954 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
5955 dynamic_linker='Win32 ld.exe'
5956 ;;
5957 esac
5958 # FIXME: first we should search . and the directory the executable is in
5959 shlibpath_var=PATH
5960 ;;
5961
5962 darwin* | rhapsody*)
5963 dynamic_linker="$host_os dyld"
5964 version_type=darwin
5965 need_lib_prefix=no
5966 need_version=no
5967 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
5968 soname_spec='${libname}${release}${major}$shared_ext'
5969 shlibpath_overrides_runpath=yes
5970 shlibpath_var=DYLD_LIBRARY_PATH
5971 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
5972
5973 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
5974 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
5975 ;;
5976
5977 dgux*)
5978 version_type=linux
5979 need_lib_prefix=no
5980 need_version=no
5981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
5982 soname_spec='${libname}${release}${shared_ext}$major'
5983 shlibpath_var=LD_LIBRARY_PATH
5984 ;;
5985
5986 freebsd1*)
5987 dynamic_linker=no
5988 ;;
5989
5990 freebsd* | dragonfly*)
5991 # DragonFly does not have aout. When/if they implement a new
5992 # versioning mechanism, adjust this.
5993 if test -x /usr/bin/objformat; then
5994 objformat=`/usr/bin/objformat`
5995 else
5996 case $host_os in
5997 freebsd[123]*) objformat=aout ;;
5998 *) objformat=elf ;;
5999 esac
6000 fi
6001 version_type=freebsd-$objformat
6002 case $version_type in
6003 freebsd-elf*)
6004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6005 need_version=no
6006 need_lib_prefix=no
6007 ;;
6008 freebsd-*)
6009 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
6010 need_version=yes
6011 ;;
6012 esac
6013 shlibpath_var=LD_LIBRARY_PATH
6014 case $host_os in
6015 freebsd2*)
6016 shlibpath_overrides_runpath=yes
6017 ;;
6018 freebsd3.[01]* | freebsdelf3.[01]*)
6019 shlibpath_overrides_runpath=yes
6020 hardcode_into_libs=yes
6021 ;;
6022 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
6023 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
6024 shlibpath_overrides_runpath=no
6025 hardcode_into_libs=yes
6026 ;;
6027 *) # from 4.6 on, and DragonFly
6028 shlibpath_overrides_runpath=yes
6029 hardcode_into_libs=yes
6030 ;;
6031 esac
6032 ;;
6033
6034 gnu*)
6035 version_type=linux
6036 need_lib_prefix=no
6037 need_version=no
6038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6039 soname_spec='${libname}${release}${shared_ext}$major'
6040 shlibpath_var=LD_LIBRARY_PATH
6041 hardcode_into_libs=yes
6042 ;;
6043
6044 haiku*)
6045 version_type=linux
6046 need_lib_prefix=no
6047 need_version=no
6048 dynamic_linker="$host_os runtime_loader"
6049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6050 soname_spec='${libname}${release}${shared_ext}$major'
6051 shlibpath_var=LIBRARY_PATH
6052 shlibpath_overrides_runpath=yes
6053 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
6054 hardcode_into_libs=yes
6055 ;;
6056
6057 hpux9* | hpux10* | hpux11*)
6058 # Give a soname corresponding to the major version so that dld.sl refuses to
6059 # link against other versions.
6060 version_type=sunos
6061 need_lib_prefix=no
6062 need_version=no
6063 case $host_cpu in
6064 ia64*)
6065 shrext_cmds='.so'
6066 hardcode_into_libs=yes
6067 dynamic_linker="$host_os dld.so"
6068 shlibpath_var=LD_LIBRARY_PATH
6069 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6071 soname_spec='${libname}${release}${shared_ext}$major'
6072 if test "X$HPUX_IA64_MODE" = X32; then
6073 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
6074 else
6075 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
6076 fi
6077 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6078 ;;
6079 hppa*64*)
6080 shrext_cmds='.sl'
6081 hardcode_into_libs=yes
6082 dynamic_linker="$host_os dld.sl"
6083 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
6084 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6086 soname_spec='${libname}${release}${shared_ext}$major'
6087 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
6088 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6089 ;;
6090 *)
6091 shrext_cmds='.sl'
6092 dynamic_linker="$host_os dld.sl"
6093 shlibpath_var=SHLIB_PATH
6094 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
6095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6096 soname_spec='${libname}${release}${shared_ext}$major'
6097 ;;
6098 esac
6099 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
6100 postinstall_cmds='chmod 555 $lib'
6101 # or fails outright, so override atomically:
6102 install_override_mode=555
6103 ;;
6104
6105 interix[3-9]*)
6106 version_type=linux
6107 need_lib_prefix=no
6108 need_version=no
6109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6110 soname_spec='${libname}${release}${shared_ext}$major'
6111 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
6112 shlibpath_var=LD_LIBRARY_PATH
6113 shlibpath_overrides_runpath=no
6114 hardcode_into_libs=yes
6115 ;;
6116
6117 irix5* | irix6* | nonstopux*)
6118 case $host_os in
6119 nonstopux*) version_type=nonstopux ;;
6120 *)
6121 if test "$lt_cv_prog_gnu_ld" = yes; then
6122 version_type=linux
6123 else
6124 version_type=irix
6125 fi ;;
6126 esac
6127 need_lib_prefix=no
6128 need_version=no
6129 soname_spec='${libname}${release}${shared_ext}$major'
6130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
6131 case $host_os in
6132 irix5* | nonstopux*)
6133 libsuff= shlibsuff=
6134 ;;
6135 *)
6136 case $LD in # libtool.m4 will add one of these switches to LD
6137 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
6138 libsuff= shlibsuff= libmagic=32-bit;;
6139 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
6140 libsuff=32 shlibsuff=N32 libmagic=N32;;
6141 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
6142 libsuff=64 shlibsuff=64 libmagic=64-bit;;
6143 *) libsuff= shlibsuff= libmagic=never-match;;
6144 esac
6145 ;;
6146 esac
6147 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
6148 shlibpath_overrides_runpath=no
6149 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6150 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
6151 hardcode_into_libs=yes
6152 ;;
6153
6154 # No shared lib support for Linux oldld, aout, or coff.
6155 linux*oldld* | linux*aout* | linux*coff*)
6156 dynamic_linker=no
6157 ;;
6158
6159 # This must be Linux ELF.
6160 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6161 version_type=linux
6162 need_lib_prefix=no
6163 need_version=no
6164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6165 soname_spec='${libname}${release}${shared_ext}$major'
6166 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6167 shlibpath_var=LD_LIBRARY_PATH
6168 shlibpath_overrides_runpath=no
6169
6170 # Some binutils ld are patched to set DT_RUNPATH
6171 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
6172 $as_echo_n "(cached) " >&6
6173 else
6174 lt_cv_shlibpath_overrides_runpath=no
6175 save_LDFLAGS=$LDFLAGS
6176 save_libdir=$libdir
6177 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
6178 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
6179 cat >conftest.$ac_ext <<_ACEOF
6180 /* confdefs.h. */
6181 _ACEOF
6182 cat confdefs.h >>conftest.$ac_ext
6183 cat >>conftest.$ac_ext <<_ACEOF
6184 /* end confdefs.h. */
6185
6186 int
6187 main ()
6188 {
6189
6190 ;
6191 return 0;
6192 }
6193 _ACEOF
6194 rm -f conftest.$ac_objext conftest$ac_exeext
6195 if { (ac_try="$ac_link"
6196 case "(($ac_try" in
6197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6198 *) ac_try_echo=$ac_try;;
6199 esac
6200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6201 $as_echo "$ac_try_echo") >&5
6202 (eval "$ac_link") 2>conftest.er1
6203 ac_status=$?
6204 grep -v '^ *+' conftest.er1 >conftest.err
6205 rm -f conftest.er1
6206 cat conftest.err >&5
6207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); } && {
6209 test -z "$ac_cxx_werror_flag" ||
6210 test ! -s conftest.err
6211 } && test -s conftest$ac_exeext && {
6212 test "$cross_compiling" = yes ||
6213 $as_test_x conftest$ac_exeext
6214 }; then
6215 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
6216 lt_cv_shlibpath_overrides_runpath=yes
6217 fi
6218
6219 else
6220 $as_echo "$as_me: failed program was:" >&5
6221 sed 's/^/| /' conftest.$ac_ext >&5
6222
6223
6224 fi
6225
6226 rm -rf conftest.dSYM
6227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6228 conftest$ac_exeext conftest.$ac_ext
6229 LDFLAGS=$save_LDFLAGS
6230 libdir=$save_libdir
6231
6232 fi
6233
6234 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
6235
6236 # This implies no fast_install, which is unacceptable.
6237 # Some rework will be needed to allow for fast_install
6238 # before this can be enabled.
6239 hardcode_into_libs=yes
6240
6241 # Append ld.so.conf contents to the search path
6242 if test -f /etc/ld.so.conf; then
6243 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
6244 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
6245 fi
6246
6247 # We used to test for /lib/ld.so.1 and disable shared libraries on
6248 # powerpc, because MkLinux only supported shared libraries with the
6249 # GNU dynamic linker. Since this was broken with cross compilers,
6250 # most powerpc-linux boxes support dynamic linking these days and
6251 # people can always --disable-shared, the test was removed, and we
6252 # assume the GNU/Linux dynamic linker is in use.
6253 dynamic_linker='GNU/Linux ld.so'
6254 ;;
6255
6256 netbsd*)
6257 version_type=sunos
6258 need_lib_prefix=no
6259 need_version=no
6260 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
6261 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6262 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6263 dynamic_linker='NetBSD (a.out) ld.so'
6264 else
6265 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6266 soname_spec='${libname}${release}${shared_ext}$major'
6267 dynamic_linker='NetBSD ld.elf_so'
6268 fi
6269 shlibpath_var=LD_LIBRARY_PATH
6270 shlibpath_overrides_runpath=yes
6271 hardcode_into_libs=yes
6272 ;;
6273
6274 newsos6)
6275 version_type=linux
6276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6277 shlibpath_var=LD_LIBRARY_PATH
6278 shlibpath_overrides_runpath=yes
6279 ;;
6280
6281 *nto* | *qnx*)
6282 version_type=qnx
6283 need_lib_prefix=no
6284 need_version=no
6285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6286 soname_spec='${libname}${release}${shared_ext}$major'
6287 shlibpath_var=LD_LIBRARY_PATH
6288 shlibpath_overrides_runpath=no
6289 hardcode_into_libs=yes
6290 dynamic_linker='ldqnx.so'
6291 ;;
6292
6293 openbsd*)
6294 version_type=sunos
6295 sys_lib_dlsearch_path_spec="/usr/lib"
6296 need_lib_prefix=no
6297 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
6298 case $host_os in
6299 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
6300 *) need_version=no ;;
6301 esac
6302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6303 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6304 shlibpath_var=LD_LIBRARY_PATH
6305 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6306 case $host_os in
6307 openbsd2.[89] | openbsd2.[89].*)
6308 shlibpath_overrides_runpath=no
6309 ;;
6310 *)
6311 shlibpath_overrides_runpath=yes
6312 ;;
6313 esac
6314 else
6315 shlibpath_overrides_runpath=yes
6316 fi
6317 ;;
6318
6319 os2*)
6320 libname_spec='$name'
6321 shrext_cmds=".dll"
6322 need_lib_prefix=no
6323 library_names_spec='$libname${shared_ext} $libname.a'
6324 dynamic_linker='OS/2 ld.exe'
6325 shlibpath_var=LIBPATH
6326 ;;
6327
6328 osf3* | osf4* | osf5*)
6329 version_type=osf
6330 need_lib_prefix=no
6331 need_version=no
6332 soname_spec='${libname}${release}${shared_ext}$major'
6333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6334 shlibpath_var=LD_LIBRARY_PATH
6335 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6336 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
6337 ;;
6338
6339 rdos*)
6340 dynamic_linker=no
6341 ;;
6342
6343 solaris*)
6344 version_type=linux
6345 need_lib_prefix=no
6346 need_version=no
6347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6348 soname_spec='${libname}${release}${shared_ext}$major'
6349 shlibpath_var=LD_LIBRARY_PATH
6350 shlibpath_overrides_runpath=yes
6351 hardcode_into_libs=yes
6352 # ldd complains unless libraries are executable
6353 postinstall_cmds='chmod +x $lib'
6354 ;;
6355
6356 sunos4*)
6357 version_type=sunos
6358 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6359 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6360 shlibpath_var=LD_LIBRARY_PATH
6361 shlibpath_overrides_runpath=yes
6362 if test "$with_gnu_ld" = yes; then
6363 need_lib_prefix=no
6364 fi
6365 need_version=yes
6366 ;;
6367
6368 sysv4 | sysv4.3*)
6369 version_type=linux
6370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6371 soname_spec='${libname}${release}${shared_ext}$major'
6372 shlibpath_var=LD_LIBRARY_PATH
6373 case $host_vendor in
6374 sni)
6375 shlibpath_overrides_runpath=no
6376 need_lib_prefix=no
6377 runpath_var=LD_RUN_PATH
6378 ;;
6379 siemens)
6380 need_lib_prefix=no
6381 ;;
6382 motorola)
6383 need_lib_prefix=no
6384 need_version=no
6385 shlibpath_overrides_runpath=no
6386 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
6387 ;;
6388 esac
6389 ;;
6390
6391 sysv4*MP*)
6392 if test -d /usr/nec ;then
6393 version_type=linux
6394 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
6395 soname_spec='$libname${shared_ext}.$major'
6396 shlibpath_var=LD_LIBRARY_PATH
6397 fi
6398 ;;
6399
6400 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6401 version_type=freebsd-elf
6402 need_lib_prefix=no
6403 need_version=no
6404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6405 soname_spec='${libname}${release}${shared_ext}$major'
6406 shlibpath_var=LD_LIBRARY_PATH
6407 shlibpath_overrides_runpath=yes
6408 hardcode_into_libs=yes
6409 if test "$with_gnu_ld" = yes; then
6410 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
6411 else
6412 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
6413 case $host_os in
6414 sco3.2v5*)
6415 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
6416 ;;
6417 esac
6418 fi
6419 sys_lib_dlsearch_path_spec='/usr/lib'
6420 ;;
6421
6422 tpf*)
6423 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
6424 version_type=linux
6425 need_lib_prefix=no
6426 need_version=no
6427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6428 shlibpath_var=LD_LIBRARY_PATH
6429 shlibpath_overrides_runpath=no
6430 hardcode_into_libs=yes
6431 ;;
6432
6433 uts4*)
6434 version_type=linux
6435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6436 soname_spec='${libname}${release}${shared_ext}$major'
6437 shlibpath_var=LD_LIBRARY_PATH
6438 ;;
6439
6440 *)
6441 dynamic_linker=no
6442 ;;
6443 esac
6444 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
6445 $as_echo "$dynamic_linker" >&6; }
6446 test "$dynamic_linker" = no && can_build_shared=no
6447
6448 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6449 if test "$GCC" = yes; then
6450 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6451 fi
6452
6453 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
6454 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
6455 fi
6456 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
6457 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
6458 fi
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551 { $as_echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
6552 $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
6553 if test "${libltdl_cv_shlibext+set}" = set; then
6554 $as_echo_n "(cached) " >&6
6555 else
6556
6557 module=yes
6558 eval libltdl_cv_shlibext=$shrext_cmds
6559
6560 fi
6561 { $as_echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
6562 $as_echo "$libltdl_cv_shlibext" >&6; }
6563 if test -n "$libltdl_cv_shlibext"; then
6564
6565 cat >>confdefs.h <<_ACEOF
6566 #define LT_MODULE_EXT "$libltdl_cv_shlibext"
6567 _ACEOF
6568
6569 fi
6570
6571 { $as_echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
6572 $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
6573 if test "${lt_cv_module_path_var+set}" = set; then
6574 $as_echo_n "(cached) " >&6
6575 else
6576 lt_cv_module_path_var="$shlibpath_var"
6577 fi
6578 { $as_echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
6579 $as_echo "$lt_cv_module_path_var" >&6; }
6580 if test -n "$lt_cv_module_path_var"; then
6581
6582 cat >>confdefs.h <<_ACEOF
6583 #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
6584 _ACEOF
6585
6586 fi
6587
6588 { $as_echo "$as_me:$LINENO: checking for the default library search path" >&5
6589 $as_echo_n "checking for the default library search path... " >&6; }
6590 if test "${lt_cv_sys_dlsearch_path+set}" = set; then
6591 $as_echo_n "(cached) " >&6
6592 else
6593 lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
6594 fi
6595 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
6596 $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
6597 if test -n "$lt_cv_sys_dlsearch_path"; then
6598 sys_dlsearch_path=
6599 for dir in $lt_cv_sys_dlsearch_path; do
6600 if test -z "$sys_dlsearch_path"; then
6601 sys_dlsearch_path="$dir"
6602 else
6603 sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
6604 fi
6605 done
6606
6607 cat >>confdefs.h <<_ACEOF
6608 #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
6609 _ACEOF
6610
6611 fi
6612
6613
6614
6615 LT_DLLOADERS=
6616
6617
6618 ac_ext=c
6619 ac_cpp='$CPP $CPPFLAGS'
6620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6623
6624
6625 LIBADD_DLOPEN=
6626 { $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
6627 $as_echo_n "checking for library containing dlopen... " >&6; }
6628 if test "${ac_cv_search_dlopen+set}" = set; then
6629 $as_echo_n "(cached) " >&6
6630 else
6631 ac_func_search_save_LIBS=$LIBS
6632 cat >conftest.$ac_ext <<_ACEOF
6633 /* confdefs.h. */
6634 _ACEOF
6635 cat confdefs.h >>conftest.$ac_ext
6636 cat >>conftest.$ac_ext <<_ACEOF
6637 /* end confdefs.h. */
6638
6639 /* Override any GCC internal prototype to avoid an error.
6640 Use char because int might match the return type of a GCC
6641 builtin and then its argument prototype would still apply. */
6642 #ifdef __cplusplus
6643 extern "C"
6644 #endif
6645 char dlopen ();
6646 int
6647 main ()
6648 {
6649 return dlopen ();
6650 ;
6651 return 0;
6652 }
6653 _ACEOF
6654 for ac_lib in '' dl; do
6655 if test -z "$ac_lib"; then
6656 ac_res="none required"
6657 else
6658 ac_res=-l$ac_lib
6659 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6660 fi
6661 rm -f conftest.$ac_objext conftest$ac_exeext
6662 if { (ac_try="$ac_link"
6663 case "(($ac_try" in
6664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6665 *) ac_try_echo=$ac_try;;
6666 esac
6667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6668 $as_echo "$ac_try_echo") >&5
6669 (eval "$ac_link") 2>conftest.er1
6670 ac_status=$?
6671 grep -v '^ *+' conftest.er1 >conftest.err
6672 rm -f conftest.er1
6673 cat conftest.err >&5
6674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); } && {
6676 test -z "$ac_c_werror_flag" ||
6677 test ! -s conftest.err
6678 } && test -s conftest$ac_exeext && {
6679 test "$cross_compiling" = yes ||
6680 $as_test_x conftest$ac_exeext
6681 }; then
6682 ac_cv_search_dlopen=$ac_res
6683 else
6684 $as_echo "$as_me: failed program was:" >&5
6685 sed 's/^/| /' conftest.$ac_ext >&5
6686
6687
6688 fi
6689
6690 rm -rf conftest.dSYM
6691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6692 conftest$ac_exeext
6693 if test "${ac_cv_search_dlopen+set}" = set; then
6694 break
6695 fi
6696 done
6697 if test "${ac_cv_search_dlopen+set}" = set; then
6698 :
6699 else
6700 ac_cv_search_dlopen=no
6701 fi
6702 rm conftest.$ac_ext
6703 LIBS=$ac_func_search_save_LIBS
6704 fi
6705 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
6706 $as_echo "$ac_cv_search_dlopen" >&6; }
6707 ac_res=$ac_cv_search_dlopen
6708 if test "$ac_res" != no; then
6709 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6710
6711 cat >>confdefs.h <<\_ACEOF
6712 #define HAVE_LIBDL 1
6713 _ACEOF
6714
6715 if test "$ac_cv_search_dlopen" != "none required" ; then
6716 LIBADD_DLOPEN="-ldl"
6717 fi
6718 libltdl_cv_lib_dl_dlopen="yes"
6719 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
6720 else
6721 cat >conftest.$ac_ext <<_ACEOF
6722 /* confdefs.h. */
6723 _ACEOF
6724 cat confdefs.h >>conftest.$ac_ext
6725 cat >>conftest.$ac_ext <<_ACEOF
6726 /* end confdefs.h. */
6727 #if HAVE_DLFCN_H
6728 # include <dlfcn.h>
6729 #endif
6730
6731 int
6732 main ()
6733 {
6734 dlopen(0, 0);
6735 ;
6736 return 0;
6737 }
6738 _ACEOF
6739 rm -f conftest.$ac_objext conftest$ac_exeext
6740 if { (ac_try="$ac_link"
6741 case "(($ac_try" in
6742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6743 *) ac_try_echo=$ac_try;;
6744 esac
6745 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6746 $as_echo "$ac_try_echo") >&5
6747 (eval "$ac_link") 2>conftest.er1
6748 ac_status=$?
6749 grep -v '^ *+' conftest.er1 >conftest.err
6750 rm -f conftest.er1
6751 cat conftest.err >&5
6752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753 (exit $ac_status); } && {
6754 test -z "$ac_c_werror_flag" ||
6755 test ! -s conftest.err
6756 } && test -s conftest$ac_exeext && {
6757 test "$cross_compiling" = yes ||
6758 $as_test_x conftest$ac_exeext
6759 }; then
6760
6761 cat >>confdefs.h <<\_ACEOF
6762 #define HAVE_LIBDL 1
6763 _ACEOF
6764
6765 libltdl_cv_func_dlopen="yes"
6766 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
6767 else
6768 $as_echo "$as_me: failed program was:" >&5
6769 sed 's/^/| /' conftest.$ac_ext >&5
6770
6771 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
6772 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
6773 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
6774 $as_echo_n "(cached) " >&6
6775 else
6776 ac_check_lib_save_LIBS=$LIBS
6777 LIBS="-lsvld $LIBS"
6778 cat >conftest.$ac_ext <<_ACEOF
6779 /* confdefs.h. */
6780 _ACEOF
6781 cat confdefs.h >>conftest.$ac_ext
6782 cat >>conftest.$ac_ext <<_ACEOF
6783 /* end confdefs.h. */
6784
6785 /* Override any GCC internal prototype to avoid an error.
6786 Use char because int might match the return type of a GCC
6787 builtin and then its argument prototype would still apply. */
6788 #ifdef __cplusplus
6789 extern "C"
6790 #endif
6791 char dlopen ();
6792 int
6793 main ()
6794 {
6795 return dlopen ();
6796 ;
6797 return 0;
6798 }
6799 _ACEOF
6800 rm -f conftest.$ac_objext conftest$ac_exeext
6801 if { (ac_try="$ac_link"
6802 case "(($ac_try" in
6803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6804 *) ac_try_echo=$ac_try;;
6805 esac
6806 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6807 $as_echo "$ac_try_echo") >&5
6808 (eval "$ac_link") 2>conftest.er1
6809 ac_status=$?
6810 grep -v '^ *+' conftest.er1 >conftest.err
6811 rm -f conftest.er1
6812 cat conftest.err >&5
6813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814 (exit $ac_status); } && {
6815 test -z "$ac_c_werror_flag" ||
6816 test ! -s conftest.err
6817 } && test -s conftest$ac_exeext && {
6818 test "$cross_compiling" = yes ||
6819 $as_test_x conftest$ac_exeext
6820 }; then
6821 ac_cv_lib_svld_dlopen=yes
6822 else
6823 $as_echo "$as_me: failed program was:" >&5
6824 sed 's/^/| /' conftest.$ac_ext >&5
6825
6826 ac_cv_lib_svld_dlopen=no
6827 fi
6828
6829 rm -rf conftest.dSYM
6830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6831 conftest$ac_exeext conftest.$ac_ext
6832 LIBS=$ac_check_lib_save_LIBS
6833 fi
6834 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
6835 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
6836 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
6837
6838 cat >>confdefs.h <<\_ACEOF
6839 #define HAVE_LIBDL 1
6840 _ACEOF
6841
6842 LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
6843 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
6844 fi
6845
6846 fi
6847
6848 rm -rf conftest.dSYM
6849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6850 conftest$ac_exeext conftest.$ac_ext
6851 fi
6852
6853 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
6854 then
6855 lt_save_LIBS="$LIBS"
6856 LIBS="$LIBS $LIBADD_DLOPEN"
6857
6858 for ac_func in dlerror
6859 do
6860 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6861 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6862 $as_echo_n "checking for $ac_func... " >&6; }
6863 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6864 $as_echo_n "(cached) " >&6
6865 else
6866 cat >conftest.$ac_ext <<_ACEOF
6867 /* confdefs.h. */
6868 _ACEOF
6869 cat confdefs.h >>conftest.$ac_ext
6870 cat >>conftest.$ac_ext <<_ACEOF
6871 /* end confdefs.h. */
6872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6874 #define $ac_func innocuous_$ac_func
6875
6876 /* System header to define __stub macros and hopefully few prototypes,
6877 which can conflict with char $ac_func (); below.
6878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6879 <limits.h> exists even on freestanding compilers. */
6880
6881 #ifdef __STDC__
6882 # include <limits.h>
6883 #else
6884 # include <assert.h>
6885 #endif
6886
6887 #undef $ac_func
6888
6889 /* Override any GCC internal prototype to avoid an error.
6890 Use char because int might match the return type of a GCC
6891 builtin and then its argument prototype would still apply. */
6892 #ifdef __cplusplus
6893 extern "C"
6894 #endif
6895 char $ac_func ();
6896 /* The GNU C library defines this for functions which it implements
6897 to always fail with ENOSYS. Some functions are actually named
6898 something starting with __ and the normal name is an alias. */
6899 #if defined __stub_$ac_func || defined __stub___$ac_func
6900 choke me
6901 #endif
6902
6903 int
6904 main ()
6905 {
6906 return $ac_func ();
6907 ;
6908 return 0;
6909 }
6910 _ACEOF
6911 rm -f conftest.$ac_objext conftest$ac_exeext
6912 if { (ac_try="$ac_link"
6913 case "(($ac_try" in
6914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6915 *) ac_try_echo=$ac_try;;
6916 esac
6917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6918 $as_echo "$ac_try_echo") >&5
6919 (eval "$ac_link") 2>conftest.er1
6920 ac_status=$?
6921 grep -v '^ *+' conftest.er1 >conftest.err
6922 rm -f conftest.er1
6923 cat conftest.err >&5
6924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); } && {
6926 test -z "$ac_c_werror_flag" ||
6927 test ! -s conftest.err
6928 } && test -s conftest$ac_exeext && {
6929 test "$cross_compiling" = yes ||
6930 $as_test_x conftest$ac_exeext
6931 }; then
6932 eval "$as_ac_var=yes"
6933 else
6934 $as_echo "$as_me: failed program was:" >&5
6935 sed 's/^/| /' conftest.$ac_ext >&5
6936
6937 eval "$as_ac_var=no"
6938 fi
6939
6940 rm -rf conftest.dSYM
6941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6942 conftest$ac_exeext conftest.$ac_ext
6943 fi
6944 ac_res=`eval 'as_val=${'$as_ac_var'}
6945 $as_echo "$as_val"'`
6946 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6947 $as_echo "$ac_res" >&6; }
6948 as_val=`eval 'as_val=${'$as_ac_var'}
6949 $as_echo "$as_val"'`
6950 if test "x$as_val" = x""yes; then
6951 cat >>confdefs.h <<_ACEOF
6952 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6953 _ACEOF
6954
6955 fi
6956 done
6957
6958 LIBS="$lt_save_LIBS"
6959 fi
6960
6961
6962 LIBADD_SHL_LOAD=
6963 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
6964 $as_echo_n "checking for shl_load... " >&6; }
6965 if test "${ac_cv_func_shl_load+set}" = set; then
6966 $as_echo_n "(cached) " >&6
6967 else
6968 cat >conftest.$ac_ext <<_ACEOF
6969 /* confdefs.h. */
6970 _ACEOF
6971 cat confdefs.h >>conftest.$ac_ext
6972 cat >>conftest.$ac_ext <<_ACEOF
6973 /* end confdefs.h. */
6974 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
6975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6976 #define shl_load innocuous_shl_load
6977
6978 /* System header to define __stub macros and hopefully few prototypes,
6979 which can conflict with char shl_load (); below.
6980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6981 <limits.h> exists even on freestanding compilers. */
6982
6983 #ifdef __STDC__
6984 # include <limits.h>
6985 #else
6986 # include <assert.h>
6987 #endif
6988
6989 #undef shl_load
6990
6991 /* Override any GCC internal prototype to avoid an error.
6992 Use char because int might match the return type of a GCC
6993 builtin and then its argument prototype would still apply. */
6994 #ifdef __cplusplus
6995 extern "C"
6996 #endif
6997 char shl_load ();
6998 /* The GNU C library defines this for functions which it implements
6999 to always fail with ENOSYS. Some functions are actually named
7000 something starting with __ and the normal name is an alias. */
7001 #if defined __stub_shl_load || defined __stub___shl_load
7002 choke me
7003 #endif
7004
7005 int
7006 main ()
7007 {
7008 return shl_load ();
7009 ;
7010 return 0;
7011 }
7012 _ACEOF
7013 rm -f conftest.$ac_objext conftest$ac_exeext
7014 if { (ac_try="$ac_link"
7015 case "(($ac_try" in
7016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7017 *) ac_try_echo=$ac_try;;
7018 esac
7019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7020 $as_echo "$ac_try_echo") >&5
7021 (eval "$ac_link") 2>conftest.er1
7022 ac_status=$?
7023 grep -v '^ *+' conftest.er1 >conftest.err
7024 rm -f conftest.er1
7025 cat conftest.err >&5
7026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027 (exit $ac_status); } && {
7028 test -z "$ac_c_werror_flag" ||
7029 test ! -s conftest.err
7030 } && test -s conftest$ac_exeext && {
7031 test "$cross_compiling" = yes ||
7032 $as_test_x conftest$ac_exeext
7033 }; then
7034 ac_cv_func_shl_load=yes
7035 else
7036 $as_echo "$as_me: failed program was:" >&5
7037 sed 's/^/| /' conftest.$ac_ext >&5
7038
7039 ac_cv_func_shl_load=no
7040 fi
7041
7042 rm -rf conftest.dSYM
7043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7044 conftest$ac_exeext conftest.$ac_ext
7045 fi
7046 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
7047 $as_echo "$ac_cv_func_shl_load" >&6; }
7048 if test "x$ac_cv_func_shl_load" = x""yes; then
7049
7050 cat >>confdefs.h <<\_ACEOF
7051 #define HAVE_SHL_LOAD 1
7052 _ACEOF
7053
7054 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
7055 else
7056 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
7057 $as_echo_n "checking for shl_load in -ldld... " >&6; }
7058 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
7059 $as_echo_n "(cached) " >&6
7060 else
7061 ac_check_lib_save_LIBS=$LIBS
7062 LIBS="-ldld $LIBS"
7063 cat >conftest.$ac_ext <<_ACEOF
7064 /* confdefs.h. */
7065 _ACEOF
7066 cat confdefs.h >>conftest.$ac_ext
7067 cat >>conftest.$ac_ext <<_ACEOF
7068 /* end confdefs.h. */
7069
7070 /* Override any GCC internal prototype to avoid an error.
7071 Use char because int might match the return type of a GCC
7072 builtin and then its argument prototype would still apply. */
7073 #ifdef __cplusplus
7074 extern "C"
7075 #endif
7076 char shl_load ();
7077 int
7078 main ()
7079 {
7080 return shl_load ();
7081 ;
7082 return 0;
7083 }
7084 _ACEOF
7085 rm -f conftest.$ac_objext conftest$ac_exeext
7086 if { (ac_try="$ac_link"
7087 case "(($ac_try" in
7088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7089 *) ac_try_echo=$ac_try;;
7090 esac
7091 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7092 $as_echo "$ac_try_echo") >&5
7093 (eval "$ac_link") 2>conftest.er1
7094 ac_status=$?
7095 grep -v '^ *+' conftest.er1 >conftest.err
7096 rm -f conftest.er1
7097 cat conftest.err >&5
7098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); } && {
7100 test -z "$ac_c_werror_flag" ||
7101 test ! -s conftest.err
7102 } && test -s conftest$ac_exeext && {
7103 test "$cross_compiling" = yes ||
7104 $as_test_x conftest$ac_exeext
7105 }; then
7106 ac_cv_lib_dld_shl_load=yes
7107 else
7108 $as_echo "$as_me: failed program was:" >&5
7109 sed 's/^/| /' conftest.$ac_ext >&5
7110
7111 ac_cv_lib_dld_shl_load=no
7112 fi
7113
7114 rm -rf conftest.dSYM
7115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7116 conftest$ac_exeext conftest.$ac_ext
7117 LIBS=$ac_check_lib_save_LIBS
7118 fi
7119 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
7120 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
7121 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
7122
7123 cat >>confdefs.h <<\_ACEOF
7124 #define HAVE_SHL_LOAD 1
7125 _ACEOF
7126
7127 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
7128 LIBADD_SHL_LOAD="-ldld"
7129 fi
7130
7131 fi
7132
7133
7134
7135 case $host_os in
7136 darwin[1567].*)
7137 # We only want this for pre-Mac OS X 10.4.
7138 { $as_echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
7139 $as_echo_n "checking for _dyld_func_lookup... " >&6; }
7140 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
7141 $as_echo_n "(cached) " >&6
7142 else
7143 cat >conftest.$ac_ext <<_ACEOF
7144 /* confdefs.h. */
7145 _ACEOF
7146 cat confdefs.h >>conftest.$ac_ext
7147 cat >>conftest.$ac_ext <<_ACEOF
7148 /* end confdefs.h. */
7149 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
7150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7151 #define _dyld_func_lookup innocuous__dyld_func_lookup
7152
7153 /* System header to define __stub macros and hopefully few prototypes,
7154 which can conflict with char _dyld_func_lookup (); below.
7155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7156 <limits.h> exists even on freestanding compilers. */
7157
7158 #ifdef __STDC__
7159 # include <limits.h>
7160 #else
7161 # include <assert.h>
7162 #endif
7163
7164 #undef _dyld_func_lookup
7165
7166 /* Override any GCC internal prototype to avoid an error.
7167 Use char because int might match the return type of a GCC
7168 builtin and then its argument prototype would still apply. */
7169 #ifdef __cplusplus
7170 extern "C"
7171 #endif
7172 char _dyld_func_lookup ();
7173 /* The GNU C library defines this for functions which it implements
7174 to always fail with ENOSYS. Some functions are actually named
7175 something starting with __ and the normal name is an alias. */
7176 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
7177 choke me
7178 #endif
7179
7180 int
7181 main ()
7182 {
7183 return _dyld_func_lookup ();
7184 ;
7185 return 0;
7186 }
7187 _ACEOF
7188 rm -f conftest.$ac_objext conftest$ac_exeext
7189 if { (ac_try="$ac_link"
7190 case "(($ac_try" in
7191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7192 *) ac_try_echo=$ac_try;;
7193 esac
7194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7195 $as_echo "$ac_try_echo") >&5
7196 (eval "$ac_link") 2>conftest.er1
7197 ac_status=$?
7198 grep -v '^ *+' conftest.er1 >conftest.err
7199 rm -f conftest.er1
7200 cat conftest.err >&5
7201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7202 (exit $ac_status); } && {
7203 test -z "$ac_c_werror_flag" ||
7204 test ! -s conftest.err
7205 } && test -s conftest$ac_exeext && {
7206 test "$cross_compiling" = yes ||
7207 $as_test_x conftest$ac_exeext
7208 }; then
7209 ac_cv_func__dyld_func_lookup=yes
7210 else
7211 $as_echo "$as_me: failed program was:" >&5
7212 sed 's/^/| /' conftest.$ac_ext >&5
7213
7214 ac_cv_func__dyld_func_lookup=no
7215 fi
7216
7217 rm -rf conftest.dSYM
7218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7219 conftest$ac_exeext conftest.$ac_ext
7220 fi
7221 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
7222 $as_echo "$ac_cv_func__dyld_func_lookup" >&6; }
7223 if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then
7224
7225 cat >>confdefs.h <<\_ACEOF
7226 #define HAVE_DYLD 1
7227 _ACEOF
7228
7229 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
7230 fi
7231
7232 ;;
7233 beos*)
7234 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
7235 ;;
7236 cygwin* | mingw* | os2* | pw32*)
7237 { $as_echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
7238 $as_echo_n "checking whether cygwin_conv_path is declared... " >&6; }
7239 if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
7240 $as_echo_n "(cached) " >&6
7241 else
7242 cat >conftest.$ac_ext <<_ACEOF
7243 /* confdefs.h. */
7244 _ACEOF
7245 cat confdefs.h >>conftest.$ac_ext
7246 cat >>conftest.$ac_ext <<_ACEOF
7247 /* end confdefs.h. */
7248 #include <sys/cygwin.h>
7249
7250 int
7251 main ()
7252 {
7253 #ifndef cygwin_conv_path
7254 (void) cygwin_conv_path;
7255 #endif
7256
7257 ;
7258 return 0;
7259 }
7260 _ACEOF
7261 rm -f conftest.$ac_objext
7262 if { (ac_try="$ac_compile"
7263 case "(($ac_try" in
7264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7265 *) ac_try_echo=$ac_try;;
7266 esac
7267 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7268 $as_echo "$ac_try_echo") >&5
7269 (eval "$ac_compile") 2>conftest.er1
7270 ac_status=$?
7271 grep -v '^ *+' conftest.er1 >conftest.err
7272 rm -f conftest.er1
7273 cat conftest.err >&5
7274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7275 (exit $ac_status); } && {
7276 test -z "$ac_c_werror_flag" ||
7277 test ! -s conftest.err
7278 } && test -s conftest.$ac_objext; then
7279 ac_cv_have_decl_cygwin_conv_path=yes
7280 else
7281 $as_echo "$as_me: failed program was:" >&5
7282 sed 's/^/| /' conftest.$ac_ext >&5
7283
7284 ac_cv_have_decl_cygwin_conv_path=no
7285 fi
7286
7287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7288 fi
7289 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
7290 $as_echo "$ac_cv_have_decl_cygwin_conv_path" >&6; }
7291 if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then
7292
7293 cat >>confdefs.h <<_ACEOF
7294 #define HAVE_DECL_CYGWIN_CONV_PATH 1
7295 _ACEOF
7296
7297
7298 else
7299 cat >>confdefs.h <<_ACEOF
7300 #define HAVE_DECL_CYGWIN_CONV_PATH 0
7301 _ACEOF
7302
7303
7304 fi
7305
7306
7307 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
7308 ;;
7309 esac
7310
7311 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
7312 $as_echo_n "checking for dld_link in -ldld... " >&6; }
7313 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
7314 $as_echo_n "(cached) " >&6
7315 else
7316 ac_check_lib_save_LIBS=$LIBS
7317 LIBS="-ldld $LIBS"
7318 cat >conftest.$ac_ext <<_ACEOF
7319 /* confdefs.h. */
7320 _ACEOF
7321 cat confdefs.h >>conftest.$ac_ext
7322 cat >>conftest.$ac_ext <<_ACEOF
7323 /* end confdefs.h. */
7324
7325 /* Override any GCC internal prototype to avoid an error.
7326 Use char because int might match the return type of a GCC
7327 builtin and then its argument prototype would still apply. */
7328 #ifdef __cplusplus
7329 extern "C"
7330 #endif
7331 char dld_link ();
7332 int
7333 main ()
7334 {
7335 return dld_link ();
7336 ;
7337 return 0;
7338 }
7339 _ACEOF
7340 rm -f conftest.$ac_objext conftest$ac_exeext
7341 if { (ac_try="$ac_link"
7342 case "(($ac_try" in
7343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7344 *) ac_try_echo=$ac_try;;
7345 esac
7346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7347 $as_echo "$ac_try_echo") >&5
7348 (eval "$ac_link") 2>conftest.er1
7349 ac_status=$?
7350 grep -v '^ *+' conftest.er1 >conftest.err
7351 rm -f conftest.er1
7352 cat conftest.err >&5
7353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7354 (exit $ac_status); } && {
7355 test -z "$ac_c_werror_flag" ||
7356 test ! -s conftest.err
7357 } && test -s conftest$ac_exeext && {
7358 test "$cross_compiling" = yes ||
7359 $as_test_x conftest$ac_exeext
7360 }; then
7361 ac_cv_lib_dld_dld_link=yes
7362 else
7363 $as_echo "$as_me: failed program was:" >&5
7364 sed 's/^/| /' conftest.$ac_ext >&5
7365
7366 ac_cv_lib_dld_dld_link=no
7367 fi
7368
7369 rm -rf conftest.dSYM
7370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7371 conftest$ac_exeext conftest.$ac_ext
7372 LIBS=$ac_check_lib_save_LIBS
7373 fi
7374 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
7375 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
7376 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
7377
7378 cat >>confdefs.h <<\_ACEOF
7379 #define HAVE_DLD 1
7380 _ACEOF
7381
7382 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
7383 fi
7384
7385
7386
7387
7388 LT_DLPREOPEN=
7389 if test -n "$LT_DLLOADERS"
7390 then
7391 for lt_loader in $LT_DLLOADERS; do
7392 LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
7393 done
7394
7395 cat >>confdefs.h <<\_ACEOF
7396 #define HAVE_LIBDLLOADER 1
7397 _ACEOF
7398
7399 fi
7400
7401
7402 LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
7403
7404
7405 ac_ext=cpp
7406 ac_cpp='$CXXCPP $CPPFLAGS'
7407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7410
7411
7412 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
7413 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7414 if test "${lt_cv_path_NM+set}" = set; then
7415 $as_echo_n "(cached) " >&6
7416 else
7417 if test -n "$NM"; then
7418 # Let the user override the test.
7419 lt_cv_path_NM="$NM"
7420 else
7421 lt_nm_to_check="${ac_tool_prefix}nm"
7422 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7423 lt_nm_to_check="$lt_nm_to_check nm"
7424 fi
7425 for lt_tmp_nm in $lt_nm_to_check; do
7426 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7427 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7428 IFS="$lt_save_ifs"
7429 test -z "$ac_dir" && ac_dir=.
7430 tmp_nm="$ac_dir/$lt_tmp_nm"
7431 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7432 # Check to see if the nm accepts a BSD-compat flag.
7433 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7434 # nm: unknown option "B" ignored
7435 # Tru64's nm complains that /dev/null is an invalid object file
7436 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7437 */dev/null* | *'Invalid file or object type'*)
7438 lt_cv_path_NM="$tmp_nm -B"
7439 break
7440 ;;
7441 *)
7442 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7443 */dev/null*)
7444 lt_cv_path_NM="$tmp_nm -p"
7445 break
7446 ;;
7447 *)
7448 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7449 continue # so that we can try to find one that supports BSD flags
7450 ;;
7451 esac
7452 ;;
7453 esac
7454 fi
7455 done
7456 IFS="$lt_save_ifs"
7457 done
7458 : ${lt_cv_path_NM=no}
7459 fi
7460 fi
7461 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7462 $as_echo "$lt_cv_path_NM" >&6; }
7463 if test "$lt_cv_path_NM" != "no"; then
7464 NM="$lt_cv_path_NM"
7465 else
7466 # Didn't find any BSD compatible name lister, look for dumpbin.
7467 if test -n "$DUMPBIN"; then :
7468 # Let the user override the test.
7469 else
7470 if test -n "$ac_tool_prefix"; then
7471 for ac_prog in dumpbin "link -dump"
7472 do
7473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7475 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7476 $as_echo_n "checking for $ac_word... " >&6; }
7477 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
7478 $as_echo_n "(cached) " >&6
7479 else
7480 if test -n "$DUMPBIN"; then
7481 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7482 else
7483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7484 for as_dir in $PATH
7485 do
7486 IFS=$as_save_IFS
7487 test -z "$as_dir" && as_dir=.
7488 for ac_exec_ext in '' $ac_executable_extensions; do
7489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7490 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7491 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7492 break 2
7493 fi
7494 done
7495 done
7496 IFS=$as_save_IFS
7497
7498 fi
7499 fi
7500 DUMPBIN=$ac_cv_prog_DUMPBIN
7501 if test -n "$DUMPBIN"; then
7502 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
7503 $as_echo "$DUMPBIN" >&6; }
7504 else
7505 { $as_echo "$as_me:$LINENO: result: no" >&5
7506 $as_echo "no" >&6; }
7507 fi
7508
7509
7510 test -n "$DUMPBIN" && break
7511 done
7512 fi
7513 if test -z "$DUMPBIN"; then
7514 ac_ct_DUMPBIN=$DUMPBIN
7515 for ac_prog in dumpbin "link -dump"
7516 do
7517 # Extract the first word of "$ac_prog", so it can be a program name with args.
7518 set dummy $ac_prog; ac_word=$2
7519 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7520 $as_echo_n "checking for $ac_word... " >&6; }
7521 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
7522 $as_echo_n "(cached) " >&6
7523 else
7524 if test -n "$ac_ct_DUMPBIN"; then
7525 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7526 else
7527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7528 for as_dir in $PATH
7529 do
7530 IFS=$as_save_IFS
7531 test -z "$as_dir" && as_dir=.
7532 for ac_exec_ext in '' $ac_executable_extensions; do
7533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7534 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7535 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7536 break 2
7537 fi
7538 done
7539 done
7540 IFS=$as_save_IFS
7541
7542 fi
7543 fi
7544 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7545 if test -n "$ac_ct_DUMPBIN"; then
7546 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
7547 $as_echo "$ac_ct_DUMPBIN" >&6; }
7548 else
7549 { $as_echo "$as_me:$LINENO: result: no" >&5
7550 $as_echo "no" >&6; }
7551 fi
7552
7553
7554 test -n "$ac_ct_DUMPBIN" && break
7555 done
7556
7557 if test "x$ac_ct_DUMPBIN" = x; then
7558 DUMPBIN=":"
7559 else
7560 case $cross_compiling:$ac_tool_warned in
7561 yes:)
7562 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7564 ac_tool_warned=yes ;;
7565 esac
7566 DUMPBIN=$ac_ct_DUMPBIN
7567 fi
7568 fi
7569
7570 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7571 *COFF*)
7572 DUMPBIN="$DUMPBIN -symbols"
7573 ;;
7574 *)
7575 DUMPBIN=:
7576 ;;
7577 esac
7578 fi
7579
7580 if test "$DUMPBIN" != ":"; then
7581 NM="$DUMPBIN"
7582 fi
7583 fi
7584 test -z "$NM" && NM=nm
7585
7586
7587
7588
7589
7590
7591 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
7592 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7593 if test "${lt_cv_nm_interface+set}" = set; then
7594 $as_echo_n "(cached) " >&6
7595 else
7596 lt_cv_nm_interface="BSD nm"
7597 echo "int some_variable = 0;" > conftest.$ac_ext
7598 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7599 (eval "$ac_compile" 2>conftest.err)
7600 cat conftest.err >&5
7601 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7602 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7603 cat conftest.err >&5
7604 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7605 cat conftest.out >&5
7606 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7607 lt_cv_nm_interface="MS dumpbin"
7608 fi
7609 rm -f conftest*
7610 fi
7611 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
7612 $as_echo "$lt_cv_nm_interface" >&6; }
7613
7614 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7615 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7616 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7617
7618 { $as_echo "$as_me:$LINENO: checking how to print strings" >&5
7619 $as_echo_n "checking how to print strings... " >&6; }
7620 # Test print first, because it will be a builtin if present.
7621 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7622 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7623 ECHO='print -r --'
7624 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7625 ECHO='printf %s\n'
7626 else
7627 # Use this function as a fallback that always works.
7628 func_fallback_echo ()
7629 {
7630 eval 'cat <<_LTECHO_EOF
7631 $1
7632 _LTECHO_EOF'
7633 }
7634 ECHO='func_fallback_echo'
7635 fi
7636
7637 # func_echo_all arg...
7638 # Invoke $ECHO with all args, space-separated.
7639 func_echo_all ()
7640 {
7641 $ECHO ""
7642 }
7643
7644 case "$ECHO" in
7645 printf*) { $as_echo "$as_me:$LINENO: result: printf" >&5
7646 $as_echo "printf" >&6; } ;;
7647 print*) { $as_echo "$as_me:$LINENO: result: print -r" >&5
7648 $as_echo "print -r" >&6; } ;;
7649 *) { $as_echo "$as_me:$LINENO: result: cat" >&5
7650 $as_echo "cat" >&6; } ;;
7651 esac
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668 # Check whether --with-gnu-ld was given.
7669 if test "${with_gnu_ld+set}" = set; then
7670 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7671 else
7672 with_gnu_ld=no
7673 fi
7674
7675 ac_prog=ld
7676 if test "$GCC" = yes; then
7677 # Check if gcc -print-prog-name=ld gives a path.
7678 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7679 $as_echo_n "checking for ld used by $CC... " >&6; }
7680 case $host in
7681 *-*-mingw*)
7682 # gcc leaves a trailing carriage return which upsets mingw
7683 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7684 *)
7685 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7686 esac
7687 case $ac_prog in
7688 # Accept absolute paths.
7689 [\\/]* | ?:[\\/]*)
7690 re_direlt='/[^/][^/]*/\.\./'
7691 # Canonicalize the pathname of ld
7692 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7693 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7694 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7695 done
7696 test -z "$LD" && LD="$ac_prog"
7697 ;;
7698 "")
7699 # If it fails, then pretend we aren't using GCC.
7700 ac_prog=ld
7701 ;;
7702 *)
7703 # If it is relative, then search for the first ld in PATH.
7704 with_gnu_ld=unknown
7705 ;;
7706 esac
7707 elif test "$with_gnu_ld" = yes; then
7708 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
7709 $as_echo_n "checking for GNU ld... " >&6; }
7710 else
7711 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7712 $as_echo_n "checking for non-GNU ld... " >&6; }
7713 fi
7714 if test "${lt_cv_path_LD+set}" = set; then
7715 $as_echo_n "(cached) " >&6
7716 else
7717 if test -z "$LD"; then
7718 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7719 for ac_dir in $PATH; do
7720 IFS="$lt_save_ifs"
7721 test -z "$ac_dir" && ac_dir=.
7722 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7723 lt_cv_path_LD="$ac_dir/$ac_prog"
7724 # Check to see if the program is GNU ld. I'd rather use --version,
7725 # but apparently some variants of GNU ld only accept -v.
7726 # Break only if it was the GNU/non-GNU ld that we prefer.
7727 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7728 *GNU* | *'with BFD'*)
7729 test "$with_gnu_ld" != no && break
7730 ;;
7731 *)
7732 test "$with_gnu_ld" != yes && break
7733 ;;
7734 esac
7735 fi
7736 done
7737 IFS="$lt_save_ifs"
7738 else
7739 lt_cv_path_LD="$LD" # Let the user override the test with a path.
7740 fi
7741 fi
7742
7743 LD="$lt_cv_path_LD"
7744 if test -n "$LD"; then
7745 { $as_echo "$as_me:$LINENO: result: $LD" >&5
7746 $as_echo "$LD" >&6; }
7747 else
7748 { $as_echo "$as_me:$LINENO: result: no" >&5
7749 $as_echo "no" >&6; }
7750 fi
7751 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7752 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7753 { (exit 1); exit 1; }; }
7754 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7755 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7756 if test "${lt_cv_prog_gnu_ld+set}" = set; then
7757 $as_echo_n "(cached) " >&6
7758 else
7759 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7760 case `$LD -v 2>&1 </dev/null` in
7761 *GNU* | *'with BFD'*)
7762 lt_cv_prog_gnu_ld=yes
7763 ;;
7764 *)
7765 lt_cv_prog_gnu_ld=no
7766 ;;
7767 esac
7768 fi
7769 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
7770 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7771 with_gnu_ld=$lt_cv_prog_gnu_ld
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799 # If no C compiler was specified, use CC.
7800 LTCC=${LTCC-"$CC"}
7801
7802 # If no C compiler flags were specified, use CFLAGS.
7803 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7804
7805 # Allow CC to be a program name with arguments.
7806 compiler=$CC
7807
7808
7809 # Check for command to grab the raw symbol name followed by C symbol from nm.
7810 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7811 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7812 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7813 $as_echo_n "(cached) " >&6
7814 else
7815
7816 # These are sane defaults that work on at least a few old systems.
7817 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7818
7819 # Character class describing NM global symbol codes.
7820 symcode='[BCDEGRST]'
7821
7822 # Regexp to match symbols that can be accessed directly from C.
7823 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7824
7825 # Define system-specific variables.
7826 case $host_os in
7827 aix*)
7828 symcode='[BCDT]'
7829 ;;
7830 cygwin* | mingw* | pw32* | cegcc*)
7831 symcode='[ABCDGISTW]'
7832 ;;
7833 hpux*)
7834 if test "$host_cpu" = ia64; then
7835 symcode='[ABCDEGRST]'
7836 fi
7837 ;;
7838 irix* | nonstopux*)
7839 symcode='[BCDEGRST]'
7840 ;;
7841 osf*)
7842 symcode='[BCDEGQRST]'
7843 ;;
7844 solaris*)
7845 symcode='[BDRT]'
7846 ;;
7847 sco3.2v5*)
7848 symcode='[DT]'
7849 ;;
7850 sysv4.2uw2*)
7851 symcode='[DT]'
7852 ;;
7853 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7854 symcode='[ABDT]'
7855 ;;
7856 sysv4)
7857 symcode='[DFNSTU]'
7858 ;;
7859 esac
7860
7861 # If we're using GNU nm, then use its standard symbol codes.
7862 case `$NM -V 2>&1` in
7863 *GNU* | *'with BFD'*)
7864 symcode='[ABCDGIRSTW]' ;;
7865 esac
7866
7867 # Transform an extracted symbol line into a proper C declaration.
7868 # Some systems (esp. on ia64) link data and code symbols differently,
7869 # so use this general approach.
7870 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7871
7872 # Transform an extracted symbol line into symbol name and symbol address
7873 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7874 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7875
7876 # Handle CRLF in mingw tool chain
7877 opt_cr=
7878 case $build_os in
7879 mingw*)
7880 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7881 ;;
7882 esac
7883
7884 # Try without a prefix underscore, then with it.
7885 for ac_symprfx in "" "_"; do
7886
7887 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7888 symxfrm="\\1 $ac_symprfx\\2 \\2"
7889
7890 # Write the raw and C identifiers.
7891 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7892 # Fake it for dumpbin and say T for any non-static function
7893 # and D for any global variable.
7894 # Also find C++ and __fastcall symbols from MSVC++,
7895 # which start with @ or ?.
7896 lt_cv_sys_global_symbol_pipe="$AWK '"\
7897 " {last_section=section; section=\$ 3};"\
7898 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7899 " \$ 0!~/External *\|/{next};"\
7900 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7901 " {if(hide[section]) next};"\
7902 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7903 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7904 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7905 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7906 " ' prfx=^$ac_symprfx"
7907 else
7908 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7909 fi
7910 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7911
7912 # Check to see that the pipe works correctly.
7913 pipe_works=no
7914
7915 rm -f conftest*
7916 cat > conftest.$ac_ext <<_LT_EOF
7917 #ifdef __cplusplus
7918 extern "C" {
7919 #endif
7920 char nm_test_var;
7921 void nm_test_func(void);
7922 void nm_test_func(void){}
7923 #ifdef __cplusplus
7924 }
7925 #endif
7926 int main(){nm_test_var='a';nm_test_func();return(0);}
7927 _LT_EOF
7928
7929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7930 (eval $ac_compile) 2>&5
7931 ac_status=$?
7932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7933 (exit $ac_status); }; then
7934 # Now try to grab the symbols.
7935 nlist=conftest.nm
7936 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\"") >&5
7937 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7938 ac_status=$?
7939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); } && test -s "$nlist"; then
7941 # Try sorting and uniquifying the output.
7942 if sort "$nlist" | uniq > "$nlist"T; then
7943 mv -f "$nlist"T "$nlist"
7944 else
7945 rm -f "$nlist"T
7946 fi
7947
7948 # Make sure that we snagged all the symbols we need.
7949 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7950 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7951 cat <<_LT_EOF > conftest.$ac_ext
7952 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7953 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7954 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7955 relocations are performed -- see ld's documentation on pseudo-relocs. */
7956 # define LT_DLSYM_CONST
7957 #elif defined(__osf__)
7958 /* This system does not cope well with relocations in const data. */
7959 # define LT_DLSYM_CONST
7960 #else
7961 # define LT_DLSYM_CONST const
7962 #endif
7963
7964 #ifdef __cplusplus
7965 extern "C" {
7966 #endif
7967
7968 _LT_EOF
7969 # Now generate the symbol file.
7970 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7971
7972 cat <<_LT_EOF >> conftest.$ac_ext
7973
7974 /* The mapping between symbol names and symbols. */
7975 LT_DLSYM_CONST struct {
7976 const char *name;
7977 void *address;
7978 }
7979 lt__PROGRAM__LTX_preloaded_symbols[] =
7980 {
7981 { "@PROGRAM@", (void *) 0 },
7982 _LT_EOF
7983 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7984 cat <<\_LT_EOF >> conftest.$ac_ext
7985 {0, (void *) 0}
7986 };
7987
7988 /* This works around a problem in FreeBSD linker */
7989 #ifdef FREEBSD_WORKAROUND
7990 static const void *lt_preloaded_setup() {
7991 return lt__PROGRAM__LTX_preloaded_symbols;
7992 }
7993 #endif
7994
7995 #ifdef __cplusplus
7996 }
7997 #endif
7998 _LT_EOF
7999 # Now try linking the two files.
8000 mv conftest.$ac_objext conftstm.$ac_objext
8001 lt_globsym_save_LIBS=$LIBS
8002 lt_globsym_save_CFLAGS=$CFLAGS
8003 LIBS="conftstm.$ac_objext"
8004 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8006 (eval $ac_link) 2>&5
8007 ac_status=$?
8008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); } && test -s conftest${ac_exeext}; then
8010 pipe_works=yes
8011 fi
8012 LIBS=$lt_globsym_save_LIBS
8013 CFLAGS=$lt_globsym_save_CFLAGS
8014 else
8015 echo "cannot find nm_test_func in $nlist" >&5
8016 fi
8017 else
8018 echo "cannot find nm_test_var in $nlist" >&5
8019 fi
8020 else
8021 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8022 fi
8023 else
8024 echo "$progname: failed program was:" >&5
8025 cat conftest.$ac_ext >&5
8026 fi
8027 rm -rf conftest* conftst*
8028
8029 # Do not use the global_symbol_pipe unless it works.
8030 if test "$pipe_works" = yes; then
8031 break
8032 else
8033 lt_cv_sys_global_symbol_pipe=
8034 fi
8035 done
8036
8037 fi
8038
8039 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8040 lt_cv_sys_global_symbol_to_cdecl=
8041 fi
8042 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8043 { $as_echo "$as_me:$LINENO: result: failed" >&5
8044 $as_echo "failed" >&6; }
8045 else
8046 { $as_echo "$as_me:$LINENO: result: ok" >&5
8047 $as_echo "ok" >&6; }
8048 fi
8049
8050 # Response file support.
8051 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8052 nm_file_list_spec='@'
8053 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8054 nm_file_list_spec='@'
8055 fi
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083 { $as_echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
8084 $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
8085 if test "${lt_cv_sys_symbol_underscore+set}" = set; then
8086 $as_echo_n "(cached) " >&6
8087 else
8088 lt_cv_sys_symbol_underscore=no
8089 cat > conftest.$ac_ext <<_LT_EOF
8090 void nm_test_func(){}
8091 int main(){nm_test_func;return 0;}
8092 _LT_EOF
8093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8094 (eval $ac_compile) 2>&5
8095 ac_status=$?
8096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 (exit $ac_status); }; then
8098 # Now try to grab the symbols.
8099 ac_nlist=conftest.nm
8100 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
8101 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
8102 ac_status=$?
8103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8104 (exit $ac_status); } && test -s "$ac_nlist"; then
8105 # See whether the symbols have a leading underscore.
8106 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
8107 lt_cv_sys_symbol_underscore=yes
8108 else
8109 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
8110 :
8111 else
8112 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
8113 fi
8114 fi
8115 else
8116 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
8117 fi
8118 else
8119 echo "configure: failed program was:" >&5
8120 cat conftest.c >&5
8121 fi
8122 rm -rf conftest*
8123
8124 fi
8125 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
8126 $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
8127 sys_symbol_underscore=$lt_cv_sys_symbol_underscore
8128
8129
8130
8131 for ac_header in dlfcn.h
8132 do
8133 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8134 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8135 $as_echo_n "checking for $ac_header... " >&6; }
8136 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8137 $as_echo_n "(cached) " >&6
8138 else
8139 cat >conftest.$ac_ext <<_ACEOF
8140 /* confdefs.h. */
8141 _ACEOF
8142 cat confdefs.h >>conftest.$ac_ext
8143 cat >>conftest.$ac_ext <<_ACEOF
8144 /* end confdefs.h. */
8145 $ac_includes_default
8146
8147 #include <$ac_header>
8148 _ACEOF
8149 rm -f conftest.$ac_objext
8150 if { (ac_try="$ac_compile"
8151 case "(($ac_try" in
8152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8153 *) ac_try_echo=$ac_try;;
8154 esac
8155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8156 $as_echo "$ac_try_echo") >&5
8157 (eval "$ac_compile") 2>conftest.er1
8158 ac_status=$?
8159 grep -v '^ *+' conftest.er1 >conftest.err
8160 rm -f conftest.er1
8161 cat conftest.err >&5
8162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8163 (exit $ac_status); } && {
8164 test -z "$ac_cxx_werror_flag" ||
8165 test ! -s conftest.err
8166 } && test -s conftest.$ac_objext; then
8167 eval "$as_ac_Header=yes"
8168 else
8169 $as_echo "$as_me: failed program was:" >&5
8170 sed 's/^/| /' conftest.$ac_ext >&5
8171
8172 eval "$as_ac_Header=no"
8173 fi
8174
8175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8176 fi
8177 ac_res=`eval 'as_val=${'$as_ac_Header'}
8178 $as_echo "$as_val"'`
8179 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8180 $as_echo "$ac_res" >&6; }
8181 as_val=`eval 'as_val=${'$as_ac_Header'}
8182 $as_echo "$as_val"'`
8183 if test "x$as_val" = x""yes; then
8184 cat >>confdefs.h <<_ACEOF
8185 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8186 _ACEOF
8187
8188 fi
8189
8190 done
8191
8192 if test x"$lt_cv_sys_symbol_underscore" = xyes; then
8193 if test x"$libltdl_cv_func_dlopen" = xyes ||
8194 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
8195 { $as_echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
8196 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
8197 if test "${libltdl_cv_need_uscore+set}" = set; then
8198 $as_echo_n "(cached) " >&6
8199 else
8200 libltdl_cv_need_uscore=unknown
8201 save_LIBS="$LIBS"
8202 LIBS="$LIBS $LIBADD_DLOPEN"
8203 if test "$cross_compiling" = yes; then :
8204 libltdl_cv_need_uscore=cross
8205 else
8206 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8207 lt_status=$lt_dlunknown
8208 cat > conftest.$ac_ext <<_LT_EOF
8209 #line $LINENO "configure"
8210 #include "confdefs.h"
8211
8212 #if HAVE_DLFCN_H
8213 #include <dlfcn.h>
8214 #endif
8215
8216 #include <stdio.h>
8217
8218 #ifdef RTLD_GLOBAL
8219 # define LT_DLGLOBAL RTLD_GLOBAL
8220 #else
8221 # ifdef DL_GLOBAL
8222 # define LT_DLGLOBAL DL_GLOBAL
8223 # else
8224 # define LT_DLGLOBAL 0
8225 # endif
8226 #endif
8227
8228 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8229 find out it does not work in some platform. */
8230 #ifndef LT_DLLAZY_OR_NOW
8231 # ifdef RTLD_LAZY
8232 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8233 # else
8234 # ifdef DL_LAZY
8235 # define LT_DLLAZY_OR_NOW DL_LAZY
8236 # else
8237 # ifdef RTLD_NOW
8238 # define LT_DLLAZY_OR_NOW RTLD_NOW
8239 # else
8240 # ifdef DL_NOW
8241 # define LT_DLLAZY_OR_NOW DL_NOW
8242 # else
8243 # define LT_DLLAZY_OR_NOW 0
8244 # endif
8245 # endif
8246 # endif
8247 # endif
8248 #endif
8249
8250 /* When -fvisbility=hidden is used, assume the code has been annotated
8251 correspondingly for the symbols needed. */
8252 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
8253 int fnord () __attribute__((visibility("default")));
8254 #endif
8255
8256 int fnord () { return 42; }
8257 int main ()
8258 {
8259 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8260 int status = $lt_dlunknown;
8261
8262 if (self)
8263 {
8264 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8265 else
8266 {
8267 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8268 else puts (dlerror ());
8269 }
8270 /* dlclose (self); */
8271 }
8272 else
8273 puts (dlerror ());
8274
8275 return status;
8276 }
8277 _LT_EOF
8278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8279 (eval $ac_link) 2>&5
8280 ac_status=$?
8281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8283 (./conftest; exit; ) >&5 2>/dev/null
8284 lt_status=$?
8285 case x$lt_status in
8286 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
8287 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
8288 x$lt_dlunknown|x*) ;;
8289 esac
8290 else :
8291 # compilation failed
8292
8293 fi
8294 fi
8295 rm -fr conftest*
8296
8297 LIBS="$save_LIBS"
8298
8299 fi
8300 { $as_echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
8301 $as_echo "$libltdl_cv_need_uscore" >&6; }
8302 fi
8303 fi
8304
8305 if test x"$libltdl_cv_need_uscore" = xyes; then
8306
8307 cat >>confdefs.h <<\_ACEOF
8308 #define NEED_USCORE 1
8309 _ACEOF
8310
8311 fi
8312
8313 { $as_echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
8314 $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
8315 if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
8316 $as_echo_n "(cached) " >&6
8317 else
8318 # PORTME does your system automatically load deplibs for dlopen?
8319 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
8320 # For now, we just catch OSes we know something about -- in the
8321 # future, we'll try test this programmatically.
8322 lt_cv_sys_dlopen_deplibs=unknown
8323 case $host_os in
8324 aix3*|aix4.1.*|aix4.2.*)
8325 # Unknown whether this is true for these versions of AIX, but
8326 # we want this `case' here to explicitly catch those versions.
8327 lt_cv_sys_dlopen_deplibs=unknown
8328 ;;
8329 aix[4-9]*)
8330 lt_cv_sys_dlopen_deplibs=yes
8331 ;;
8332 amigaos*)
8333 case $host_cpu in
8334 powerpc)
8335 lt_cv_sys_dlopen_deplibs=no
8336 ;;
8337 esac
8338 ;;
8339 darwin*)
8340 # Assuming the user has installed a libdl from somewhere, this is true
8341 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
8342 lt_cv_sys_dlopen_deplibs=yes
8343 ;;
8344 freebsd* | dragonfly*)
8345 lt_cv_sys_dlopen_deplibs=yes
8346 ;;
8347 gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
8348 # GNU and its variants, using gnu ld.so (Glibc)
8349 lt_cv_sys_dlopen_deplibs=yes
8350 ;;
8351 hpux10*|hpux11*)
8352 lt_cv_sys_dlopen_deplibs=yes
8353 ;;
8354 interix*)
8355 lt_cv_sys_dlopen_deplibs=yes
8356 ;;
8357 irix[12345]*|irix6.[01]*)
8358 # Catch all versions of IRIX before 6.2, and indicate that we don't
8359 # know how it worked for any of those versions.
8360 lt_cv_sys_dlopen_deplibs=unknown
8361 ;;
8362 irix*)
8363 # The case above catches anything before 6.2, and it's known that
8364 # at 6.2 and later dlopen does load deplibs.
8365 lt_cv_sys_dlopen_deplibs=yes
8366 ;;
8367 netbsd*)
8368 lt_cv_sys_dlopen_deplibs=yes
8369 ;;
8370 openbsd*)
8371 lt_cv_sys_dlopen_deplibs=yes
8372 ;;
8373 osf[1234]*)
8374 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
8375 # it did *not* use an RPATH in a shared library to find objects the
8376 # library depends on, so we explicitly say `no'.
8377 lt_cv_sys_dlopen_deplibs=no
8378 ;;
8379 osf5.0|osf5.0a|osf5.1)
8380 # dlopen *does* load deplibs and with the right loader patch applied
8381 # it even uses RPATH in a shared library to search for shared objects
8382 # that the library depends on, but there's no easy way to know if that
8383 # patch is installed. Since this is the case, all we can really
8384 # say is unknown -- it depends on the patch being installed. If
8385 # it is, this changes to `yes'. Without it, it would be `no'.
8386 lt_cv_sys_dlopen_deplibs=unknown
8387 ;;
8388 osf*)
8389 # the two cases above should catch all versions of osf <= 5.1. Read
8390 # the comments above for what we know about them.
8391 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
8392 # is used to find them so we can finally say `yes'.
8393 lt_cv_sys_dlopen_deplibs=yes
8394 ;;
8395 qnx*)
8396 lt_cv_sys_dlopen_deplibs=yes
8397 ;;
8398 solaris*)
8399 lt_cv_sys_dlopen_deplibs=yes
8400 ;;
8401 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8402 libltdl_cv_sys_dlopen_deplibs=yes
8403 ;;
8404 esac
8405
8406 fi
8407 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
8408 $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
8409 if test "$lt_cv_sys_dlopen_deplibs" != yes; then
8410
8411 cat >>confdefs.h <<\_ACEOF
8412 #define LTDL_DLOPEN_DEPLIBS 1
8413 _ACEOF
8414
8415 fi
8416
8417 :
8418
8419
8420 for ac_header in argz.h
8421 do
8422 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8423 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8424 $as_echo_n "checking for $ac_header... " >&6; }
8425 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8426 $as_echo_n "(cached) " >&6
8427 else
8428 cat >conftest.$ac_ext <<_ACEOF
8429 /* confdefs.h. */
8430 _ACEOF
8431 cat confdefs.h >>conftest.$ac_ext
8432 cat >>conftest.$ac_ext <<_ACEOF
8433 /* end confdefs.h. */
8434 $ac_includes_default
8435
8436 #include <$ac_header>
8437 _ACEOF
8438 rm -f conftest.$ac_objext
8439 if { (ac_try="$ac_compile"
8440 case "(($ac_try" in
8441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8442 *) ac_try_echo=$ac_try;;
8443 esac
8444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8445 $as_echo "$ac_try_echo") >&5
8446 (eval "$ac_compile") 2>conftest.er1
8447 ac_status=$?
8448 grep -v '^ *+' conftest.er1 >conftest.err
8449 rm -f conftest.er1
8450 cat conftest.err >&5
8451 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); } && {
8453 test -z "$ac_cxx_werror_flag" ||
8454 test ! -s conftest.err
8455 } && test -s conftest.$ac_objext; then
8456 eval "$as_ac_Header=yes"
8457 else
8458 $as_echo "$as_me: failed program was:" >&5
8459 sed 's/^/| /' conftest.$ac_ext >&5
8460
8461 eval "$as_ac_Header=no"
8462 fi
8463
8464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8465 fi
8466 ac_res=`eval 'as_val=${'$as_ac_Header'}
8467 $as_echo "$as_val"'`
8468 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8469 $as_echo "$ac_res" >&6; }
8470 as_val=`eval 'as_val=${'$as_ac_Header'}
8471 $as_echo "$as_val"'`
8472 if test "x$as_val" = x""yes; then
8473 cat >>confdefs.h <<_ACEOF
8474 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8475 _ACEOF
8476
8477 fi
8478
8479 done
8480
8481
8482 { $as_echo "$as_me:$LINENO: checking for error_t" >&5
8483 $as_echo_n "checking for error_t... " >&6; }
8484 if test "${ac_cv_type_error_t+set}" = set; then
8485 $as_echo_n "(cached) " >&6
8486 else
8487 ac_cv_type_error_t=no
8488 cat >conftest.$ac_ext <<_ACEOF
8489 /* confdefs.h. */
8490 _ACEOF
8491 cat confdefs.h >>conftest.$ac_ext
8492 cat >>conftest.$ac_ext <<_ACEOF
8493 /* end confdefs.h. */
8494 #if defined(HAVE_ARGZ_H)
8495 # include <argz.h>
8496 #endif
8497
8498 int
8499 main ()
8500 {
8501 if (sizeof (error_t))
8502 return 0;
8503 ;
8504 return 0;
8505 }
8506 _ACEOF
8507 rm -f conftest.$ac_objext
8508 if { (ac_try="$ac_compile"
8509 case "(($ac_try" in
8510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8511 *) ac_try_echo=$ac_try;;
8512 esac
8513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8514 $as_echo "$ac_try_echo") >&5
8515 (eval "$ac_compile") 2>conftest.er1
8516 ac_status=$?
8517 grep -v '^ *+' conftest.er1 >conftest.err
8518 rm -f conftest.er1
8519 cat conftest.err >&5
8520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); } && {
8522 test -z "$ac_cxx_werror_flag" ||
8523 test ! -s conftest.err
8524 } && test -s conftest.$ac_objext; then
8525 cat >conftest.$ac_ext <<_ACEOF
8526 /* confdefs.h. */
8527 _ACEOF
8528 cat confdefs.h >>conftest.$ac_ext
8529 cat >>conftest.$ac_ext <<_ACEOF
8530 /* end confdefs.h. */
8531 #if defined(HAVE_ARGZ_H)
8532 # include <argz.h>
8533 #endif
8534
8535 int
8536 main ()
8537 {
8538 if (sizeof ((error_t)))
8539 return 0;
8540 ;
8541 return 0;
8542 }
8543 _ACEOF
8544 rm -f conftest.$ac_objext
8545 if { (ac_try="$ac_compile"
8546 case "(($ac_try" in
8547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8548 *) ac_try_echo=$ac_try;;
8549 esac
8550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8551 $as_echo "$ac_try_echo") >&5
8552 (eval "$ac_compile") 2>conftest.er1
8553 ac_status=$?
8554 grep -v '^ *+' conftest.er1 >conftest.err
8555 rm -f conftest.er1
8556 cat conftest.err >&5
8557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); } && {
8559 test -z "$ac_cxx_werror_flag" ||
8560 test ! -s conftest.err
8561 } && test -s conftest.$ac_objext; then
8562 :
8563 else
8564 $as_echo "$as_me: failed program was:" >&5
8565 sed 's/^/| /' conftest.$ac_ext >&5
8566
8567 ac_cv_type_error_t=yes
8568 fi
8569
8570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8571 else
8572 $as_echo "$as_me: failed program was:" >&5
8573 sed 's/^/| /' conftest.$ac_ext >&5
8574
8575
8576 fi
8577
8578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8579 fi
8580 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
8581 $as_echo "$ac_cv_type_error_t" >&6; }
8582 if test "x$ac_cv_type_error_t" = x""yes; then
8583
8584 cat >>confdefs.h <<_ACEOF
8585 #define HAVE_ERROR_T 1
8586 _ACEOF
8587
8588
8589 else
8590
8591 cat >>confdefs.h <<\_ACEOF
8592 #define error_t int
8593 _ACEOF
8594
8595
8596 cat >>confdefs.h <<\_ACEOF
8597 #define __error_t_defined 1
8598 _ACEOF
8599
8600 fi
8601
8602
8603 ARGZ_H=
8604
8605
8606
8607
8608
8609
8610
8611 for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
8612 argz_next argz_stringify
8613 do
8614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8615 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8616 $as_echo_n "checking for $ac_func... " >&6; }
8617 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8618 $as_echo_n "(cached) " >&6
8619 else
8620 cat >conftest.$ac_ext <<_ACEOF
8621 /* confdefs.h. */
8622 _ACEOF
8623 cat confdefs.h >>conftest.$ac_ext
8624 cat >>conftest.$ac_ext <<_ACEOF
8625 /* end confdefs.h. */
8626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8628 #define $ac_func innocuous_$ac_func
8629
8630 /* System header to define __stub macros and hopefully few prototypes,
8631 which can conflict with char $ac_func (); below.
8632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8633 <limits.h> exists even on freestanding compilers. */
8634
8635 #ifdef __STDC__
8636 # include <limits.h>
8637 #else
8638 # include <assert.h>
8639 #endif
8640
8641 #undef $ac_func
8642
8643 /* Override any GCC internal prototype to avoid an error.
8644 Use char because int might match the return type of a GCC
8645 builtin and then its argument prototype would still apply. */
8646 #ifdef __cplusplus
8647 extern "C"
8648 #endif
8649 char $ac_func ();
8650 /* The GNU C library defines this for functions which it implements
8651 to always fail with ENOSYS. Some functions are actually named
8652 something starting with __ and the normal name is an alias. */
8653 #if defined __stub_$ac_func || defined __stub___$ac_func
8654 choke me
8655 #endif
8656
8657 int
8658 main ()
8659 {
8660 return $ac_func ();
8661 ;
8662 return 0;
8663 }
8664 _ACEOF
8665 rm -f conftest.$ac_objext conftest$ac_exeext
8666 if { (ac_try="$ac_link"
8667 case "(($ac_try" in
8668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8669 *) ac_try_echo=$ac_try;;
8670 esac
8671 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8672 $as_echo "$ac_try_echo") >&5
8673 (eval "$ac_link") 2>conftest.er1
8674 ac_status=$?
8675 grep -v '^ *+' conftest.er1 >conftest.err
8676 rm -f conftest.er1
8677 cat conftest.err >&5
8678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); } && {
8680 test -z "$ac_cxx_werror_flag" ||
8681 test ! -s conftest.err
8682 } && test -s conftest$ac_exeext && {
8683 test "$cross_compiling" = yes ||
8684 $as_test_x conftest$ac_exeext
8685 }; then
8686 eval "$as_ac_var=yes"
8687 else
8688 $as_echo "$as_me: failed program was:" >&5
8689 sed 's/^/| /' conftest.$ac_ext >&5
8690
8691 eval "$as_ac_var=no"
8692 fi
8693
8694 rm -rf conftest.dSYM
8695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8696 conftest$ac_exeext conftest.$ac_ext
8697 fi
8698 ac_res=`eval 'as_val=${'$as_ac_var'}
8699 $as_echo "$as_val"'`
8700 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8701 $as_echo "$ac_res" >&6; }
8702 as_val=`eval 'as_val=${'$as_ac_var'}
8703 $as_echo "$as_val"'`
8704 if test "x$as_val" = x""yes; then
8705 cat >>confdefs.h <<_ACEOF
8706 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8707 _ACEOF
8708
8709 else
8710 ARGZ_H=argz.h;
8711
8712 _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
8713
8714 fi
8715 done
8716
8717
8718 if test -z "$ARGZ_H"; then
8719 { $as_echo "$as_me:$LINENO: checking if argz actually works" >&5
8720 $as_echo_n "checking if argz actually works... " >&6; }
8721 if test "${lt_cv_sys_argz_works+set}" = set; then
8722 $as_echo_n "(cached) " >&6
8723 else
8724 case $host_os in #(
8725 *cygwin*)
8726 lt_cv_sys_argz_works=no
8727 if test "$cross_compiling" != no; then
8728 lt_cv_sys_argz_works="guessing no"
8729 else
8730 lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
8731 save_IFS=$IFS
8732 IFS=-.
8733 set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
8734 IFS=$save_IFS
8735 lt_os_major=${2-0}
8736 lt_os_minor=${3-0}
8737 lt_os_micro=${4-0}
8738 if test "$lt_os_major" -gt 1 \
8739 || { test "$lt_os_major" -eq 1 \
8740 && { test "$lt_os_minor" -gt 5 \
8741 || { test "$lt_os_minor" -eq 5 \
8742 && test "$lt_os_micro" -gt 24; }; }; }; then
8743 lt_cv_sys_argz_works=yes
8744 fi
8745 fi
8746 ;; #(
8747 *) lt_cv_sys_argz_works=yes ;;
8748 esac
8749 fi
8750 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
8751 $as_echo "$lt_cv_sys_argz_works" >&6; }
8752 if test "$lt_cv_sys_argz_works" = yes; then
8753
8754 cat >>confdefs.h <<\_ACEOF
8755 #define HAVE_WORKING_ARGZ 1
8756 _ACEOF
8757
8758 else
8759 ARGZ_H=argz.h
8760
8761
8762 _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
8763
8764 fi
8765
8766 fi
8767
8768
8769
8770
8771 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
8772 $as_echo_n "checking for objdir... " >&6; }
8773 if test "${lt_cv_objdir+set}" = set; then
8774 $as_echo_n "(cached) " >&6
8775 else
8776 rm -f .libs 2>/dev/null
8777 mkdir .libs 2>/dev/null
8778 if test -d .libs; then
8779 lt_cv_objdir=.libs
8780 else
8781 # MS-DOS does not allow filenames that begin with a dot.
8782 lt_cv_objdir=_libs
8783 fi
8784 rmdir .libs 2>/dev/null
8785 fi
8786 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8787 $as_echo "$lt_cv_objdir" >&6; }
8788 objdir=$lt_cv_objdir
8789
8790
8791
8792
8793
8794 cat >>confdefs.h <<_ACEOF
8795 #define LT_OBJDIR "$lt_cv_objdir/"
8796 _ACEOF
8797
8798
8799 { $as_echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
8800 $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
8801 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
8802 $as_echo_n "(cached) " >&6
8803 else
8804 if test -n "$lt_cv_sys_global_symbol_pipe"; then
8805 libltdl_cv_preloaded_symbols=yes
8806 else
8807 libltdl_cv_preloaded_symbols=no
8808 fi
8809
8810 fi
8811 { $as_echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
8812 $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
8813 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
8814
8815 cat >>confdefs.h <<\_ACEOF
8816 #define HAVE_PRELOADED_SYMBOLS 1
8817 _ACEOF
8818
8819 fi
8820
8821
8822
8823 # Set options
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836 # Check whether --with-included_ltdl was given.
8837 if test "${with_included_ltdl+set}" = set; then
8838 withval=$with_included_ltdl;
8839 fi
8840
8841
8842 if test "x$with_included_ltdl" != xyes; then
8843 # We are not being forced to use the included libltdl sources, so
8844 # decide whether there is a useful installed version we can use.
8845 { $as_echo "$as_me:$LINENO: checking for ltdl.h" >&5
8846 $as_echo_n "checking for ltdl.h... " >&6; }
8847 if test "${ac_cv_header_ltdl_h+set}" = set; then
8848 $as_echo_n "(cached) " >&6
8849 else
8850 cat >conftest.$ac_ext <<_ACEOF
8851 /* confdefs.h. */
8852 _ACEOF
8853 cat confdefs.h >>conftest.$ac_ext
8854 cat >>conftest.$ac_ext <<_ACEOF
8855 /* end confdefs.h. */
8856 $ac_includes_default
8857
8858
8859 #include <ltdl.h>
8860 _ACEOF
8861 rm -f conftest.$ac_objext
8862 if { (ac_try="$ac_compile"
8863 case "(($ac_try" in
8864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8865 *) ac_try_echo=$ac_try;;
8866 esac
8867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8868 $as_echo "$ac_try_echo") >&5
8869 (eval "$ac_compile") 2>conftest.er1
8870 ac_status=$?
8871 grep -v '^ *+' conftest.er1 >conftest.err
8872 rm -f conftest.er1
8873 cat conftest.err >&5
8874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8875 (exit $ac_status); } && {
8876 test -z "$ac_cxx_werror_flag" ||
8877 test ! -s conftest.err
8878 } && test -s conftest.$ac_objext; then
8879 ac_cv_header_ltdl_h=yes
8880 else
8881 $as_echo "$as_me: failed program was:" >&5
8882 sed 's/^/| /' conftest.$ac_ext >&5
8883
8884 ac_cv_header_ltdl_h=no
8885 fi
8886
8887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8888 fi
8889 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
8890 $as_echo "$ac_cv_header_ltdl_h" >&6; }
8891 if test "x$ac_cv_header_ltdl_h" = x""yes; then
8892 { $as_echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5
8893 $as_echo_n "checking whether lt_dlinterface_register is declared... " >&6; }
8894 if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then
8895 $as_echo_n "(cached) " >&6
8896 else
8897 cat >conftest.$ac_ext <<_ACEOF
8898 /* confdefs.h. */
8899 _ACEOF
8900 cat confdefs.h >>conftest.$ac_ext
8901 cat >>conftest.$ac_ext <<_ACEOF
8902 /* end confdefs.h. */
8903 $ac_includes_default
8904 #include <ltdl.h>
8905
8906 int
8907 main ()
8908 {
8909 #ifndef lt_dlinterface_register
8910 (void) lt_dlinterface_register;
8911 #endif
8912
8913 ;
8914 return 0;
8915 }
8916 _ACEOF
8917 rm -f conftest.$ac_objext
8918 if { (ac_try="$ac_compile"
8919 case "(($ac_try" in
8920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8921 *) ac_try_echo=$ac_try;;
8922 esac
8923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8924 $as_echo "$ac_try_echo") >&5
8925 (eval "$ac_compile") 2>conftest.er1
8926 ac_status=$?
8927 grep -v '^ *+' conftest.er1 >conftest.err
8928 rm -f conftest.er1
8929 cat conftest.err >&5
8930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 (exit $ac_status); } && {
8932 test -z "$ac_cxx_werror_flag" ||
8933 test ! -s conftest.err
8934 } && test -s conftest.$ac_objext; then
8935 ac_cv_have_decl_lt_dlinterface_register=yes
8936 else
8937 $as_echo "$as_me: failed program was:" >&5
8938 sed 's/^/| /' conftest.$ac_ext >&5
8939
8940 ac_cv_have_decl_lt_dlinterface_register=no
8941 fi
8942
8943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8944 fi
8945 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5
8946 $as_echo "$ac_cv_have_decl_lt_dlinterface_register" >&6; }
8947 if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then
8948 { $as_echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5
8949 $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
8950 if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
8951 $as_echo_n "(cached) " >&6
8952 else
8953 ac_check_lib_save_LIBS=$LIBS
8954 LIBS="-lltdl $LIBS"
8955 cat >conftest.$ac_ext <<_ACEOF
8956 /* confdefs.h. */
8957 _ACEOF
8958 cat confdefs.h >>conftest.$ac_ext
8959 cat >>conftest.$ac_ext <<_ACEOF
8960 /* end confdefs.h. */
8961
8962 /* Override any GCC internal prototype to avoid an error.
8963 Use char because int might match the return type of a GCC
8964 builtin and then its argument prototype would still apply. */
8965 #ifdef __cplusplus
8966 extern "C"
8967 #endif
8968 char lt_dladvise_preload ();
8969 int
8970 main ()
8971 {
8972 return lt_dladvise_preload ();
8973 ;
8974 return 0;
8975 }
8976 _ACEOF
8977 rm -f conftest.$ac_objext conftest$ac_exeext
8978 if { (ac_try="$ac_link"
8979 case "(($ac_try" in
8980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8981 *) ac_try_echo=$ac_try;;
8982 esac
8983 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8984 $as_echo "$ac_try_echo") >&5
8985 (eval "$ac_link") 2>conftest.er1
8986 ac_status=$?
8987 grep -v '^ *+' conftest.er1 >conftest.err
8988 rm -f conftest.er1
8989 cat conftest.err >&5
8990 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8991 (exit $ac_status); } && {
8992 test -z "$ac_cxx_werror_flag" ||
8993 test ! -s conftest.err
8994 } && test -s conftest$ac_exeext && {
8995 test "$cross_compiling" = yes ||
8996 $as_test_x conftest$ac_exeext
8997 }; then
8998 ac_cv_lib_ltdl_lt_dladvise_preload=yes
8999 else
9000 $as_echo "$as_me: failed program was:" >&5
9001 sed 's/^/| /' conftest.$ac_ext >&5
9002
9003 ac_cv_lib_ltdl_lt_dladvise_preload=no
9004 fi
9005
9006 rm -rf conftest.dSYM
9007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9008 conftest$ac_exeext conftest.$ac_ext
9009 LIBS=$ac_check_lib_save_LIBS
9010 fi
9011 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
9012 $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
9013 if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then
9014 with_included_ltdl=no
9015 else
9016 with_included_ltdl=yes
9017 fi
9018
9019 else
9020 with_included_ltdl=yes
9021 fi
9022
9023 else
9024 with_included_ltdl=yes
9025 fi
9026
9027
9028 fi
9029
9030
9031
9032
9033
9034
9035
9036 # Check whether --with-ltdl_include was given.
9037 if test "${with_ltdl_include+set}" = set; then
9038 withval=$with_ltdl_include;
9039 fi
9040
9041
9042 if test -n "$with_ltdl_include"; then
9043 if test -f "$with_ltdl_include/ltdl.h"; then :
9044 else
9045 { { $as_echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5
9046 $as_echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;}
9047 { (exit 1); exit 1; }; }
9048 fi
9049 else
9050 with_ltdl_include=no
9051 fi
9052
9053
9054 # Check whether --with-ltdl_lib was given.
9055 if test "${with_ltdl_lib+set}" = set; then
9056 withval=$with_ltdl_lib;
9057 fi
9058
9059
9060 if test -n "$with_ltdl_lib"; then
9061 if test -f "$with_ltdl_lib/libltdl.la"; then :
9062 else
9063 { { $as_echo "$as_me:$LINENO: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&5
9064 $as_echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;}
9065 { (exit 1); exit 1; }; }
9066 fi
9067 else
9068 with_ltdl_lib=no
9069 fi
9070
9071 case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
9072 ,yes,no,no,)
9073 case $enable_ltdl_convenience in
9074 no) { { $as_echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
9075 $as_echo "$as_me: error: this package needs a convenience libltdl" >&2;}
9076 { (exit 1); exit 1; }; } ;;
9077 "") enable_ltdl_convenience=yes
9078 ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
9079 esac
9080 LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
9081 LTDLDEPS=$LIBLTDL
9082 LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
9083
9084
9085
9086
9087
9088 # For backwards non-gettext consistent compatibility...
9089 INCLTDL="$LTDLINCL"
9090
9091
9092 ;;
9093 ,no,no,no,)
9094 # If the included ltdl is not to be used, then use the
9095 # preinstalled libltdl we found.
9096
9097 cat >>confdefs.h <<\_ACEOF
9098 #define HAVE_LTDL 1
9099 _ACEOF
9100
9101 LIBLTDL=-lltdl
9102 LTDLDEPS=
9103 LTDLINCL=
9104 ;;
9105 ,no*,no,*)
9106 { { $as_echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&5
9107 $as_echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&2;}
9108 { (exit 1); exit 1; }; }
9109 ;;
9110 *) with_included_ltdl=no
9111 LIBLTDL="-L$with_ltdl_lib -lltdl"
9112 LTDLDEPS=
9113 LTDLINCL="-I$with_ltdl_include"
9114 ;;
9115 esac
9116 INCLTDL="$LTDLINCL"
9117
9118 # Report our decision...
9119 { $as_echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
9120 $as_echo_n "checking where to find libltdl headers... " >&6; }
9121 { $as_echo "$as_me:$LINENO: result: $LTDLINCL" >&5
9122 $as_echo "$LTDLINCL" >&6; }
9123 { $as_echo "$as_me:$LINENO: checking where to find libltdl library" >&5
9124 $as_echo_n "checking where to find libltdl library... " >&6; }
9125 { $as_echo "$as_me:$LINENO: result: $LIBLTDL" >&5
9126 $as_echo "$LIBLTDL" >&6; }
9127
9128
9129
9130 # Check whether --enable-ltdl-install was given.
9131 if test "${enable_ltdl_install+set}" = set; then
9132 enableval=$enable_ltdl_install;
9133 fi
9134
9135
9136 case ,${enable_ltdl_install},${enable_ltdl_convenience} in
9137 *yes*) ;;
9138 *) enable_ltdl_convenience=yes ;;
9139 esac
9140
9141 if test x"${enable_ltdl_install-no}" != xno; then
9142 INSTALL_LTDL_TRUE=
9143 INSTALL_LTDL_FALSE='#'
9144 else
9145 INSTALL_LTDL_TRUE='#'
9146 INSTALL_LTDL_FALSE=
9147 fi
9148
9149 if test x"${enable_ltdl_convenience-no}" != xno; then
9150 CONVENIENCE_LTDL_TRUE=
9151 CONVENIENCE_LTDL_FALSE='#'
9152 else
9153 CONVENIENCE_LTDL_TRUE='#'
9154 CONVENIENCE_LTDL_FALSE=
9155 fi
9156
9157
9158
9159 subdirs="$subdirs libltdl"
9160
9161
9162
9163
9164 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
9165 # the user used. This is so that ltdl.h can pick up the parent projects
9166 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
9167 # definitions required by ltdl.c.
9168 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178 for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
9179 do
9180 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9181 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9182 $as_echo_n "checking for $ac_header... " >&6; }
9183 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9184 $as_echo_n "(cached) " >&6
9185 else
9186 cat >conftest.$ac_ext <<_ACEOF
9187 /* confdefs.h. */
9188 _ACEOF
9189 cat confdefs.h >>conftest.$ac_ext
9190 cat >>conftest.$ac_ext <<_ACEOF
9191 /* end confdefs.h. */
9192 $ac_includes_default
9193
9194 #include <$ac_header>
9195 _ACEOF
9196 rm -f conftest.$ac_objext
9197 if { (ac_try="$ac_compile"
9198 case "(($ac_try" in
9199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9200 *) ac_try_echo=$ac_try;;
9201 esac
9202 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9203 $as_echo "$ac_try_echo") >&5
9204 (eval "$ac_compile") 2>conftest.er1
9205 ac_status=$?
9206 grep -v '^ *+' conftest.er1 >conftest.err
9207 rm -f conftest.er1
9208 cat conftest.err >&5
9209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210 (exit $ac_status); } && {
9211 test -z "$ac_cxx_werror_flag" ||
9212 test ! -s conftest.err
9213 } && test -s conftest.$ac_objext; then
9214 eval "$as_ac_Header=yes"
9215 else
9216 $as_echo "$as_me: failed program was:" >&5
9217 sed 's/^/| /' conftest.$ac_ext >&5
9218
9219 eval "$as_ac_Header=no"
9220 fi
9221
9222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9223 fi
9224 ac_res=`eval 'as_val=${'$as_ac_Header'}
9225 $as_echo "$as_val"'`
9226 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9227 $as_echo "$ac_res" >&6; }
9228 as_val=`eval 'as_val=${'$as_ac_Header'}
9229 $as_echo "$as_val"'`
9230 if test "x$as_val" = x""yes; then
9231 cat >>confdefs.h <<_ACEOF
9232 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9233 _ACEOF
9234
9235 fi
9236
9237 done
9238
9239
9240
9241
9242
9243 for ac_func in closedir opendir readdir
9244 do
9245 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9246 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
9247 $as_echo_n "checking for $ac_func... " >&6; }
9248 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9249 $as_echo_n "(cached) " >&6
9250 else
9251 cat >conftest.$ac_ext <<_ACEOF
9252 /* confdefs.h. */
9253 _ACEOF
9254 cat confdefs.h >>conftest.$ac_ext
9255 cat >>conftest.$ac_ext <<_ACEOF
9256 /* end confdefs.h. */
9257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9259 #define $ac_func innocuous_$ac_func
9260
9261 /* System header to define __stub macros and hopefully few prototypes,
9262 which can conflict with char $ac_func (); below.
9263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9264 <limits.h> exists even on freestanding compilers. */
9265
9266 #ifdef __STDC__
9267 # include <limits.h>
9268 #else
9269 # include <assert.h>
9270 #endif
9271
9272 #undef $ac_func
9273
9274 /* Override any GCC internal prototype to avoid an error.
9275 Use char because int might match the return type of a GCC
9276 builtin and then its argument prototype would still apply. */
9277 #ifdef __cplusplus
9278 extern "C"
9279 #endif
9280 char $ac_func ();
9281 /* The GNU C library defines this for functions which it implements
9282 to always fail with ENOSYS. Some functions are actually named
9283 something starting with __ and the normal name is an alias. */
9284 #if defined __stub_$ac_func || defined __stub___$ac_func
9285 choke me
9286 #endif
9287
9288 int
9289 main ()
9290 {
9291 return $ac_func ();
9292 ;
9293 return 0;
9294 }
9295 _ACEOF
9296 rm -f conftest.$ac_objext conftest$ac_exeext
9297 if { (ac_try="$ac_link"
9298 case "(($ac_try" in
9299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9300 *) ac_try_echo=$ac_try;;
9301 esac
9302 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9303 $as_echo "$ac_try_echo") >&5
9304 (eval "$ac_link") 2>conftest.er1
9305 ac_status=$?
9306 grep -v '^ *+' conftest.er1 >conftest.err
9307 rm -f conftest.er1
9308 cat conftest.err >&5
9309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9310 (exit $ac_status); } && {
9311 test -z "$ac_cxx_werror_flag" ||
9312 test ! -s conftest.err
9313 } && test -s conftest$ac_exeext && {
9314 test "$cross_compiling" = yes ||
9315 $as_test_x conftest$ac_exeext
9316 }; then
9317 eval "$as_ac_var=yes"
9318 else
9319 $as_echo "$as_me: failed program was:" >&5
9320 sed 's/^/| /' conftest.$ac_ext >&5
9321
9322 eval "$as_ac_var=no"
9323 fi
9324
9325 rm -rf conftest.dSYM
9326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9327 conftest$ac_exeext conftest.$ac_ext
9328 fi
9329 ac_res=`eval 'as_val=${'$as_ac_var'}
9330 $as_echo "$as_val"'`
9331 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9332 $as_echo "$ac_res" >&6; }
9333 as_val=`eval 'as_val=${'$as_ac_var'}
9334 $as_echo "$as_val"'`
9335 if test "x$as_val" = x""yes; then
9336 cat >>confdefs.h <<_ACEOF
9337 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9338 _ACEOF
9339
9340 else
9341
9342
9343 _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
9344
9345 fi
9346 done
9347
9348
9349
9350 for ac_func in strlcat strlcpy
9351 do
9352 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9353 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
9354 $as_echo_n "checking for $ac_func... " >&6; }
9355 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9356 $as_echo_n "(cached) " >&6
9357 else
9358 cat >conftest.$ac_ext <<_ACEOF
9359 /* confdefs.h. */
9360 _ACEOF
9361 cat confdefs.h >>conftest.$ac_ext
9362 cat >>conftest.$ac_ext <<_ACEOF
9363 /* end confdefs.h. */
9364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9366 #define $ac_func innocuous_$ac_func
9367
9368 /* System header to define __stub macros and hopefully few prototypes,
9369 which can conflict with char $ac_func (); below.
9370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
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 $ac_func
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. */
9384 #ifdef __cplusplus
9385 extern "C"
9386 #endif
9387 char $ac_func ();
9388 /* The GNU C library defines this for functions which it implements
9389 to always fail with ENOSYS. Some functions are actually named
9390 something starting with __ and the normal name is an alias. */
9391 #if defined __stub_$ac_func || defined __stub___$ac_func
9392 choke me
9393 #endif
9394
9395 int
9396 main ()
9397 {
9398 return $ac_func ();
9399 ;
9400 return 0;
9401 }
9402 _ACEOF
9403 rm -f conftest.$ac_objext conftest$ac_exeext
9404 if { (ac_try="$ac_link"
9405 case "(($ac_try" in
9406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9407 *) ac_try_echo=$ac_try;;
9408 esac
9409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9410 $as_echo "$ac_try_echo") >&5
9411 (eval "$ac_link") 2>conftest.er1
9412 ac_status=$?
9413 grep -v '^ *+' conftest.er1 >conftest.err
9414 rm -f conftest.er1
9415 cat conftest.err >&5
9416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9417 (exit $ac_status); } && {
9418 test -z "$ac_cxx_werror_flag" ||
9419 test ! -s conftest.err
9420 } && test -s conftest$ac_exeext && {
9421 test "$cross_compiling" = yes ||
9422 $as_test_x conftest$ac_exeext
9423 }; then
9424 eval "$as_ac_var=yes"
9425 else
9426 $as_echo "$as_me: failed program was:" >&5
9427 sed 's/^/| /' conftest.$ac_ext >&5
9428
9429 eval "$as_ac_var=no"
9430 fi
9431
9432 rm -rf conftest.dSYM
9433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9434 conftest$ac_exeext conftest.$ac_ext
9435 fi
9436 ac_res=`eval 'as_val=${'$as_ac_var'}
9437 $as_echo "$as_val"'`
9438 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9439 $as_echo "$ac_res" >&6; }
9440 as_val=`eval 'as_val=${'$as_ac_var'}
9441 $as_echo "$as_val"'`
9442 if test "x$as_val" = x""yes; then
9443 cat >>confdefs.h <<_ACEOF
9444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9445 _ACEOF
9446
9447 else
9448
9449
9450 _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
9451
9452 fi
9453 done
9454
9455
9456
9457 cat >>confdefs.h <<_ACEOF
9458 #define LT_LIBEXT "$libext"
9459 _ACEOF
9460
9461
9462 name=
9463 eval "lt_libprefix=\"$libname_spec\""
9464
9465 cat >>confdefs.h <<_ACEOF
9466 #define LT_LIBPREFIX "$lt_libprefix"
9467 _ACEOF
9468
9469
9470 name=ltdl
9471 eval "LTDLOPEN=\"$libname_spec\""
9472
9473
9474
9475
9476
9477
9478
9479
9480 # Only expand once:
9481
9482
9483 case `pwd` in
9484 *\ * | *\ *)
9485 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
9486 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
9487 esac
9488
9489
9490
9491 macro_version='2.4'
9492 macro_revision='1.3293'
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506 ltmain="$ac_aux_dir/ltmain.sh"
9507
9508 # Backslashify metacharacters that are still active within
9509 # double-quoted strings.
9510 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
9511
9512 # Same as above, but do not quote variable references.
9513 double_quote_subst='s/\(["`\\]\)/\\\1/g'
9514
9515 # Sed substitution to delay expansion of an escaped shell variable in a
9516 # double_quote_subst'ed string.
9517 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9518
9519 # Sed substitution to delay expansion of an escaped single quote.
9520 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
9521
9522 # Sed substitution to avoid accidental globbing in evaled expressions
9523 no_glob_subst='s/\*/\\\*/g'
9524
9525 # find the maximum length of command line arguments
9526 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
9527 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
9528 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
9529 $as_echo_n "(cached) " >&6
9530 else
9531 i=0
9532 teststring="ABCD"
9533
9534 case $build_os in
9535 msdosdjgpp*)
9536 # On DJGPP, this test can blow up pretty badly due to problems in libc
9537 # (any single argument exceeding 2000 bytes causes a buffer overrun
9538 # during glob expansion). Even if it were fixed, the result of this
9539 # check would be larger than it should be.
9540 lt_cv_sys_max_cmd_len=12288; # 12K is about right
9541 ;;
9542
9543 gnu*)
9544 # Under GNU Hurd, this test is not required because there is
9545 # no limit to the length of command line arguments.
9546 # Libtool will interpret -1 as no limit whatsoever
9547 lt_cv_sys_max_cmd_len=-1;
9548 ;;
9549
9550 cygwin* | mingw* | cegcc*)
9551 # On Win9x/ME, this test blows up -- it succeeds, but takes
9552 # about 5 minutes as the teststring grows exponentially.
9553 # Worse, since 9x/ME are not pre-emptively multitasking,
9554 # you end up with a "frozen" computer, even though with patience
9555 # the test eventually succeeds (with a max line length of 256k).
9556 # Instead, let's just punt: use the minimum linelength reported by
9557 # all of the supported platforms: 8192 (on NT/2K/XP).
9558 lt_cv_sys_max_cmd_len=8192;
9559 ;;
9560
9561 mint*)
9562 # On MiNT this can take a long time and run out of memory.
9563 lt_cv_sys_max_cmd_len=8192;
9564 ;;
9565
9566 amigaos*)
9567 # On AmigaOS with pdksh, this test takes hours, literally.
9568 # So we just punt and use a minimum line length of 8192.
9569 lt_cv_sys_max_cmd_len=8192;
9570 ;;
9571
9572 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
9573 # This has been around since 386BSD, at least. Likely further.
9574 if test -x /sbin/sysctl; then
9575 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
9576 elif test -x /usr/sbin/sysctl; then
9577 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
9578 else
9579 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
9580 fi
9581 # And add a safety zone
9582 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
9583 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
9584 ;;
9585
9586 interix*)
9587 # We know the value 262144 and hardcode it with a safety zone (like BSD)
9588 lt_cv_sys_max_cmd_len=196608
9589 ;;
9590
9591 osf*)
9592 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
9593 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
9594 # nice to cause kernel panics so lets avoid the loop below.
9595 # First set a reasonable default.
9596 lt_cv_sys_max_cmd_len=16384
9597 #
9598 if test -x /sbin/sysconfig; then
9599 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
9600 *1*) lt_cv_sys_max_cmd_len=-1 ;;
9601 esac
9602 fi
9603 ;;
9604 sco3.2v5*)
9605 lt_cv_sys_max_cmd_len=102400
9606 ;;
9607 sysv5* | sco5v6* | sysv4.2uw2*)
9608 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
9609 if test -n "$kargmax"; then
9610 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
9611 else
9612 lt_cv_sys_max_cmd_len=32768
9613 fi
9614 ;;
9615 *)
9616 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
9617 if test -n "$lt_cv_sys_max_cmd_len"; then
9618 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
9619 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
9620 else
9621 # Make teststring a little bigger before we do anything with it.
9622 # a 1K string should be a reasonable start.
9623 for i in 1 2 3 4 5 6 7 8 ; do
9624 teststring=$teststring$teststring
9625 done
9626 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
9627 # If test is not a shell built-in, we'll probably end up computing a
9628 # maximum length that is only half of the actual maximum length, but
9629 # we can't tell.
9630 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
9631 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
9632 test $i != 17 # 1/2 MB should be enough
9633 do
9634 i=`expr $i + 1`
9635 teststring=$teststring$teststring
9636 done
9637 # Only check the string length outside the loop.
9638 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
9639 teststring=
9640 # Add a significant safety factor because C++ compilers can tack on
9641 # massive amounts of additional arguments before passing them to the
9642 # linker. It appears as though 1/2 is a usable value.
9643 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
9644 fi
9645 ;;
9646 esac
9647
9648 fi
9649
9650 if test -n $lt_cv_sys_max_cmd_len ; then
9651 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
9652 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
9653 else
9654 { $as_echo "$as_me:$LINENO: result: none" >&5
9655 $as_echo "none" >&6; }
9656 fi
9657 max_cmd_len=$lt_cv_sys_max_cmd_len
9658
9659
9660
9661
9662
9663
9664 { $as_echo "$as_me:$LINENO: checking how to convert $build file names to $host format" >&5
9665 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
9666 if test "${lt_cv_to_host_file_cmd+set}" = set; then
9667 $as_echo_n "(cached) " >&6
9668 else
9669 case $host in
9670 *-*-mingw* )
9671 case $build in
9672 *-*-mingw* ) # actually msys
9673 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
9674 ;;
9675 *-*-cygwin* )
9676 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
9677 ;;
9678 * ) # otherwise, assume *nix
9679 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
9680 ;;
9681 esac
9682 ;;
9683 *-*-cygwin* )
9684 case $build in
9685 *-*-mingw* ) # actually msys
9686 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
9687 ;;
9688 *-*-cygwin* )
9689 lt_cv_to_host_file_cmd=func_convert_file_noop
9690 ;;
9691 * ) # otherwise, assume *nix
9692 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
9693 ;;
9694 esac
9695 ;;
9696 * ) # unhandled hosts (and "normal" native builds)
9697 lt_cv_to_host_file_cmd=func_convert_file_noop
9698 ;;
9699 esac
9700
9701 fi
9702
9703 to_host_file_cmd=$lt_cv_to_host_file_cmd
9704 { $as_echo "$as_me:$LINENO: result: $lt_cv_to_host_file_cmd" >&5
9705 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
9706
9707
9708
9709
9710
9711 { $as_echo "$as_me:$LINENO: checking how to convert $build file names to toolchain format" >&5
9712 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
9713 if test "${lt_cv_to_tool_file_cmd+set}" = set; then
9714 $as_echo_n "(cached) " >&6
9715 else
9716 #assume ordinary cross tools, or native build.
9717 lt_cv_to_tool_file_cmd=func_convert_file_noop
9718 case $host in
9719 *-*-mingw* )
9720 case $build in
9721 *-*-mingw* ) # actually msys
9722 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
9723 ;;
9724 esac
9725 ;;
9726 esac
9727
9728 fi
9729
9730 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
9731 { $as_echo "$as_me:$LINENO: result: $lt_cv_to_tool_file_cmd" >&5
9732 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
9733
9734
9735
9736
9737
9738 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
9739 $as_echo_n "checking for $LD option to reload object files... " >&6; }
9740 if test "${lt_cv_ld_reload_flag+set}" = set; then
9741 $as_echo_n "(cached) " >&6
9742 else
9743 lt_cv_ld_reload_flag='-r'
9744 fi
9745 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
9746 $as_echo "$lt_cv_ld_reload_flag" >&6; }
9747 reload_flag=$lt_cv_ld_reload_flag
9748 case $reload_flag in
9749 "" | " "*) ;;
9750 *) reload_flag=" $reload_flag" ;;
9751 esac
9752 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9753 case $host_os in
9754 cygwin* | mingw* | pw32* | cegcc*)
9755 if test "$GCC" != yes; then
9756 reload_cmds=false
9757 fi
9758 ;;
9759 darwin*)
9760 if test "$GCC" = yes; then
9761 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
9762 else
9763 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9764 fi
9765 ;;
9766 esac
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
9779 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
9780 if test "${lt_cv_deplibs_check_method+set}" = set; then
9781 $as_echo_n "(cached) " >&6
9782 else
9783 lt_cv_file_magic_cmd='$MAGIC_CMD'
9784 lt_cv_file_magic_test_file=
9785 lt_cv_deplibs_check_method='unknown'
9786 # Need to set the preceding variable on all platforms that support
9787 # interlibrary dependencies.
9788 # 'none' -- dependencies not supported.
9789 # `unknown' -- same as none, but documents that we really don't know.
9790 # 'pass_all' -- all dependencies passed with no checks.
9791 # 'test_compile' -- check by making test program.
9792 # 'file_magic [[regex]]' -- check by looking for files in library path
9793 # which responds to the $file_magic_cmd with a given extended regex.
9794 # If you have `file' or equivalent on your system and you're not sure
9795 # whether `pass_all' will *always* work, you probably want this one.
9796
9797 case $host_os in
9798 aix[4-9]*)
9799 lt_cv_deplibs_check_method=pass_all
9800 ;;
9801
9802 beos*)
9803 lt_cv_deplibs_check_method=pass_all
9804 ;;
9805
9806 bsdi[45]*)
9807 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
9808 lt_cv_file_magic_cmd='/usr/bin/file -L'
9809 lt_cv_file_magic_test_file=/shlib/libc.so
9810 ;;
9811
9812 cygwin*)
9813 # func_win32_libid is a shell function defined in ltmain.sh
9814 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9815 lt_cv_file_magic_cmd='func_win32_libid'
9816 ;;
9817
9818 mingw* | pw32*)
9819 # Base MSYS/MinGW do not provide the 'file' command needed by
9820 # func_win32_libid shell function, so use a weaker test based on 'objdump',
9821 # unless we find 'file', for example because we are cross-compiling.
9822 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
9823 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
9824 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9825 lt_cv_file_magic_cmd='func_win32_libid'
9826 else
9827 # Keep this pattern in sync with the one in func_win32_libid.
9828 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
9829 lt_cv_file_magic_cmd='$OBJDUMP -f'
9830 fi
9831 ;;
9832
9833 cegcc*)
9834 # use the weaker test based on 'objdump'. See mingw*.
9835 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
9836 lt_cv_file_magic_cmd='$OBJDUMP -f'
9837 ;;
9838
9839 darwin* | rhapsody*)
9840 lt_cv_deplibs_check_method=pass_all
9841 ;;
9842
9843 freebsd* | dragonfly*)
9844 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9845 case $host_cpu in
9846 i*86 )
9847 # Not sure whether the presence of OpenBSD here was a mistake.
9848 # Let's accept both of them until this is cleared up.
9849 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
9850 lt_cv_file_magic_cmd=/usr/bin/file
9851 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
9852 ;;
9853 esac
9854 else
9855 lt_cv_deplibs_check_method=pass_all
9856 fi
9857 ;;
9858
9859 gnu*)
9860 lt_cv_deplibs_check_method=pass_all
9861 ;;
9862
9863 haiku*)
9864 lt_cv_deplibs_check_method=pass_all
9865 ;;
9866
9867 hpux10.20* | hpux11*)
9868 lt_cv_file_magic_cmd=/usr/bin/file
9869 case $host_cpu in
9870 ia64*)
9871 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
9872 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
9873 ;;
9874 hppa*64*)
9875 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
9876 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
9877 ;;
9878 *)
9879 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
9880 lt_cv_file_magic_test_file=/usr/lib/libc.sl
9881 ;;
9882 esac
9883 ;;
9884
9885 interix[3-9]*)
9886 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
9887 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
9888 ;;
9889
9890 irix5* | irix6* | nonstopux*)
9891 case $LD in
9892 *-32|*"-32 ") libmagic=32-bit;;
9893 *-n32|*"-n32 ") libmagic=N32;;
9894 *-64|*"-64 ") libmagic=64-bit;;
9895 *) libmagic=never-match;;
9896 esac
9897 lt_cv_deplibs_check_method=pass_all
9898 ;;
9899
9900 # This must be Linux ELF.
9901 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9902 lt_cv_deplibs_check_method=pass_all
9903 ;;
9904
9905 netbsd*)
9906 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9907 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9908 else
9909 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
9910 fi
9911 ;;
9912
9913 newos6*)
9914 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
9915 lt_cv_file_magic_cmd=/usr/bin/file
9916 lt_cv_file_magic_test_file=/usr/lib/libnls.so
9917 ;;
9918
9919 *nto* | *qnx*)
9920 lt_cv_deplibs_check_method=pass_all
9921 ;;
9922
9923 openbsd*)
9924 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9925 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
9926 else
9927 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9928 fi
9929 ;;
9930
9931 osf3* | osf4* | osf5*)
9932 lt_cv_deplibs_check_method=pass_all
9933 ;;
9934
9935 rdos*)
9936 lt_cv_deplibs_check_method=pass_all
9937 ;;
9938
9939 solaris*)
9940 lt_cv_deplibs_check_method=pass_all
9941 ;;
9942
9943 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9944 lt_cv_deplibs_check_method=pass_all
9945 ;;
9946
9947 sysv4 | sysv4.3*)
9948 case $host_vendor in
9949 motorola)
9950 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]'
9951 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
9952 ;;
9953 ncr)
9954 lt_cv_deplibs_check_method=pass_all
9955 ;;
9956 sequent)
9957 lt_cv_file_magic_cmd='/bin/file'
9958 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
9959 ;;
9960 sni)
9961 lt_cv_file_magic_cmd='/bin/file'
9962 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
9963 lt_cv_file_magic_test_file=/lib/libc.so
9964 ;;
9965 siemens)
9966 lt_cv_deplibs_check_method=pass_all
9967 ;;
9968 pc)
9969 lt_cv_deplibs_check_method=pass_all
9970 ;;
9971 esac
9972 ;;
9973
9974 tpf*)
9975 lt_cv_deplibs_check_method=pass_all
9976 ;;
9977 esac
9978
9979 fi
9980 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
9981 $as_echo "$lt_cv_deplibs_check_method" >&6; }
9982
9983 file_magic_glob=
9984 want_nocaseglob=no
9985 if test "$build" = "$host"; then
9986 case $host_os in
9987 mingw* | pw32*)
9988 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
9989 want_nocaseglob=yes
9990 else
9991 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
9992 fi
9993 ;;
9994 esac
9995 fi
9996
9997 file_magic_cmd=$lt_cv_file_magic_cmd
9998 deplibs_check_method=$lt_cv_deplibs_check_method
9999 test -z "$deplibs_check_method" && deplibs_check_method=unknown
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022 if test -n "$ac_tool_prefix"; then
10023 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
10024 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
10025 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10026 $as_echo_n "checking for $ac_word... " >&6; }
10027 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
10028 $as_echo_n "(cached) " >&6
10029 else
10030 if test -n "$DLLTOOL"; then
10031 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
10032 else
10033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10034 for as_dir in $PATH
10035 do
10036 IFS=$as_save_IFS
10037 test -z "$as_dir" && as_dir=.
10038 for ac_exec_ext in '' $ac_executable_extensions; do
10039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10040 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
10041 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10042 break 2
10043 fi
10044 done
10045 done
10046 IFS=$as_save_IFS
10047
10048 fi
10049 fi
10050 DLLTOOL=$ac_cv_prog_DLLTOOL
10051 if test -n "$DLLTOOL"; then
10052 { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
10053 $as_echo "$DLLTOOL" >&6; }
10054 else
10055 { $as_echo "$as_me:$LINENO: result: no" >&5
10056 $as_echo "no" >&6; }
10057 fi
10058
10059
10060 fi
10061 if test -z "$ac_cv_prog_DLLTOOL"; then
10062 ac_ct_DLLTOOL=$DLLTOOL
10063 # Extract the first word of "dlltool", so it can be a program name with args.
10064 set dummy dlltool; ac_word=$2
10065 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10066 $as_echo_n "checking for $ac_word... " >&6; }
10067 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
10068 $as_echo_n "(cached) " >&6
10069 else
10070 if test -n "$ac_ct_DLLTOOL"; then
10071 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
10072 else
10073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10074 for as_dir in $PATH
10075 do
10076 IFS=$as_save_IFS
10077 test -z "$as_dir" && as_dir=.
10078 for ac_exec_ext in '' $ac_executable_extensions; do
10079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10080 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
10081 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10082 break 2
10083 fi
10084 done
10085 done
10086 IFS=$as_save_IFS
10087
10088 fi
10089 fi
10090 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
10091 if test -n "$ac_ct_DLLTOOL"; then
10092 { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
10093 $as_echo "$ac_ct_DLLTOOL" >&6; }
10094 else
10095 { $as_echo "$as_me:$LINENO: result: no" >&5
10096 $as_echo "no" >&6; }
10097 fi
10098
10099 if test "x$ac_ct_DLLTOOL" = x; then
10100 DLLTOOL="false"
10101 else
10102 case $cross_compiling:$ac_tool_warned in
10103 yes:)
10104 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
10105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10106 ac_tool_warned=yes ;;
10107 esac
10108 DLLTOOL=$ac_ct_DLLTOOL
10109 fi
10110 else
10111 DLLTOOL="$ac_cv_prog_DLLTOOL"
10112 fi
10113
10114 test -z "$DLLTOOL" && DLLTOOL=dlltool
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125 { $as_echo "$as_me:$LINENO: checking how to associate runtime and link libraries" >&5
10126 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
10127 if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then
10128 $as_echo_n "(cached) " >&6
10129 else
10130 lt_cv_sharedlib_from_linklib_cmd='unknown'
10131
10132 case $host_os in
10133 cygwin* | mingw* | pw32* | cegcc*)
10134 # two different shell functions defined in ltmain.sh
10135 # decide which to use based on capabilities of $DLLTOOL
10136 case `$DLLTOOL --help 2>&1` in
10137 *--identify-strict*)
10138 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
10139 ;;
10140 *)
10141 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
10142 ;;
10143 esac
10144 ;;
10145 *)
10146 # fallback: assume linklib IS sharedlib
10147 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
10148 ;;
10149 esac
10150
10151 fi
10152 { $as_echo "$as_me:$LINENO: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
10153 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
10154 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
10155 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
10156
10157
10158
10159
10160
10161
10162
10163 if test -n "$ac_tool_prefix"; then
10164 for ac_prog in ar
10165 do
10166 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10167 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10168 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10169 $as_echo_n "checking for $ac_word... " >&6; }
10170 if test "${ac_cv_prog_AR+set}" = set; then
10171 $as_echo_n "(cached) " >&6
10172 else
10173 if test -n "$AR"; then
10174 ac_cv_prog_AR="$AR" # Let the user override the test.
10175 else
10176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10177 for as_dir in $PATH
10178 do
10179 IFS=$as_save_IFS
10180 test -z "$as_dir" && as_dir=.
10181 for ac_exec_ext in '' $ac_executable_extensions; do
10182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10183 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
10184 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10185 break 2
10186 fi
10187 done
10188 done
10189 IFS=$as_save_IFS
10190
10191 fi
10192 fi
10193 AR=$ac_cv_prog_AR
10194 if test -n "$AR"; then
10195 { $as_echo "$as_me:$LINENO: result: $AR" >&5
10196 $as_echo "$AR" >&6; }
10197 else
10198 { $as_echo "$as_me:$LINENO: result: no" >&5
10199 $as_echo "no" >&6; }
10200 fi
10201
10202
10203 test -n "$AR" && break
10204 done
10205 fi
10206 if test -z "$AR"; then
10207 ac_ct_AR=$AR
10208 for ac_prog in ar
10209 do
10210 # Extract the first word of "$ac_prog", so it can be a program name with args.
10211 set dummy $ac_prog; ac_word=$2
10212 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10213 $as_echo_n "checking for $ac_word... " >&6; }
10214 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
10215 $as_echo_n "(cached) " >&6
10216 else
10217 if test -n "$ac_ct_AR"; then
10218 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
10219 else
10220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10221 for as_dir in $PATH
10222 do
10223 IFS=$as_save_IFS
10224 test -z "$as_dir" && as_dir=.
10225 for ac_exec_ext in '' $ac_executable_extensions; do
10226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10227 ac_cv_prog_ac_ct_AR="$ac_prog"
10228 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10229 break 2
10230 fi
10231 done
10232 done
10233 IFS=$as_save_IFS
10234
10235 fi
10236 fi
10237 ac_ct_AR=$ac_cv_prog_ac_ct_AR
10238 if test -n "$ac_ct_AR"; then
10239 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
10240 $as_echo "$ac_ct_AR" >&6; }
10241 else
10242 { $as_echo "$as_me:$LINENO: result: no" >&5
10243 $as_echo "no" >&6; }
10244 fi
10245
10246
10247 test -n "$ac_ct_AR" && break
10248 done
10249
10250 if test "x$ac_ct_AR" = x; then
10251 AR="false"
10252 else
10253 case $cross_compiling:$ac_tool_warned in
10254 yes:)
10255 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
10256 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10257 ac_tool_warned=yes ;;
10258 esac
10259 AR=$ac_ct_AR
10260 fi
10261 fi
10262
10263 : ${AR=ar}
10264 : ${AR_FLAGS=cru}
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276 { $as_echo "$as_me:$LINENO: checking for archiver @FILE support" >&5
10277 $as_echo_n "checking for archiver @FILE support... " >&6; }
10278 if test "${lt_cv_ar_at_file+set}" = set; then
10279 $as_echo_n "(cached) " >&6
10280 else
10281 lt_cv_ar_at_file=no
10282 cat >conftest.$ac_ext <<_ACEOF
10283 /* confdefs.h. */
10284 _ACEOF
10285 cat confdefs.h >>conftest.$ac_ext
10286 cat >>conftest.$ac_ext <<_ACEOF
10287 /* end confdefs.h. */
10288
10289 int
10290 main ()
10291 {
10292
10293 ;
10294 return 0;
10295 }
10296 _ACEOF
10297 rm -f conftest.$ac_objext
10298 if { (ac_try="$ac_compile"
10299 case "(($ac_try" in
10300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10301 *) ac_try_echo=$ac_try;;
10302 esac
10303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10304 $as_echo "$ac_try_echo") >&5
10305 (eval "$ac_compile") 2>conftest.er1
10306 ac_status=$?
10307 grep -v '^ *+' conftest.er1 >conftest.err
10308 rm -f conftest.er1
10309 cat conftest.err >&5
10310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10311 (exit $ac_status); } && {
10312 test -z "$ac_cxx_werror_flag" ||
10313 test ! -s conftest.err
10314 } && test -s conftest.$ac_objext; then
10315 echo conftest.$ac_objext > conftest.lst
10316 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
10317 { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
10318 (eval $lt_ar_try) 2>&5
10319 ac_status=$?
10320 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321 (exit $ac_status); }
10322 if test "$ac_status" -eq 0; then
10323 # Ensure the archiver fails upon bogus file names.
10324 rm -f conftest.$ac_objext libconftest.a
10325 { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
10326 (eval $lt_ar_try) 2>&5
10327 ac_status=$?
10328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); }
10330 if test "$ac_status" -ne 0; then
10331 lt_cv_ar_at_file=@
10332 fi
10333 fi
10334 rm -f conftest.* libconftest.a
10335
10336 else
10337 $as_echo "$as_me: failed program was:" >&5
10338 sed 's/^/| /' conftest.$ac_ext >&5
10339
10340
10341 fi
10342
10343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10344
10345 fi
10346 { $as_echo "$as_me:$LINENO: result: $lt_cv_ar_at_file" >&5
10347 $as_echo "$lt_cv_ar_at_file" >&6; }
10348
10349 if test "x$lt_cv_ar_at_file" = xno; then
10350 archiver_list_spec=
10351 else
10352 archiver_list_spec=$lt_cv_ar_at_file
10353 fi
10354
10355
10356
10357
10358
10359
10360
10361 if test -n "$ac_tool_prefix"; then
10362 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
10363 set dummy ${ac_tool_prefix}strip; ac_word=$2
10364 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10365 $as_echo_n "checking for $ac_word... " >&6; }
10366 if test "${ac_cv_prog_STRIP+set}" = set; then
10367 $as_echo_n "(cached) " >&6
10368 else
10369 if test -n "$STRIP"; then
10370 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10371 else
10372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10373 for as_dir in $PATH
10374 do
10375 IFS=$as_save_IFS
10376 test -z "$as_dir" && as_dir=.
10377 for ac_exec_ext in '' $ac_executable_extensions; do
10378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10379 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
10380 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10381 break 2
10382 fi
10383 done
10384 done
10385 IFS=$as_save_IFS
10386
10387 fi
10388 fi
10389 STRIP=$ac_cv_prog_STRIP
10390 if test -n "$STRIP"; then
10391 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
10392 $as_echo "$STRIP" >&6; }
10393 else
10394 { $as_echo "$as_me:$LINENO: result: no" >&5
10395 $as_echo "no" >&6; }
10396 fi
10397
10398
10399 fi
10400 if test -z "$ac_cv_prog_STRIP"; then
10401 ac_ct_STRIP=$STRIP
10402 # Extract the first word of "strip", so it can be a program name with args.
10403 set dummy strip; ac_word=$2
10404 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10405 $as_echo_n "checking for $ac_word... " >&6; }
10406 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
10407 $as_echo_n "(cached) " >&6
10408 else
10409 if test -n "$ac_ct_STRIP"; then
10410 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
10411 else
10412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10413 for as_dir in $PATH
10414 do
10415 IFS=$as_save_IFS
10416 test -z "$as_dir" && as_dir=.
10417 for ac_exec_ext in '' $ac_executable_extensions; do
10418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10419 ac_cv_prog_ac_ct_STRIP="strip"
10420 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10421 break 2
10422 fi
10423 done
10424 done
10425 IFS=$as_save_IFS
10426
10427 fi
10428 fi
10429 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
10430 if test -n "$ac_ct_STRIP"; then
10431 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
10432 $as_echo "$ac_ct_STRIP" >&6; }
10433 else
10434 { $as_echo "$as_me:$LINENO: result: no" >&5
10435 $as_echo "no" >&6; }
10436 fi
10437
10438 if test "x$ac_ct_STRIP" = x; then
10439 STRIP=":"
10440 else
10441 case $cross_compiling:$ac_tool_warned in
10442 yes:)
10443 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
10444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10445 ac_tool_warned=yes ;;
10446 esac
10447 STRIP=$ac_ct_STRIP
10448 fi
10449 else
10450 STRIP="$ac_cv_prog_STRIP"
10451 fi
10452
10453 test -z "$STRIP" && STRIP=:
10454
10455
10456
10457
10458
10459
10460 if test -n "$ac_tool_prefix"; then
10461 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10462 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
10463 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10464 $as_echo_n "checking for $ac_word... " >&6; }
10465 if test "${ac_cv_prog_RANLIB+set}" = set; then
10466 $as_echo_n "(cached) " >&6
10467 else
10468 if test -n "$RANLIB"; then
10469 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10470 else
10471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10472 for as_dir in $PATH
10473 do
10474 IFS=$as_save_IFS
10475 test -z "$as_dir" && as_dir=.
10476 for ac_exec_ext in '' $ac_executable_extensions; do
10477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10478 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
10479 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10480 break 2
10481 fi
10482 done
10483 done
10484 IFS=$as_save_IFS
10485
10486 fi
10487 fi
10488 RANLIB=$ac_cv_prog_RANLIB
10489 if test -n "$RANLIB"; then
10490 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
10491 $as_echo "$RANLIB" >&6; }
10492 else
10493 { $as_echo "$as_me:$LINENO: result: no" >&5
10494 $as_echo "no" >&6; }
10495 fi
10496
10497
10498 fi
10499 if test -z "$ac_cv_prog_RANLIB"; then
10500 ac_ct_RANLIB=$RANLIB
10501 # Extract the first word of "ranlib", so it can be a program name with args.
10502 set dummy ranlib; ac_word=$2
10503 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10504 $as_echo_n "checking for $ac_word... " >&6; }
10505 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
10506 $as_echo_n "(cached) " >&6
10507 else
10508 if test -n "$ac_ct_RANLIB"; then
10509 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
10510 else
10511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10512 for as_dir in $PATH
10513 do
10514 IFS=$as_save_IFS
10515 test -z "$as_dir" && as_dir=.
10516 for ac_exec_ext in '' $ac_executable_extensions; do
10517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10518 ac_cv_prog_ac_ct_RANLIB="ranlib"
10519 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10520 break 2
10521 fi
10522 done
10523 done
10524 IFS=$as_save_IFS
10525
10526 fi
10527 fi
10528 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
10529 if test -n "$ac_ct_RANLIB"; then
10530 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
10531 $as_echo "$ac_ct_RANLIB" >&6; }
10532 else
10533 { $as_echo "$as_me:$LINENO: result: no" >&5
10534 $as_echo "no" >&6; }
10535 fi
10536
10537 if test "x$ac_ct_RANLIB" = x; then
10538 RANLIB=":"
10539 else
10540 case $cross_compiling:$ac_tool_warned in
10541 yes:)
10542 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
10543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10544 ac_tool_warned=yes ;;
10545 esac
10546 RANLIB=$ac_ct_RANLIB
10547 fi
10548 else
10549 RANLIB="$ac_cv_prog_RANLIB"
10550 fi
10551
10552 test -z "$RANLIB" && RANLIB=:
10553
10554
10555
10556
10557
10558
10559 # Determine commands to create old-style static archives.
10560 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
10561 old_postinstall_cmds='chmod 644 $oldlib'
10562 old_postuninstall_cmds=
10563
10564 if test -n "$RANLIB"; then
10565 case $host_os in
10566 openbsd*)
10567 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
10568 ;;
10569 *)
10570 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
10571 ;;
10572 esac
10573 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
10574 fi
10575
10576 case $host_os in
10577 darwin*)
10578 lock_old_archive_extraction=yes ;;
10579 *)
10580 lock_old_archive_extraction=no ;;
10581 esac
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603 { $as_echo "$as_me:$LINENO: checking for sysroot" >&5
10604 $as_echo_n "checking for sysroot... " >&6; }
10605
10606 # Check whether --with-sysroot was given.
10607 if test "${with_sysroot+set}" = set; then
10608 withval=$with_sysroot;
10609 else
10610 with_sysroot=no
10611 fi
10612
10613
10614 lt_sysroot=
10615 case ${with_sysroot} in #(
10616 yes)
10617 if test "$GCC" = yes; then
10618 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
10619 fi
10620 ;; #(
10621 /*)
10622 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
10623 ;; #(
10624 no|'')
10625 ;; #(
10626 *)
10627 { $as_echo "$as_me:$LINENO: result: ${with_sysroot}" >&5
10628 $as_echo "${with_sysroot}" >&6; }
10629 { { $as_echo "$as_me:$LINENO: error: The sysroot must be an absolute path." >&5
10630 $as_echo "$as_me: error: The sysroot must be an absolute path." >&2;}
10631 { (exit 1); exit 1; }; }
10632 ;;
10633 esac
10634
10635 { $as_echo "$as_me:$LINENO: result: ${lt_sysroot:-no}" >&5
10636 $as_echo "${lt_sysroot:-no}" >&6; }
10637
10638
10639
10640
10641
10642 # Check whether --enable-libtool-lock was given.
10643 if test "${enable_libtool_lock+set}" = set; then
10644 enableval=$enable_libtool_lock;
10645 fi
10646
10647 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10648
10649 # Some flags need to be propagated to the compiler or linker for good
10650 # libtool support.
10651 case $host in
10652 ia64-*-hpux*)
10653 # Find out which ABI we are using.
10654 echo 'int i;' > conftest.$ac_ext
10655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10656 (eval $ac_compile) 2>&5
10657 ac_status=$?
10658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); }; then
10660 case `/usr/bin/file conftest.$ac_objext` in
10661 *ELF-32*)
10662 HPUX_IA64_MODE="32"
10663 ;;
10664 *ELF-64*)
10665 HPUX_IA64_MODE="64"
10666 ;;
10667 esac
10668 fi
10669 rm -rf conftest*
10670 ;;
10671 *-*-irix6*)
10672 # Find out which ABI we are using.
10673 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
10674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10675 (eval $ac_compile) 2>&5
10676 ac_status=$?
10677 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10678 (exit $ac_status); }; then
10679 if test "$lt_cv_prog_gnu_ld" = yes; then
10680 case `/usr/bin/file conftest.$ac_objext` in
10681 *32-bit*)
10682 LD="${LD-ld} -melf32bsmip"
10683 ;;
10684 *N32*)
10685 LD="${LD-ld} -melf32bmipn32"
10686 ;;
10687 *64-bit*)
10688 LD="${LD-ld} -melf64bmip"
10689 ;;
10690 esac
10691 else
10692 case `/usr/bin/file conftest.$ac_objext` in
10693 *32-bit*)
10694 LD="${LD-ld} -32"
10695 ;;
10696 *N32*)
10697 LD="${LD-ld} -n32"
10698 ;;
10699 *64-bit*)
10700 LD="${LD-ld} -64"
10701 ;;
10702 esac
10703 fi
10704 fi
10705 rm -rf conftest*
10706 ;;
10707
10708 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
10709 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
10710 # Find out which ABI we are using.
10711 echo 'int i;' > conftest.$ac_ext
10712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10713 (eval $ac_compile) 2>&5
10714 ac_status=$?
10715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10716 (exit $ac_status); }; then
10717 case `/usr/bin/file conftest.o` in
10718 *32-bit*)
10719 case $host in
10720 x86_64-*kfreebsd*-gnu)
10721 LD="${LD-ld} -m elf_i386_fbsd"
10722 ;;
10723 x86_64-*linux*)
10724 LD="${LD-ld} -m elf_i386"
10725 ;;
10726 ppc64-*linux*|powerpc64-*linux*)
10727 LD="${LD-ld} -m elf32ppclinux"
10728 ;;
10729 s390x-*linux*)
10730 LD="${LD-ld} -m elf_s390"
10731 ;;
10732 sparc64-*linux*)
10733 LD="${LD-ld} -m elf32_sparc"
10734 ;;
10735 esac
10736 ;;
10737 *64-bit*)
10738 case $host in
10739 x86_64-*kfreebsd*-gnu)
10740 LD="${LD-ld} -m elf_x86_64_fbsd"
10741 ;;
10742 x86_64-*linux*)
10743 LD="${LD-ld} -m elf_x86_64"
10744 ;;
10745 ppc*-*linux*|powerpc*-*linux*)
10746 LD="${LD-ld} -m elf64ppc"
10747 ;;
10748 s390*-*linux*|s390*-*tpf*)
10749 LD="${LD-ld} -m elf64_s390"
10750 ;;
10751 sparc*-*linux*)
10752 LD="${LD-ld} -m elf64_sparc"
10753 ;;
10754 esac
10755 ;;
10756 esac
10757 fi
10758 rm -rf conftest*
10759 ;;
10760
10761 *-*-sco3.2v5*)
10762 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10763 SAVE_CFLAGS="$CFLAGS"
10764 CFLAGS="$CFLAGS -belf"
10765 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
10766 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
10767 if test "${lt_cv_cc_needs_belf+set}" = set; then
10768 $as_echo_n "(cached) " >&6
10769 else
10770 ac_ext=c
10771 ac_cpp='$CPP $CPPFLAGS'
10772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10775
10776 cat >conftest.$ac_ext <<_ACEOF
10777 /* confdefs.h. */
10778 _ACEOF
10779 cat confdefs.h >>conftest.$ac_ext
10780 cat >>conftest.$ac_ext <<_ACEOF
10781 /* end confdefs.h. */
10782
10783 int
10784 main ()
10785 {
10786
10787 ;
10788 return 0;
10789 }
10790 _ACEOF
10791 rm -f conftest.$ac_objext conftest$ac_exeext
10792 if { (ac_try="$ac_link"
10793 case "(($ac_try" in
10794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10795 *) ac_try_echo=$ac_try;;
10796 esac
10797 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10798 $as_echo "$ac_try_echo") >&5
10799 (eval "$ac_link") 2>conftest.er1
10800 ac_status=$?
10801 grep -v '^ *+' conftest.er1 >conftest.err
10802 rm -f conftest.er1
10803 cat conftest.err >&5
10804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805 (exit $ac_status); } && {
10806 test -z "$ac_c_werror_flag" ||
10807 test ! -s conftest.err
10808 } && test -s conftest$ac_exeext && {
10809 test "$cross_compiling" = yes ||
10810 $as_test_x conftest$ac_exeext
10811 }; then
10812 lt_cv_cc_needs_belf=yes
10813 else
10814 $as_echo "$as_me: failed program was:" >&5
10815 sed 's/^/| /' conftest.$ac_ext >&5
10816
10817 lt_cv_cc_needs_belf=no
10818 fi
10819
10820 rm -rf conftest.dSYM
10821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10822 conftest$ac_exeext conftest.$ac_ext
10823 ac_ext=c
10824 ac_cpp='$CPP $CPPFLAGS'
10825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10828
10829 fi
10830 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
10831 $as_echo "$lt_cv_cc_needs_belf" >&6; }
10832 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
10833 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10834 CFLAGS="$SAVE_CFLAGS"
10835 fi
10836 ;;
10837 sparc*-*solaris*)
10838 # Find out which ABI we are using.
10839 echo 'int i;' > conftest.$ac_ext
10840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10841 (eval $ac_compile) 2>&5
10842 ac_status=$?
10843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844 (exit $ac_status); }; then
10845 case `/usr/bin/file conftest.o` in
10846 *64-bit*)
10847 case $lt_cv_prog_gnu_ld in
10848 yes*) LD="${LD-ld} -m elf64_sparc" ;;
10849 *)
10850 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
10851 LD="${LD-ld} -64"
10852 fi
10853 ;;
10854 esac
10855 ;;
10856 esac
10857 fi
10858 rm -rf conftest*
10859 ;;
10860 esac
10861
10862 need_locks="$enable_libtool_lock"
10863
10864 if test -n "$ac_tool_prefix"; then
10865 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
10866 set dummy ${ac_tool_prefix}mt; ac_word=$2
10867 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10868 $as_echo_n "checking for $ac_word... " >&6; }
10869 if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then
10870 $as_echo_n "(cached) " >&6
10871 else
10872 if test -n "$MANIFEST_TOOL"; then
10873 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
10874 else
10875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10876 for as_dir in $PATH
10877 do
10878 IFS=$as_save_IFS
10879 test -z "$as_dir" && as_dir=.
10880 for ac_exec_ext in '' $ac_executable_extensions; do
10881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10882 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
10883 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10884 break 2
10885 fi
10886 done
10887 done
10888 IFS=$as_save_IFS
10889
10890 fi
10891 fi
10892 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
10893 if test -n "$MANIFEST_TOOL"; then
10894 { $as_echo "$as_me:$LINENO: result: $MANIFEST_TOOL" >&5
10895 $as_echo "$MANIFEST_TOOL" >&6; }
10896 else
10897 { $as_echo "$as_me:$LINENO: result: no" >&5
10898 $as_echo "no" >&6; }
10899 fi
10900
10901
10902 fi
10903 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
10904 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
10905 # Extract the first word of "mt", so it can be a program name with args.
10906 set dummy mt; ac_word=$2
10907 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10908 $as_echo_n "checking for $ac_word... " >&6; }
10909 if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then
10910 $as_echo_n "(cached) " >&6
10911 else
10912 if test -n "$ac_ct_MANIFEST_TOOL"; then
10913 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
10914 else
10915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10916 for as_dir in $PATH
10917 do
10918 IFS=$as_save_IFS
10919 test -z "$as_dir" && as_dir=.
10920 for ac_exec_ext in '' $ac_executable_extensions; do
10921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10922 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
10923 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10924 break 2
10925 fi
10926 done
10927 done
10928 IFS=$as_save_IFS
10929
10930 fi
10931 fi
10932 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
10933 if test -n "$ac_ct_MANIFEST_TOOL"; then
10934 { $as_echo "$as_me:$LINENO: result: $ac_ct_MANIFEST_TOOL" >&5
10935 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
10936 else
10937 { $as_echo "$as_me:$LINENO: result: no" >&5
10938 $as_echo "no" >&6; }
10939 fi
10940
10941 if test "x$ac_ct_MANIFEST_TOOL" = x; then
10942 MANIFEST_TOOL=":"
10943 else
10944 case $cross_compiling:$ac_tool_warned in
10945 yes:)
10946 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
10947 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10948 ac_tool_warned=yes ;;
10949 esac
10950 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
10951 fi
10952 else
10953 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
10954 fi
10955
10956 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
10957 { $as_echo "$as_me:$LINENO: checking if $MANIFEST_TOOL is a manifest tool" >&5
10958 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
10959 if test "${lt_cv_path_mainfest_tool+set}" = set; then
10960 $as_echo_n "(cached) " >&6
10961 else
10962 lt_cv_path_mainfest_tool=no
10963 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10964 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
10965 cat conftest.err >&5
10966 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
10967 lt_cv_path_mainfest_tool=yes
10968 fi
10969 rm -f conftest*
10970 fi
10971 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_mainfest_tool" >&5
10972 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
10973 if test "x$lt_cv_path_mainfest_tool" != xyes; then
10974 MANIFEST_TOOL=:
10975 fi
10976
10977
10978
10979
10980
10981
10982 case $host_os in
10983 rhapsody* | darwin*)
10984 if test -n "$ac_tool_prefix"; then
10985 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10986 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10987 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10988 $as_echo_n "checking for $ac_word... " >&6; }
10989 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
10990 $as_echo_n "(cached) " >&6
10991 else
10992 if test -n "$DSYMUTIL"; then
10993 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10994 else
10995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10996 for as_dir in $PATH
10997 do
10998 IFS=$as_save_IFS
10999 test -z "$as_dir" && as_dir=.
11000 for ac_exec_ext in '' $ac_executable_extensions; do
11001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11002 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
11003 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11004 break 2
11005 fi
11006 done
11007 done
11008 IFS=$as_save_IFS
11009
11010 fi
11011 fi
11012 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11013 if test -n "$DSYMUTIL"; then
11014 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
11015 $as_echo "$DSYMUTIL" >&6; }
11016 else
11017 { $as_echo "$as_me:$LINENO: result: no" >&5
11018 $as_echo "no" >&6; }
11019 fi
11020
11021
11022 fi
11023 if test -z "$ac_cv_prog_DSYMUTIL"; then
11024 ac_ct_DSYMUTIL=$DSYMUTIL
11025 # Extract the first word of "dsymutil", so it can be a program name with args.
11026 set dummy dsymutil; ac_word=$2
11027 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11028 $as_echo_n "checking for $ac_word... " >&6; }
11029 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
11030 $as_echo_n "(cached) " >&6
11031 else
11032 if test -n "$ac_ct_DSYMUTIL"; then
11033 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
11034 else
11035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11036 for as_dir in $PATH
11037 do
11038 IFS=$as_save_IFS
11039 test -z "$as_dir" && as_dir=.
11040 for ac_exec_ext in '' $ac_executable_extensions; do
11041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11042 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
11043 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11044 break 2
11045 fi
11046 done
11047 done
11048 IFS=$as_save_IFS
11049
11050 fi
11051 fi
11052 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
11053 if test -n "$ac_ct_DSYMUTIL"; then
11054 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
11055 $as_echo "$ac_ct_DSYMUTIL" >&6; }
11056 else
11057 { $as_echo "$as_me:$LINENO: result: no" >&5
11058 $as_echo "no" >&6; }
11059 fi
11060
11061 if test "x$ac_ct_DSYMUTIL" = x; then
11062 DSYMUTIL=":"
11063 else
11064 case $cross_compiling:$ac_tool_warned in
11065 yes:)
11066 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11068 ac_tool_warned=yes ;;
11069 esac
11070 DSYMUTIL=$ac_ct_DSYMUTIL
11071 fi
11072 else
11073 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
11074 fi
11075
11076 if test -n "$ac_tool_prefix"; then
11077 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
11078 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
11079 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11080 $as_echo_n "checking for $ac_word... " >&6; }
11081 if test "${ac_cv_prog_NMEDIT+set}" = set; then
11082 $as_echo_n "(cached) " >&6
11083 else
11084 if test -n "$NMEDIT"; then
11085 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
11086 else
11087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11088 for as_dir in $PATH
11089 do
11090 IFS=$as_save_IFS
11091 test -z "$as_dir" && as_dir=.
11092 for ac_exec_ext in '' $ac_executable_extensions; do
11093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11094 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
11095 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11096 break 2
11097 fi
11098 done
11099 done
11100 IFS=$as_save_IFS
11101
11102 fi
11103 fi
11104 NMEDIT=$ac_cv_prog_NMEDIT
11105 if test -n "$NMEDIT"; then
11106 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
11107 $as_echo "$NMEDIT" >&6; }
11108 else
11109 { $as_echo "$as_me:$LINENO: result: no" >&5
11110 $as_echo "no" >&6; }
11111 fi
11112
11113
11114 fi
11115 if test -z "$ac_cv_prog_NMEDIT"; then
11116 ac_ct_NMEDIT=$NMEDIT
11117 # Extract the first word of "nmedit", so it can be a program name with args.
11118 set dummy nmedit; ac_word=$2
11119 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11120 $as_echo_n "checking for $ac_word... " >&6; }
11121 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
11122 $as_echo_n "(cached) " >&6
11123 else
11124 if test -n "$ac_ct_NMEDIT"; then
11125 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
11126 else
11127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11128 for as_dir in $PATH
11129 do
11130 IFS=$as_save_IFS
11131 test -z "$as_dir" && as_dir=.
11132 for ac_exec_ext in '' $ac_executable_extensions; do
11133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11134 ac_cv_prog_ac_ct_NMEDIT="nmedit"
11135 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11136 break 2
11137 fi
11138 done
11139 done
11140 IFS=$as_save_IFS
11141
11142 fi
11143 fi
11144 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
11145 if test -n "$ac_ct_NMEDIT"; then
11146 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
11147 $as_echo "$ac_ct_NMEDIT" >&6; }
11148 else
11149 { $as_echo "$as_me:$LINENO: result: no" >&5
11150 $as_echo "no" >&6; }
11151 fi
11152
11153 if test "x$ac_ct_NMEDIT" = x; then
11154 NMEDIT=":"
11155 else
11156 case $cross_compiling:$ac_tool_warned in
11157 yes:)
11158 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11160 ac_tool_warned=yes ;;
11161 esac
11162 NMEDIT=$ac_ct_NMEDIT
11163 fi
11164 else
11165 NMEDIT="$ac_cv_prog_NMEDIT"
11166 fi
11167
11168 if test -n "$ac_tool_prefix"; then
11169 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
11170 set dummy ${ac_tool_prefix}lipo; ac_word=$2
11171 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11172 $as_echo_n "checking for $ac_word... " >&6; }
11173 if test "${ac_cv_prog_LIPO+set}" = set; then
11174 $as_echo_n "(cached) " >&6
11175 else
11176 if test -n "$LIPO"; then
11177 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11178 else
11179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11180 for as_dir in $PATH
11181 do
11182 IFS=$as_save_IFS
11183 test -z "$as_dir" && as_dir=.
11184 for ac_exec_ext in '' $ac_executable_extensions; do
11185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11186 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
11187 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11188 break 2
11189 fi
11190 done
11191 done
11192 IFS=$as_save_IFS
11193
11194 fi
11195 fi
11196 LIPO=$ac_cv_prog_LIPO
11197 if test -n "$LIPO"; then
11198 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
11199 $as_echo "$LIPO" >&6; }
11200 else
11201 { $as_echo "$as_me:$LINENO: result: no" >&5
11202 $as_echo "no" >&6; }
11203 fi
11204
11205
11206 fi
11207 if test -z "$ac_cv_prog_LIPO"; then
11208 ac_ct_LIPO=$LIPO
11209 # Extract the first word of "lipo", so it can be a program name with args.
11210 set dummy lipo; ac_word=$2
11211 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11212 $as_echo_n "checking for $ac_word... " >&6; }
11213 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
11214 $as_echo_n "(cached) " >&6
11215 else
11216 if test -n "$ac_ct_LIPO"; then
11217 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
11218 else
11219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11220 for as_dir in $PATH
11221 do
11222 IFS=$as_save_IFS
11223 test -z "$as_dir" && as_dir=.
11224 for ac_exec_ext in '' $ac_executable_extensions; do
11225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11226 ac_cv_prog_ac_ct_LIPO="lipo"
11227 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11228 break 2
11229 fi
11230 done
11231 done
11232 IFS=$as_save_IFS
11233
11234 fi
11235 fi
11236 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
11237 if test -n "$ac_ct_LIPO"; then
11238 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
11239 $as_echo "$ac_ct_LIPO" >&6; }
11240 else
11241 { $as_echo "$as_me:$LINENO: result: no" >&5
11242 $as_echo "no" >&6; }
11243 fi
11244
11245 if test "x$ac_ct_LIPO" = x; then
11246 LIPO=":"
11247 else
11248 case $cross_compiling:$ac_tool_warned in
11249 yes:)
11250 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11252 ac_tool_warned=yes ;;
11253 esac
11254 LIPO=$ac_ct_LIPO
11255 fi
11256 else
11257 LIPO="$ac_cv_prog_LIPO"
11258 fi
11259
11260 if test -n "$ac_tool_prefix"; then
11261 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
11262 set dummy ${ac_tool_prefix}otool; ac_word=$2
11263 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11264 $as_echo_n "checking for $ac_word... " >&6; }
11265 if test "${ac_cv_prog_OTOOL+set}" = set; then
11266 $as_echo_n "(cached) " >&6
11267 else
11268 if test -n "$OTOOL"; then
11269 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
11270 else
11271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11272 for as_dir in $PATH
11273 do
11274 IFS=$as_save_IFS
11275 test -z "$as_dir" && as_dir=.
11276 for ac_exec_ext in '' $ac_executable_extensions; do
11277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11278 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
11279 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11280 break 2
11281 fi
11282 done
11283 done
11284 IFS=$as_save_IFS
11285
11286 fi
11287 fi
11288 OTOOL=$ac_cv_prog_OTOOL
11289 if test -n "$OTOOL"; then
11290 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
11291 $as_echo "$OTOOL" >&6; }
11292 else
11293 { $as_echo "$as_me:$LINENO: result: no" >&5
11294 $as_echo "no" >&6; }
11295 fi
11296
11297
11298 fi
11299 if test -z "$ac_cv_prog_OTOOL"; then
11300 ac_ct_OTOOL=$OTOOL
11301 # Extract the first word of "otool", so it can be a program name with args.
11302 set dummy otool; ac_word=$2
11303 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11304 $as_echo_n "checking for $ac_word... " >&6; }
11305 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
11306 $as_echo_n "(cached) " >&6
11307 else
11308 if test -n "$ac_ct_OTOOL"; then
11309 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
11310 else
11311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11312 for as_dir in $PATH
11313 do
11314 IFS=$as_save_IFS
11315 test -z "$as_dir" && as_dir=.
11316 for ac_exec_ext in '' $ac_executable_extensions; do
11317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11318 ac_cv_prog_ac_ct_OTOOL="otool"
11319 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11320 break 2
11321 fi
11322 done
11323 done
11324 IFS=$as_save_IFS
11325
11326 fi
11327 fi
11328 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
11329 if test -n "$ac_ct_OTOOL"; then
11330 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
11331 $as_echo "$ac_ct_OTOOL" >&6; }
11332 else
11333 { $as_echo "$as_me:$LINENO: result: no" >&5
11334 $as_echo "no" >&6; }
11335 fi
11336
11337 if test "x$ac_ct_OTOOL" = x; then
11338 OTOOL=":"
11339 else
11340 case $cross_compiling:$ac_tool_warned in
11341 yes:)
11342 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11344 ac_tool_warned=yes ;;
11345 esac
11346 OTOOL=$ac_ct_OTOOL
11347 fi
11348 else
11349 OTOOL="$ac_cv_prog_OTOOL"
11350 fi
11351
11352 if test -n "$ac_tool_prefix"; then
11353 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
11354 set dummy ${ac_tool_prefix}otool64; ac_word=$2
11355 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11356 $as_echo_n "checking for $ac_word... " >&6; }
11357 if test "${ac_cv_prog_OTOOL64+set}" = set; then
11358 $as_echo_n "(cached) " >&6
11359 else
11360 if test -n "$OTOOL64"; then
11361 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
11362 else
11363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11364 for as_dir in $PATH
11365 do
11366 IFS=$as_save_IFS
11367 test -z "$as_dir" && as_dir=.
11368 for ac_exec_ext in '' $ac_executable_extensions; do
11369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11370 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
11371 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11372 break 2
11373 fi
11374 done
11375 done
11376 IFS=$as_save_IFS
11377
11378 fi
11379 fi
11380 OTOOL64=$ac_cv_prog_OTOOL64
11381 if test -n "$OTOOL64"; then
11382 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
11383 $as_echo "$OTOOL64" >&6; }
11384 else
11385 { $as_echo "$as_me:$LINENO: result: no" >&5
11386 $as_echo "no" >&6; }
11387 fi
11388
11389
11390 fi
11391 if test -z "$ac_cv_prog_OTOOL64"; then
11392 ac_ct_OTOOL64=$OTOOL64
11393 # Extract the first word of "otool64", so it can be a program name with args.
11394 set dummy otool64; ac_word=$2
11395 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11396 $as_echo_n "checking for $ac_word... " >&6; }
11397 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
11398 $as_echo_n "(cached) " >&6
11399 else
11400 if test -n "$ac_ct_OTOOL64"; then
11401 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
11402 else
11403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11404 for as_dir in $PATH
11405 do
11406 IFS=$as_save_IFS
11407 test -z "$as_dir" && as_dir=.
11408 for ac_exec_ext in '' $ac_executable_extensions; do
11409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11410 ac_cv_prog_ac_ct_OTOOL64="otool64"
11411 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11412 break 2
11413 fi
11414 done
11415 done
11416 IFS=$as_save_IFS
11417
11418 fi
11419 fi
11420 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
11421 if test -n "$ac_ct_OTOOL64"; then
11422 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
11423 $as_echo "$ac_ct_OTOOL64" >&6; }
11424 else
11425 { $as_echo "$as_me:$LINENO: result: no" >&5
11426 $as_echo "no" >&6; }
11427 fi
11428
11429 if test "x$ac_ct_OTOOL64" = x; then
11430 OTOOL64=":"
11431 else
11432 case $cross_compiling:$ac_tool_warned in
11433 yes:)
11434 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11436 ac_tool_warned=yes ;;
11437 esac
11438 OTOOL64=$ac_ct_OTOOL64
11439 fi
11440 else
11441 OTOOL64="$ac_cv_prog_OTOOL64"
11442 fi
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
11471 $as_echo_n "checking for -single_module linker flag... " >&6; }
11472 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11473 $as_echo_n "(cached) " >&6
11474 else
11475 lt_cv_apple_cc_single_mod=no
11476 if test -z "${LT_MULTI_MODULE}"; then
11477 # By default we will add the -single_module flag. You can override
11478 # by either setting the environment variable LT_MULTI_MODULE
11479 # non-empty at configure time, or by adding -multi_module to the
11480 # link flags.
11481 rm -rf libconftest.dylib*
11482 echo "int foo(void){return 1;}" > conftest.c
11483 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11484 -dynamiclib -Wl,-single_module conftest.c" >&5
11485 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11486 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
11487 _lt_result=$?
11488 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
11489 lt_cv_apple_cc_single_mod=yes
11490 else
11491 cat conftest.err >&5
11492 fi
11493 rm -rf libconftest.dylib*
11494 rm -f conftest.*
11495 fi
11496 fi
11497 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
11498 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
11499 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
11500 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
11501 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
11502 $as_echo_n "(cached) " >&6
11503 else
11504 lt_cv_ld_exported_symbols_list=no
11505 save_LDFLAGS=$LDFLAGS
11506 echo "_main" > conftest.sym
11507 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
11508 cat >conftest.$ac_ext <<_ACEOF
11509 /* confdefs.h. */
11510 _ACEOF
11511 cat confdefs.h >>conftest.$ac_ext
11512 cat >>conftest.$ac_ext <<_ACEOF
11513 /* end confdefs.h. */
11514
11515 int
11516 main ()
11517 {
11518
11519 ;
11520 return 0;
11521 }
11522 _ACEOF
11523 rm -f conftest.$ac_objext conftest$ac_exeext
11524 if { (ac_try="$ac_link"
11525 case "(($ac_try" in
11526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11527 *) ac_try_echo=$ac_try;;
11528 esac
11529 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11530 $as_echo "$ac_try_echo") >&5
11531 (eval "$ac_link") 2>conftest.er1
11532 ac_status=$?
11533 grep -v '^ *+' conftest.er1 >conftest.err
11534 rm -f conftest.er1
11535 cat conftest.err >&5
11536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537 (exit $ac_status); } && {
11538 test -z "$ac_c_werror_flag" ||
11539 test ! -s conftest.err
11540 } && test -s conftest$ac_exeext && {
11541 test "$cross_compiling" = yes ||
11542 $as_test_x conftest$ac_exeext
11543 }; then
11544 lt_cv_ld_exported_symbols_list=yes
11545 else
11546 $as_echo "$as_me: failed program was:" >&5
11547 sed 's/^/| /' conftest.$ac_ext >&5
11548
11549 lt_cv_ld_exported_symbols_list=no
11550 fi
11551
11552 rm -rf conftest.dSYM
11553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11554 conftest$ac_exeext conftest.$ac_ext
11555 LDFLAGS="$save_LDFLAGS"
11556
11557 fi
11558 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
11559 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
11560 { $as_echo "$as_me:$LINENO: checking for -force_load linker flag" >&5
11561 $as_echo_n "checking for -force_load linker flag... " >&6; }
11562 if test "${lt_cv_ld_force_load+set}" = set; then
11563 $as_echo_n "(cached) " >&6
11564 else
11565 lt_cv_ld_force_load=no
11566 cat > conftest.c << _LT_EOF
11567 int forced_loaded() { return 2;}
11568 _LT_EOF
11569 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
11570 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
11571 echo "$AR cru libconftest.a conftest.o" >&5
11572 $AR cru libconftest.a conftest.o 2>&5
11573 echo "$RANLIB libconftest.a" >&5
11574 $RANLIB libconftest.a 2>&5
11575 cat > conftest.c << _LT_EOF
11576 int main() { return 0;}
11577 _LT_EOF
11578 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
11579 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
11580 _lt_result=$?
11581 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
11582 lt_cv_ld_force_load=yes
11583 else
11584 cat conftest.err >&5
11585 fi
11586 rm -f conftest.err libconftest.a conftest conftest.c
11587 rm -rf conftest.dSYM
11588
11589 fi
11590 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_force_load" >&5
11591 $as_echo "$lt_cv_ld_force_load" >&6; }
11592 case $host_os in
11593 rhapsody* | darwin1.[012])
11594 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
11595 darwin1.*)
11596 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
11597 darwin*) # darwin 5.x on
11598 # if running on 10.5 or later, the deployment target defaults
11599 # to the OS version, if on x86, and 10.4, the deployment
11600 # target defaults to 10.4. Don't you love it?
11601 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
11602 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
11603 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
11604 10.[012]*)
11605 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
11606 10.*)
11607 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
11608 esac
11609 ;;
11610 esac
11611 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
11612 _lt_dar_single_mod='$single_module'
11613 fi
11614 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
11615 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
11616 else
11617 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
11618 fi
11619 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
11620 _lt_dsymutil='~$DSYMUTIL $lib || :'
11621 else
11622 _lt_dsymutil=
11623 fi
11624 ;;
11625 esac
11626
11627
11628
11629 func_stripname_cnf ()
11630 {
11631 case ${2} in
11632 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
11633 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
11634 esac
11635 } # func_stripname_cnf
11636
11637
11638
11639
11640
11641 # Set options
11642
11643
11644
11645 enable_dlopen=no
11646
11647
11648 enable_win32_dll=no
11649
11650
11651 # Check whether --enable-shared was given.
11652 if test "${enable_shared+set}" = set; then
11653 enableval=$enable_shared; p=${PACKAGE-default}
11654 case $enableval in
11655 yes) enable_shared=yes ;;
11656 no) enable_shared=no ;;
11657 *)
11658 enable_shared=no
11659 # Look at the argument we got. We use all the common list separators.
11660 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11661 for pkg in $enableval; do
11662 IFS="$lt_save_ifs"
11663 if test "X$pkg" = "X$p"; then
11664 enable_shared=yes
11665 fi
11666 done
11667 IFS="$lt_save_ifs"
11668 ;;
11669 esac
11670 else
11671 enable_shared=yes
11672 fi
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682 # Check whether --enable-static was given.
11683 if test "${enable_static+set}" = set; then
11684 enableval=$enable_static; p=${PACKAGE-default}
11685 case $enableval in
11686 yes) enable_static=yes ;;
11687 no) enable_static=no ;;
11688 *)
11689 enable_static=no
11690 # Look at the argument we got. We use all the common list separators.
11691 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11692 for pkg in $enableval; do
11693 IFS="$lt_save_ifs"
11694 if test "X$pkg" = "X$p"; then
11695 enable_static=yes
11696 fi
11697 done
11698 IFS="$lt_save_ifs"
11699 ;;
11700 esac
11701 else
11702 enable_static=yes
11703 fi
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714 # Check whether --with-pic was given.
11715 if test "${with_pic+set}" = set; then
11716 withval=$with_pic; pic_mode="$withval"
11717 else
11718 pic_mode=default
11719 fi
11720
11721
11722 test -z "$pic_mode" && pic_mode=default
11723
11724
11725
11726
11727
11728
11729
11730 # Check whether --enable-fast-install was given.
11731 if test "${enable_fast_install+set}" = set; then
11732 enableval=$enable_fast_install; p=${PACKAGE-default}
11733 case $enableval in
11734 yes) enable_fast_install=yes ;;
11735 no) enable_fast_install=no ;;
11736 *)
11737 enable_fast_install=no
11738 # Look at the argument we got. We use all the common list separators.
11739 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11740 for pkg in $enableval; do
11741 IFS="$lt_save_ifs"
11742 if test "X$pkg" = "X$p"; then
11743 enable_fast_install=yes
11744 fi
11745 done
11746 IFS="$lt_save_ifs"
11747 ;;
11748 esac
11749 else
11750 enable_fast_install=yes
11751 fi
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763 # This can be used to rebuild libtool when needed
11764 LIBTOOL_DEPS="$ltmain"
11765
11766 # Always use our own libtool.
11767 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794 test -z "$LN_S" && LN_S="ln -s"
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809 if test -n "${ZSH_VERSION+set}" ; then
11810 setopt NO_GLOB_SUBST
11811 fi
11812
11813 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
11814 $as_echo_n "checking for objdir... " >&6; }
11815 if test "${lt_cv_objdir+set}" = set; then
11816 $as_echo_n "(cached) " >&6
11817 else
11818 rm -f .libs 2>/dev/null
11819 mkdir .libs 2>/dev/null
11820 if test -d .libs; then
11821 lt_cv_objdir=.libs
11822 else
11823 # MS-DOS does not allow filenames that begin with a dot.
11824 lt_cv_objdir=_libs
11825 fi
11826 rmdir .libs 2>/dev/null
11827 fi
11828 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
11829 $as_echo "$lt_cv_objdir" >&6; }
11830 objdir=$lt_cv_objdir
11831
11832
11833 cat >>confdefs.h <<_ACEOF
11834 #define LT_OBJDIR "$lt_cv_objdir/"
11835 _ACEOF
11836
11837
11838
11839
11840 case $host_os in
11841 aix3*)
11842 # AIX sometimes has problems with the GCC collect2 program. For some
11843 # reason, if we set the COLLECT_NAMES environment variable, the problems
11844 # vanish in a puff of smoke.
11845 if test "X${COLLECT_NAMES+set}" != Xset; then
11846 COLLECT_NAMES=
11847 export COLLECT_NAMES
11848 fi
11849 ;;
11850 esac
11851
11852 # Global variables:
11853 ofile=libtool
11854 can_build_shared=yes
11855
11856 # All known linkers require a `.a' archive for static linking (except MSVC,
11857 # which needs '.lib').
11858 libext=a
11859
11860 with_gnu_ld="$lt_cv_prog_gnu_ld"
11861
11862 old_CC="$CC"
11863 old_CFLAGS="$CFLAGS"
11864
11865 # Set sane defaults for various variables
11866 test -z "$CC" && CC=cc
11867 test -z "$LTCC" && LTCC=$CC
11868 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11869 test -z "$LD" && LD=ld
11870 test -z "$ac_objext" && ac_objext=o
11871
11872 for cc_temp in $compiler""; do
11873 case $cc_temp in
11874 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11875 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11876 \-*) ;;
11877 *) break;;
11878 esac
11879 done
11880 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11881
11882
11883 # Only perform the check for file, if the check method requires it
11884 test -z "$MAGIC_CMD" && MAGIC_CMD=file
11885 case $deplibs_check_method in
11886 file_magic*)
11887 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11888 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
11889 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
11890 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11891 $as_echo_n "(cached) " >&6
11892 else
11893 case $MAGIC_CMD in
11894 [\\/*] | ?:[\\/]*)
11895 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11896 ;;
11897 *)
11898 lt_save_MAGIC_CMD="$MAGIC_CMD"
11899 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11900 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11901 for ac_dir in $ac_dummy; do
11902 IFS="$lt_save_ifs"
11903 test -z "$ac_dir" && ac_dir=.
11904 if test -f $ac_dir/${ac_tool_prefix}file; then
11905 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
11906 if test -n "$file_magic_test_file"; then
11907 case $deplibs_check_method in
11908 "file_magic "*)
11909 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11910 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11911 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11912 $EGREP "$file_magic_regex" > /dev/null; then
11913 :
11914 else
11915 cat <<_LT_EOF 1>&2
11916
11917 *** Warning: the command libtool uses to detect shared libraries,
11918 *** $file_magic_cmd, produces output that libtool cannot recognize.
11919 *** The result is that libtool may fail to recognize shared libraries
11920 *** as such. This will affect the creation of libtool libraries that
11921 *** depend on shared libraries, but programs linked with such libtool
11922 *** libraries will work regardless of this problem. Nevertheless, you
11923 *** may want to report the problem to your system manager and/or to
11924 *** [email protected]
11925
11926 _LT_EOF
11927 fi ;;
11928 esac
11929 fi
11930 break
11931 fi
11932 done
11933 IFS="$lt_save_ifs"
11934 MAGIC_CMD="$lt_save_MAGIC_CMD"
11935 ;;
11936 esac
11937 fi
11938
11939 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11940 if test -n "$MAGIC_CMD"; then
11941 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11942 $as_echo "$MAGIC_CMD" >&6; }
11943 else
11944 { $as_echo "$as_me:$LINENO: result: no" >&5
11945 $as_echo "no" >&6; }
11946 fi
11947
11948
11949
11950
11951
11952 if test -z "$lt_cv_path_MAGIC_CMD"; then
11953 if test -n "$ac_tool_prefix"; then
11954 { $as_echo "$as_me:$LINENO: checking for file" >&5
11955 $as_echo_n "checking for file... " >&6; }
11956 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11957 $as_echo_n "(cached) " >&6
11958 else
11959 case $MAGIC_CMD in
11960 [\\/*] | ?:[\\/]*)
11961 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11962 ;;
11963 *)
11964 lt_save_MAGIC_CMD="$MAGIC_CMD"
11965 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11966 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11967 for ac_dir in $ac_dummy; do
11968 IFS="$lt_save_ifs"
11969 test -z "$ac_dir" && ac_dir=.
11970 if test -f $ac_dir/file; then
11971 lt_cv_path_MAGIC_CMD="$ac_dir/file"
11972 if test -n "$file_magic_test_file"; then
11973 case $deplibs_check_method in
11974 "file_magic "*)
11975 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11976 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11977 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11978 $EGREP "$file_magic_regex" > /dev/null; then
11979 :
11980 else
11981 cat <<_LT_EOF 1>&2
11982
11983 *** Warning: the command libtool uses to detect shared libraries,
11984 *** $file_magic_cmd, produces output that libtool cannot recognize.
11985 *** The result is that libtool may fail to recognize shared libraries
11986 *** as such. This will affect the creation of libtool libraries that
11987 *** depend on shared libraries, but programs linked with such libtool
11988 *** libraries will work regardless of this problem. Nevertheless, you
11989 *** may want to report the problem to your system manager and/or to
11990 *** [email protected]
11991
11992 _LT_EOF
11993 fi ;;
11994 esac
11995 fi
11996 break
11997 fi
11998 done
11999 IFS="$lt_save_ifs"
12000 MAGIC_CMD="$lt_save_MAGIC_CMD"
12001 ;;
12002 esac
12003 fi
12004
12005 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12006 if test -n "$MAGIC_CMD"; then
12007 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
12008 $as_echo "$MAGIC_CMD" >&6; }
12009 else
12010 { $as_echo "$as_me:$LINENO: result: no" >&5
12011 $as_echo "no" >&6; }
12012 fi
12013
12014
12015 else
12016 MAGIC_CMD=:
12017 fi
12018 fi
12019
12020 fi
12021 ;;
12022 esac
12023
12024 # Use C for the default configuration in the libtool script
12025
12026 lt_save_CC="$CC"
12027 ac_ext=c
12028 ac_cpp='$CPP $CPPFLAGS'
12029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12032
12033
12034 # Source file extension for C test sources.
12035 ac_ext=c
12036
12037 # Object file extension for compiled C test sources.
12038 objext=o
12039 objext=$objext
12040
12041 # Code to be used in simple compile tests
12042 lt_simple_compile_test_code="int some_variable = 0;"
12043
12044 # Code to be used in simple link tests
12045 lt_simple_link_test_code='int main(){return(0);}'
12046
12047
12048
12049
12050
12051
12052
12053 # If no C compiler was specified, use CC.
12054 LTCC=${LTCC-"$CC"}
12055
12056 # If no C compiler flags were specified, use CFLAGS.
12057 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12058
12059 # Allow CC to be a program name with arguments.
12060 compiler=$CC
12061
12062 # Save the default compiler, since it gets overwritten when the other
12063 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
12064 compiler_DEFAULT=$CC
12065
12066 # save warnings/boilerplate of simple test code
12067 ac_outfile=conftest.$ac_objext
12068 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12069 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12070 _lt_compiler_boilerplate=`cat conftest.err`
12071 $RM conftest*
12072
12073 ac_outfile=conftest.$ac_objext
12074 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12075 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12076 _lt_linker_boilerplate=`cat conftest.err`
12077 $RM -r conftest*
12078
12079
12080 ## CAVEAT EMPTOR:
12081 ## There is no encapsulation within the following macros, do not change
12082 ## the running order or otherwise move them around unless you know exactly
12083 ## what you are doing...
12084 if test -n "$compiler"; then
12085
12086 lt_prog_compiler_no_builtin_flag=
12087
12088 if test "$GCC" = yes; then
12089 case $cc_basename in
12090 nvcc*)
12091 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
12092 *)
12093 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
12094 esac
12095
12096 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12097 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
12098 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
12099 $as_echo_n "(cached) " >&6
12100 else
12101 lt_cv_prog_compiler_rtti_exceptions=no
12102 ac_outfile=conftest.$ac_objext
12103 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12104 lt_compiler_flag="-fno-rtti -fno-exceptions"
12105 # Insert the option either (1) after the last *FLAGS variable, or
12106 # (2) before a word containing "conftest.", or (3) at the end.
12107 # Note that $ac_compile itself does not contain backslashes and begins
12108 # with a dollar sign (not a hyphen), so the echo should work correctly.
12109 # The option is referenced via a variable to avoid confusing sed.
12110 lt_compile=`echo "$ac_compile" | $SED \
12111 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12112 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12113 -e 's:$: $lt_compiler_flag:'`
12114 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12115 (eval "$lt_compile" 2>conftest.err)
12116 ac_status=$?
12117 cat conftest.err >&5
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 if (exit $ac_status) && test -s "$ac_outfile"; then
12120 # The compiler can only warn and ignore the option if not recognized
12121 # So say no if there are warnings other than the usual output.
12122 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12123 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12124 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12125 lt_cv_prog_compiler_rtti_exceptions=yes
12126 fi
12127 fi
12128 $RM conftest*
12129
12130 fi
12131 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12132 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
12133
12134 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
12135 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
12136 else
12137 :
12138 fi
12139
12140 fi
12141
12142
12143
12144
12145
12146
12147 lt_prog_compiler_wl=
12148 lt_prog_compiler_pic=
12149 lt_prog_compiler_static=
12150
12151
12152 if test "$GCC" = yes; then
12153 lt_prog_compiler_wl='-Wl,'
12154 lt_prog_compiler_static='-static'
12155
12156 case $host_os in
12157 aix*)
12158 # All AIX code is PIC.
12159 if test "$host_cpu" = ia64; then
12160 # AIX 5 now supports IA64 processor
12161 lt_prog_compiler_static='-Bstatic'
12162 fi
12163 ;;
12164
12165 amigaos*)
12166 case $host_cpu in
12167 powerpc)
12168 # see comment about AmigaOS4 .so support
12169 lt_prog_compiler_pic='-fPIC'
12170 ;;
12171 m68k)
12172 # FIXME: we need at least 68020 code to build shared libraries, but
12173 # adding the `-m68020' flag to GCC prevents building anything better,
12174 # like `-m68040'.
12175 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
12176 ;;
12177 esac
12178 ;;
12179
12180 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12181 # PIC is the default for these OSes.
12182 ;;
12183
12184 mingw* | cygwin* | pw32* | os2* | cegcc*)
12185 # This hack is so that the source file can tell whether it is being
12186 # built for inclusion in a dll (and should export symbols for example).
12187 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12188 # (--disable-auto-import) libraries
12189 lt_prog_compiler_pic='-DDLL_EXPORT'
12190 ;;
12191
12192 darwin* | rhapsody*)
12193 # PIC is the default on this platform
12194 # Common symbols not allowed in MH_DYLIB files
12195 lt_prog_compiler_pic='-fno-common'
12196 ;;
12197
12198 haiku*)
12199 # PIC is the default for Haiku.
12200 # The "-static" flag exists, but is broken.
12201 lt_prog_compiler_static=
12202 ;;
12203
12204 hpux*)
12205 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12206 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12207 # sets the default TLS model and affects inlining.
12208 case $host_cpu in
12209 hppa*64*)
12210 # +Z the default
12211 ;;
12212 *)
12213 lt_prog_compiler_pic='-fPIC'
12214 ;;
12215 esac
12216 ;;
12217
12218 interix[3-9]*)
12219 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12220 # Instead, we relocate shared libraries at runtime.
12221 ;;
12222
12223 msdosdjgpp*)
12224 # Just because we use GCC doesn't mean we suddenly get shared libraries
12225 # on systems that don't support them.
12226 lt_prog_compiler_can_build_shared=no
12227 enable_shared=no
12228 ;;
12229
12230 *nto* | *qnx*)
12231 # QNX uses GNU C++, but need to define -shared option too, otherwise
12232 # it will coredump.
12233 lt_prog_compiler_pic='-fPIC -shared'
12234 ;;
12235
12236 sysv4*MP*)
12237 if test -d /usr/nec; then
12238 lt_prog_compiler_pic=-Kconform_pic
12239 fi
12240 ;;
12241
12242 *)
12243 lt_prog_compiler_pic='-fPIC'
12244 ;;
12245 esac
12246
12247 case $cc_basename in
12248 nvcc*) # Cuda Compiler Driver 2.2
12249 lt_prog_compiler_wl='-Xlinker '
12250 lt_prog_compiler_pic='-Xcompiler -fPIC'
12251 ;;
12252 esac
12253 else
12254 # PORTME Check for flag to pass linker flags through the system compiler.
12255 case $host_os in
12256 aix*)
12257 lt_prog_compiler_wl='-Wl,'
12258 if test "$host_cpu" = ia64; then
12259 # AIX 5 now supports IA64 processor
12260 lt_prog_compiler_static='-Bstatic'
12261 else
12262 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
12263 fi
12264 ;;
12265
12266 mingw* | cygwin* | pw32* | os2* | cegcc*)
12267 # This hack is so that the source file can tell whether it is being
12268 # built for inclusion in a dll (and should export symbols for example).
12269 lt_prog_compiler_pic='-DDLL_EXPORT'
12270 ;;
12271
12272 hpux9* | hpux10* | hpux11*)
12273 lt_prog_compiler_wl='-Wl,'
12274 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12275 # not for PA HP-UX.
12276 case $host_cpu in
12277 hppa*64*|ia64*)
12278 # +Z the default
12279 ;;
12280 *)
12281 lt_prog_compiler_pic='+Z'
12282 ;;
12283 esac
12284 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12285 lt_prog_compiler_static='${wl}-a ${wl}archive'
12286 ;;
12287
12288 irix5* | irix6* | nonstopux*)
12289 lt_prog_compiler_wl='-Wl,'
12290 # PIC (with -KPIC) is the default.
12291 lt_prog_compiler_static='-non_shared'
12292 ;;
12293
12294 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12295 case $cc_basename in
12296 # old Intel for x86_64 which still supported -KPIC.
12297 ecc*)
12298 lt_prog_compiler_wl='-Wl,'
12299 lt_prog_compiler_pic='-KPIC'
12300 lt_prog_compiler_static='-static'
12301 ;;
12302 # icc used to be incompatible with GCC.
12303 # ICC 10 doesn't accept -KPIC any more.
12304 icc* | ifort*)
12305 lt_prog_compiler_wl='-Wl,'
12306 lt_prog_compiler_pic='-fPIC'
12307 lt_prog_compiler_static='-static'
12308 ;;
12309 # Lahey Fortran 8.1.
12310 lf95*)
12311 lt_prog_compiler_wl='-Wl,'
12312 lt_prog_compiler_pic='--shared'
12313 lt_prog_compiler_static='--static'
12314 ;;
12315 nagfor*)
12316 # NAG Fortran compiler
12317 lt_prog_compiler_wl='-Wl,-Wl,,'
12318 lt_prog_compiler_pic='-PIC'
12319 lt_prog_compiler_static='-Bstatic'
12320 ;;
12321 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
12322 # Portland Group compilers (*not* the Pentium gcc compiler,
12323 # which looks to be a dead project)
12324 lt_prog_compiler_wl='-Wl,'
12325 lt_prog_compiler_pic='-fpic'
12326 lt_prog_compiler_static='-Bstatic'
12327 ;;
12328 ccc*)
12329 lt_prog_compiler_wl='-Wl,'
12330 # All Alpha code is PIC.
12331 lt_prog_compiler_static='-non_shared'
12332 ;;
12333 xl* | bgxl* | bgf* | mpixl*)
12334 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12335 lt_prog_compiler_wl='-Wl,'
12336 lt_prog_compiler_pic='-qpic'
12337 lt_prog_compiler_static='-qstaticlink'
12338 ;;
12339 *)
12340 case `$CC -V 2>&1 | sed 5q` in
12341 *Sun\ F* | *Sun*Fortran*)
12342 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12343 lt_prog_compiler_pic='-KPIC'
12344 lt_prog_compiler_static='-Bstatic'
12345 lt_prog_compiler_wl=''
12346 ;;
12347 *Sun\ C*)
12348 # Sun C 5.9
12349 lt_prog_compiler_pic='-KPIC'
12350 lt_prog_compiler_static='-Bstatic'
12351 lt_prog_compiler_wl='-Wl,'
12352 ;;
12353 esac
12354 ;;
12355 esac
12356 ;;
12357
12358 newsos6)
12359 lt_prog_compiler_pic='-KPIC'
12360 lt_prog_compiler_static='-Bstatic'
12361 ;;
12362
12363 *nto* | *qnx*)
12364 # QNX uses GNU C++, but need to define -shared option too, otherwise
12365 # it will coredump.
12366 lt_prog_compiler_pic='-fPIC -shared'
12367 ;;
12368
12369 osf3* | osf4* | osf5*)
12370 lt_prog_compiler_wl='-Wl,'
12371 # All OSF/1 code is PIC.
12372 lt_prog_compiler_static='-non_shared'
12373 ;;
12374
12375 rdos*)
12376 lt_prog_compiler_static='-non_shared'
12377 ;;
12378
12379 solaris*)
12380 lt_prog_compiler_pic='-KPIC'
12381 lt_prog_compiler_static='-Bstatic'
12382 case $cc_basename in
12383 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
12384 lt_prog_compiler_wl='-Qoption ld ';;
12385 *)
12386 lt_prog_compiler_wl='-Wl,';;
12387 esac
12388 ;;
12389
12390 sunos4*)
12391 lt_prog_compiler_wl='-Qoption ld '
12392 lt_prog_compiler_pic='-PIC'
12393 lt_prog_compiler_static='-Bstatic'
12394 ;;
12395
12396 sysv4 | sysv4.2uw2* | sysv4.3*)
12397 lt_prog_compiler_wl='-Wl,'
12398 lt_prog_compiler_pic='-KPIC'
12399 lt_prog_compiler_static='-Bstatic'
12400 ;;
12401
12402 sysv4*MP*)
12403 if test -d /usr/nec ;then
12404 lt_prog_compiler_pic='-Kconform_pic'
12405 lt_prog_compiler_static='-Bstatic'
12406 fi
12407 ;;
12408
12409 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12410 lt_prog_compiler_wl='-Wl,'
12411 lt_prog_compiler_pic='-KPIC'
12412 lt_prog_compiler_static='-Bstatic'
12413 ;;
12414
12415 unicos*)
12416 lt_prog_compiler_wl='-Wl,'
12417 lt_prog_compiler_can_build_shared=no
12418 ;;
12419
12420 uts4*)
12421 lt_prog_compiler_pic='-pic'
12422 lt_prog_compiler_static='-Bstatic'
12423 ;;
12424
12425 *)
12426 lt_prog_compiler_can_build_shared=no
12427 ;;
12428 esac
12429 fi
12430
12431 case $host_os in
12432 # For platforms which do not support PIC, -DPIC is meaningless:
12433 *djgpp*)
12434 lt_prog_compiler_pic=
12435 ;;
12436 *)
12437 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
12438 ;;
12439 esac
12440
12441 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12442 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12443 if test "${lt_cv_prog_compiler_pic+set}" = set; then
12444 $as_echo_n "(cached) " >&6
12445 else
12446 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
12447 fi
12448 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic" >&5
12449 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
12450 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
12451
12452 #
12453 # Check to make sure the PIC flag actually works.
12454 #
12455 if test -n "$lt_prog_compiler_pic"; then
12456 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
12457 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
12458 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
12459 $as_echo_n "(cached) " >&6
12460 else
12461 lt_cv_prog_compiler_pic_works=no
12462 ac_outfile=conftest.$ac_objext
12463 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12464 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
12465 # Insert the option either (1) after the last *FLAGS variable, or
12466 # (2) before a word containing "conftest.", or (3) at the end.
12467 # Note that $ac_compile itself does not contain backslashes and begins
12468 # with a dollar sign (not a hyphen), so the echo should work correctly.
12469 # The option is referenced via a variable to avoid confusing sed.
12470 lt_compile=`echo "$ac_compile" | $SED \
12471 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12472 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12473 -e 's:$: $lt_compiler_flag:'`
12474 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12475 (eval "$lt_compile" 2>conftest.err)
12476 ac_status=$?
12477 cat conftest.err >&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 if (exit $ac_status) && test -s "$ac_outfile"; then
12480 # The compiler can only warn and ignore the option if not recognized
12481 # So say no if there are warnings other than the usual output.
12482 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12483 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12484 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12485 lt_cv_prog_compiler_pic_works=yes
12486 fi
12487 fi
12488 $RM conftest*
12489
12490 fi
12491 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
12492 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
12493
12494 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
12495 case $lt_prog_compiler_pic in
12496 "" | " "*) ;;
12497 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
12498 esac
12499 else
12500 lt_prog_compiler_pic=
12501 lt_prog_compiler_can_build_shared=no
12502 fi
12503
12504 fi
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516 #
12517 # Check to make sure the static flag actually works.
12518 #
12519 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
12520 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12521 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12522 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
12523 $as_echo_n "(cached) " >&6
12524 else
12525 lt_cv_prog_compiler_static_works=no
12526 save_LDFLAGS="$LDFLAGS"
12527 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12528 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12529 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12530 # The linker can only warn and ignore the option if not recognized
12531 # So say no if there are warnings
12532 if test -s conftest.err; then
12533 # Append any errors to the config.log.
12534 cat conftest.err 1>&5
12535 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12536 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12537 if diff conftest.exp conftest.er2 >/dev/null; then
12538 lt_cv_prog_compiler_static_works=yes
12539 fi
12540 else
12541 lt_cv_prog_compiler_static_works=yes
12542 fi
12543 fi
12544 $RM -r conftest*
12545 LDFLAGS="$save_LDFLAGS"
12546
12547 fi
12548 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
12549 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
12550
12551 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
12552 :
12553 else
12554 lt_prog_compiler_static=
12555 fi
12556
12557
12558
12559
12560
12561
12562
12563 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12564 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12565 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
12566 $as_echo_n "(cached) " >&6
12567 else
12568 lt_cv_prog_compiler_c_o=no
12569 $RM -r conftest 2>/dev/null
12570 mkdir conftest
12571 cd conftest
12572 mkdir out
12573 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12574
12575 lt_compiler_flag="-o out/conftest2.$ac_objext"
12576 # Insert the option either (1) after the last *FLAGS variable, or
12577 # (2) before a word containing "conftest.", or (3) at the end.
12578 # Note that $ac_compile itself does not contain backslashes and begins
12579 # with a dollar sign (not a hyphen), so the echo should work correctly.
12580 lt_compile=`echo "$ac_compile" | $SED \
12581 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12582 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12583 -e 's:$: $lt_compiler_flag:'`
12584 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12585 (eval "$lt_compile" 2>out/conftest.err)
12586 ac_status=$?
12587 cat out/conftest.err >&5
12588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12589 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12590 then
12591 # The compiler can only warn and ignore the option if not recognized
12592 # So say no if there are warnings
12593 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12594 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12595 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12596 lt_cv_prog_compiler_c_o=yes
12597 fi
12598 fi
12599 chmod u+w . 2>&5
12600 $RM conftest*
12601 # SGI C++ compiler will create directory out/ii_files/ for
12602 # template instantiation
12603 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12604 $RM out/* && rmdir out
12605 cd ..
12606 $RM -r conftest
12607 $RM conftest*
12608
12609 fi
12610 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
12611 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
12612
12613
12614
12615
12616
12617
12618 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12619 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12620 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
12621 $as_echo_n "(cached) " >&6
12622 else
12623 lt_cv_prog_compiler_c_o=no
12624 $RM -r conftest 2>/dev/null
12625 mkdir conftest
12626 cd conftest
12627 mkdir out
12628 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12629
12630 lt_compiler_flag="-o out/conftest2.$ac_objext"
12631 # Insert the option either (1) after the last *FLAGS variable, or
12632 # (2) before a word containing "conftest.", or (3) at the end.
12633 # Note that $ac_compile itself does not contain backslashes and begins
12634 # with a dollar sign (not a hyphen), so the echo should work correctly.
12635 lt_compile=`echo "$ac_compile" | $SED \
12636 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12637 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12638 -e 's:$: $lt_compiler_flag:'`
12639 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12640 (eval "$lt_compile" 2>out/conftest.err)
12641 ac_status=$?
12642 cat out/conftest.err >&5
12643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12645 then
12646 # The compiler can only warn and ignore the option if not recognized
12647 # So say no if there are warnings
12648 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12649 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12650 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12651 lt_cv_prog_compiler_c_o=yes
12652 fi
12653 fi
12654 chmod u+w . 2>&5
12655 $RM conftest*
12656 # SGI C++ compiler will create directory out/ii_files/ for
12657 # template instantiation
12658 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12659 $RM out/* && rmdir out
12660 cd ..
12661 $RM -r conftest
12662 $RM conftest*
12663
12664 fi
12665 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
12666 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
12667
12668
12669
12670
12671 hard_links="nottested"
12672 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
12673 # do not overwrite the value of need_locks provided by the user
12674 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12675 $as_echo_n "checking if we can lock with hard links... " >&6; }
12676 hard_links=yes
12677 $RM conftest*
12678 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12679 touch conftest.a
12680 ln conftest.a conftest.b 2>&5 || hard_links=no
12681 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12682 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
12683 $as_echo "$hard_links" >&6; }
12684 if test "$hard_links" = no; then
12685 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12686 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12687 need_locks=warn
12688 fi
12689 else
12690 need_locks=no
12691 fi
12692
12693
12694
12695
12696
12697
12698 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12699 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12700
12701 runpath_var=
12702 allow_undefined_flag=
12703 always_export_symbols=no
12704 archive_cmds=
12705 archive_expsym_cmds=
12706 compiler_needs_object=no
12707 enable_shared_with_static_runtimes=no
12708 export_dynamic_flag_spec=
12709 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12710 hardcode_automatic=no
12711 hardcode_direct=no
12712 hardcode_direct_absolute=no
12713 hardcode_libdir_flag_spec=
12714 hardcode_libdir_flag_spec_ld=
12715 hardcode_libdir_separator=
12716 hardcode_minus_L=no
12717 hardcode_shlibpath_var=unsupported
12718 inherit_rpath=no
12719 link_all_deplibs=unknown
12720 module_cmds=
12721 module_expsym_cmds=
12722 old_archive_from_new_cmds=
12723 old_archive_from_expsyms_cmds=
12724 thread_safe_flag_spec=
12725 whole_archive_flag_spec=
12726 # include_expsyms should be a list of space-separated symbols to be *always*
12727 # included in the symbol list
12728 include_expsyms=
12729 # exclude_expsyms can be an extended regexp of symbols to exclude
12730 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12731 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12732 # as well as any symbol that contains `d'.
12733 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12734 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12735 # platforms (ab)use it in PIC code, but their linkers get confused if
12736 # the symbol is explicitly referenced. Since portable code cannot
12737 # rely on this symbol name, it's probably fine to never include it in
12738 # preloaded symbol tables.
12739 # Exclude shared library initialization/finalization symbols.
12740 extract_expsyms_cmds=
12741
12742 case $host_os in
12743 cygwin* | mingw* | pw32* | cegcc*)
12744 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12745 # When not using gcc, we currently assume that we are using
12746 # Microsoft Visual C++.
12747 if test "$GCC" != yes; then
12748 with_gnu_ld=no
12749 fi
12750 ;;
12751 interix*)
12752 # we just hope/assume this is gcc and not c89 (= MSVC++)
12753 with_gnu_ld=yes
12754 ;;
12755 openbsd*)
12756 with_gnu_ld=no
12757 ;;
12758 esac
12759
12760 ld_shlibs=yes
12761
12762 # On some targets, GNU ld is compatible enough with the native linker
12763 # that we're better off using the native interface for both.
12764 lt_use_gnu_ld_interface=no
12765 if test "$with_gnu_ld" = yes; then
12766 case $host_os in
12767 aix*)
12768 # The AIX port of GNU ld has always aspired to compatibility
12769 # with the native linker. However, as the warning in the GNU ld
12770 # block says, versions before 2.19.5* couldn't really create working
12771 # shared libraries, regardless of the interface used.
12772 case `$LD -v 2>&1` in
12773 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12774 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12775 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12776 *)
12777 lt_use_gnu_ld_interface=yes
12778 ;;
12779 esac
12780 ;;
12781 *)
12782 lt_use_gnu_ld_interface=yes
12783 ;;
12784 esac
12785 fi
12786
12787 if test "$lt_use_gnu_ld_interface" = yes; then
12788 # If archive_cmds runs LD, not CC, wlarc should be empty
12789 wlarc='${wl}'
12790
12791 # Set some defaults for GNU ld with shared library support. These
12792 # are reset later if shared libraries are not supported. Putting them
12793 # here allows them to be overridden if necessary.
12794 runpath_var=LD_RUN_PATH
12795 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12796 export_dynamic_flag_spec='${wl}--export-dynamic'
12797 # ancient GNU ld didn't support --whole-archive et. al.
12798 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12799 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12800 else
12801 whole_archive_flag_spec=
12802 fi
12803 supports_anon_versioning=no
12804 case `$LD -v 2>&1` in
12805 *GNU\ gold*) supports_anon_versioning=yes ;;
12806 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12807 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12808 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12809 *\ 2.11.*) ;; # other 2.11 versions
12810 *) supports_anon_versioning=yes ;;
12811 esac
12812
12813 # See if GNU ld supports shared libraries.
12814 case $host_os in
12815 aix[3-9]*)
12816 # On AIX/PPC, the GNU linker is very broken
12817 if test "$host_cpu" != ia64; then
12818 ld_shlibs=no
12819 cat <<_LT_EOF 1>&2
12820
12821 *** Warning: the GNU linker, at least up to release 2.19, is reported
12822 *** to be unable to reliably create shared libraries on AIX.
12823 *** Therefore, libtool is disabling shared libraries support. If you
12824 *** really care for shared libraries, you may want to install binutils
12825 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12826 *** You will then need to restart the configuration process.
12827
12828 _LT_EOF
12829 fi
12830 ;;
12831
12832 amigaos*)
12833 case $host_cpu in
12834 powerpc)
12835 # see comment about AmigaOS4 .so support
12836 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12837 archive_expsym_cmds=''
12838 ;;
12839 m68k)
12840 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12841 hardcode_libdir_flag_spec='-L$libdir'
12842 hardcode_minus_L=yes
12843 ;;
12844 esac
12845 ;;
12846
12847 beos*)
12848 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12849 allow_undefined_flag=unsupported
12850 # Joseph Beckenbach <[email protected]> says some releases of gcc
12851 # support --undefined. This deserves some investigation. FIXME
12852 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12853 else
12854 ld_shlibs=no
12855 fi
12856 ;;
12857
12858 cygwin* | mingw* | pw32* | cegcc*)
12859 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12860 # as there is no search path for DLLs.
12861 hardcode_libdir_flag_spec='-L$libdir'
12862 export_dynamic_flag_spec='${wl}--export-all-symbols'
12863 allow_undefined_flag=unsupported
12864 always_export_symbols=no
12865 enable_shared_with_static_runtimes=yes
12866 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
12867 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12868
12869 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12870 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12871 # If the export-symbols file already is a .def file (1st line
12872 # is EXPORTS), use it as is; otherwise, prepend...
12873 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12874 cp $export_symbols $output_objdir/$soname.def;
12875 else
12876 echo EXPORTS > $output_objdir/$soname.def;
12877 cat $export_symbols >> $output_objdir/$soname.def;
12878 fi~
12879 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12880 else
12881 ld_shlibs=no
12882 fi
12883 ;;
12884
12885 haiku*)
12886 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12887 link_all_deplibs=yes
12888 ;;
12889
12890 interix[3-9]*)
12891 hardcode_direct=no
12892 hardcode_shlibpath_var=no
12893 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12894 export_dynamic_flag_spec='${wl}-E'
12895 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12896 # Instead, shared libraries are loaded at an image base (0x10000000 by
12897 # default) and relocated if they conflict, which is a slow very memory
12898 # consuming and fragmenting process. To avoid this, we pick a random,
12899 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12900 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12901 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12902 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'
12903 ;;
12904
12905 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12906 tmp_diet=no
12907 if test "$host_os" = linux-dietlibc; then
12908 case $cc_basename in
12909 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12910 esac
12911 fi
12912 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12913 && test "$tmp_diet" = no
12914 then
12915 tmp_addflag=' $pic_flag'
12916 tmp_sharedflag='-shared'
12917 case $cc_basename,$host_cpu in
12918 pgcc*) # Portland Group C compiler
12919 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12920 tmp_addflag=' $pic_flag'
12921 ;;
12922 pgf77* | pgf90* | pgf95* | pgfortran*)
12923 # Portland Group f77 and f90 compilers
12924 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12925 tmp_addflag=' $pic_flag -Mnomain' ;;
12926 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12927 tmp_addflag=' -i_dynamic' ;;
12928 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12929 tmp_addflag=' -i_dynamic -nofor_main' ;;
12930 ifc* | ifort*) # Intel Fortran compiler
12931 tmp_addflag=' -nofor_main' ;;
12932 lf95*) # Lahey Fortran 8.1
12933 whole_archive_flag_spec=
12934 tmp_sharedflag='--shared' ;;
12935 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12936 tmp_sharedflag='-qmkshrobj'
12937 tmp_addflag= ;;
12938 nvcc*) # Cuda Compiler Driver 2.2
12939 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12940 compiler_needs_object=yes
12941 ;;
12942 esac
12943 case `$CC -V 2>&1 | sed 5q` in
12944 *Sun\ C*) # Sun C 5.9
12945 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12946 compiler_needs_object=yes
12947 tmp_sharedflag='-G' ;;
12948 *Sun\ F*) # Sun Fortran 8.3
12949 tmp_sharedflag='-G' ;;
12950 esac
12951 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12952
12953 if test "x$supports_anon_versioning" = xyes; then
12954 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12955 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12956 echo "local: *; };" >> $output_objdir/$libname.ver~
12957 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12958 fi
12959
12960 case $cc_basename in
12961 xlf* | bgf* | bgxlf* | mpixlf*)
12962 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12963 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12964 hardcode_libdir_flag_spec=
12965 hardcode_libdir_flag_spec_ld='-rpath $libdir'
12966 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12967 if test "x$supports_anon_versioning" = xyes; then
12968 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12969 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12970 echo "local: *; };" >> $output_objdir/$libname.ver~
12971 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12972 fi
12973 ;;
12974 esac
12975 else
12976 ld_shlibs=no
12977 fi
12978 ;;
12979
12980 netbsd*)
12981 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12982 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12983 wlarc=
12984 else
12985 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12986 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12987 fi
12988 ;;
12989
12990 solaris*)
12991 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12992 ld_shlibs=no
12993 cat <<_LT_EOF 1>&2
12994
12995 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12996 *** create shared libraries on Solaris systems. Therefore, libtool
12997 *** is disabling shared libraries support. We urge you to upgrade GNU
12998 *** binutils to release 2.9.1 or newer. Another option is to modify
12999 *** your PATH or compiler configuration so that the native linker is
13000 *** used, and then restart.
13001
13002 _LT_EOF
13003 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13004 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13005 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13006 else
13007 ld_shlibs=no
13008 fi
13009 ;;
13010
13011 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13012 case `$LD -v 2>&1` in
13013 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13014 ld_shlibs=no
13015 cat <<_LT_EOF 1>&2
13016
13017 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13018 *** reliably create shared libraries on SCO systems. Therefore, libtool
13019 *** is disabling shared libraries support. We urge you to upgrade GNU
13020 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13021 *** your PATH or compiler configuration so that the native linker is
13022 *** used, and then restart.
13023
13024 _LT_EOF
13025 ;;
13026 *)
13027 # For security reasons, it is highly recommended that you always
13028 # use absolute paths for naming shared libraries, and exclude the
13029 # DT_RUNPATH tag from executables and libraries. But doing so
13030 # requires that you compile everything twice, which is a pain.
13031 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13032 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13033 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13034 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13035 else
13036 ld_shlibs=no
13037 fi
13038 ;;
13039 esac
13040 ;;
13041
13042 sunos4*)
13043 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13044 wlarc=
13045 hardcode_direct=yes
13046 hardcode_shlibpath_var=no
13047 ;;
13048
13049 *)
13050 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13051 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13052 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13053 else
13054 ld_shlibs=no
13055 fi
13056 ;;
13057 esac
13058
13059 if test "$ld_shlibs" = no; then
13060 runpath_var=
13061 hardcode_libdir_flag_spec=
13062 export_dynamic_flag_spec=
13063 whole_archive_flag_spec=
13064 fi
13065 else
13066 # PORTME fill in a description of your system's linker (not GNU ld)
13067 case $host_os in
13068 aix3*)
13069 allow_undefined_flag=unsupported
13070 always_export_symbols=yes
13071 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'
13072 # Note: this linker hardcodes the directories in LIBPATH if there
13073 # are no directories specified by -L.
13074 hardcode_minus_L=yes
13075 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13076 # Neither direct hardcoding nor static linking is supported with a
13077 # broken collect2.
13078 hardcode_direct=unsupported
13079 fi
13080 ;;
13081
13082 aix[4-9]*)
13083 if test "$host_cpu" = ia64; then
13084 # On IA64, the linker does run time linking by default, so we don't
13085 # have to do anything special.
13086 aix_use_runtimelinking=no
13087 exp_sym_flag='-Bexport'
13088 no_entry_flag=""
13089 else
13090 # If we're using GNU nm, then we don't want the "-C" option.
13091 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13092 # Also, AIX nm treats weak defined symbols like other global
13093 # defined symbols, whereas GNU nm marks them as "W".
13094 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13095 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13096 else
13097 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13098 fi
13099 aix_use_runtimelinking=no
13100
13101 # Test if we are trying to use run time linking or normal
13102 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13103 # need to do runtime linking.
13104 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13105 for ld_flag in $LDFLAGS; do
13106 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13107 aix_use_runtimelinking=yes
13108 break
13109 fi
13110 done
13111 ;;
13112 esac
13113
13114 exp_sym_flag='-bexport'
13115 no_entry_flag='-bnoentry'
13116 fi
13117
13118 # When large executables or shared objects are built, AIX ld can
13119 # have problems creating the table of contents. If linking a library
13120 # or program results in "error TOC overflow" add -mminimal-toc to
13121 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13122 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13123
13124 archive_cmds=''
13125 hardcode_direct=yes
13126 hardcode_direct_absolute=yes
13127 hardcode_libdir_separator=':'
13128 link_all_deplibs=yes
13129 file_list_spec='${wl}-f,'
13130
13131 if test "$GCC" = yes; then
13132 case $host_os in aix4.[012]|aix4.[012].*)
13133 # We only want to do this on AIX 4.2 and lower, the check
13134 # below for broken collect2 doesn't work under 4.3+
13135 collect2name=`${CC} -print-prog-name=collect2`
13136 if test -f "$collect2name" &&
13137 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13138 then
13139 # We have reworked collect2
13140 :
13141 else
13142 # We have old collect2
13143 hardcode_direct=unsupported
13144 # It fails to find uninstalled libraries when the uninstalled
13145 # path is not listed in the libpath. Setting hardcode_minus_L
13146 # to unsupported forces relinking
13147 hardcode_minus_L=yes
13148 hardcode_libdir_flag_spec='-L$libdir'
13149 hardcode_libdir_separator=
13150 fi
13151 ;;
13152 esac
13153 shared_flag='-shared'
13154 if test "$aix_use_runtimelinking" = yes; then
13155 shared_flag="$shared_flag "'${wl}-G'
13156 fi
13157 else
13158 # not using gcc
13159 if test "$host_cpu" = ia64; then
13160 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13161 # chokes on -Wl,-G. The following line is correct:
13162 shared_flag='-G'
13163 else
13164 if test "$aix_use_runtimelinking" = yes; then
13165 shared_flag='${wl}-G'
13166 else
13167 shared_flag='${wl}-bM:SRE'
13168 fi
13169 fi
13170 fi
13171
13172 export_dynamic_flag_spec='${wl}-bexpall'
13173 # It seems that -bexpall does not export symbols beginning with
13174 # underscore (_), so it is better to generate a list of symbols to export.
13175 always_export_symbols=yes
13176 if test "$aix_use_runtimelinking" = yes; then
13177 # Warning - without using the other runtime loading flags (-brtl),
13178 # -berok will link without error, but may produce a broken library.
13179 allow_undefined_flag='-berok'
13180 # Determine the default libpath from the value encoded in an
13181 # empty executable.
13182 if test "${lt_cv_aix_libpath+set}" = set; then
13183 aix_libpath=$lt_cv_aix_libpath
13184 else
13185 if test "${lt_cv_aix_libpath_+set}" = set; then
13186 $as_echo_n "(cached) " >&6
13187 else
13188 cat >conftest.$ac_ext <<_ACEOF
13189 /* confdefs.h. */
13190 _ACEOF
13191 cat confdefs.h >>conftest.$ac_ext
13192 cat >>conftest.$ac_ext <<_ACEOF
13193 /* end confdefs.h. */
13194
13195 int
13196 main ()
13197 {
13198
13199 ;
13200 return 0;
13201 }
13202 _ACEOF
13203 rm -f conftest.$ac_objext conftest$ac_exeext
13204 if { (ac_try="$ac_link"
13205 case "(($ac_try" in
13206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13207 *) ac_try_echo=$ac_try;;
13208 esac
13209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13210 $as_echo "$ac_try_echo") >&5
13211 (eval "$ac_link") 2>conftest.er1
13212 ac_status=$?
13213 grep -v '^ *+' conftest.er1 >conftest.err
13214 rm -f conftest.er1
13215 cat conftest.err >&5
13216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); } && {
13218 test -z "$ac_c_werror_flag" ||
13219 test ! -s conftest.err
13220 } && test -s conftest$ac_exeext && {
13221 test "$cross_compiling" = yes ||
13222 $as_test_x conftest$ac_exeext
13223 }; then
13224
13225 lt_aix_libpath_sed='
13226 /Import File Strings/,/^$/ {
13227 /^0/ {
13228 s/^0 *\([^ ]*\) *$/\1/
13229 p
13230 }
13231 }'
13232 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13233 # Check for a 64-bit object if we didn't find anything.
13234 if test -z "$lt_cv_aix_libpath_"; then
13235 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13236 fi
13237 else
13238 $as_echo "$as_me: failed program was:" >&5
13239 sed 's/^/| /' conftest.$ac_ext >&5
13240
13241
13242 fi
13243
13244 rm -rf conftest.dSYM
13245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13246 conftest$ac_exeext conftest.$ac_ext
13247 if test -z "$lt_cv_aix_libpath_"; then
13248 lt_cv_aix_libpath_="/usr/lib:/lib"
13249 fi
13250
13251 fi
13252
13253 aix_libpath=$lt_cv_aix_libpath_
13254 fi
13255
13256 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13257 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13258 else
13259 if test "$host_cpu" = ia64; then
13260 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
13261 allow_undefined_flag="-z nodefs"
13262 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"
13263 else
13264 # Determine the default libpath from the value encoded in an
13265 # empty executable.
13266 if test "${lt_cv_aix_libpath+set}" = set; then
13267 aix_libpath=$lt_cv_aix_libpath
13268 else
13269 if test "${lt_cv_aix_libpath_+set}" = set; then
13270 $as_echo_n "(cached) " >&6
13271 else
13272 cat >conftest.$ac_ext <<_ACEOF
13273 /* confdefs.h. */
13274 _ACEOF
13275 cat confdefs.h >>conftest.$ac_ext
13276 cat >>conftest.$ac_ext <<_ACEOF
13277 /* end confdefs.h. */
13278
13279 int
13280 main ()
13281 {
13282
13283 ;
13284 return 0;
13285 }
13286 _ACEOF
13287 rm -f conftest.$ac_objext conftest$ac_exeext
13288 if { (ac_try="$ac_link"
13289 case "(($ac_try" in
13290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13291 *) ac_try_echo=$ac_try;;
13292 esac
13293 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13294 $as_echo "$ac_try_echo") >&5
13295 (eval "$ac_link") 2>conftest.er1
13296 ac_status=$?
13297 grep -v '^ *+' conftest.er1 >conftest.err
13298 rm -f conftest.er1
13299 cat conftest.err >&5
13300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); } && {
13302 test -z "$ac_c_werror_flag" ||
13303 test ! -s conftest.err
13304 } && test -s conftest$ac_exeext && {
13305 test "$cross_compiling" = yes ||
13306 $as_test_x conftest$ac_exeext
13307 }; then
13308
13309 lt_aix_libpath_sed='
13310 /Import File Strings/,/^$/ {
13311 /^0/ {
13312 s/^0 *\([^ ]*\) *$/\1/
13313 p
13314 }
13315 }'
13316 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13317 # Check for a 64-bit object if we didn't find anything.
13318 if test -z "$lt_cv_aix_libpath_"; then
13319 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13320 fi
13321 else
13322 $as_echo "$as_me: failed program was:" >&5
13323 sed 's/^/| /' conftest.$ac_ext >&5
13324
13325
13326 fi
13327
13328 rm -rf conftest.dSYM
13329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13330 conftest$ac_exeext conftest.$ac_ext
13331 if test -z "$lt_cv_aix_libpath_"; then
13332 lt_cv_aix_libpath_="/usr/lib:/lib"
13333 fi
13334
13335 fi
13336
13337 aix_libpath=$lt_cv_aix_libpath_
13338 fi
13339
13340 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13341 # Warning - without using the other run time loading flags,
13342 # -berok will link without error, but may produce a broken library.
13343 no_undefined_flag=' ${wl}-bernotok'
13344 allow_undefined_flag=' ${wl}-berok'
13345 if test "$with_gnu_ld" = yes; then
13346 # We only use this code for GNU lds that support --whole-archive.
13347 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13348 else
13349 # Exported symbols can be pulled into shared objects from archives
13350 whole_archive_flag_spec='$convenience'
13351 fi
13352 archive_cmds_need_lc=yes
13353 # This is similar to how AIX traditionally builds its shared libraries.
13354 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'
13355 fi
13356 fi
13357 ;;
13358
13359 amigaos*)
13360 case $host_cpu in
13361 powerpc)
13362 # see comment about AmigaOS4 .so support
13363 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13364 archive_expsym_cmds=''
13365 ;;
13366 m68k)
13367 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
13368 hardcode_libdir_flag_spec='-L$libdir'
13369 hardcode_minus_L=yes
13370 ;;
13371 esac
13372 ;;
13373
13374 bsdi[45]*)
13375 export_dynamic_flag_spec=-rdynamic
13376 ;;
13377
13378 cygwin* | mingw* | pw32* | cegcc*)
13379 # When not using gcc, we currently assume that we are using
13380 # Microsoft Visual C++.
13381 # hardcode_libdir_flag_spec is actually meaningless, as there is
13382 # no search path for DLLs.
13383 case $cc_basename in
13384 cl*)
13385 # Native MSVC
13386 hardcode_libdir_flag_spec=' '
13387 allow_undefined_flag=unsupported
13388 always_export_symbols=yes
13389 file_list_spec='@'
13390 # Tell ltmain to make .lib files, not .a files.
13391 libext=lib
13392 # Tell ltmain to make .dll files, not .so files.
13393 shrext_cmds=".dll"
13394 # FIXME: Setting linknames here is a bad hack.
13395 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13396 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13397 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13398 else
13399 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13400 fi~
13401 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13402 linknames='
13403 # The linker will not automatically build a static lib if we build a DLL.
13404 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
13405 enable_shared_with_static_runtimes=yes
13406 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13407 # Don't use ranlib
13408 old_postinstall_cmds='chmod 644 $oldlib'
13409 postlink_cmds='lt_outputfile="@OUTPUT@"~
13410 lt_tool_outputfile="@TOOL_OUTPUT@"~
13411 case $lt_outputfile in
13412 *.exe|*.EXE) ;;
13413 *)
13414 lt_outputfile="$lt_outputfile.exe"
13415 lt_tool_outputfile="$lt_tool_outputfile.exe"
13416 ;;
13417 esac~
13418 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13419 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13420 $RM "$lt_outputfile.manifest";
13421 fi'
13422 ;;
13423 *)
13424 # Assume MSVC wrapper
13425 hardcode_libdir_flag_spec=' '
13426 allow_undefined_flag=unsupported
13427 # Tell ltmain to make .lib files, not .a files.
13428 libext=lib
13429 # Tell ltmain to make .dll files, not .so files.
13430 shrext_cmds=".dll"
13431 # FIXME: Setting linknames here is a bad hack.
13432 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13433 # The linker will automatically build a .lib file if we build a DLL.
13434 old_archive_from_new_cmds='true'
13435 # FIXME: Should let the user specify the lib program.
13436 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
13437 enable_shared_with_static_runtimes=yes
13438 ;;
13439 esac
13440 ;;
13441
13442 darwin* | rhapsody*)
13443
13444
13445 archive_cmds_need_lc=no
13446 hardcode_direct=no
13447 hardcode_automatic=yes
13448 hardcode_shlibpath_var=unsupported
13449 if test "$lt_cv_ld_force_load" = "yes"; then
13450 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13451 else
13452 whole_archive_flag_spec=''
13453 fi
13454 link_all_deplibs=yes
13455 allow_undefined_flag="$_lt_dar_allow_undefined"
13456 case $cc_basename in
13457 ifort*) _lt_dar_can_shared=yes ;;
13458 *) _lt_dar_can_shared=$GCC ;;
13459 esac
13460 if test "$_lt_dar_can_shared" = "yes"; then
13461 output_verbose_link_cmd=func_echo_all
13462 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13463 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13464 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13465 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13466
13467 else
13468 ld_shlibs=no
13469 fi
13470
13471 ;;
13472
13473 dgux*)
13474 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13475 hardcode_libdir_flag_spec='-L$libdir'
13476 hardcode_shlibpath_var=no
13477 ;;
13478
13479 freebsd1*)
13480 ld_shlibs=no
13481 ;;
13482
13483 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13484 # support. Future versions do this automatically, but an explicit c++rt0.o
13485 # does not break anything, and helps significantly (at the cost of a little
13486 # extra space).
13487 freebsd2.2*)
13488 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13489 hardcode_libdir_flag_spec='-R$libdir'
13490 hardcode_direct=yes
13491 hardcode_shlibpath_var=no
13492 ;;
13493
13494 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13495 freebsd2*)
13496 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13497 hardcode_direct=yes
13498 hardcode_minus_L=yes
13499 hardcode_shlibpath_var=no
13500 ;;
13501
13502 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13503 freebsd* | dragonfly*)
13504 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13505 hardcode_libdir_flag_spec='-R$libdir'
13506 hardcode_direct=yes
13507 hardcode_shlibpath_var=no
13508 ;;
13509
13510 hpux9*)
13511 if test "$GCC" = yes; then
13512 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13513 else
13514 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13515 fi
13516 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13517 hardcode_libdir_separator=:
13518 hardcode_direct=yes
13519
13520 # hardcode_minus_L: Not really in the search PATH,
13521 # but as the default location of the library.
13522 hardcode_minus_L=yes
13523 export_dynamic_flag_spec='${wl}-E'
13524 ;;
13525
13526 hpux10*)
13527 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13528 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13529 else
13530 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13531 fi
13532 if test "$with_gnu_ld" = no; then
13533 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13534 hardcode_libdir_flag_spec_ld='+b $libdir'
13535 hardcode_libdir_separator=:
13536 hardcode_direct=yes
13537 hardcode_direct_absolute=yes
13538 export_dynamic_flag_spec='${wl}-E'
13539 # hardcode_minus_L: Not really in the search PATH,
13540 # but as the default location of the library.
13541 hardcode_minus_L=yes
13542 fi
13543 ;;
13544
13545 hpux11*)
13546 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13547 case $host_cpu in
13548 hppa*64*)
13549 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13550 ;;
13551 ia64*)
13552 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13553 ;;
13554 *)
13555 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13556 ;;
13557 esac
13558 else
13559 case $host_cpu in
13560 hppa*64*)
13561 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13562 ;;
13563 ia64*)
13564 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13565 ;;
13566 *)
13567
13568 # Older versions of the 11.00 compiler do not understand -b yet
13569 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
13570 { $as_echo "$as_me:$LINENO: checking if $CC understands -b" >&5
13571 $as_echo_n "checking if $CC understands -b... " >&6; }
13572 if test "${lt_cv_prog_compiler__b+set}" = set; then
13573 $as_echo_n "(cached) " >&6
13574 else
13575 lt_cv_prog_compiler__b=no
13576 save_LDFLAGS="$LDFLAGS"
13577 LDFLAGS="$LDFLAGS -b"
13578 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13579 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13580 # The linker can only warn and ignore the option if not recognized
13581 # So say no if there are warnings
13582 if test -s conftest.err; then
13583 # Append any errors to the config.log.
13584 cat conftest.err 1>&5
13585 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13586 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13587 if diff conftest.exp conftest.er2 >/dev/null; then
13588 lt_cv_prog_compiler__b=yes
13589 fi
13590 else
13591 lt_cv_prog_compiler__b=yes
13592 fi
13593 fi
13594 $RM -r conftest*
13595 LDFLAGS="$save_LDFLAGS"
13596
13597 fi
13598 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler__b" >&5
13599 $as_echo "$lt_cv_prog_compiler__b" >&6; }
13600
13601 if test x"$lt_cv_prog_compiler__b" = xyes; then
13602 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13603 else
13604 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13605 fi
13606
13607 ;;
13608 esac
13609 fi
13610 if test "$with_gnu_ld" = no; then
13611 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13612 hardcode_libdir_separator=:
13613
13614 case $host_cpu in
13615 hppa*64*|ia64*)
13616 hardcode_direct=no
13617 hardcode_shlibpath_var=no
13618 ;;
13619 *)
13620 hardcode_direct=yes
13621 hardcode_direct_absolute=yes
13622 export_dynamic_flag_spec='${wl}-E'
13623
13624 # hardcode_minus_L: Not really in the search PATH,
13625 # but as the default location of the library.
13626 hardcode_minus_L=yes
13627 ;;
13628 esac
13629 fi
13630 ;;
13631
13632 irix5* | irix6* | nonstopux*)
13633 if test "$GCC" = yes; then
13634 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13635 # Try to use the -exported_symbol ld option, if it does not
13636 # work, assume that -exports_file does not work either and
13637 # implicitly export all symbols.
13638 # This should be the same for all languages, so no per-tag cache variable.
13639 { $as_echo "$as_me:$LINENO: checking whether the $host_os linker accepts -exported_symbol" >&5
13640 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
13641 if test "${lt_cv_irix_exported_symbol+set}" = set; then
13642 $as_echo_n "(cached) " >&6
13643 else
13644 save_LDFLAGS="$LDFLAGS"
13645 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13646 cat >conftest.$ac_ext <<_ACEOF
13647 /* confdefs.h. */
13648 _ACEOF
13649 cat confdefs.h >>conftest.$ac_ext
13650 cat >>conftest.$ac_ext <<_ACEOF
13651 /* end confdefs.h. */
13652 int foo (void) { return 0; }
13653 _ACEOF
13654 rm -f conftest.$ac_objext conftest$ac_exeext
13655 if { (ac_try="$ac_link"
13656 case "(($ac_try" in
13657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13658 *) ac_try_echo=$ac_try;;
13659 esac
13660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13661 $as_echo "$ac_try_echo") >&5
13662 (eval "$ac_link") 2>conftest.er1
13663 ac_status=$?
13664 grep -v '^ *+' conftest.er1 >conftest.err
13665 rm -f conftest.er1
13666 cat conftest.err >&5
13667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668 (exit $ac_status); } && {
13669 test -z "$ac_c_werror_flag" ||
13670 test ! -s conftest.err
13671 } && test -s conftest$ac_exeext && {
13672 test "$cross_compiling" = yes ||
13673 $as_test_x conftest$ac_exeext
13674 }; then
13675 lt_cv_irix_exported_symbol=yes
13676 else
13677 $as_echo "$as_me: failed program was:" >&5
13678 sed 's/^/| /' conftest.$ac_ext >&5
13679
13680 lt_cv_irix_exported_symbol=no
13681 fi
13682
13683 rm -rf conftest.dSYM
13684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13685 conftest$ac_exeext conftest.$ac_ext
13686 LDFLAGS="$save_LDFLAGS"
13687 fi
13688 { $as_echo "$as_me:$LINENO: result: $lt_cv_irix_exported_symbol" >&5
13689 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
13690 if test "$lt_cv_irix_exported_symbol" = yes; then
13691 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
13692 fi
13693 else
13694 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13695 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
13696 fi
13697 archive_cmds_need_lc='no'
13698 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13699 hardcode_libdir_separator=:
13700 inherit_rpath=yes
13701 link_all_deplibs=yes
13702 ;;
13703
13704 netbsd*)
13705 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13706 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13707 else
13708 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13709 fi
13710 hardcode_libdir_flag_spec='-R$libdir'
13711 hardcode_direct=yes
13712 hardcode_shlibpath_var=no
13713 ;;
13714
13715 newsos6)
13716 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13717 hardcode_direct=yes
13718 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13719 hardcode_libdir_separator=:
13720 hardcode_shlibpath_var=no
13721 ;;
13722
13723 *nto* | *qnx*)
13724 ;;
13725
13726 openbsd*)
13727 if test -f /usr/libexec/ld.so; then
13728 hardcode_direct=yes
13729 hardcode_shlibpath_var=no
13730 hardcode_direct_absolute=yes
13731 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13732 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13733 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13734 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13735 export_dynamic_flag_spec='${wl}-E'
13736 else
13737 case $host_os in
13738 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13739 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13740 hardcode_libdir_flag_spec='-R$libdir'
13741 ;;
13742 *)
13743 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13744 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13745 ;;
13746 esac
13747 fi
13748 else
13749 ld_shlibs=no
13750 fi
13751 ;;
13752
13753 os2*)
13754 hardcode_libdir_flag_spec='-L$libdir'
13755 hardcode_minus_L=yes
13756 allow_undefined_flag=unsupported
13757 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
13758 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13759 ;;
13760
13761 osf3*)
13762 if test "$GCC" = yes; then
13763 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13764 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13765 else
13766 allow_undefined_flag=' -expect_unresolved \*'
13767 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13768 fi
13769 archive_cmds_need_lc='no'
13770 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13771 hardcode_libdir_separator=:
13772 ;;
13773
13774 osf4* | osf5*) # as osf3* with the addition of -msym flag
13775 if test "$GCC" = yes; then
13776 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13777 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13778 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13779 else
13780 allow_undefined_flag=' -expect_unresolved \*'
13781 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13782 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
13783 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
13784
13785 # Both c and cxx compiler support -rpath directly
13786 hardcode_libdir_flag_spec='-rpath $libdir'
13787 fi
13788 archive_cmds_need_lc='no'
13789 hardcode_libdir_separator=:
13790 ;;
13791
13792 solaris*)
13793 no_undefined_flag=' -z defs'
13794 if test "$GCC" = yes; then
13795 wlarc='${wl}'
13796 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13797 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13798 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13799 else
13800 case `$CC -V 2>&1` in
13801 *"Compilers 5.0"*)
13802 wlarc=''
13803 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13804 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13805 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13806 ;;
13807 *)
13808 wlarc='${wl}'
13809 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13810 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13811 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13812 ;;
13813 esac
13814 fi
13815 hardcode_libdir_flag_spec='-R$libdir'
13816 hardcode_shlibpath_var=no
13817 case $host_os in
13818 solaris2.[0-5] | solaris2.[0-5].*) ;;
13819 *)
13820 # The compiler driver will combine and reorder linker options,
13821 # but understands `-z linker_flag'. GCC discards it without `$wl',
13822 # but is careful enough not to reorder.
13823 # Supported since Solaris 2.6 (maybe 2.5.1?)
13824 if test "$GCC" = yes; then
13825 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13826 else
13827 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
13828 fi
13829 ;;
13830 esac
13831 link_all_deplibs=yes
13832 ;;
13833
13834 sunos4*)
13835 if test "x$host_vendor" = xsequent; then
13836 # Use $CC to link under sequent, because it throws in some extra .o
13837 # files that make .init and .fini sections work.
13838 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13839 else
13840 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13841 fi
13842 hardcode_libdir_flag_spec='-L$libdir'
13843 hardcode_direct=yes
13844 hardcode_minus_L=yes
13845 hardcode_shlibpath_var=no
13846 ;;
13847
13848 sysv4)
13849 case $host_vendor in
13850 sni)
13851 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13852 hardcode_direct=yes # is this really true???
13853 ;;
13854 siemens)
13855 ## LD is ld it makes a PLAMLIB
13856 ## CC just makes a GrossModule.
13857 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13858 reload_cmds='$CC -r -o $output$reload_objs'
13859 hardcode_direct=no
13860 ;;
13861 motorola)
13862 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13863 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13864 ;;
13865 esac
13866 runpath_var='LD_RUN_PATH'
13867 hardcode_shlibpath_var=no
13868 ;;
13869
13870 sysv4.3*)
13871 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13872 hardcode_shlibpath_var=no
13873 export_dynamic_flag_spec='-Bexport'
13874 ;;
13875
13876 sysv4*MP*)
13877 if test -d /usr/nec; then
13878 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13879 hardcode_shlibpath_var=no
13880 runpath_var=LD_RUN_PATH
13881 hardcode_runpath_var=yes
13882 ld_shlibs=yes
13883 fi
13884 ;;
13885
13886 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13887 no_undefined_flag='${wl}-z,text'
13888 archive_cmds_need_lc=no
13889 hardcode_shlibpath_var=no
13890 runpath_var='LD_RUN_PATH'
13891
13892 if test "$GCC" = yes; then
13893 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13894 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13895 else
13896 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13897 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13898 fi
13899 ;;
13900
13901 sysv5* | sco3.2v5* | sco5v6*)
13902 # Note: We can NOT use -z defs as we might desire, because we do not
13903 # link with -lc, and that would cause any symbols used from libc to
13904 # always be unresolved, which means just about no library would
13905 # ever link correctly. If we're not using GNU ld we use -z text
13906 # though, which does catch some bad symbols but isn't as heavy-handed
13907 # as -z defs.
13908 no_undefined_flag='${wl}-z,text'
13909 allow_undefined_flag='${wl}-z,nodefs'
13910 archive_cmds_need_lc=no
13911 hardcode_shlibpath_var=no
13912 hardcode_libdir_flag_spec='${wl}-R,$libdir'
13913 hardcode_libdir_separator=':'
13914 link_all_deplibs=yes
13915 export_dynamic_flag_spec='${wl}-Bexport'
13916 runpath_var='LD_RUN_PATH'
13917
13918 if test "$GCC" = yes; then
13919 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13920 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13921 else
13922 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13923 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13924 fi
13925 ;;
13926
13927 uts4*)
13928 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13929 hardcode_libdir_flag_spec='-L$libdir'
13930 hardcode_shlibpath_var=no
13931 ;;
13932
13933 *)
13934 ld_shlibs=no
13935 ;;
13936 esac
13937
13938 if test x$host_vendor = xsni; then
13939 case $host in
13940 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13941 export_dynamic_flag_spec='${wl}-Blargedynsym'
13942 ;;
13943 esac
13944 fi
13945 fi
13946
13947 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
13948 $as_echo "$ld_shlibs" >&6; }
13949 test "$ld_shlibs" = no && can_build_shared=no
13950
13951 with_gnu_ld=$with_gnu_ld
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967 #
13968 # Do we need to explicitly link libc?
13969 #
13970 case "x$archive_cmds_need_lc" in
13971 x|xyes)
13972 # Assume -lc should be added
13973 archive_cmds_need_lc=yes
13974
13975 if test "$enable_shared" = yes && test "$GCC" = yes; then
13976 case $archive_cmds in
13977 *'~'*)
13978 # FIXME: we may have to deal with multi-command sequences.
13979 ;;
13980 '$CC '*)
13981 # Test whether the compiler implicitly links with -lc since on some
13982 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13983 # to ld, don't add -lc before -lgcc.
13984 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13985 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13986 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
13987 $as_echo_n "(cached) " >&6
13988 else
13989 $RM conftest*
13990 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13991
13992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13993 (eval $ac_compile) 2>&5
13994 ac_status=$?
13995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996 (exit $ac_status); } 2>conftest.err; then
13997 soname=conftest
13998 lib=conftest
13999 libobjs=conftest.$ac_objext
14000 deplibs=
14001 wl=$lt_prog_compiler_wl
14002 pic_flag=$lt_prog_compiler_pic
14003 compiler_flags=-v
14004 linker_flags=-v
14005 verstring=
14006 output_objdir=.
14007 libname=conftest
14008 lt_save_allow_undefined_flag=$allow_undefined_flag
14009 allow_undefined_flag=
14010 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
14011 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14012 ac_status=$?
14013 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); }
14015 then
14016 lt_cv_archive_cmds_need_lc=no
14017 else
14018 lt_cv_archive_cmds_need_lc=yes
14019 fi
14020 allow_undefined_flag=$lt_save_allow_undefined_flag
14021 else
14022 cat conftest.err 1>&5
14023 fi
14024 $RM conftest*
14025
14026 fi
14027 { $as_echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
14028 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
14029 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
14030 ;;
14031 esac
14032 fi
14033 ;;
14034 esac
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14193 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14194
14195 if test "$GCC" = yes; then
14196 case $host_os in
14197 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
14198 *) lt_awk_arg="/^libraries:/" ;;
14199 esac
14200 case $host_os in
14201 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
14202 *) lt_sed_strip_eq="s,=/,/,g" ;;
14203 esac
14204 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
14205 case $lt_search_path_spec in
14206 *\;*)
14207 # if the path contains ";" then we assume it to be the separator
14208 # otherwise default to the standard path separator (i.e. ":") - it is
14209 # assumed that no part of a normal pathname contains ";" but that should
14210 # okay in the real world where ";" in dirpaths is itself problematic.
14211 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
14212 ;;
14213 *)
14214 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
14215 ;;
14216 esac
14217 # Ok, now we have the path, separated by spaces, we can step through it
14218 # and add multilib dir if necessary.
14219 lt_tmp_lt_search_path_spec=
14220 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
14221 for lt_sys_path in $lt_search_path_spec; do
14222 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
14223 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
14224 else
14225 test -d "$lt_sys_path" && \
14226 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
14227 fi
14228 done
14229 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
14230 BEGIN {RS=" "; FS="/|\n";} {
14231 lt_foo="";
14232 lt_count=0;
14233 for (lt_i = NF; lt_i > 0; lt_i--) {
14234 if ($lt_i != "" && $lt_i != ".") {
14235 if ($lt_i == "..") {
14236 lt_count++;
14237 } else {
14238 if (lt_count == 0) {
14239 lt_foo="/" $lt_i lt_foo;
14240 } else {
14241 lt_count--;
14242 }
14243 }
14244 }
14245 }
14246 if (lt_foo != "") { lt_freq[lt_foo]++; }
14247 if (lt_freq[lt_foo] == 1) { print lt_foo; }
14248 }'`
14249 # AWK program above erroneously prepends '/' to C:/dos/paths
14250 # for these hosts.
14251 case $host_os in
14252 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
14253 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
14254 esac
14255 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
14256 else
14257 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14258 fi
14259 library_names_spec=
14260 libname_spec='lib$name'
14261 soname_spec=
14262 shrext_cmds=".so"
14263 postinstall_cmds=
14264 postuninstall_cmds=
14265 finish_cmds=
14266 finish_eval=
14267 shlibpath_var=
14268 shlibpath_overrides_runpath=unknown
14269 version_type=none
14270 dynamic_linker="$host_os ld.so"
14271 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14272 need_lib_prefix=unknown
14273 hardcode_into_libs=no
14274
14275 # when you set need_version to no, make sure it does not cause -set_version
14276 # flags to be left without arguments
14277 need_version=unknown
14278
14279 case $host_os in
14280 aix3*)
14281 version_type=linux
14282 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14283 shlibpath_var=LIBPATH
14284
14285 # AIX 3 has no versioning support, so we append a major version to the name.
14286 soname_spec='${libname}${release}${shared_ext}$major'
14287 ;;
14288
14289 aix[4-9]*)
14290 version_type=linux
14291 need_lib_prefix=no
14292 need_version=no
14293 hardcode_into_libs=yes
14294 if test "$host_cpu" = ia64; then
14295 # AIX 5 supports IA64
14296 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14297 shlibpath_var=LD_LIBRARY_PATH
14298 else
14299 # With GCC up to 2.95.x, collect2 would create an import file
14300 # for dependence libraries. The import file would start with
14301 # the line `#! .'. This would cause the generated library to
14302 # depend on `.', always an invalid library. This was fixed in
14303 # development snapshots of GCC prior to 3.0.
14304 case $host_os in
14305 aix4 | aix4.[01] | aix4.[01].*)
14306 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14307 echo ' yes '
14308 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14309 :
14310 else
14311 can_build_shared=no
14312 fi
14313 ;;
14314 esac
14315 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14316 # soname into executable. Probably we can add versioning support to
14317 # collect2, so additional links can be useful in future.
14318 if test "$aix_use_runtimelinking" = yes; then
14319 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14320 # instead of lib<name>.a to let people know that these are not
14321 # typical AIX shared libraries.
14322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14323 else
14324 # We preserve .a as extension for shared libraries through AIX4.2
14325 # and later when we are not doing run time linking.
14326 library_names_spec='${libname}${release}.a $libname.a'
14327 soname_spec='${libname}${release}${shared_ext}$major'
14328 fi
14329 shlibpath_var=LIBPATH
14330 fi
14331 ;;
14332
14333 amigaos*)
14334 case $host_cpu in
14335 powerpc)
14336 # Since July 2007 AmigaOS4 officially supports .so libraries.
14337 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14339 ;;
14340 m68k)
14341 library_names_spec='$libname.ixlibrary $libname.a'
14342 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14343 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
14344 ;;
14345 esac
14346 ;;
14347
14348 beos*)
14349 library_names_spec='${libname}${shared_ext}'
14350 dynamic_linker="$host_os ld.so"
14351 shlibpath_var=LIBRARY_PATH
14352 ;;
14353
14354 bsdi[45]*)
14355 version_type=linux
14356 need_version=no
14357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14358 soname_spec='${libname}${release}${shared_ext}$major'
14359 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14360 shlibpath_var=LD_LIBRARY_PATH
14361 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14362 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14363 # the default ld.so.conf also contains /usr/contrib/lib and
14364 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14365 # libtool to hard-code these into programs
14366 ;;
14367
14368 cygwin* | mingw* | pw32* | cegcc*)
14369 version_type=windows
14370 shrext_cmds=".dll"
14371 need_version=no
14372 need_lib_prefix=no
14373
14374 case $GCC,$cc_basename in
14375 yes,*)
14376 # gcc
14377 library_names_spec='$libname.dll.a'
14378 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14379 postinstall_cmds='base_file=`basename \${file}`~
14380 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14381 dldir=$destdir/`dirname \$dlpath`~
14382 test -d \$dldir || mkdir -p \$dldir~
14383 $install_prog $dir/$dlname \$dldir/$dlname~
14384 chmod a+x \$dldir/$dlname~
14385 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14386 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14387 fi'
14388 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14389 dlpath=$dir/\$dldll~
14390 $RM \$dlpath'
14391 shlibpath_overrides_runpath=yes
14392
14393 case $host_os in
14394 cygwin*)
14395 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14396 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14397
14398 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
14399 ;;
14400 mingw* | cegcc*)
14401 # MinGW DLLs use traditional 'lib' prefix
14402 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14403 ;;
14404 pw32*)
14405 # pw32 DLLs use 'pw' prefix rather than 'lib'
14406 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14407 ;;
14408 esac
14409 dynamic_linker='Win32 ld.exe'
14410 ;;
14411
14412 *,cl*)
14413 # Native MSVC
14414 libname_spec='$name'
14415 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14416 library_names_spec='${libname}.dll.lib'
14417
14418 case $build_os in
14419 mingw*)
14420 sys_lib_search_path_spec=
14421 lt_save_ifs=$IFS
14422 IFS=';'
14423 for lt_path in $LIB
14424 do
14425 IFS=$lt_save_ifs
14426 # Let DOS variable expansion print the short 8.3 style file name.
14427 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14428 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14429 done
14430 IFS=$lt_save_ifs
14431 # Convert to MSYS style.
14432 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14433 ;;
14434 cygwin*)
14435 # Convert to unix form, then to dos form, then back to unix form
14436 # but this time dos style (no spaces!) so that the unix form looks
14437 # like /cygdrive/c/PROGRA~1:/cygdr...
14438 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14439 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14440 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14441 ;;
14442 *)
14443 sys_lib_search_path_spec="$LIB"
14444 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14445 # It is most probably a Windows format PATH.
14446 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14447 else
14448 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14449 fi
14450 # FIXME: find the short name or the path components, as spaces are
14451 # common. (e.g. "Program Files" -> "PROGRA~1")
14452 ;;
14453 esac
14454
14455 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14456 postinstall_cmds='base_file=`basename \${file}`~
14457 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14458 dldir=$destdir/`dirname \$dlpath`~
14459 test -d \$dldir || mkdir -p \$dldir~
14460 $install_prog $dir/$dlname \$dldir/$dlname'
14461 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14462 dlpath=$dir/\$dldll~
14463 $RM \$dlpath'
14464 shlibpath_overrides_runpath=yes
14465 dynamic_linker='Win32 link.exe'
14466 ;;
14467
14468 *)
14469 # Assume MSVC wrapper
14470 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14471 dynamic_linker='Win32 ld.exe'
14472 ;;
14473 esac
14474 # FIXME: first we should search . and the directory the executable is in
14475 shlibpath_var=PATH
14476 ;;
14477
14478 darwin* | rhapsody*)
14479 dynamic_linker="$host_os dyld"
14480 version_type=darwin
14481 need_lib_prefix=no
14482 need_version=no
14483 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14484 soname_spec='${libname}${release}${major}$shared_ext'
14485 shlibpath_overrides_runpath=yes
14486 shlibpath_var=DYLD_LIBRARY_PATH
14487 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14488
14489 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
14490 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14491 ;;
14492
14493 dgux*)
14494 version_type=linux
14495 need_lib_prefix=no
14496 need_version=no
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 shlibpath_var=LD_LIBRARY_PATH
14500 ;;
14501
14502 freebsd1*)
14503 dynamic_linker=no
14504 ;;
14505
14506 freebsd* | dragonfly*)
14507 # DragonFly does not have aout. When/if they implement a new
14508 # versioning mechanism, adjust this.
14509 if test -x /usr/bin/objformat; then
14510 objformat=`/usr/bin/objformat`
14511 else
14512 case $host_os in
14513 freebsd[123]*) objformat=aout ;;
14514 *) objformat=elf ;;
14515 esac
14516 fi
14517 version_type=freebsd-$objformat
14518 case $version_type in
14519 freebsd-elf*)
14520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14521 need_version=no
14522 need_lib_prefix=no
14523 ;;
14524 freebsd-*)
14525 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14526 need_version=yes
14527 ;;
14528 esac
14529 shlibpath_var=LD_LIBRARY_PATH
14530 case $host_os in
14531 freebsd2*)
14532 shlibpath_overrides_runpath=yes
14533 ;;
14534 freebsd3.[01]* | freebsdelf3.[01]*)
14535 shlibpath_overrides_runpath=yes
14536 hardcode_into_libs=yes
14537 ;;
14538 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14539 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14540 shlibpath_overrides_runpath=no
14541 hardcode_into_libs=yes
14542 ;;
14543 *) # from 4.6 on, and DragonFly
14544 shlibpath_overrides_runpath=yes
14545 hardcode_into_libs=yes
14546 ;;
14547 esac
14548 ;;
14549
14550 gnu*)
14551 version_type=linux
14552 need_lib_prefix=no
14553 need_version=no
14554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14555 soname_spec='${libname}${release}${shared_ext}$major'
14556 shlibpath_var=LD_LIBRARY_PATH
14557 hardcode_into_libs=yes
14558 ;;
14559
14560 haiku*)
14561 version_type=linux
14562 need_lib_prefix=no
14563 need_version=no
14564 dynamic_linker="$host_os runtime_loader"
14565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14566 soname_spec='${libname}${release}${shared_ext}$major'
14567 shlibpath_var=LIBRARY_PATH
14568 shlibpath_overrides_runpath=yes
14569 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14570 hardcode_into_libs=yes
14571 ;;
14572
14573 hpux9* | hpux10* | hpux11*)
14574 # Give a soname corresponding to the major version so that dld.sl refuses to
14575 # link against other versions.
14576 version_type=sunos
14577 need_lib_prefix=no
14578 need_version=no
14579 case $host_cpu in
14580 ia64*)
14581 shrext_cmds='.so'
14582 hardcode_into_libs=yes
14583 dynamic_linker="$host_os dld.so"
14584 shlibpath_var=LD_LIBRARY_PATH
14585 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14587 soname_spec='${libname}${release}${shared_ext}$major'
14588 if test "X$HPUX_IA64_MODE" = X32; then
14589 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14590 else
14591 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14592 fi
14593 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14594 ;;
14595 hppa*64*)
14596 shrext_cmds='.sl'
14597 hardcode_into_libs=yes
14598 dynamic_linker="$host_os dld.sl"
14599 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14600 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14602 soname_spec='${libname}${release}${shared_ext}$major'
14603 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14604 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14605 ;;
14606 *)
14607 shrext_cmds='.sl'
14608 dynamic_linker="$host_os dld.sl"
14609 shlibpath_var=SHLIB_PATH
14610 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14612 soname_spec='${libname}${release}${shared_ext}$major'
14613 ;;
14614 esac
14615 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14616 postinstall_cmds='chmod 555 $lib'
14617 # or fails outright, so override atomically:
14618 install_override_mode=555
14619 ;;
14620
14621 interix[3-9]*)
14622 version_type=linux
14623 need_lib_prefix=no
14624 need_version=no
14625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14626 soname_spec='${libname}${release}${shared_ext}$major'
14627 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14628 shlibpath_var=LD_LIBRARY_PATH
14629 shlibpath_overrides_runpath=no
14630 hardcode_into_libs=yes
14631 ;;
14632
14633 irix5* | irix6* | nonstopux*)
14634 case $host_os in
14635 nonstopux*) version_type=nonstopux ;;
14636 *)
14637 if test "$lt_cv_prog_gnu_ld" = yes; then
14638 version_type=linux
14639 else
14640 version_type=irix
14641 fi ;;
14642 esac
14643 need_lib_prefix=no
14644 need_version=no
14645 soname_spec='${libname}${release}${shared_ext}$major'
14646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14647 case $host_os in
14648 irix5* | nonstopux*)
14649 libsuff= shlibsuff=
14650 ;;
14651 *)
14652 case $LD in # libtool.m4 will add one of these switches to LD
14653 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14654 libsuff= shlibsuff= libmagic=32-bit;;
14655 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14656 libsuff=32 shlibsuff=N32 libmagic=N32;;
14657 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14658 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14659 *) libsuff= shlibsuff= libmagic=never-match;;
14660 esac
14661 ;;
14662 esac
14663 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14664 shlibpath_overrides_runpath=no
14665 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14666 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14667 hardcode_into_libs=yes
14668 ;;
14669
14670 # No shared lib support for Linux oldld, aout, or coff.
14671 linux*oldld* | linux*aout* | linux*coff*)
14672 dynamic_linker=no
14673 ;;
14674
14675 # This must be Linux ELF.
14676 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14677 version_type=linux
14678 need_lib_prefix=no
14679 need_version=no
14680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14681 soname_spec='${libname}${release}${shared_ext}$major'
14682 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14683 shlibpath_var=LD_LIBRARY_PATH
14684 shlibpath_overrides_runpath=no
14685
14686 # Some binutils ld are patched to set DT_RUNPATH
14687 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
14688 $as_echo_n "(cached) " >&6
14689 else
14690 lt_cv_shlibpath_overrides_runpath=no
14691 save_LDFLAGS=$LDFLAGS
14692 save_libdir=$libdir
14693 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
14694 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
14695 cat >conftest.$ac_ext <<_ACEOF
14696 /* confdefs.h. */
14697 _ACEOF
14698 cat confdefs.h >>conftest.$ac_ext
14699 cat >>conftest.$ac_ext <<_ACEOF
14700 /* end confdefs.h. */
14701
14702 int
14703 main ()
14704 {
14705
14706 ;
14707 return 0;
14708 }
14709 _ACEOF
14710 rm -f conftest.$ac_objext conftest$ac_exeext
14711 if { (ac_try="$ac_link"
14712 case "(($ac_try" in
14713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14714 *) ac_try_echo=$ac_try;;
14715 esac
14716 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14717 $as_echo "$ac_try_echo") >&5
14718 (eval "$ac_link") 2>conftest.er1
14719 ac_status=$?
14720 grep -v '^ *+' conftest.er1 >conftest.err
14721 rm -f conftest.er1
14722 cat conftest.err >&5
14723 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14724 (exit $ac_status); } && {
14725 test -z "$ac_c_werror_flag" ||
14726 test ! -s conftest.err
14727 } && test -s conftest$ac_exeext && {
14728 test "$cross_compiling" = yes ||
14729 $as_test_x conftest$ac_exeext
14730 }; then
14731 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
14732 lt_cv_shlibpath_overrides_runpath=yes
14733 fi
14734
14735 else
14736 $as_echo "$as_me: failed program was:" >&5
14737 sed 's/^/| /' conftest.$ac_ext >&5
14738
14739
14740 fi
14741
14742 rm -rf conftest.dSYM
14743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14744 conftest$ac_exeext conftest.$ac_ext
14745 LDFLAGS=$save_LDFLAGS
14746 libdir=$save_libdir
14747
14748 fi
14749
14750 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14751
14752 # This implies no fast_install, which is unacceptable.
14753 # Some rework will be needed to allow for fast_install
14754 # before this can be enabled.
14755 hardcode_into_libs=yes
14756
14757 # Append ld.so.conf contents to the search path
14758 if test -f /etc/ld.so.conf; then
14759 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14760 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14761 fi
14762
14763 # We used to test for /lib/ld.so.1 and disable shared libraries on
14764 # powerpc, because MkLinux only supported shared libraries with the
14765 # GNU dynamic linker. Since this was broken with cross compilers,
14766 # most powerpc-linux boxes support dynamic linking these days and
14767 # people can always --disable-shared, the test was removed, and we
14768 # assume the GNU/Linux dynamic linker is in use.
14769 dynamic_linker='GNU/Linux ld.so'
14770 ;;
14771
14772 netbsd*)
14773 version_type=sunos
14774 need_lib_prefix=no
14775 need_version=no
14776 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14778 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14779 dynamic_linker='NetBSD (a.out) ld.so'
14780 else
14781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14782 soname_spec='${libname}${release}${shared_ext}$major'
14783 dynamic_linker='NetBSD ld.elf_so'
14784 fi
14785 shlibpath_var=LD_LIBRARY_PATH
14786 shlibpath_overrides_runpath=yes
14787 hardcode_into_libs=yes
14788 ;;
14789
14790 newsos6)
14791 version_type=linux
14792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14793 shlibpath_var=LD_LIBRARY_PATH
14794 shlibpath_overrides_runpath=yes
14795 ;;
14796
14797 *nto* | *qnx*)
14798 version_type=qnx
14799 need_lib_prefix=no
14800 need_version=no
14801 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14802 soname_spec='${libname}${release}${shared_ext}$major'
14803 shlibpath_var=LD_LIBRARY_PATH
14804 shlibpath_overrides_runpath=no
14805 hardcode_into_libs=yes
14806 dynamic_linker='ldqnx.so'
14807 ;;
14808
14809 openbsd*)
14810 version_type=sunos
14811 sys_lib_dlsearch_path_spec="/usr/lib"
14812 need_lib_prefix=no
14813 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14814 case $host_os in
14815 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14816 *) need_version=no ;;
14817 esac
14818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14819 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14820 shlibpath_var=LD_LIBRARY_PATH
14821 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14822 case $host_os in
14823 openbsd2.[89] | openbsd2.[89].*)
14824 shlibpath_overrides_runpath=no
14825 ;;
14826 *)
14827 shlibpath_overrides_runpath=yes
14828 ;;
14829 esac
14830 else
14831 shlibpath_overrides_runpath=yes
14832 fi
14833 ;;
14834
14835 os2*)
14836 libname_spec='$name'
14837 shrext_cmds=".dll"
14838 need_lib_prefix=no
14839 library_names_spec='$libname${shared_ext} $libname.a'
14840 dynamic_linker='OS/2 ld.exe'
14841 shlibpath_var=LIBPATH
14842 ;;
14843
14844 osf3* | osf4* | osf5*)
14845 version_type=osf
14846 need_lib_prefix=no
14847 need_version=no
14848 soname_spec='${libname}${release}${shared_ext}$major'
14849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14850 shlibpath_var=LD_LIBRARY_PATH
14851 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14852 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14853 ;;
14854
14855 rdos*)
14856 dynamic_linker=no
14857 ;;
14858
14859 solaris*)
14860 version_type=linux
14861 need_lib_prefix=no
14862 need_version=no
14863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14864 soname_spec='${libname}${release}${shared_ext}$major'
14865 shlibpath_var=LD_LIBRARY_PATH
14866 shlibpath_overrides_runpath=yes
14867 hardcode_into_libs=yes
14868 # ldd complains unless libraries are executable
14869 postinstall_cmds='chmod +x $lib'
14870 ;;
14871
14872 sunos4*)
14873 version_type=sunos
14874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14875 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14876 shlibpath_var=LD_LIBRARY_PATH
14877 shlibpath_overrides_runpath=yes
14878 if test "$with_gnu_ld" = yes; then
14879 need_lib_prefix=no
14880 fi
14881 need_version=yes
14882 ;;
14883
14884 sysv4 | sysv4.3*)
14885 version_type=linux
14886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14887 soname_spec='${libname}${release}${shared_ext}$major'
14888 shlibpath_var=LD_LIBRARY_PATH
14889 case $host_vendor in
14890 sni)
14891 shlibpath_overrides_runpath=no
14892 need_lib_prefix=no
14893 runpath_var=LD_RUN_PATH
14894 ;;
14895 siemens)
14896 need_lib_prefix=no
14897 ;;
14898 motorola)
14899 need_lib_prefix=no
14900 need_version=no
14901 shlibpath_overrides_runpath=no
14902 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14903 ;;
14904 esac
14905 ;;
14906
14907 sysv4*MP*)
14908 if test -d /usr/nec ;then
14909 version_type=linux
14910 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14911 soname_spec='$libname${shared_ext}.$major'
14912 shlibpath_var=LD_LIBRARY_PATH
14913 fi
14914 ;;
14915
14916 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14917 version_type=freebsd-elf
14918 need_lib_prefix=no
14919 need_version=no
14920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14921 soname_spec='${libname}${release}${shared_ext}$major'
14922 shlibpath_var=LD_LIBRARY_PATH
14923 shlibpath_overrides_runpath=yes
14924 hardcode_into_libs=yes
14925 if test "$with_gnu_ld" = yes; then
14926 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14927 else
14928 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14929 case $host_os in
14930 sco3.2v5*)
14931 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14932 ;;
14933 esac
14934 fi
14935 sys_lib_dlsearch_path_spec='/usr/lib'
14936 ;;
14937
14938 tpf*)
14939 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14940 version_type=linux
14941 need_lib_prefix=no
14942 need_version=no
14943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14944 shlibpath_var=LD_LIBRARY_PATH
14945 shlibpath_overrides_runpath=no
14946 hardcode_into_libs=yes
14947 ;;
14948
14949 uts4*)
14950 version_type=linux
14951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14952 soname_spec='${libname}${release}${shared_ext}$major'
14953 shlibpath_var=LD_LIBRARY_PATH
14954 ;;
14955
14956 *)
14957 dynamic_linker=no
14958 ;;
14959 esac
14960 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14961 $as_echo "$dynamic_linker" >&6; }
14962 test "$dynamic_linker" = no && can_build_shared=no
14963
14964 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14965 if test "$GCC" = yes; then
14966 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14967 fi
14968
14969 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14970 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14971 fi
14972 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14973 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14974 fi
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15014 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15015 hardcode_action=
15016 if test -n "$hardcode_libdir_flag_spec" ||
15017 test -n "$runpath_var" ||
15018 test "X$hardcode_automatic" = "Xyes" ; then
15019
15020 # We can hardcode non-existent directories.
15021 if test "$hardcode_direct" != no &&
15022 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15023 # have to relink, otherwise we might link with an installed library
15024 # when we should be linking with a yet-to-be-installed one
15025 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
15026 test "$hardcode_minus_L" != no; then
15027 # Linking always hardcodes the temporary library directory.
15028 hardcode_action=relink
15029 else
15030 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15031 hardcode_action=immediate
15032 fi
15033 else
15034 # We cannot hardcode anything, or else we can only hardcode existing
15035 # directories.
15036 hardcode_action=unsupported
15037 fi
15038 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
15039 $as_echo "$hardcode_action" >&6; }
15040
15041 if test "$hardcode_action" = relink ||
15042 test "$inherit_rpath" = yes; then
15043 # Fast installation is not supported
15044 enable_fast_install=no
15045 elif test "$shlibpath_overrides_runpath" = yes ||
15046 test "$enable_shared" = no; then
15047 # Fast installation is not necessary
15048 enable_fast_install=needless
15049 fi
15050
15051
15052
15053
15054
15055
15056 if test "x$enable_dlopen" != xyes; then
15057 enable_dlopen=unknown
15058 enable_dlopen_self=unknown
15059 enable_dlopen_self_static=unknown
15060 else
15061 lt_cv_dlopen=no
15062 lt_cv_dlopen_libs=
15063
15064 case $host_os in
15065 beos*)
15066 lt_cv_dlopen="load_add_on"
15067 lt_cv_dlopen_libs=
15068 lt_cv_dlopen_self=yes
15069 ;;
15070
15071 mingw* | pw32* | cegcc*)
15072 lt_cv_dlopen="LoadLibrary"
15073 lt_cv_dlopen_libs=
15074 ;;
15075
15076 cygwin*)
15077 lt_cv_dlopen="dlopen"
15078 lt_cv_dlopen_libs=
15079 ;;
15080
15081 darwin*)
15082 # if libdl is installed we need to link against it
15083 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15084 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15085 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15086 $as_echo_n "(cached) " >&6
15087 else
15088 ac_check_lib_save_LIBS=$LIBS
15089 LIBS="-ldl $LIBS"
15090 cat >conftest.$ac_ext <<_ACEOF
15091 /* confdefs.h. */
15092 _ACEOF
15093 cat confdefs.h >>conftest.$ac_ext
15094 cat >>conftest.$ac_ext <<_ACEOF
15095 /* end confdefs.h. */
15096
15097 /* Override any GCC internal prototype to avoid an error.
15098 Use char because int might match the return type of a GCC
15099 builtin and then its argument prototype would still apply. */
15100 #ifdef __cplusplus
15101 extern "C"
15102 #endif
15103 char dlopen ();
15104 int
15105 main ()
15106 {
15107 return dlopen ();
15108 ;
15109 return 0;
15110 }
15111 _ACEOF
15112 rm -f conftest.$ac_objext conftest$ac_exeext
15113 if { (ac_try="$ac_link"
15114 case "(($ac_try" in
15115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15116 *) ac_try_echo=$ac_try;;
15117 esac
15118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15119 $as_echo "$ac_try_echo") >&5
15120 (eval "$ac_link") 2>conftest.er1
15121 ac_status=$?
15122 grep -v '^ *+' conftest.er1 >conftest.err
15123 rm -f conftest.er1
15124 cat conftest.err >&5
15125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); } && {
15127 test -z "$ac_c_werror_flag" ||
15128 test ! -s conftest.err
15129 } && test -s conftest$ac_exeext && {
15130 test "$cross_compiling" = yes ||
15131 $as_test_x conftest$ac_exeext
15132 }; then
15133 ac_cv_lib_dl_dlopen=yes
15134 else
15135 $as_echo "$as_me: failed program was:" >&5
15136 sed 's/^/| /' conftest.$ac_ext >&5
15137
15138 ac_cv_lib_dl_dlopen=no
15139 fi
15140
15141 rm -rf conftest.dSYM
15142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15143 conftest$ac_exeext conftest.$ac_ext
15144 LIBS=$ac_check_lib_save_LIBS
15145 fi
15146 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15147 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15148 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
15149 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15150 else
15151
15152 lt_cv_dlopen="dyld"
15153 lt_cv_dlopen_libs=
15154 lt_cv_dlopen_self=yes
15155
15156 fi
15157
15158 ;;
15159
15160 *)
15161 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
15162 $as_echo_n "checking for shl_load... " >&6; }
15163 if test "${ac_cv_func_shl_load+set}" = set; then
15164 $as_echo_n "(cached) " >&6
15165 else
15166 cat >conftest.$ac_ext <<_ACEOF
15167 /* confdefs.h. */
15168 _ACEOF
15169 cat confdefs.h >>conftest.$ac_ext
15170 cat >>conftest.$ac_ext <<_ACEOF
15171 /* end confdefs.h. */
15172 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
15173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15174 #define shl_load innocuous_shl_load
15175
15176 /* System header to define __stub macros and hopefully few prototypes,
15177 which can conflict with char shl_load (); below.
15178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15179 <limits.h> exists even on freestanding compilers. */
15180
15181 #ifdef __STDC__
15182 # include <limits.h>
15183 #else
15184 # include <assert.h>
15185 #endif
15186
15187 #undef shl_load
15188
15189 /* Override any GCC internal prototype to avoid an error.
15190 Use char because int might match the return type of a GCC
15191 builtin and then its argument prototype would still apply. */
15192 #ifdef __cplusplus
15193 extern "C"
15194 #endif
15195 char shl_load ();
15196 /* The GNU C library defines this for functions which it implements
15197 to always fail with ENOSYS. Some functions are actually named
15198 something starting with __ and the normal name is an alias. */
15199 #if defined __stub_shl_load || defined __stub___shl_load
15200 choke me
15201 #endif
15202
15203 int
15204 main ()
15205 {
15206 return shl_load ();
15207 ;
15208 return 0;
15209 }
15210 _ACEOF
15211 rm -f conftest.$ac_objext conftest$ac_exeext
15212 if { (ac_try="$ac_link"
15213 case "(($ac_try" in
15214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15215 *) ac_try_echo=$ac_try;;
15216 esac
15217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15218 $as_echo "$ac_try_echo") >&5
15219 (eval "$ac_link") 2>conftest.er1
15220 ac_status=$?
15221 grep -v '^ *+' conftest.er1 >conftest.err
15222 rm -f conftest.er1
15223 cat conftest.err >&5
15224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); } && {
15226 test -z "$ac_c_werror_flag" ||
15227 test ! -s conftest.err
15228 } && test -s conftest$ac_exeext && {
15229 test "$cross_compiling" = yes ||
15230 $as_test_x conftest$ac_exeext
15231 }; then
15232 ac_cv_func_shl_load=yes
15233 else
15234 $as_echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.$ac_ext >&5
15236
15237 ac_cv_func_shl_load=no
15238 fi
15239
15240 rm -rf conftest.dSYM
15241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15242 conftest$ac_exeext conftest.$ac_ext
15243 fi
15244 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
15245 $as_echo "$ac_cv_func_shl_load" >&6; }
15246 if test "x$ac_cv_func_shl_load" = x""yes; then
15247 lt_cv_dlopen="shl_load"
15248 else
15249 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
15250 $as_echo_n "checking for shl_load in -ldld... " >&6; }
15251 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
15252 $as_echo_n "(cached) " >&6
15253 else
15254 ac_check_lib_save_LIBS=$LIBS
15255 LIBS="-ldld $LIBS"
15256 cat >conftest.$ac_ext <<_ACEOF
15257 /* confdefs.h. */
15258 _ACEOF
15259 cat confdefs.h >>conftest.$ac_ext
15260 cat >>conftest.$ac_ext <<_ACEOF
15261 /* end confdefs.h. */
15262
15263 /* Override any GCC internal prototype to avoid an error.
15264 Use char because int might match the return type of a GCC
15265 builtin and then its argument prototype would still apply. */
15266 #ifdef __cplusplus
15267 extern "C"
15268 #endif
15269 char shl_load ();
15270 int
15271 main ()
15272 {
15273 return shl_load ();
15274 ;
15275 return 0;
15276 }
15277 _ACEOF
15278 rm -f conftest.$ac_objext conftest$ac_exeext
15279 if { (ac_try="$ac_link"
15280 case "(($ac_try" in
15281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15282 *) ac_try_echo=$ac_try;;
15283 esac
15284 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15285 $as_echo "$ac_try_echo") >&5
15286 (eval "$ac_link") 2>conftest.er1
15287 ac_status=$?
15288 grep -v '^ *+' conftest.er1 >conftest.err
15289 rm -f conftest.er1
15290 cat conftest.err >&5
15291 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); } && {
15293 test -z "$ac_c_werror_flag" ||
15294 test ! -s conftest.err
15295 } && test -s conftest$ac_exeext && {
15296 test "$cross_compiling" = yes ||
15297 $as_test_x conftest$ac_exeext
15298 }; then
15299 ac_cv_lib_dld_shl_load=yes
15300 else
15301 $as_echo "$as_me: failed program was:" >&5
15302 sed 's/^/| /' conftest.$ac_ext >&5
15303
15304 ac_cv_lib_dld_shl_load=no
15305 fi
15306
15307 rm -rf conftest.dSYM
15308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15309 conftest$ac_exeext conftest.$ac_ext
15310 LIBS=$ac_check_lib_save_LIBS
15311 fi
15312 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
15313 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
15314 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
15315 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
15316 else
15317 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
15318 $as_echo_n "checking for dlopen... " >&6; }
15319 if test "${ac_cv_func_dlopen+set}" = set; then
15320 $as_echo_n "(cached) " >&6
15321 else
15322 cat >conftest.$ac_ext <<_ACEOF
15323 /* confdefs.h. */
15324 _ACEOF
15325 cat confdefs.h >>conftest.$ac_ext
15326 cat >>conftest.$ac_ext <<_ACEOF
15327 /* end confdefs.h. */
15328 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
15329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15330 #define dlopen innocuous_dlopen
15331
15332 /* System header to define __stub macros and hopefully few prototypes,
15333 which can conflict with char dlopen (); below.
15334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15335 <limits.h> exists even on freestanding compilers. */
15336
15337 #ifdef __STDC__
15338 # include <limits.h>
15339 #else
15340 # include <assert.h>
15341 #endif
15342
15343 #undef dlopen
15344
15345 /* Override any GCC internal prototype to avoid an error.
15346 Use char because int might match the return type of a GCC
15347 builtin and then its argument prototype would still apply. */
15348 #ifdef __cplusplus
15349 extern "C"
15350 #endif
15351 char dlopen ();
15352 /* The GNU C library defines this for functions which it implements
15353 to always fail with ENOSYS. Some functions are actually named
15354 something starting with __ and the normal name is an alias. */
15355 #if defined __stub_dlopen || defined __stub___dlopen
15356 choke me
15357 #endif
15358
15359 int
15360 main ()
15361 {
15362 return dlopen ();
15363 ;
15364 return 0;
15365 }
15366 _ACEOF
15367 rm -f conftest.$ac_objext conftest$ac_exeext
15368 if { (ac_try="$ac_link"
15369 case "(($ac_try" in
15370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15371 *) ac_try_echo=$ac_try;;
15372 esac
15373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15374 $as_echo "$ac_try_echo") >&5
15375 (eval "$ac_link") 2>conftest.er1
15376 ac_status=$?
15377 grep -v '^ *+' conftest.er1 >conftest.err
15378 rm -f conftest.er1
15379 cat conftest.err >&5
15380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15381 (exit $ac_status); } && {
15382 test -z "$ac_c_werror_flag" ||
15383 test ! -s conftest.err
15384 } && test -s conftest$ac_exeext && {
15385 test "$cross_compiling" = yes ||
15386 $as_test_x conftest$ac_exeext
15387 }; then
15388 ac_cv_func_dlopen=yes
15389 else
15390 $as_echo "$as_me: failed program was:" >&5
15391 sed 's/^/| /' conftest.$ac_ext >&5
15392
15393 ac_cv_func_dlopen=no
15394 fi
15395
15396 rm -rf conftest.dSYM
15397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15398 conftest$ac_exeext conftest.$ac_ext
15399 fi
15400 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
15401 $as_echo "$ac_cv_func_dlopen" >&6; }
15402 if test "x$ac_cv_func_dlopen" = x""yes; then
15403 lt_cv_dlopen="dlopen"
15404 else
15405 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15406 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15407 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15408 $as_echo_n "(cached) " >&6
15409 else
15410 ac_check_lib_save_LIBS=$LIBS
15411 LIBS="-ldl $LIBS"
15412 cat >conftest.$ac_ext <<_ACEOF
15413 /* confdefs.h. */
15414 _ACEOF
15415 cat confdefs.h >>conftest.$ac_ext
15416 cat >>conftest.$ac_ext <<_ACEOF
15417 /* end confdefs.h. */
15418
15419 /* Override any GCC internal prototype to avoid an error.
15420 Use char because int might match the return type of a GCC
15421 builtin and then its argument prototype would still apply. */
15422 #ifdef __cplusplus
15423 extern "C"
15424 #endif
15425 char dlopen ();
15426 int
15427 main ()
15428 {
15429 return dlopen ();
15430 ;
15431 return 0;
15432 }
15433 _ACEOF
15434 rm -f conftest.$ac_objext conftest$ac_exeext
15435 if { (ac_try="$ac_link"
15436 case "(($ac_try" in
15437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15438 *) ac_try_echo=$ac_try;;
15439 esac
15440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15441 $as_echo "$ac_try_echo") >&5
15442 (eval "$ac_link") 2>conftest.er1
15443 ac_status=$?
15444 grep -v '^ *+' conftest.er1 >conftest.err
15445 rm -f conftest.er1
15446 cat conftest.err >&5
15447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15448 (exit $ac_status); } && {
15449 test -z "$ac_c_werror_flag" ||
15450 test ! -s conftest.err
15451 } && test -s conftest$ac_exeext && {
15452 test "$cross_compiling" = yes ||
15453 $as_test_x conftest$ac_exeext
15454 }; then
15455 ac_cv_lib_dl_dlopen=yes
15456 else
15457 $as_echo "$as_me: failed program was:" >&5
15458 sed 's/^/| /' conftest.$ac_ext >&5
15459
15460 ac_cv_lib_dl_dlopen=no
15461 fi
15462
15463 rm -rf conftest.dSYM
15464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15465 conftest$ac_exeext conftest.$ac_ext
15466 LIBS=$ac_check_lib_save_LIBS
15467 fi
15468 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15469 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15470 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
15471 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15472 else
15473 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
15474 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
15475 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
15476 $as_echo_n "(cached) " >&6
15477 else
15478 ac_check_lib_save_LIBS=$LIBS
15479 LIBS="-lsvld $LIBS"
15480 cat >conftest.$ac_ext <<_ACEOF
15481 /* confdefs.h. */
15482 _ACEOF
15483 cat confdefs.h >>conftest.$ac_ext
15484 cat >>conftest.$ac_ext <<_ACEOF
15485 /* end confdefs.h. */
15486
15487 /* Override any GCC internal prototype to avoid an error.
15488 Use char because int might match the return type of a GCC
15489 builtin and then its argument prototype would still apply. */
15490 #ifdef __cplusplus
15491 extern "C"
15492 #endif
15493 char dlopen ();
15494 int
15495 main ()
15496 {
15497 return dlopen ();
15498 ;
15499 return 0;
15500 }
15501 _ACEOF
15502 rm -f conftest.$ac_objext conftest$ac_exeext
15503 if { (ac_try="$ac_link"
15504 case "(($ac_try" in
15505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15506 *) ac_try_echo=$ac_try;;
15507 esac
15508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15509 $as_echo "$ac_try_echo") >&5
15510 (eval "$ac_link") 2>conftest.er1
15511 ac_status=$?
15512 grep -v '^ *+' conftest.er1 >conftest.err
15513 rm -f conftest.er1
15514 cat conftest.err >&5
15515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); } && {
15517 test -z "$ac_c_werror_flag" ||
15518 test ! -s conftest.err
15519 } && test -s conftest$ac_exeext && {
15520 test "$cross_compiling" = yes ||
15521 $as_test_x conftest$ac_exeext
15522 }; then
15523 ac_cv_lib_svld_dlopen=yes
15524 else
15525 $as_echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.$ac_ext >&5
15527
15528 ac_cv_lib_svld_dlopen=no
15529 fi
15530
15531 rm -rf conftest.dSYM
15532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15533 conftest$ac_exeext conftest.$ac_ext
15534 LIBS=$ac_check_lib_save_LIBS
15535 fi
15536 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
15537 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
15538 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
15539 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
15540 else
15541 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
15542 $as_echo_n "checking for dld_link in -ldld... " >&6; }
15543 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
15544 $as_echo_n "(cached) " >&6
15545 else
15546 ac_check_lib_save_LIBS=$LIBS
15547 LIBS="-ldld $LIBS"
15548 cat >conftest.$ac_ext <<_ACEOF
15549 /* confdefs.h. */
15550 _ACEOF
15551 cat confdefs.h >>conftest.$ac_ext
15552 cat >>conftest.$ac_ext <<_ACEOF
15553 /* end confdefs.h. */
15554
15555 /* Override any GCC internal prototype to avoid an error.
15556 Use char because int might match the return type of a GCC
15557 builtin and then its argument prototype would still apply. */
15558 #ifdef __cplusplus
15559 extern "C"
15560 #endif
15561 char dld_link ();
15562 int
15563 main ()
15564 {
15565 return dld_link ();
15566 ;
15567 return 0;
15568 }
15569 _ACEOF
15570 rm -f conftest.$ac_objext conftest$ac_exeext
15571 if { (ac_try="$ac_link"
15572 case "(($ac_try" in
15573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15574 *) ac_try_echo=$ac_try;;
15575 esac
15576 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15577 $as_echo "$ac_try_echo") >&5
15578 (eval "$ac_link") 2>conftest.er1
15579 ac_status=$?
15580 grep -v '^ *+' conftest.er1 >conftest.err
15581 rm -f conftest.er1
15582 cat conftest.err >&5
15583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); } && {
15585 test -z "$ac_c_werror_flag" ||
15586 test ! -s conftest.err
15587 } && test -s conftest$ac_exeext && {
15588 test "$cross_compiling" = yes ||
15589 $as_test_x conftest$ac_exeext
15590 }; then
15591 ac_cv_lib_dld_dld_link=yes
15592 else
15593 $as_echo "$as_me: failed program was:" >&5
15594 sed 's/^/| /' conftest.$ac_ext >&5
15595
15596 ac_cv_lib_dld_dld_link=no
15597 fi
15598
15599 rm -rf conftest.dSYM
15600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15601 conftest$ac_exeext conftest.$ac_ext
15602 LIBS=$ac_check_lib_save_LIBS
15603 fi
15604 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
15605 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
15606 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
15607 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
15608 fi
15609
15610
15611 fi
15612
15613
15614 fi
15615
15616
15617 fi
15618
15619
15620 fi
15621
15622
15623 fi
15624
15625 ;;
15626 esac
15627
15628 if test "x$lt_cv_dlopen" != xno; then
15629 enable_dlopen=yes
15630 else
15631 enable_dlopen=no
15632 fi
15633
15634 case $lt_cv_dlopen in
15635 dlopen)
15636 save_CPPFLAGS="$CPPFLAGS"
15637 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15638
15639 save_LDFLAGS="$LDFLAGS"
15640 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15641
15642 save_LIBS="$LIBS"
15643 LIBS="$lt_cv_dlopen_libs $LIBS"
15644
15645 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
15646 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
15647 if test "${lt_cv_dlopen_self+set}" = set; then
15648 $as_echo_n "(cached) " >&6
15649 else
15650 if test "$cross_compiling" = yes; then :
15651 lt_cv_dlopen_self=cross
15652 else
15653 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15654 lt_status=$lt_dlunknown
15655 cat > conftest.$ac_ext <<_LT_EOF
15656 #line $LINENO "configure"
15657 #include "confdefs.h"
15658
15659 #if HAVE_DLFCN_H
15660 #include <dlfcn.h>
15661 #endif
15662
15663 #include <stdio.h>
15664
15665 #ifdef RTLD_GLOBAL
15666 # define LT_DLGLOBAL RTLD_GLOBAL
15667 #else
15668 # ifdef DL_GLOBAL
15669 # define LT_DLGLOBAL DL_GLOBAL
15670 # else
15671 # define LT_DLGLOBAL 0
15672 # endif
15673 #endif
15674
15675 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15676 find out it does not work in some platform. */
15677 #ifndef LT_DLLAZY_OR_NOW
15678 # ifdef RTLD_LAZY
15679 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15680 # else
15681 # ifdef DL_LAZY
15682 # define LT_DLLAZY_OR_NOW DL_LAZY
15683 # else
15684 # ifdef RTLD_NOW
15685 # define LT_DLLAZY_OR_NOW RTLD_NOW
15686 # else
15687 # ifdef DL_NOW
15688 # define LT_DLLAZY_OR_NOW DL_NOW
15689 # else
15690 # define LT_DLLAZY_OR_NOW 0
15691 # endif
15692 # endif
15693 # endif
15694 # endif
15695 #endif
15696
15697 /* When -fvisbility=hidden is used, assume the code has been annotated
15698 correspondingly for the symbols needed. */
15699 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
15700 int fnord () __attribute__((visibility("default")));
15701 #endif
15702
15703 int fnord () { return 42; }
15704 int main ()
15705 {
15706 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15707 int status = $lt_dlunknown;
15708
15709 if (self)
15710 {
15711 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15712 else
15713 {
15714 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15715 else puts (dlerror ());
15716 }
15717 /* dlclose (self); */
15718 }
15719 else
15720 puts (dlerror ());
15721
15722 return status;
15723 }
15724 _LT_EOF
15725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15726 (eval $ac_link) 2>&5
15727 ac_status=$?
15728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15730 (./conftest; exit; ) >&5 2>/dev/null
15731 lt_status=$?
15732 case x$lt_status in
15733 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15734 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15735 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
15736 esac
15737 else :
15738 # compilation failed
15739 lt_cv_dlopen_self=no
15740 fi
15741 fi
15742 rm -fr conftest*
15743
15744
15745 fi
15746 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
15747 $as_echo "$lt_cv_dlopen_self" >&6; }
15748
15749 if test "x$lt_cv_dlopen_self" = xyes; then
15750 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
15751 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
15752 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
15753 if test "${lt_cv_dlopen_self_static+set}" = set; then
15754 $as_echo_n "(cached) " >&6
15755 else
15756 if test "$cross_compiling" = yes; then :
15757 lt_cv_dlopen_self_static=cross
15758 else
15759 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15760 lt_status=$lt_dlunknown
15761 cat > conftest.$ac_ext <<_LT_EOF
15762 #line $LINENO "configure"
15763 #include "confdefs.h"
15764
15765 #if HAVE_DLFCN_H
15766 #include <dlfcn.h>
15767 #endif
15768
15769 #include <stdio.h>
15770
15771 #ifdef RTLD_GLOBAL
15772 # define LT_DLGLOBAL RTLD_GLOBAL
15773 #else
15774 # ifdef DL_GLOBAL
15775 # define LT_DLGLOBAL DL_GLOBAL
15776 # else
15777 # define LT_DLGLOBAL 0
15778 # endif
15779 #endif
15780
15781 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15782 find out it does not work in some platform. */
15783 #ifndef LT_DLLAZY_OR_NOW
15784 # ifdef RTLD_LAZY
15785 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15786 # else
15787 # ifdef DL_LAZY
15788 # define LT_DLLAZY_OR_NOW DL_LAZY
15789 # else
15790 # ifdef RTLD_NOW
15791 # define LT_DLLAZY_OR_NOW RTLD_NOW
15792 # else
15793 # ifdef DL_NOW
15794 # define LT_DLLAZY_OR_NOW DL_NOW
15795 # else
15796 # define LT_DLLAZY_OR_NOW 0
15797 # endif
15798 # endif
15799 # endif
15800 # endif
15801 #endif
15802
15803 /* When -fvisbility=hidden is used, assume the code has been annotated
15804 correspondingly for the symbols needed. */
15805 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
15806 int fnord () __attribute__((visibility("default")));
15807 #endif
15808
15809 int fnord () { return 42; }
15810 int main ()
15811 {
15812 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15813 int status = $lt_dlunknown;
15814
15815 if (self)
15816 {
15817 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15818 else
15819 {
15820 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15821 else puts (dlerror ());
15822 }
15823 /* dlclose (self); */
15824 }
15825 else
15826 puts (dlerror ());
15827
15828 return status;
15829 }
15830 _LT_EOF
15831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15832 (eval $ac_link) 2>&5
15833 ac_status=$?
15834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15836 (./conftest; exit; ) >&5 2>/dev/null
15837 lt_status=$?
15838 case x$lt_status in
15839 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15840 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15841 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
15842 esac
15843 else :
15844 # compilation failed
15845 lt_cv_dlopen_self_static=no
15846 fi
15847 fi
15848 rm -fr conftest*
15849
15850
15851 fi
15852 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
15853 $as_echo "$lt_cv_dlopen_self_static" >&6; }
15854 fi
15855
15856 CPPFLAGS="$save_CPPFLAGS"
15857 LDFLAGS="$save_LDFLAGS"
15858 LIBS="$save_LIBS"
15859 ;;
15860 esac
15861
15862 case $lt_cv_dlopen_self in
15863 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15864 *) enable_dlopen_self=unknown ;;
15865 esac
15866
15867 case $lt_cv_dlopen_self_static in
15868 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15869 *) enable_dlopen_self_static=unknown ;;
15870 esac
15871 fi
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889 striplib=
15890 old_striplib=
15891 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15892 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
15893 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
15894 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15895 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15896 { $as_echo "$as_me:$LINENO: result: yes" >&5
15897 $as_echo "yes" >&6; }
15898 else
15899 # FIXME - insert some real tests, host_os isn't really good enough
15900 case $host_os in
15901 darwin*)
15902 if test -n "$STRIP" ; then
15903 striplib="$STRIP -x"
15904 old_striplib="$STRIP -S"
15905 { $as_echo "$as_me:$LINENO: result: yes" >&5
15906 $as_echo "yes" >&6; }
15907 else
15908 { $as_echo "$as_me:$LINENO: result: no" >&5
15909 $as_echo "no" >&6; }
15910 fi
15911 ;;
15912 *)
15913 { $as_echo "$as_me:$LINENO: result: no" >&5
15914 $as_echo "no" >&6; }
15915 ;;
15916 esac
15917 fi
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930 # Report which library types will actually be built
15931 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15932 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
15933 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
15934 $as_echo "$can_build_shared" >&6; }
15935
15936 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15937 $as_echo_n "checking whether to build shared libraries... " >&6; }
15938 test "$can_build_shared" = "no" && enable_shared=no
15939
15940 # On AIX, shared libraries and static libraries use the same namespace, and
15941 # are all built from PIC.
15942 case $host_os in
15943 aix3*)
15944 test "$enable_shared" = yes && enable_static=no
15945 if test -n "$RANLIB"; then
15946 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15947 postinstall_cmds='$RANLIB $lib'
15948 fi
15949 ;;
15950
15951 aix[4-9]*)
15952 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15953 test "$enable_shared" = yes && enable_static=no
15954 fi
15955 ;;
15956 esac
15957 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
15958 $as_echo "$enable_shared" >&6; }
15959
15960 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15961 $as_echo_n "checking whether to build static libraries... " >&6; }
15962 # Make sure either enable_shared or enable_static is yes.
15963 test "$enable_shared" = yes || enable_static=yes
15964 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
15965 $as_echo "$enable_static" >&6; }
15966
15967
15968
15969
15970 fi
15971 ac_ext=cpp
15972 ac_cpp='$CXXCPP $CPPFLAGS'
15973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15976
15977 CC="$lt_save_CC"
15978
15979 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
15980 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
15981 (test "X$CXX" != "Xg++"))) ; then
15982 ac_ext=cpp
15983 ac_cpp='$CXXCPP $CPPFLAGS'
15984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15987 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15988 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
15989 if test -z "$CXXCPP"; then
15990 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15991 $as_echo_n "(cached) " >&6
15992 else
15993 # Double quotes because CXXCPP needs to be expanded
15994 for CXXCPP in "$CXX -E" "/lib/cpp"
15995 do
15996 ac_preproc_ok=false
15997 for ac_cxx_preproc_warn_flag in '' yes
15998 do
15999 # Use a header file that comes with gcc, so configuring glibc
16000 # with a fresh cross-compiler works.
16001 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16002 # <limits.h> exists even on freestanding compilers.
16003 # On the NeXT, cc -E runs the code through the compiler's parser,
16004 # not just through cpp. "Syntax error" is here to catch this case.
16005 cat >conftest.$ac_ext <<_ACEOF
16006 /* confdefs.h. */
16007 _ACEOF
16008 cat confdefs.h >>conftest.$ac_ext
16009 cat >>conftest.$ac_ext <<_ACEOF
16010 /* end confdefs.h. */
16011 #ifdef __STDC__
16012 # include <limits.h>
16013 #else
16014 # include <assert.h>
16015 #endif
16016 Syntax error
16017 _ACEOF
16018 if { (ac_try="$ac_cpp conftest.$ac_ext"
16019 case "(($ac_try" in
16020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16021 *) ac_try_echo=$ac_try;;
16022 esac
16023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16024 $as_echo "$ac_try_echo") >&5
16025 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16026 ac_status=$?
16027 grep -v '^ *+' conftest.er1 >conftest.err
16028 rm -f conftest.er1
16029 cat conftest.err >&5
16030 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); } >/dev/null && {
16032 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16033 test ! -s conftest.err
16034 }; then
16035 :
16036 else
16037 $as_echo "$as_me: failed program was:" >&5
16038 sed 's/^/| /' conftest.$ac_ext >&5
16039
16040 # Broken: fails on valid input.
16041 continue
16042 fi
16043
16044 rm -f conftest.err conftest.$ac_ext
16045
16046 # OK, works on sane cases. Now check whether nonexistent headers
16047 # can be detected and how.
16048 cat >conftest.$ac_ext <<_ACEOF
16049 /* confdefs.h. */
16050 _ACEOF
16051 cat confdefs.h >>conftest.$ac_ext
16052 cat >>conftest.$ac_ext <<_ACEOF
16053 /* end confdefs.h. */
16054 #include <ac_nonexistent.h>
16055 _ACEOF
16056 if { (ac_try="$ac_cpp conftest.$ac_ext"
16057 case "(($ac_try" in
16058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16059 *) ac_try_echo=$ac_try;;
16060 esac
16061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16062 $as_echo "$ac_try_echo") >&5
16063 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16064 ac_status=$?
16065 grep -v '^ *+' conftest.er1 >conftest.err
16066 rm -f conftest.er1
16067 cat conftest.err >&5
16068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); } >/dev/null && {
16070 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16071 test ! -s conftest.err
16072 }; then
16073 # Broken: success on invalid input.
16074 continue
16075 else
16076 $as_echo "$as_me: failed program was:" >&5
16077 sed 's/^/| /' conftest.$ac_ext >&5
16078
16079 # Passes both tests.
16080 ac_preproc_ok=:
16081 break
16082 fi
16083
16084 rm -f conftest.err conftest.$ac_ext
16085
16086 done
16087 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16088 rm -f conftest.err conftest.$ac_ext
16089 if $ac_preproc_ok; then
16090 break
16091 fi
16092
16093 done
16094 ac_cv_prog_CXXCPP=$CXXCPP
16095
16096 fi
16097 CXXCPP=$ac_cv_prog_CXXCPP
16098 else
16099 ac_cv_prog_CXXCPP=$CXXCPP
16100 fi
16101 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
16102 $as_echo "$CXXCPP" >&6; }
16103 ac_preproc_ok=false
16104 for ac_cxx_preproc_warn_flag in '' yes
16105 do
16106 # Use a header file that comes with gcc, so configuring glibc
16107 # with a fresh cross-compiler works.
16108 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16109 # <limits.h> exists even on freestanding compilers.
16110 # On the NeXT, cc -E runs the code through the compiler's parser,
16111 # not just through cpp. "Syntax error" is here to catch this case.
16112 cat >conftest.$ac_ext <<_ACEOF
16113 /* confdefs.h. */
16114 _ACEOF
16115 cat confdefs.h >>conftest.$ac_ext
16116 cat >>conftest.$ac_ext <<_ACEOF
16117 /* end confdefs.h. */
16118 #ifdef __STDC__
16119 # include <limits.h>
16120 #else
16121 # include <assert.h>
16122 #endif
16123 Syntax error
16124 _ACEOF
16125 if { (ac_try="$ac_cpp conftest.$ac_ext"
16126 case "(($ac_try" in
16127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16128 *) ac_try_echo=$ac_try;;
16129 esac
16130 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16131 $as_echo "$ac_try_echo") >&5
16132 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16133 ac_status=$?
16134 grep -v '^ *+' conftest.er1 >conftest.err
16135 rm -f conftest.er1
16136 cat conftest.err >&5
16137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16138 (exit $ac_status); } >/dev/null && {
16139 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16140 test ! -s conftest.err
16141 }; then
16142 :
16143 else
16144 $as_echo "$as_me: failed program was:" >&5
16145 sed 's/^/| /' conftest.$ac_ext >&5
16146
16147 # Broken: fails on valid input.
16148 continue
16149 fi
16150
16151 rm -f conftest.err conftest.$ac_ext
16152
16153 # OK, works on sane cases. Now check whether nonexistent headers
16154 # can be detected and how.
16155 cat >conftest.$ac_ext <<_ACEOF
16156 /* confdefs.h. */
16157 _ACEOF
16158 cat confdefs.h >>conftest.$ac_ext
16159 cat >>conftest.$ac_ext <<_ACEOF
16160 /* end confdefs.h. */
16161 #include <ac_nonexistent.h>
16162 _ACEOF
16163 if { (ac_try="$ac_cpp conftest.$ac_ext"
16164 case "(($ac_try" in
16165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16166 *) ac_try_echo=$ac_try;;
16167 esac
16168 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16169 $as_echo "$ac_try_echo") >&5
16170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16171 ac_status=$?
16172 grep -v '^ *+' conftest.er1 >conftest.err
16173 rm -f conftest.er1
16174 cat conftest.err >&5
16175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); } >/dev/null && {
16177 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16178 test ! -s conftest.err
16179 }; then
16180 # Broken: success on invalid input.
16181 continue
16182 else
16183 $as_echo "$as_me: failed program was:" >&5
16184 sed 's/^/| /' conftest.$ac_ext >&5
16185
16186 # Passes both tests.
16187 ac_preproc_ok=:
16188 break
16189 fi
16190
16191 rm -f conftest.err conftest.$ac_ext
16192
16193 done
16194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16195 rm -f conftest.err conftest.$ac_ext
16196 if $ac_preproc_ok; then
16197 :
16198 else
16199 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16201 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16202 See \`config.log' for more details." >&5
16203 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16204 See \`config.log' for more details." >&2;}
16205 { (exit 1); exit 1; }; }; }
16206 fi
16207
16208 ac_ext=cpp
16209 ac_cpp='$CXXCPP $CPPFLAGS'
16210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16213
16214 else
16215 _lt_caught_CXX_error=yes
16216 fi
16217
16218 ac_ext=cpp
16219 ac_cpp='$CXXCPP $CPPFLAGS'
16220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16223
16224 archive_cmds_need_lc_CXX=no
16225 allow_undefined_flag_CXX=
16226 always_export_symbols_CXX=no
16227 archive_expsym_cmds_CXX=
16228 compiler_needs_object_CXX=no
16229 export_dynamic_flag_spec_CXX=
16230 hardcode_direct_CXX=no
16231 hardcode_direct_absolute_CXX=no
16232 hardcode_libdir_flag_spec_CXX=
16233 hardcode_libdir_flag_spec_ld_CXX=
16234 hardcode_libdir_separator_CXX=
16235 hardcode_minus_L_CXX=no
16236 hardcode_shlibpath_var_CXX=unsupported
16237 hardcode_automatic_CXX=no
16238 inherit_rpath_CXX=no
16239 module_cmds_CXX=
16240 module_expsym_cmds_CXX=
16241 link_all_deplibs_CXX=unknown
16242 old_archive_cmds_CXX=$old_archive_cmds
16243 reload_flag_CXX=$reload_flag
16244 reload_cmds_CXX=$reload_cmds
16245 no_undefined_flag_CXX=
16246 whole_archive_flag_spec_CXX=
16247 enable_shared_with_static_runtimes_CXX=no
16248
16249 # Source file extension for C++ test sources.
16250 ac_ext=cpp
16251
16252 # Object file extension for compiled C++ test sources.
16253 objext=o
16254 objext_CXX=$objext
16255
16256 # No sense in running all these tests if we already determined that
16257 # the CXX compiler isn't working. Some variables (like enable_shared)
16258 # are currently assumed to apply to all compilers on this platform,
16259 # and will be corrupted by setting them based on a non-working compiler.
16260 if test "$_lt_caught_CXX_error" != yes; then
16261 # Code to be used in simple compile tests
16262 lt_simple_compile_test_code="int some_variable = 0;"
16263
16264 # Code to be used in simple link tests
16265 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
16266
16267 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16268
16269
16270
16271
16272
16273
16274 # If no C compiler was specified, use CC.
16275 LTCC=${LTCC-"$CC"}
16276
16277 # If no C compiler flags were specified, use CFLAGS.
16278 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16279
16280 # Allow CC to be a program name with arguments.
16281 compiler=$CC
16282
16283
16284 # save warnings/boilerplate of simple test code
16285 ac_outfile=conftest.$ac_objext
16286 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16287 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16288 _lt_compiler_boilerplate=`cat conftest.err`
16289 $RM conftest*
16290
16291 ac_outfile=conftest.$ac_objext
16292 echo "$lt_simple_link_test_code" >conftest.$ac_ext
16293 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16294 _lt_linker_boilerplate=`cat conftest.err`
16295 $RM -r conftest*
16296
16297
16298 # Allow CC to be a program name with arguments.
16299 lt_save_CC=$CC
16300 lt_save_CFLAGS=$CFLAGS
16301 lt_save_LD=$LD
16302 lt_save_GCC=$GCC
16303 GCC=$GXX
16304 lt_save_with_gnu_ld=$with_gnu_ld
16305 lt_save_path_LD=$lt_cv_path_LD
16306 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
16307 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
16308 else
16309 $as_unset lt_cv_prog_gnu_ld
16310 fi
16311 if test -n "${lt_cv_path_LDCXX+set}"; then
16312 lt_cv_path_LD=$lt_cv_path_LDCXX
16313 else
16314 $as_unset lt_cv_path_LD
16315 fi
16316 test -z "${LDCXX+set}" || LD=$LDCXX
16317 CC=${CXX-"c++"}
16318 CFLAGS=$CXXFLAGS
16319 compiler=$CC
16320 compiler_CXX=$CC
16321 for cc_temp in $compiler""; do
16322 case $cc_temp in
16323 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16324 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16325 \-*) ;;
16326 *) break;;
16327 esac
16328 done
16329 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16330
16331
16332 if test -n "$compiler"; then
16333 # We don't want -fno-exception when compiling C++ code, so set the
16334 # no_builtin_flag separately
16335 if test "$GXX" = yes; then
16336 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
16337 else
16338 lt_prog_compiler_no_builtin_flag_CXX=
16339 fi
16340
16341 if test "$GXX" = yes; then
16342 # Set up default GNU C++ configuration
16343
16344
16345
16346 # Check whether --with-gnu-ld was given.
16347 if test "${with_gnu_ld+set}" = set; then
16348 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16349 else
16350 with_gnu_ld=no
16351 fi
16352
16353 ac_prog=ld
16354 if test "$GCC" = yes; then
16355 # Check if gcc -print-prog-name=ld gives a path.
16356 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
16357 $as_echo_n "checking for ld used by $CC... " >&6; }
16358 case $host in
16359 *-*-mingw*)
16360 # gcc leaves a trailing carriage return which upsets mingw
16361 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16362 *)
16363 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16364 esac
16365 case $ac_prog in
16366 # Accept absolute paths.
16367 [\\/]* | ?:[\\/]*)
16368 re_direlt='/[^/][^/]*/\.\./'
16369 # Canonicalize the pathname of ld
16370 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16371 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
16372 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16373 done
16374 test -z "$LD" && LD="$ac_prog"
16375 ;;
16376 "")
16377 # If it fails, then pretend we aren't using GCC.
16378 ac_prog=ld
16379 ;;
16380 *)
16381 # If it is relative, then search for the first ld in PATH.
16382 with_gnu_ld=unknown
16383 ;;
16384 esac
16385 elif test "$with_gnu_ld" = yes; then
16386 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
16387 $as_echo_n "checking for GNU ld... " >&6; }
16388 else
16389 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
16390 $as_echo_n "checking for non-GNU ld... " >&6; }
16391 fi
16392 if test "${lt_cv_path_LD+set}" = set; then
16393 $as_echo_n "(cached) " >&6
16394 else
16395 if test -z "$LD"; then
16396 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16397 for ac_dir in $PATH; do
16398 IFS="$lt_save_ifs"
16399 test -z "$ac_dir" && ac_dir=.
16400 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16401 lt_cv_path_LD="$ac_dir/$ac_prog"
16402 # Check to see if the program is GNU ld. I'd rather use --version,
16403 # but apparently some variants of GNU ld only accept -v.
16404 # Break only if it was the GNU/non-GNU ld that we prefer.
16405 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16406 *GNU* | *'with BFD'*)
16407 test "$with_gnu_ld" != no && break
16408 ;;
16409 *)
16410 test "$with_gnu_ld" != yes && break
16411 ;;
16412 esac
16413 fi
16414 done
16415 IFS="$lt_save_ifs"
16416 else
16417 lt_cv_path_LD="$LD" # Let the user override the test with a path.
16418 fi
16419 fi
16420
16421 LD="$lt_cv_path_LD"
16422 if test -n "$LD"; then
16423 { $as_echo "$as_me:$LINENO: result: $LD" >&5
16424 $as_echo "$LD" >&6; }
16425 else
16426 { $as_echo "$as_me:$LINENO: result: no" >&5
16427 $as_echo "no" >&6; }
16428 fi
16429 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
16430 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
16431 { (exit 1); exit 1; }; }
16432 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
16433 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16434 if test "${lt_cv_prog_gnu_ld+set}" = set; then
16435 $as_echo_n "(cached) " >&6
16436 else
16437 # I'd rather use --version here, but apparently some GNU lds only accept -v.
16438 case `$LD -v 2>&1 </dev/null` in
16439 *GNU* | *'with BFD'*)
16440 lt_cv_prog_gnu_ld=yes
16441 ;;
16442 *)
16443 lt_cv_prog_gnu_ld=no
16444 ;;
16445 esac
16446 fi
16447 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
16448 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
16449 with_gnu_ld=$lt_cv_prog_gnu_ld
16450
16451
16452
16453
16454
16455
16456
16457 # Check if GNU C++ uses GNU ld as the underlying linker, since the
16458 # archiving commands below assume that GNU ld is being used.
16459 if test "$with_gnu_ld" = yes; then
16460 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16461 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16462
16463 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16464 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16465
16466 # If archive_cmds runs LD, not CC, wlarc should be empty
16467 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
16468 # investigate it a little bit more. (MM)
16469 wlarc='${wl}'
16470
16471 # ancient GNU ld didn't support --whole-archive et. al.
16472 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
16473 $GREP 'no-whole-archive' > /dev/null; then
16474 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16475 else
16476 whole_archive_flag_spec_CXX=
16477 fi
16478 else
16479 with_gnu_ld=no
16480 wlarc=
16481
16482 # A generic and very simple default shared library creation
16483 # command for GNU C++ for the case where it uses the native
16484 # linker, instead of GNU ld. If possible, this setting should
16485 # overridden to take advantage of the native linker features on
16486 # the platform it is being used on.
16487 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16488 fi
16489
16490 # Commands to make compiler produce verbose output that lists
16491 # what "hidden" libraries, object files and flags are used when
16492 # linking a shared library.
16493 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16494
16495 else
16496 GXX=no
16497 with_gnu_ld=no
16498 wlarc=
16499 fi
16500
16501 # PORTME: fill in a description of your system's C++ link characteristics
16502 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16503 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16504 ld_shlibs_CXX=yes
16505 case $host_os in
16506 aix3*)
16507 # FIXME: insert proper C++ library support
16508 ld_shlibs_CXX=no
16509 ;;
16510 aix[4-9]*)
16511 if test "$host_cpu" = ia64; then
16512 # On IA64, the linker does run time linking by default, so we don't
16513 # have to do anything special.
16514 aix_use_runtimelinking=no
16515 exp_sym_flag='-Bexport'
16516 no_entry_flag=""
16517 else
16518 aix_use_runtimelinking=no
16519
16520 # Test if we are trying to use run time linking or normal
16521 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16522 # need to do runtime linking.
16523 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16524 for ld_flag in $LDFLAGS; do
16525 case $ld_flag in
16526 *-brtl*)
16527 aix_use_runtimelinking=yes
16528 break
16529 ;;
16530 esac
16531 done
16532 ;;
16533 esac
16534
16535 exp_sym_flag='-bexport'
16536 no_entry_flag='-bnoentry'
16537 fi
16538
16539 # When large executables or shared objects are built, AIX ld can
16540 # have problems creating the table of contents. If linking a library
16541 # or program results in "error TOC overflow" add -mminimal-toc to
16542 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16543 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16544
16545 archive_cmds_CXX=''
16546 hardcode_direct_CXX=yes
16547 hardcode_direct_absolute_CXX=yes
16548 hardcode_libdir_separator_CXX=':'
16549 link_all_deplibs_CXX=yes
16550 file_list_spec_CXX='${wl}-f,'
16551
16552 if test "$GXX" = yes; then
16553 case $host_os in aix4.[012]|aix4.[012].*)
16554 # We only want to do this on AIX 4.2 and lower, the check
16555 # below for broken collect2 doesn't work under 4.3+
16556 collect2name=`${CC} -print-prog-name=collect2`
16557 if test -f "$collect2name" &&
16558 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
16559 then
16560 # We have reworked collect2
16561 :
16562 else
16563 # We have old collect2
16564 hardcode_direct_CXX=unsupported
16565 # It fails to find uninstalled libraries when the uninstalled
16566 # path is not listed in the libpath. Setting hardcode_minus_L
16567 # to unsupported forces relinking
16568 hardcode_minus_L_CXX=yes
16569 hardcode_libdir_flag_spec_CXX='-L$libdir'
16570 hardcode_libdir_separator_CXX=
16571 fi
16572 esac
16573 shared_flag='-shared'
16574 if test "$aix_use_runtimelinking" = yes; then
16575 shared_flag="$shared_flag "'${wl}-G'
16576 fi
16577 else
16578 # not using gcc
16579 if test "$host_cpu" = ia64; then
16580 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16581 # chokes on -Wl,-G. The following line is correct:
16582 shared_flag='-G'
16583 else
16584 if test "$aix_use_runtimelinking" = yes; then
16585 shared_flag='${wl}-G'
16586 else
16587 shared_flag='${wl}-bM:SRE'
16588 fi
16589 fi
16590 fi
16591
16592 export_dynamic_flag_spec_CXX='${wl}-bexpall'
16593 # It seems that -bexpall does not export symbols beginning with
16594 # underscore (_), so it is better to generate a list of symbols to
16595 # export.
16596 always_export_symbols_CXX=yes
16597 if test "$aix_use_runtimelinking" = yes; then
16598 # Warning - without using the other runtime loading flags (-brtl),
16599 # -berok will link without error, but may produce a broken library.
16600 allow_undefined_flag_CXX='-berok'
16601 # Determine the default libpath from the value encoded in an empty
16602 # executable.
16603 if test "${lt_cv_aix_libpath+set}" = set; then
16604 aix_libpath=$lt_cv_aix_libpath
16605 else
16606 if test "${lt_cv_aix_libpath__CXX+set}" = set; then
16607 $as_echo_n "(cached) " >&6
16608 else
16609 cat >conftest.$ac_ext <<_ACEOF
16610 /* confdefs.h. */
16611 _ACEOF
16612 cat confdefs.h >>conftest.$ac_ext
16613 cat >>conftest.$ac_ext <<_ACEOF
16614 /* end confdefs.h. */
16615
16616 int
16617 main ()
16618 {
16619
16620 ;
16621 return 0;
16622 }
16623 _ACEOF
16624 rm -f conftest.$ac_objext conftest$ac_exeext
16625 if { (ac_try="$ac_link"
16626 case "(($ac_try" in
16627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16628 *) ac_try_echo=$ac_try;;
16629 esac
16630 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16631 $as_echo "$ac_try_echo") >&5
16632 (eval "$ac_link") 2>conftest.er1
16633 ac_status=$?
16634 grep -v '^ *+' conftest.er1 >conftest.err
16635 rm -f conftest.er1
16636 cat conftest.err >&5
16637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); } && {
16639 test -z "$ac_cxx_werror_flag" ||
16640 test ! -s conftest.err
16641 } && test -s conftest$ac_exeext && {
16642 test "$cross_compiling" = yes ||
16643 $as_test_x conftest$ac_exeext
16644 }; then
16645
16646 lt_aix_libpath_sed='
16647 /Import File Strings/,/^$/ {
16648 /^0/ {
16649 s/^0 *\([^ ]*\) *$/\1/
16650 p
16651 }
16652 }'
16653 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16654 # Check for a 64-bit object if we didn't find anything.
16655 if test -z "$lt_cv_aix_libpath__CXX"; then
16656 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16657 fi
16658 else
16659 $as_echo "$as_me: failed program was:" >&5
16660 sed 's/^/| /' conftest.$ac_ext >&5
16661
16662
16663 fi
16664
16665 rm -rf conftest.dSYM
16666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16667 conftest$ac_exeext conftest.$ac_ext
16668 if test -z "$lt_cv_aix_libpath__CXX"; then
16669 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
16670 fi
16671
16672 fi
16673
16674 aix_libpath=$lt_cv_aix_libpath__CXX
16675 fi
16676
16677 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16678
16679 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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16680 else
16681 if test "$host_cpu" = ia64; then
16682 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
16683 allow_undefined_flag_CXX="-z nodefs"
16684 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"
16685 else
16686 # Determine the default libpath from the value encoded in an
16687 # empty executable.
16688 if test "${lt_cv_aix_libpath+set}" = set; then
16689 aix_libpath=$lt_cv_aix_libpath
16690 else
16691 if test "${lt_cv_aix_libpath__CXX+set}" = set; then
16692 $as_echo_n "(cached) " >&6
16693 else
16694 cat >conftest.$ac_ext <<_ACEOF
16695 /* confdefs.h. */
16696 _ACEOF
16697 cat confdefs.h >>conftest.$ac_ext
16698 cat >>conftest.$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700
16701 int
16702 main ()
16703 {
16704
16705 ;
16706 return 0;
16707 }
16708 _ACEOF
16709 rm -f conftest.$ac_objext conftest$ac_exeext
16710 if { (ac_try="$ac_link"
16711 case "(($ac_try" in
16712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16713 *) ac_try_echo=$ac_try;;
16714 esac
16715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16716 $as_echo "$ac_try_echo") >&5
16717 (eval "$ac_link") 2>conftest.er1
16718 ac_status=$?
16719 grep -v '^ *+' conftest.er1 >conftest.err
16720 rm -f conftest.er1
16721 cat conftest.err >&5
16722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); } && {
16724 test -z "$ac_cxx_werror_flag" ||
16725 test ! -s conftest.err
16726 } && test -s conftest$ac_exeext && {
16727 test "$cross_compiling" = yes ||
16728 $as_test_x conftest$ac_exeext
16729 }; then
16730
16731 lt_aix_libpath_sed='
16732 /Import File Strings/,/^$/ {
16733 /^0/ {
16734 s/^0 *\([^ ]*\) *$/\1/
16735 p
16736 }
16737 }'
16738 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16739 # Check for a 64-bit object if we didn't find anything.
16740 if test -z "$lt_cv_aix_libpath__CXX"; then
16741 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16742 fi
16743 else
16744 $as_echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.$ac_ext >&5
16746
16747
16748 fi
16749
16750 rm -rf conftest.dSYM
16751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16752 conftest$ac_exeext conftest.$ac_ext
16753 if test -z "$lt_cv_aix_libpath__CXX"; then
16754 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
16755 fi
16756
16757 fi
16758
16759 aix_libpath=$lt_cv_aix_libpath__CXX
16760 fi
16761
16762 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16763 # Warning - without using the other run time loading flags,
16764 # -berok will link without error, but may produce a broken library.
16765 no_undefined_flag_CXX=' ${wl}-bernotok'
16766 allow_undefined_flag_CXX=' ${wl}-berok'
16767 if test "$with_gnu_ld" = yes; then
16768 # We only use this code for GNU lds that support --whole-archive.
16769 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
16770 else
16771 # Exported symbols can be pulled into shared objects from archives
16772 whole_archive_flag_spec_CXX='$convenience'
16773 fi
16774 archive_cmds_need_lc_CXX=yes
16775 # This is similar to how AIX traditionally builds its shared
16776 # libraries.
16777 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'
16778 fi
16779 fi
16780 ;;
16781
16782 beos*)
16783 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
16784 allow_undefined_flag_CXX=unsupported
16785 # Joseph Beckenbach <[email protected]> says some releases of gcc
16786 # support --undefined. This deserves some investigation. FIXME
16787 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16788 else
16789 ld_shlibs_CXX=no
16790 fi
16791 ;;
16792
16793 chorus*)
16794 case $cc_basename in
16795 *)
16796 # FIXME: insert proper C++ library support
16797 ld_shlibs_CXX=no
16798 ;;
16799 esac
16800 ;;
16801
16802 cygwin* | mingw* | pw32* | cegcc*)
16803 case $GXX,$cc_basename in
16804 ,cl* | no,cl*)
16805 # Native MSVC
16806 # hardcode_libdir_flag_spec is actually meaningless, as there is
16807 # no search path for DLLs.
16808 hardcode_libdir_flag_spec_CXX=' '
16809 allow_undefined_flag_CXX=unsupported
16810 always_export_symbols_CXX=yes
16811 file_list_spec_CXX='@'
16812 # Tell ltmain to make .lib files, not .a files.
16813 libext=lib
16814 # Tell ltmain to make .dll files, not .so files.
16815 shrext_cmds=".dll"
16816 # FIXME: Setting linknames here is a bad hack.
16817 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
16818 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16819 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
16820 else
16821 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
16822 fi~
16823 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
16824 linknames='
16825 # The linker will not automatically build a static lib if we build a DLL.
16826 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
16827 enable_shared_with_static_runtimes_CXX=yes
16828 # Don't use ranlib
16829 old_postinstall_cmds_CXX='chmod 644 $oldlib'
16830 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
16831 lt_tool_outputfile="@TOOL_OUTPUT@"~
16832 case $lt_outputfile in
16833 *.exe|*.EXE) ;;
16834 *)
16835 lt_outputfile="$lt_outputfile.exe"
16836 lt_tool_outputfile="$lt_tool_outputfile.exe"
16837 ;;
16838 esac~
16839 func_to_tool_file "$lt_outputfile"~
16840 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
16841 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
16842 $RM "$lt_outputfile.manifest";
16843 fi'
16844 ;;
16845 *)
16846 # g++
16847 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
16848 # as there is no search path for DLLs.
16849 hardcode_libdir_flag_spec_CXX='-L$libdir'
16850 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
16851 allow_undefined_flag_CXX=unsupported
16852 always_export_symbols_CXX=no
16853 enable_shared_with_static_runtimes_CXX=yes
16854
16855 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
16856 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'
16857 # If the export-symbols file already is a .def file (1st line
16858 # is EXPORTS), use it as is; otherwise, prepend...
16859 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16860 cp $export_symbols $output_objdir/$soname.def;
16861 else
16862 echo EXPORTS > $output_objdir/$soname.def;
16863 cat $export_symbols >> $output_objdir/$soname.def;
16864 fi~
16865 $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'
16866 else
16867 ld_shlibs_CXX=no
16868 fi
16869 ;;
16870 esac
16871 ;;
16872 darwin* | rhapsody*)
16873
16874
16875 archive_cmds_need_lc_CXX=no
16876 hardcode_direct_CXX=no
16877 hardcode_automatic_CXX=yes
16878 hardcode_shlibpath_var_CXX=unsupported
16879 if test "$lt_cv_ld_force_load" = "yes"; then
16880 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
16881 else
16882 whole_archive_flag_spec_CXX=''
16883 fi
16884 link_all_deplibs_CXX=yes
16885 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
16886 case $cc_basename in
16887 ifort*) _lt_dar_can_shared=yes ;;
16888 *) _lt_dar_can_shared=$GCC ;;
16889 esac
16890 if test "$_lt_dar_can_shared" = "yes"; then
16891 output_verbose_link_cmd=func_echo_all
16892 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
16893 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
16894 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
16895 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
16896 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
16897 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${_lt_dsymutil}"
16898 archive_expsym_cmds_CXX="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
16899 fi
16900
16901 else
16902 ld_shlibs_CXX=no
16903 fi
16904
16905 ;;
16906
16907 dgux*)
16908 case $cc_basename in
16909 ec++*)
16910 # FIXME: insert proper C++ library support
16911 ld_shlibs_CXX=no
16912 ;;
16913 ghcx*)
16914 # Green Hills C++ Compiler
16915 # FIXME: insert proper C++ library support
16916 ld_shlibs_CXX=no
16917 ;;
16918 *)
16919 # FIXME: insert proper C++ library support
16920 ld_shlibs_CXX=no
16921 ;;
16922 esac
16923 ;;
16924
16925 freebsd[12]*)
16926 # C++ shared libraries reported to be fairly broken before
16927 # switch to ELF
16928 ld_shlibs_CXX=no
16929 ;;
16930
16931 freebsd-elf*)
16932 archive_cmds_need_lc_CXX=no
16933 ;;
16934
16935 freebsd* | dragonfly*)
16936 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
16937 # conventions
16938 ld_shlibs_CXX=yes
16939 ;;
16940
16941 gnu*)
16942 ;;
16943
16944 haiku*)
16945 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16946 link_all_deplibs_CXX=yes
16947 ;;
16948
16949 hpux9*)
16950 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16951 hardcode_libdir_separator_CXX=:
16952 export_dynamic_flag_spec_CXX='${wl}-E'
16953 hardcode_direct_CXX=yes
16954 hardcode_minus_L_CXX=yes # Not in the search PATH,
16955 # but as the default
16956 # location of the library.
16957
16958 case $cc_basename in
16959 CC*)
16960 # FIXME: insert proper C++ library support
16961 ld_shlibs_CXX=no
16962 ;;
16963 aCC*)
16964 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'
16965 # Commands to make compiler produce verbose output that lists
16966 # what "hidden" libraries, object files and flags are used when
16967 # linking a shared library.
16968 #
16969 # There doesn't appear to be a way to prevent this compiler from
16970 # explicitly linking system object files so we need to strip them
16971 # from the output so that they don't get included in the library
16972 # dependencies.
16973 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; func_echo_all "$list"'
16974 ;;
16975 *)
16976 if test "$GXX" = yes; then
16977 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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'
16978 else
16979 # FIXME: insert proper C++ library support
16980 ld_shlibs_CXX=no
16981 fi
16982 ;;
16983 esac
16984 ;;
16985
16986 hpux10*|hpux11*)
16987 if test $with_gnu_ld = no; then
16988 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16989 hardcode_libdir_separator_CXX=:
16990
16991 case $host_cpu in
16992 hppa*64*|ia64*)
16993 ;;
16994 *)
16995 export_dynamic_flag_spec_CXX='${wl}-E'
16996 ;;
16997 esac
16998 fi
16999 case $host_cpu in
17000 hppa*64*|ia64*)
17001 hardcode_direct_CXX=no
17002 hardcode_shlibpath_var_CXX=no
17003 ;;
17004 *)
17005 hardcode_direct_CXX=yes
17006 hardcode_direct_absolute_CXX=yes
17007 hardcode_minus_L_CXX=yes # Not in the search PATH,
17008 # but as the default
17009 # location of the library.
17010 ;;
17011 esac
17012
17013 case $cc_basename in
17014 CC*)
17015 # FIXME: insert proper C++ library support
17016 ld_shlibs_CXX=no
17017 ;;
17018 aCC*)
17019 case $host_cpu in
17020 hppa*64*)
17021 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17022 ;;
17023 ia64*)
17024 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17025 ;;
17026 *)
17027 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17028 ;;
17029 esac
17030 # Commands to make compiler produce verbose output that lists
17031 # what "hidden" libraries, object files and flags are used when
17032 # linking a shared library.
17033 #
17034 # There doesn't appear to be a way to prevent this compiler from
17035 # explicitly linking system object files so we need to strip them
17036 # from the output so that they don't get included in the library
17037 # dependencies.
17038 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; func_echo_all "$list"'
17039 ;;
17040 *)
17041 if test "$GXX" = yes; then
17042 if test $with_gnu_ld = no; then
17043 case $host_cpu in
17044 hppa*64*)
17045 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17046 ;;
17047 ia64*)
17048 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17049 ;;
17050 *)
17051 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17052 ;;
17053 esac
17054 fi
17055 else
17056 # FIXME: insert proper C++ library support
17057 ld_shlibs_CXX=no
17058 fi
17059 ;;
17060 esac
17061 ;;
17062
17063 interix[3-9]*)
17064 hardcode_direct_CXX=no
17065 hardcode_shlibpath_var_CXX=no
17066 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17067 export_dynamic_flag_spec_CXX='${wl}-E'
17068 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17069 # Instead, shared libraries are loaded at an image base (0x10000000 by
17070 # default) and relocated if they conflict, which is a slow very memory
17071 # consuming and fragmenting process. To avoid this, we pick a random,
17072 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17073 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17074 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'
17075 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'
17076 ;;
17077 irix5* | irix6*)
17078 case $cc_basename in
17079 CC*)
17080 # SGI C++
17081 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
17082
17083 # Archives containing C++ object files must be created using
17084 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
17085 # necessary to make sure instantiated templates are included
17086 # in the archive.
17087 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
17088 ;;
17089 *)
17090 if test "$GXX" = yes; then
17091 if test "$with_gnu_ld" = no; then
17092 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17093 else
17094 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
17095 fi
17096 fi
17097 link_all_deplibs_CXX=yes
17098 ;;
17099 esac
17100 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17101 hardcode_libdir_separator_CXX=:
17102 inherit_rpath_CXX=yes
17103 ;;
17104
17105 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17106 case $cc_basename in
17107 KCC*)
17108 # Kuck and Associates, Inc. (KAI) C++ Compiler
17109
17110 # KCC will only create a shared library if the output file
17111 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17112 # to its proper name (with version) after linking.
17113 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
17114 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
17115 # Commands to make compiler produce verbose output that lists
17116 # what "hidden" libraries, object files and flags are used when
17117 # linking a shared library.
17118 #
17119 # There doesn't appear to be a way to prevent this compiler from
17120 # explicitly linking system object files so we need to strip them
17121 # from the output so that they don't get included in the library
17122 # dependencies.
17123 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
17124
17125 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17126 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17127
17128 # Archives containing C++ object files must be created using
17129 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
17130 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
17131 ;;
17132 icpc* | ecpc* )
17133 # Intel C++
17134 with_gnu_ld=yes
17135 # version 8.0 and above of icpc choke on multiply defined symbols
17136 # if we add $predep_objects and $postdep_objects, however 7.1 and
17137 # earlier do not add the objects themselves.
17138 case `$CC -V 2>&1` in
17139 *"Version 7."*)
17140 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17141 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'
17142 ;;
17143 *) # Version 8.0 or newer
17144 tmp_idyn=
17145 case $host_cpu in
17146 ia64*) tmp_idyn=' -i_dynamic';;
17147 esac
17148 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17149 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'
17150 ;;
17151 esac
17152 archive_cmds_need_lc_CXX=no
17153 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17154 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17155 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
17156 ;;
17157 pgCC* | pgcpp*)
17158 # Portland Group C++ compiler
17159 case `$CC -V` in
17160 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
17161 prelink_cmds_CXX='tpldir=Template.dir~
17162 rm -rf $tpldir~
17163 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
17164 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
17165 old_archive_cmds_CXX='tpldir=Template.dir~
17166 rm -rf $tpldir~
17167 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
17168 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
17169 $RANLIB $oldlib'
17170 archive_cmds_CXX='tpldir=Template.dir~
17171 rm -rf $tpldir~
17172 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17173 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
17174 archive_expsym_cmds_CXX='tpldir=Template.dir~
17175 rm -rf $tpldir~
17176 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
17177 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
17178 ;;
17179 *) # Version 6 and above use weak symbols
17180 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
17181 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'
17182 ;;
17183 esac
17184
17185 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
17186 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17187 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
17188 ;;
17189 cxx*)
17190 # Compaq C++
17191 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17192 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'
17193
17194 runpath_var=LD_RUN_PATH
17195 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
17196 hardcode_libdir_separator_CXX=:
17197
17198 # Commands to make compiler produce verbose output that lists
17199 # what "hidden" libraries, object files and flags are used when
17200 # linking a shared library.
17201 #
17202 # There doesn't appear to be a way to prevent this compiler from
17203 # explicitly linking system object files so we need to strip them
17204 # from the output so that they don't get included in the library
17205 # dependencies.
17206 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$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; func_echo_all "X$list" | $Xsed'
17207 ;;
17208 xl* | mpixl* | bgxl*)
17209 # IBM XL 8.0 on PPC, with GNU ld
17210 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17211 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17212 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17213 if test "x$supports_anon_versioning" = xyes; then
17214 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
17215 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17216 echo "local: *; };" >> $output_objdir/$libname.ver~
17217 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17218 fi
17219 ;;
17220 *)
17221 case `$CC -V 2>&1 | sed 5q` in
17222 *Sun\ C*)
17223 # Sun C++ 5.9
17224 no_undefined_flag_CXX=' -zdefs'
17225 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17226 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
17227 hardcode_libdir_flag_spec_CXX='-R$libdir'
17228 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
17229 compiler_needs_object_CXX=yes
17230
17231 # Not sure whether something based on
17232 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
17233 # would be better.
17234 output_verbose_link_cmd='func_echo_all'
17235
17236 # Archives containing C++ object files must be created using
17237 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17238 # necessary to make sure instantiated templates are included
17239 # in the archive.
17240 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
17241 ;;
17242 esac
17243 ;;
17244 esac
17245 ;;
17246
17247 lynxos*)
17248 # FIXME: insert proper C++ library support
17249 ld_shlibs_CXX=no
17250 ;;
17251
17252 m88k*)
17253 # FIXME: insert proper C++ library support
17254 ld_shlibs_CXX=no
17255 ;;
17256
17257 mvs*)
17258 case $cc_basename in
17259 cxx*)
17260 # FIXME: insert proper C++ library support
17261 ld_shlibs_CXX=no
17262 ;;
17263 *)
17264 # FIXME: insert proper C++ library support
17265 ld_shlibs_CXX=no
17266 ;;
17267 esac
17268 ;;
17269
17270 netbsd*)
17271 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17272 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
17273 wlarc=
17274 hardcode_libdir_flag_spec_CXX='-R$libdir'
17275 hardcode_direct_CXX=yes
17276 hardcode_shlibpath_var_CXX=no
17277 fi
17278 # Workaround some broken pre-1.5 toolchains
17279 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
17280 ;;
17281
17282 *nto* | *qnx*)
17283 ld_shlibs_CXX=yes
17284 ;;
17285
17286 openbsd2*)
17287 # C++ shared libraries are fairly broken
17288 ld_shlibs_CXX=no
17289 ;;
17290
17291 openbsd*)
17292 if test -f /usr/libexec/ld.so; then
17293 hardcode_direct_CXX=yes
17294 hardcode_shlibpath_var_CXX=no
17295 hardcode_direct_absolute_CXX=yes
17296 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17297 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17298 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17299 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
17300 export_dynamic_flag_spec_CXX='${wl}-E'
17301 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17302 fi
17303 output_verbose_link_cmd=func_echo_all
17304 else
17305 ld_shlibs_CXX=no
17306 fi
17307 ;;
17308
17309 osf3* | osf4* | osf5*)
17310 case $cc_basename in
17311 KCC*)
17312 # Kuck and Associates, Inc. (KAI) C++ Compiler
17313
17314 # KCC will only create a shared library if the output file
17315 # ends with ".so" (or ".sl" for HP-UX), so rename the library
17316 # to its proper name (with version) after linking.
17317 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
17318
17319 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17320 hardcode_libdir_separator_CXX=:
17321
17322 # Archives containing C++ object files must be created using
17323 # the KAI C++ compiler.
17324 case $host in
17325 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
17326 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
17327 esac
17328 ;;
17329 RCC*)
17330 # Rational C++ 2.4.1
17331 # FIXME: insert proper C++ library support
17332 ld_shlibs_CXX=no
17333 ;;
17334 cxx*)
17335 case $host in
17336 osf3*)
17337 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
17338 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
17339 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17340 ;;
17341 *)
17342 allow_undefined_flag_CXX=' -expect_unresolved \*'
17343 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
17344 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
17345 echo "-hidden">> $lib.exp~
17346 $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~
17347 $RM $lib.exp'
17348 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
17349 ;;
17350 esac
17351
17352 hardcode_libdir_separator_CXX=:
17353
17354 # Commands to make compiler produce verbose output that lists
17355 # what "hidden" libraries, object files and flags are used when
17356 # linking a shared library.
17357 #
17358 # There doesn't appear to be a way to prevent this compiler from
17359 # explicitly linking system object files so we need to strip them
17360 # from the output so that they don't get included in the library
17361 # dependencies.
17362 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$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; func_echo_all "$list"'
17363 ;;
17364 *)
17365 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17366 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
17367 case $host in
17368 osf3*)
17369 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17370 ;;
17371 *)
17372 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17373 ;;
17374 esac
17375
17376 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17377 hardcode_libdir_separator_CXX=:
17378
17379 # Commands to make compiler produce verbose output that lists
17380 # what "hidden" libraries, object files and flags are used when
17381 # linking a shared library.
17382 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17383
17384 else
17385 # FIXME: insert proper C++ library support
17386 ld_shlibs_CXX=no
17387 fi
17388 ;;
17389 esac
17390 ;;
17391
17392 psos*)
17393 # FIXME: insert proper C++ library support
17394 ld_shlibs_CXX=no
17395 ;;
17396
17397 sunos4*)
17398 case $cc_basename in
17399 CC*)
17400 # Sun C++ 4.x
17401 # FIXME: insert proper C++ library support
17402 ld_shlibs_CXX=no
17403 ;;
17404 lcc*)
17405 # Lucid
17406 # FIXME: insert proper C++ library support
17407 ld_shlibs_CXX=no
17408 ;;
17409 *)
17410 # FIXME: insert proper C++ library support
17411 ld_shlibs_CXX=no
17412 ;;
17413 esac
17414 ;;
17415
17416 solaris*)
17417 case $cc_basename in
17418 CC* | sunCC*)
17419 # Sun C++ 4.2, 5.x and Centerline C++
17420 archive_cmds_need_lc_CXX=yes
17421 no_undefined_flag_CXX=' -zdefs'
17422 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17423 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17424 $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'
17425
17426 hardcode_libdir_flag_spec_CXX='-R$libdir'
17427 hardcode_shlibpath_var_CXX=no
17428 case $host_os in
17429 solaris2.[0-5] | solaris2.[0-5].*) ;;
17430 *)
17431 # The compiler driver will combine and reorder linker options,
17432 # but understands `-z linker_flag'.
17433 # Supported since Solaris 2.6 (maybe 2.5.1?)
17434 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
17435 ;;
17436 esac
17437 link_all_deplibs_CXX=yes
17438
17439 output_verbose_link_cmd='func_echo_all'
17440
17441 # Archives containing C++ object files must be created using
17442 # "CC -xar", where "CC" is the Sun C++ compiler. This is
17443 # necessary to make sure instantiated templates are included
17444 # in the archive.
17445 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
17446 ;;
17447 gcx*)
17448 # Green Hills C++ Compiler
17449 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17450
17451 # The C++ compiler must be used to create the archive.
17452 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
17453 ;;
17454 *)
17455 # GNU C++ compiler with Solaris linker
17456 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17457 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
17458 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
17459 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17460 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17461 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
17462
17463 # Commands to make compiler produce verbose output that lists
17464 # what "hidden" libraries, object files and flags are used when
17465 # linking a shared library.
17466 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17467 else
17468 # g++ 2.7 appears to require `-G' NOT `-shared' on this
17469 # platform.
17470 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17471 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17472 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
17473
17474 # Commands to make compiler produce verbose output that lists
17475 # what "hidden" libraries, object files and flags are used when
17476 # linking a shared library.
17477 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17478 fi
17479
17480 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
17481 case $host_os in
17482 solaris2.[0-5] | solaris2.[0-5].*) ;;
17483 *)
17484 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17485 ;;
17486 esac
17487 fi
17488 ;;
17489 esac
17490 ;;
17491
17492 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17493 no_undefined_flag_CXX='${wl}-z,text'
17494 archive_cmds_need_lc_CXX=no
17495 hardcode_shlibpath_var_CXX=no
17496 runpath_var='LD_RUN_PATH'
17497
17498 case $cc_basename in
17499 CC*)
17500 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17501 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17502 ;;
17503 *)
17504 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17505 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17506 ;;
17507 esac
17508 ;;
17509
17510 sysv5* | sco3.2v5* | sco5v6*)
17511 # Note: We can NOT use -z defs as we might desire, because we do not
17512 # link with -lc, and that would cause any symbols used from libc to
17513 # always be unresolved, which means just about no library would
17514 # ever link correctly. If we're not using GNU ld we use -z text
17515 # though, which does catch some bad symbols but isn't as heavy-handed
17516 # as -z defs.
17517 no_undefined_flag_CXX='${wl}-z,text'
17518 allow_undefined_flag_CXX='${wl}-z,nodefs'
17519 archive_cmds_need_lc_CXX=no
17520 hardcode_shlibpath_var_CXX=no
17521 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
17522 hardcode_libdir_separator_CXX=':'
17523 link_all_deplibs_CXX=yes
17524 export_dynamic_flag_spec_CXX='${wl}-Bexport'
17525 runpath_var='LD_RUN_PATH'
17526
17527 case $cc_basename in
17528 CC*)
17529 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17530 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17531 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
17532 '"$old_archive_cmds_CXX"
17533 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
17534 '"$reload_cmds_CXX"
17535 ;;
17536 *)
17537 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17538 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17539 ;;
17540 esac
17541 ;;
17542
17543 tandem*)
17544 case $cc_basename in
17545 NCC*)
17546 # NonStop-UX NCC 3.20
17547 # FIXME: insert proper C++ library support
17548 ld_shlibs_CXX=no
17549 ;;
17550 *)
17551 # FIXME: insert proper C++ library support
17552 ld_shlibs_CXX=no
17553 ;;
17554 esac
17555 ;;
17556
17557 vxworks*)
17558 # FIXME: insert proper C++ library support
17559 ld_shlibs_CXX=no
17560 ;;
17561
17562 *)
17563 # FIXME: insert proper C++ library support
17564 ld_shlibs_CXX=no
17565 ;;
17566 esac
17567
17568 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
17569 $as_echo "$ld_shlibs_CXX" >&6; }
17570 test "$ld_shlibs_CXX" = no && can_build_shared=no
17571
17572 GCC_CXX="$GXX"
17573 LD_CXX="$LD"
17574
17575 ## CAVEAT EMPTOR:
17576 ## There is no encapsulation within the following macros, do not change
17577 ## the running order or otherwise move them around unless you know exactly
17578 ## what you are doing...
17579 # Dependencies to place before and after the object being linked:
17580 predep_objects_CXX=
17581 postdep_objects_CXX=
17582 predeps_CXX=
17583 postdeps_CXX=
17584 compiler_lib_search_path_CXX=
17585
17586 cat > conftest.$ac_ext <<_LT_EOF
17587 class Foo
17588 {
17589 public:
17590 Foo (void) { a = 0; }
17591 private:
17592 int a;
17593 };
17594 _LT_EOF
17595
17596
17597 _lt_libdeps_save_CFLAGS=$CFLAGS
17598 case "$CC $CFLAGS " in #(
17599 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
17600 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
17601 esac
17602
17603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17604 (eval $ac_compile) 2>&5
17605 ac_status=$?
17606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); }; then
17608 # Parse the compiler output and extract the necessary
17609 # objects, libraries and library flags.
17610
17611 # Sentinel used to keep track of whether or not we are before
17612 # the conftest object file.
17613 pre_test_object_deps_done=no
17614
17615 for p in `eval "$output_verbose_link_cmd"`; do
17616 case ${prev}${p} in
17617
17618 -L* | -R* | -l*)
17619 # Some compilers place space between "-{L,R}" and the path.
17620 # Remove the space.
17621 if test $p = "-L" ||
17622 test $p = "-R"; then
17623 prev=$p
17624 continue
17625 fi
17626
17627 # Expand the sysroot to ease extracting the directories later.
17628 if test -z "$prev"; then
17629 case $p in
17630 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
17631 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
17632 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
17633 esac
17634 fi
17635 case $p in
17636 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
17637 esac
17638 if test "$pre_test_object_deps_done" = no; then
17639 case ${prev} in
17640 -L | -R)
17641 # Internal compiler library paths should come after those
17642 # provided the user. The postdeps already come after the
17643 # user supplied libs so there is no need to process them.
17644 if test -z "$compiler_lib_search_path_CXX"; then
17645 compiler_lib_search_path_CXX="${prev}${p}"
17646 else
17647 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
17648 fi
17649 ;;
17650 # The "-l" case would never come before the object being
17651 # linked, so don't bother handling this case.
17652 esac
17653 else
17654 if test -z "$postdeps_CXX"; then
17655 postdeps_CXX="${prev}${p}"
17656 else
17657 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
17658 fi
17659 fi
17660 prev=
17661 ;;
17662
17663 *.lto.$objext) ;; # Ignore GCC LTO objects
17664 *.$objext)
17665 # This assumes that the test object file only shows up
17666 # once in the compiler output.
17667 if test "$p" = "conftest.$objext"; then
17668 pre_test_object_deps_done=yes
17669 continue
17670 fi
17671
17672 if test "$pre_test_object_deps_done" = no; then
17673 if test -z "$predep_objects_CXX"; then
17674 predep_objects_CXX="$p"
17675 else
17676 predep_objects_CXX="$predep_objects_CXX $p"
17677 fi
17678 else
17679 if test -z "$postdep_objects_CXX"; then
17680 postdep_objects_CXX="$p"
17681 else
17682 postdep_objects_CXX="$postdep_objects_CXX $p"
17683 fi
17684 fi
17685 ;;
17686
17687 *) ;; # Ignore the rest.
17688
17689 esac
17690 done
17691
17692 # Clean up.
17693 rm -f a.out a.exe
17694 else
17695 echo "libtool.m4: error: problem compiling CXX test program"
17696 fi
17697
17698 $RM -f confest.$objext
17699 CFLAGS=$_lt_libdeps_save_CFLAGS
17700
17701 # PORTME: override above test on systems where it is broken
17702 case $host_os in
17703 interix[3-9]*)
17704 # Interix 3.5 installs completely hosed .la files for C++, so rather than
17705 # hack all around it, let's just trust "g++" to DTRT.
17706 predep_objects_CXX=
17707 postdep_objects_CXX=
17708 postdeps_CXX=
17709 ;;
17710
17711 linux*)
17712 case `$CC -V 2>&1 | sed 5q` in
17713 *Sun\ C*)
17714 # Sun C++ 5.9
17715
17716 # The more standards-conforming stlport4 library is
17717 # incompatible with the Cstd library. Avoid specifying
17718 # it if it's in CXXFLAGS. Ignore libCrun as
17719 # -library=stlport4 depends on it.
17720 case " $CXX $CXXFLAGS " in
17721 *" -library=stlport4 "*)
17722 solaris_use_stlport4=yes
17723 ;;
17724 esac
17725
17726 if test "$solaris_use_stlport4" != yes; then
17727 postdeps_CXX='-library=Cstd -library=Crun'
17728 fi
17729 ;;
17730 esac
17731 ;;
17732
17733 solaris*)
17734 case $cc_basename in
17735 CC* | sunCC*)
17736 # The more standards-conforming stlport4 library is
17737 # incompatible with the Cstd library. Avoid specifying
17738 # it if it's in CXXFLAGS. Ignore libCrun as
17739 # -library=stlport4 depends on it.
17740 case " $CXX $CXXFLAGS " in
17741 *" -library=stlport4 "*)
17742 solaris_use_stlport4=yes
17743 ;;
17744 esac
17745
17746 # Adding this requires a known-good setup of shared libraries for
17747 # Sun compiler versions before 5.6, else PIC objects from an old
17748 # archive will be linked into the output, leading to subtle bugs.
17749 if test "$solaris_use_stlport4" != yes; then
17750 postdeps_CXX='-library=Cstd -library=Crun'
17751 fi
17752 ;;
17753 esac
17754 ;;
17755 esac
17756
17757
17758 case " $postdeps_CXX " in
17759 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
17760 esac
17761 compiler_lib_search_dirs_CXX=
17762 if test -n "${compiler_lib_search_path_CXX}"; then
17763 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
17764 fi
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796 lt_prog_compiler_wl_CXX=
17797 lt_prog_compiler_pic_CXX=
17798 lt_prog_compiler_static_CXX=
17799
17800
17801 # C++ specific cases for pic, static, wl, etc.
17802 if test "$GXX" = yes; then
17803 lt_prog_compiler_wl_CXX='-Wl,'
17804 lt_prog_compiler_static_CXX='-static'
17805
17806 case $host_os in
17807 aix*)
17808 # All AIX code is PIC.
17809 if test "$host_cpu" = ia64; then
17810 # AIX 5 now supports IA64 processor
17811 lt_prog_compiler_static_CXX='-Bstatic'
17812 fi
17813 ;;
17814
17815 amigaos*)
17816 case $host_cpu in
17817 powerpc)
17818 # see comment about AmigaOS4 .so support
17819 lt_prog_compiler_pic_CXX='-fPIC'
17820 ;;
17821 m68k)
17822 # FIXME: we need at least 68020 code to build shared libraries, but
17823 # adding the `-m68020' flag to GCC prevents building anything better,
17824 # like `-m68040'.
17825 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
17826 ;;
17827 esac
17828 ;;
17829
17830 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17831 # PIC is the default for these OSes.
17832 ;;
17833 mingw* | cygwin* | os2* | pw32* | cegcc*)
17834 # This hack is so that the source file can tell whether it is being
17835 # built for inclusion in a dll (and should export symbols for example).
17836 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17837 # (--disable-auto-import) libraries
17838 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
17839 ;;
17840 darwin* | rhapsody*)
17841 # PIC is the default on this platform
17842 # Common symbols not allowed in MH_DYLIB files
17843 lt_prog_compiler_pic_CXX='-fno-common'
17844 ;;
17845 *djgpp*)
17846 # DJGPP does not support shared libraries at all
17847 lt_prog_compiler_pic_CXX=
17848 ;;
17849 haiku*)
17850 # PIC is the default for Haiku.
17851 # The "-static" flag exists, but is broken.
17852 lt_prog_compiler_static_CXX=
17853 ;;
17854 interix[3-9]*)
17855 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17856 # Instead, we relocate shared libraries at runtime.
17857 ;;
17858 sysv4*MP*)
17859 if test -d /usr/nec; then
17860 lt_prog_compiler_pic_CXX=-Kconform_pic
17861 fi
17862 ;;
17863 hpux*)
17864 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17865 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
17866 # sets the default TLS model and affects inlining.
17867 case $host_cpu in
17868 hppa*64*)
17869 ;;
17870 *)
17871 lt_prog_compiler_pic_CXX='-fPIC'
17872 ;;
17873 esac
17874 ;;
17875 *qnx* | *nto*)
17876 # QNX uses GNU C++, but need to define -shared option too, otherwise
17877 # it will coredump.
17878 lt_prog_compiler_pic_CXX='-fPIC -shared'
17879 ;;
17880 *)
17881 lt_prog_compiler_pic_CXX='-fPIC'
17882 ;;
17883 esac
17884 else
17885 case $host_os in
17886 aix[4-9]*)
17887 # All AIX code is PIC.
17888 if test "$host_cpu" = ia64; then
17889 # AIX 5 now supports IA64 processor
17890 lt_prog_compiler_static_CXX='-Bstatic'
17891 else
17892 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
17893 fi
17894 ;;
17895 chorus*)
17896 case $cc_basename in
17897 cxch68*)
17898 # Green Hills C++ Compiler
17899 # _LT_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"
17900 ;;
17901 esac
17902 ;;
17903 mingw* | cygwin* | os2* | pw32* | cegcc*)
17904 # This hack is so that the source file can tell whether it is being
17905 # built for inclusion in a dll (and should export symbols for example).
17906 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
17907 ;;
17908 dgux*)
17909 case $cc_basename in
17910 ec++*)
17911 lt_prog_compiler_pic_CXX='-KPIC'
17912 ;;
17913 ghcx*)
17914 # Green Hills C++ Compiler
17915 lt_prog_compiler_pic_CXX='-pic'
17916 ;;
17917 *)
17918 ;;
17919 esac
17920 ;;
17921 freebsd* | dragonfly*)
17922 # FreeBSD uses GNU C++
17923 ;;
17924 hpux9* | hpux10* | hpux11*)
17925 case $cc_basename in
17926 CC*)
17927 lt_prog_compiler_wl_CXX='-Wl,'
17928 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
17929 if test "$host_cpu" != ia64; then
17930 lt_prog_compiler_pic_CXX='+Z'
17931 fi
17932 ;;
17933 aCC*)
17934 lt_prog_compiler_wl_CXX='-Wl,'
17935 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
17936 case $host_cpu in
17937 hppa*64*|ia64*)
17938 # +Z the default
17939 ;;
17940 *)
17941 lt_prog_compiler_pic_CXX='+Z'
17942 ;;
17943 esac
17944 ;;
17945 *)
17946 ;;
17947 esac
17948 ;;
17949 interix*)
17950 # This is c89, which is MS Visual C++ (no shared libs)
17951 # Anyone wants to do a port?
17952 ;;
17953 irix5* | irix6* | nonstopux*)
17954 case $cc_basename in
17955 CC*)
17956 lt_prog_compiler_wl_CXX='-Wl,'
17957 lt_prog_compiler_static_CXX='-non_shared'
17958 # CC pic flag -KPIC is the default.
17959 ;;
17960 *)
17961 ;;
17962 esac
17963 ;;
17964 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17965 case $cc_basename in
17966 KCC*)
17967 # KAI C++ Compiler
17968 lt_prog_compiler_wl_CXX='--backend -Wl,'
17969 lt_prog_compiler_pic_CXX='-fPIC'
17970 ;;
17971 ecpc* )
17972 # old Intel C++ for x86_64 which still supported -KPIC.
17973 lt_prog_compiler_wl_CXX='-Wl,'
17974 lt_prog_compiler_pic_CXX='-KPIC'
17975 lt_prog_compiler_static_CXX='-static'
17976 ;;
17977 icpc* )
17978 # Intel C++, used to be incompatible with GCC.
17979 # ICC 10 doesn't accept -KPIC any more.
17980 lt_prog_compiler_wl_CXX='-Wl,'
17981 lt_prog_compiler_pic_CXX='-fPIC'
17982 lt_prog_compiler_static_CXX='-static'
17983 ;;
17984 pgCC* | pgcpp*)
17985 # Portland Group C++ compiler
17986 lt_prog_compiler_wl_CXX='-Wl,'
17987 lt_prog_compiler_pic_CXX='-fpic'
17988 lt_prog_compiler_static_CXX='-Bstatic'
17989 ;;
17990 cxx*)
17991 # Compaq C++
17992 # Make sure the PIC flag is empty. It appears that all Alpha
17993 # Linux and Compaq Tru64 Unix objects are PIC.
17994 lt_prog_compiler_pic_CXX=
17995 lt_prog_compiler_static_CXX='-non_shared'
17996 ;;
17997 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
17998 # IBM XL 8.0, 9.0 on PPC and BlueGene
17999 lt_prog_compiler_wl_CXX='-Wl,'
18000 lt_prog_compiler_pic_CXX='-qpic'
18001 lt_prog_compiler_static_CXX='-qstaticlink'
18002 ;;
18003 *)
18004 case `$CC -V 2>&1 | sed 5q` in
18005 *Sun\ C*)
18006 # Sun C++ 5.9
18007 lt_prog_compiler_pic_CXX='-KPIC'
18008 lt_prog_compiler_static_CXX='-Bstatic'
18009 lt_prog_compiler_wl_CXX='-Qoption ld '
18010 ;;
18011 esac
18012 ;;
18013 esac
18014 ;;
18015 lynxos*)
18016 ;;
18017 m88k*)
18018 ;;
18019 mvs*)
18020 case $cc_basename in
18021 cxx*)
18022 lt_prog_compiler_pic_CXX='-W c,exportall'
18023 ;;
18024 *)
18025 ;;
18026 esac
18027 ;;
18028 netbsd*)
18029 ;;
18030 *qnx* | *nto*)
18031 # QNX uses GNU C++, but need to define -shared option too, otherwise
18032 # it will coredump.
18033 lt_prog_compiler_pic_CXX='-fPIC -shared'
18034 ;;
18035 osf3* | osf4* | osf5*)
18036 case $cc_basename in
18037 KCC*)
18038 lt_prog_compiler_wl_CXX='--backend -Wl,'
18039 ;;
18040 RCC*)
18041 # Rational C++ 2.4.1
18042 lt_prog_compiler_pic_CXX='-pic'
18043 ;;
18044 cxx*)
18045 # Digital/Compaq C++
18046 lt_prog_compiler_wl_CXX='-Wl,'
18047 # Make sure the PIC flag is empty. It appears that all Alpha
18048 # Linux and Compaq Tru64 Unix objects are PIC.
18049 lt_prog_compiler_pic_CXX=
18050 lt_prog_compiler_static_CXX='-non_shared'
18051 ;;
18052 *)
18053 ;;
18054 esac
18055 ;;
18056 psos*)
18057 ;;
18058 solaris*)
18059 case $cc_basename in
18060 CC* | sunCC*)
18061 # Sun C++ 4.2, 5.x and Centerline C++
18062 lt_prog_compiler_pic_CXX='-KPIC'
18063 lt_prog_compiler_static_CXX='-Bstatic'
18064 lt_prog_compiler_wl_CXX='-Qoption ld '
18065 ;;
18066 gcx*)
18067 # Green Hills C++ Compiler
18068 lt_prog_compiler_pic_CXX='-PIC'
18069 ;;
18070 *)
18071 ;;
18072 esac
18073 ;;
18074 sunos4*)
18075 case $cc_basename in
18076 CC*)
18077 # Sun C++ 4.x
18078 lt_prog_compiler_pic_CXX='-pic'
18079 lt_prog_compiler_static_CXX='-Bstatic'
18080 ;;
18081 lcc*)
18082 # Lucid
18083 lt_prog_compiler_pic_CXX='-pic'
18084 ;;
18085 *)
18086 ;;
18087 esac
18088 ;;
18089 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18090 case $cc_basename in
18091 CC*)
18092 lt_prog_compiler_wl_CXX='-Wl,'
18093 lt_prog_compiler_pic_CXX='-KPIC'
18094 lt_prog_compiler_static_CXX='-Bstatic'
18095 ;;
18096 esac
18097 ;;
18098 tandem*)
18099 case $cc_basename in
18100 NCC*)
18101 # NonStop-UX NCC 3.20
18102 lt_prog_compiler_pic_CXX='-KPIC'
18103 ;;
18104 *)
18105 ;;
18106 esac
18107 ;;
18108 vxworks*)
18109 ;;
18110 *)
18111 lt_prog_compiler_can_build_shared_CXX=no
18112 ;;
18113 esac
18114 fi
18115
18116 case $host_os in
18117 # For platforms which do not support PIC, -DPIC is meaningless:
18118 *djgpp*)
18119 lt_prog_compiler_pic_CXX=
18120 ;;
18121 *)
18122 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
18123 ;;
18124 esac
18125
18126 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18127 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18128 if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then
18129 $as_echo_n "(cached) " >&6
18130 else
18131 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
18132 fi
18133 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_CXX" >&5
18134 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
18135 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
18136
18137 #
18138 # Check to make sure the PIC flag actually works.
18139 #
18140 if test -n "$lt_prog_compiler_pic_CXX"; then
18141 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
18142 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
18143 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
18144 $as_echo_n "(cached) " >&6
18145 else
18146 lt_cv_prog_compiler_pic_works_CXX=no
18147 ac_outfile=conftest.$ac_objext
18148 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18149 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
18150 # Insert the option either (1) after the last *FLAGS variable, or
18151 # (2) before a word containing "conftest.", or (3) at the end.
18152 # Note that $ac_compile itself does not contain backslashes and begins
18153 # with a dollar sign (not a hyphen), so the echo should work correctly.
18154 # The option is referenced via a variable to avoid confusing sed.
18155 lt_compile=`echo "$ac_compile" | $SED \
18156 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18157 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18158 -e 's:$: $lt_compiler_flag:'`
18159 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18160 (eval "$lt_compile" 2>conftest.err)
18161 ac_status=$?
18162 cat conftest.err >&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 if (exit $ac_status) && test -s "$ac_outfile"; then
18165 # The compiler can only warn and ignore the option if not recognized
18166 # So say no if there are warnings other than the usual output.
18167 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
18168 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18169 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18170 lt_cv_prog_compiler_pic_works_CXX=yes
18171 fi
18172 fi
18173 $RM conftest*
18174
18175 fi
18176 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
18177 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
18178
18179 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
18180 case $lt_prog_compiler_pic_CXX in
18181 "" | " "*) ;;
18182 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
18183 esac
18184 else
18185 lt_prog_compiler_pic_CXX=
18186 lt_prog_compiler_can_build_shared_CXX=no
18187 fi
18188
18189 fi
18190
18191
18192
18193
18194
18195 #
18196 # Check to make sure the static flag actually works.
18197 #
18198 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
18199 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18200 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18201 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
18202 $as_echo_n "(cached) " >&6
18203 else
18204 lt_cv_prog_compiler_static_works_CXX=no
18205 save_LDFLAGS="$LDFLAGS"
18206 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18207 echo "$lt_simple_link_test_code" > conftest.$ac_ext
18208 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18209 # The linker can only warn and ignore the option if not recognized
18210 # So say no if there are warnings
18211 if test -s conftest.err; then
18212 # Append any errors to the config.log.
18213 cat conftest.err 1>&5
18214 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
18215 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18216 if diff conftest.exp conftest.er2 >/dev/null; then
18217 lt_cv_prog_compiler_static_works_CXX=yes
18218 fi
18219 else
18220 lt_cv_prog_compiler_static_works_CXX=yes
18221 fi
18222 fi
18223 $RM -r conftest*
18224 LDFLAGS="$save_LDFLAGS"
18225
18226 fi
18227 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
18228 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
18229
18230 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
18231 :
18232 else
18233 lt_prog_compiler_static_CXX=
18234 fi
18235
18236
18237
18238
18239 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18240 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18241 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
18242 $as_echo_n "(cached) " >&6
18243 else
18244 lt_cv_prog_compiler_c_o_CXX=no
18245 $RM -r conftest 2>/dev/null
18246 mkdir conftest
18247 cd conftest
18248 mkdir out
18249 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18250
18251 lt_compiler_flag="-o out/conftest2.$ac_objext"
18252 # Insert the option either (1) after the last *FLAGS variable, or
18253 # (2) before a word containing "conftest.", or (3) at the end.
18254 # Note that $ac_compile itself does not contain backslashes and begins
18255 # with a dollar sign (not a hyphen), so the echo should work correctly.
18256 lt_compile=`echo "$ac_compile" | $SED \
18257 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18258 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18259 -e 's:$: $lt_compiler_flag:'`
18260 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18261 (eval "$lt_compile" 2>out/conftest.err)
18262 ac_status=$?
18263 cat out/conftest.err >&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 if (exit $ac_status) && test -s out/conftest2.$ac_objext
18266 then
18267 # The compiler can only warn and ignore the option if not recognized
18268 # So say no if there are warnings
18269 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
18270 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18271 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18272 lt_cv_prog_compiler_c_o_CXX=yes
18273 fi
18274 fi
18275 chmod u+w . 2>&5
18276 $RM conftest*
18277 # SGI C++ compiler will create directory out/ii_files/ for
18278 # template instantiation
18279 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
18280 $RM out/* && rmdir out
18281 cd ..
18282 $RM -r conftest
18283 $RM conftest*
18284
18285 fi
18286 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18287 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18288
18289
18290
18291 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18292 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18293 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
18294 $as_echo_n "(cached) " >&6
18295 else
18296 lt_cv_prog_compiler_c_o_CXX=no
18297 $RM -r conftest 2>/dev/null
18298 mkdir conftest
18299 cd conftest
18300 mkdir out
18301 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18302
18303 lt_compiler_flag="-o out/conftest2.$ac_objext"
18304 # Insert the option either (1) after the last *FLAGS variable, or
18305 # (2) before a word containing "conftest.", or (3) at the end.
18306 # Note that $ac_compile itself does not contain backslashes and begins
18307 # with a dollar sign (not a hyphen), so the echo should work correctly.
18308 lt_compile=`echo "$ac_compile" | $SED \
18309 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18310 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18311 -e 's:$: $lt_compiler_flag:'`
18312 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18313 (eval "$lt_compile" 2>out/conftest.err)
18314 ac_status=$?
18315 cat out/conftest.err >&5
18316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 if (exit $ac_status) && test -s out/conftest2.$ac_objext
18318 then
18319 # The compiler can only warn and ignore the option if not recognized
18320 # So say no if there are warnings
18321 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
18322 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18323 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18324 lt_cv_prog_compiler_c_o_CXX=yes
18325 fi
18326 fi
18327 chmod u+w . 2>&5
18328 $RM conftest*
18329 # SGI C++ compiler will create directory out/ii_files/ for
18330 # template instantiation
18331 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
18332 $RM out/* && rmdir out
18333 cd ..
18334 $RM -r conftest
18335 $RM conftest*
18336
18337 fi
18338 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18339 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18340
18341
18342
18343
18344 hard_links="nottested"
18345 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
18346 # do not overwrite the value of need_locks provided by the user
18347 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18348 $as_echo_n "checking if we can lock with hard links... " >&6; }
18349 hard_links=yes
18350 $RM conftest*
18351 ln conftest.a conftest.b 2>/dev/null && hard_links=no
18352 touch conftest.a
18353 ln conftest.a conftest.b 2>&5 || hard_links=no
18354 ln conftest.a conftest.b 2>/dev/null && hard_links=no
18355 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
18356 $as_echo "$hard_links" >&6; }
18357 if test "$hard_links" = no; then
18358 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18359 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18360 need_locks=warn
18361 fi
18362 else
18363 need_locks=no
18364 fi
18365
18366
18367
18368 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18369 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18370
18371 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18372 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18373 case $host_os in
18374 aix[4-9]*)
18375 # If we're using GNU nm, then we don't want the "-C" option.
18376 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18377 # Also, AIX nm treats weak defined symbols like other global defined
18378 # symbols, whereas GNU nm marks them as "W".
18379 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
18380 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
18381 else
18382 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
18383 fi
18384 ;;
18385 pw32*)
18386 export_symbols_cmds_CXX="$ltdll_cmds"
18387 ;;
18388 cygwin* | mingw* | cegcc*)
18389 case $cc_basename in
18390 cl*) ;;
18391 *)
18392 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
18393 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
18394 ;;
18395 esac
18396 ;;
18397 *)
18398 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18399 ;;
18400 esac
18401
18402 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
18403 $as_echo "$ld_shlibs_CXX" >&6; }
18404 test "$ld_shlibs_CXX" = no && can_build_shared=no
18405
18406 with_gnu_ld_CXX=$with_gnu_ld
18407
18408
18409
18410
18411
18412
18413 #
18414 # Do we need to explicitly link libc?
18415 #
18416 case "x$archive_cmds_need_lc_CXX" in
18417 x|xyes)
18418 # Assume -lc should be added
18419 archive_cmds_need_lc_CXX=yes
18420
18421 if test "$enable_shared" = yes && test "$GCC" = yes; then
18422 case $archive_cmds_CXX in
18423 *'~'*)
18424 # FIXME: we may have to deal with multi-command sequences.
18425 ;;
18426 '$CC '*)
18427 # Test whether the compiler implicitly links with -lc since on some
18428 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18429 # to ld, don't add -lc before -lgcc.
18430 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18431 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18432 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
18433 $as_echo_n "(cached) " >&6
18434 else
18435 $RM conftest*
18436 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18437
18438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18439 (eval $ac_compile) 2>&5
18440 ac_status=$?
18441 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); } 2>conftest.err; then
18443 soname=conftest
18444 lib=conftest
18445 libobjs=conftest.$ac_objext
18446 deplibs=
18447 wl=$lt_prog_compiler_wl_CXX
18448 pic_flag=$lt_prog_compiler_pic_CXX
18449 compiler_flags=-v
18450 linker_flags=-v
18451 verstring=
18452 output_objdir=.
18453 libname=conftest
18454 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
18455 allow_undefined_flag_CXX=
18456 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
18457 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
18458 ac_status=$?
18459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); }
18461 then
18462 lt_cv_archive_cmds_need_lc_CXX=no
18463 else
18464 lt_cv_archive_cmds_need_lc_CXX=yes
18465 fi
18466 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
18467 else
18468 cat conftest.err 1>&5
18469 fi
18470 $RM conftest*
18471
18472 fi
18473 { $as_echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
18474 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
18475 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
18476 ;;
18477 esac
18478 fi
18479 ;;
18480 esac
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18546 $as_echo_n "checking dynamic linker characteristics... " >&6; }
18547
18548 library_names_spec=
18549 libname_spec='lib$name'
18550 soname_spec=
18551 shrext_cmds=".so"
18552 postinstall_cmds=
18553 postuninstall_cmds=
18554 finish_cmds=
18555 finish_eval=
18556 shlibpath_var=
18557 shlibpath_overrides_runpath=unknown
18558 version_type=none
18559 dynamic_linker="$host_os ld.so"
18560 sys_lib_dlsearch_path_spec="/lib /usr/lib"
18561 need_lib_prefix=unknown
18562 hardcode_into_libs=no
18563
18564 # when you set need_version to no, make sure it does not cause -set_version
18565 # flags to be left without arguments
18566 need_version=unknown
18567
18568 case $host_os in
18569 aix3*)
18570 version_type=linux
18571 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18572 shlibpath_var=LIBPATH
18573
18574 # AIX 3 has no versioning support, so we append a major version to the name.
18575 soname_spec='${libname}${release}${shared_ext}$major'
18576 ;;
18577
18578 aix[4-9]*)
18579 version_type=linux
18580 need_lib_prefix=no
18581 need_version=no
18582 hardcode_into_libs=yes
18583 if test "$host_cpu" = ia64; then
18584 # AIX 5 supports IA64
18585 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18586 shlibpath_var=LD_LIBRARY_PATH
18587 else
18588 # With GCC up to 2.95.x, collect2 would create an import file
18589 # for dependence libraries. The import file would start with
18590 # the line `#! .'. This would cause the generated library to
18591 # depend on `.', always an invalid library. This was fixed in
18592 # development snapshots of GCC prior to 3.0.
18593 case $host_os in
18594 aix4 | aix4.[01] | aix4.[01].*)
18595 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18596 echo ' yes '
18597 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
18598 :
18599 else
18600 can_build_shared=no
18601 fi
18602 ;;
18603 esac
18604 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18605 # soname into executable. Probably we can add versioning support to
18606 # collect2, so additional links can be useful in future.
18607 if test "$aix_use_runtimelinking" = yes; then
18608 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18609 # instead of lib<name>.a to let people know that these are not
18610 # typical AIX shared libraries.
18611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18612 else
18613 # We preserve .a as extension for shared libraries through AIX4.2
18614 # and later when we are not doing run time linking.
18615 library_names_spec='${libname}${release}.a $libname.a'
18616 soname_spec='${libname}${release}${shared_ext}$major'
18617 fi
18618 shlibpath_var=LIBPATH
18619 fi
18620 ;;
18621
18622 amigaos*)
18623 case $host_cpu in
18624 powerpc)
18625 # Since July 2007 AmigaOS4 officially supports .so libraries.
18626 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
18627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18628 ;;
18629 m68k)
18630 library_names_spec='$libname.ixlibrary $libname.a'
18631 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18632 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
18633 ;;
18634 esac
18635 ;;
18636
18637 beos*)
18638 library_names_spec='${libname}${shared_ext}'
18639 dynamic_linker="$host_os ld.so"
18640 shlibpath_var=LIBRARY_PATH
18641 ;;
18642
18643 bsdi[45]*)
18644 version_type=linux
18645 need_version=no
18646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18647 soname_spec='${libname}${release}${shared_ext}$major'
18648 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18649 shlibpath_var=LD_LIBRARY_PATH
18650 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18651 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18652 # the default ld.so.conf also contains /usr/contrib/lib and
18653 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18654 # libtool to hard-code these into programs
18655 ;;
18656
18657 cygwin* | mingw* | pw32* | cegcc*)
18658 version_type=windows
18659 shrext_cmds=".dll"
18660 need_version=no
18661 need_lib_prefix=no
18662
18663 case $GCC,$cc_basename in
18664 yes,*)
18665 # gcc
18666 library_names_spec='$libname.dll.a'
18667 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18668 postinstall_cmds='base_file=`basename \${file}`~
18669 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
18670 dldir=$destdir/`dirname \$dlpath`~
18671 test -d \$dldir || mkdir -p \$dldir~
18672 $install_prog $dir/$dlname \$dldir/$dlname~
18673 chmod a+x \$dldir/$dlname~
18674 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18675 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18676 fi'
18677 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18678 dlpath=$dir/\$dldll~
18679 $RM \$dlpath'
18680 shlibpath_overrides_runpath=yes
18681
18682 case $host_os in
18683 cygwin*)
18684 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18685 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18686
18687 ;;
18688 mingw* | cegcc*)
18689 # MinGW DLLs use traditional 'lib' prefix
18690 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18691 ;;
18692 pw32*)
18693 # pw32 DLLs use 'pw' prefix rather than 'lib'
18694 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18695 ;;
18696 esac
18697 dynamic_linker='Win32 ld.exe'
18698 ;;
18699
18700 *,cl*)
18701 # Native MSVC
18702 libname_spec='$name'
18703 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18704 library_names_spec='${libname}.dll.lib'
18705
18706 case $build_os in
18707 mingw*)
18708 sys_lib_search_path_spec=
18709 lt_save_ifs=$IFS
18710 IFS=';'
18711 for lt_path in $LIB
18712 do
18713 IFS=$lt_save_ifs
18714 # Let DOS variable expansion print the short 8.3 style file name.
18715 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
18716 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
18717 done
18718 IFS=$lt_save_ifs
18719 # Convert to MSYS style.
18720 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
18721 ;;
18722 cygwin*)
18723 # Convert to unix form, then to dos form, then back to unix form
18724 # but this time dos style (no spaces!) so that the unix form looks
18725 # like /cygdrive/c/PROGRA~1:/cygdr...
18726 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
18727 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
18728 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18729 ;;
18730 *)
18731 sys_lib_search_path_spec="$LIB"
18732 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
18733 # It is most probably a Windows format PATH.
18734 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18735 else
18736 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18737 fi
18738 # FIXME: find the short name or the path components, as spaces are
18739 # common. (e.g. "Program Files" -> "PROGRA~1")
18740 ;;
18741 esac
18742
18743 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18744 postinstall_cmds='base_file=`basename \${file}`~
18745 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
18746 dldir=$destdir/`dirname \$dlpath`~
18747 test -d \$dldir || mkdir -p \$dldir~
18748 $install_prog $dir/$dlname \$dldir/$dlname'
18749 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18750 dlpath=$dir/\$dldll~
18751 $RM \$dlpath'
18752 shlibpath_overrides_runpath=yes
18753 dynamic_linker='Win32 link.exe'
18754 ;;
18755
18756 *)
18757 # Assume MSVC wrapper
18758 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18759 dynamic_linker='Win32 ld.exe'
18760 ;;
18761 esac
18762 # FIXME: first we should search . and the directory the executable is in
18763 shlibpath_var=PATH
18764 ;;
18765
18766 darwin* | rhapsody*)
18767 dynamic_linker="$host_os dyld"
18768 version_type=darwin
18769 need_lib_prefix=no
18770 need_version=no
18771 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18772 soname_spec='${libname}${release}${major}$shared_ext'
18773 shlibpath_overrides_runpath=yes
18774 shlibpath_var=DYLD_LIBRARY_PATH
18775 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18776
18777 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18778 ;;
18779
18780 dgux*)
18781 version_type=linux
18782 need_lib_prefix=no
18783 need_version=no
18784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18785 soname_spec='${libname}${release}${shared_ext}$major'
18786 shlibpath_var=LD_LIBRARY_PATH
18787 ;;
18788
18789 freebsd1*)
18790 dynamic_linker=no
18791 ;;
18792
18793 freebsd* | dragonfly*)
18794 # DragonFly does not have aout. When/if they implement a new
18795 # versioning mechanism, adjust this.
18796 if test -x /usr/bin/objformat; then
18797 objformat=`/usr/bin/objformat`
18798 else
18799 case $host_os in
18800 freebsd[123]*) objformat=aout ;;
18801 *) objformat=elf ;;
18802 esac
18803 fi
18804 version_type=freebsd-$objformat
18805 case $version_type in
18806 freebsd-elf*)
18807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18808 need_version=no
18809 need_lib_prefix=no
18810 ;;
18811 freebsd-*)
18812 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18813 need_version=yes
18814 ;;
18815 esac
18816 shlibpath_var=LD_LIBRARY_PATH
18817 case $host_os in
18818 freebsd2*)
18819 shlibpath_overrides_runpath=yes
18820 ;;
18821 freebsd3.[01]* | freebsdelf3.[01]*)
18822 shlibpath_overrides_runpath=yes
18823 hardcode_into_libs=yes
18824 ;;
18825 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18826 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18827 shlibpath_overrides_runpath=no
18828 hardcode_into_libs=yes
18829 ;;
18830 *) # from 4.6 on, and DragonFly
18831 shlibpath_overrides_runpath=yes
18832 hardcode_into_libs=yes
18833 ;;
18834 esac
18835 ;;
18836
18837 gnu*)
18838 version_type=linux
18839 need_lib_prefix=no
18840 need_version=no
18841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18842 soname_spec='${libname}${release}${shared_ext}$major'
18843 shlibpath_var=LD_LIBRARY_PATH
18844 hardcode_into_libs=yes
18845 ;;
18846
18847 haiku*)
18848 version_type=linux
18849 need_lib_prefix=no
18850 need_version=no
18851 dynamic_linker="$host_os runtime_loader"
18852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18853 soname_spec='${libname}${release}${shared_ext}$major'
18854 shlibpath_var=LIBRARY_PATH
18855 shlibpath_overrides_runpath=yes
18856 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
18857 hardcode_into_libs=yes
18858 ;;
18859
18860 hpux9* | hpux10* | hpux11*)
18861 # Give a soname corresponding to the major version so that dld.sl refuses to
18862 # link against other versions.
18863 version_type=sunos
18864 need_lib_prefix=no
18865 need_version=no
18866 case $host_cpu in
18867 ia64*)
18868 shrext_cmds='.so'
18869 hardcode_into_libs=yes
18870 dynamic_linker="$host_os dld.so"
18871 shlibpath_var=LD_LIBRARY_PATH
18872 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18874 soname_spec='${libname}${release}${shared_ext}$major'
18875 if test "X$HPUX_IA64_MODE" = X32; then
18876 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18877 else
18878 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18879 fi
18880 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18881 ;;
18882 hppa*64*)
18883 shrext_cmds='.sl'
18884 hardcode_into_libs=yes
18885 dynamic_linker="$host_os dld.sl"
18886 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18887 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18889 soname_spec='${libname}${release}${shared_ext}$major'
18890 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18891 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18892 ;;
18893 *)
18894 shrext_cmds='.sl'
18895 dynamic_linker="$host_os dld.sl"
18896 shlibpath_var=SHLIB_PATH
18897 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18899 soname_spec='${libname}${release}${shared_ext}$major'
18900 ;;
18901 esac
18902 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
18903 postinstall_cmds='chmod 555 $lib'
18904 # or fails outright, so override atomically:
18905 install_override_mode=555
18906 ;;
18907
18908 interix[3-9]*)
18909 version_type=linux
18910 need_lib_prefix=no
18911 need_version=no
18912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18913 soname_spec='${libname}${release}${shared_ext}$major'
18914 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18915 shlibpath_var=LD_LIBRARY_PATH
18916 shlibpath_overrides_runpath=no
18917 hardcode_into_libs=yes
18918 ;;
18919
18920 irix5* | irix6* | nonstopux*)
18921 case $host_os in
18922 nonstopux*) version_type=nonstopux ;;
18923 *)
18924 if test "$lt_cv_prog_gnu_ld" = yes; then
18925 version_type=linux
18926 else
18927 version_type=irix
18928 fi ;;
18929 esac
18930 need_lib_prefix=no
18931 need_version=no
18932 soname_spec='${libname}${release}${shared_ext}$major'
18933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18934 case $host_os in
18935 irix5* | nonstopux*)
18936 libsuff= shlibsuff=
18937 ;;
18938 *)
18939 case $LD in # libtool.m4 will add one of these switches to LD
18940 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18941 libsuff= shlibsuff= libmagic=32-bit;;
18942 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18943 libsuff=32 shlibsuff=N32 libmagic=N32;;
18944 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18945 libsuff=64 shlibsuff=64 libmagic=64-bit;;
18946 *) libsuff= shlibsuff= libmagic=never-match;;
18947 esac
18948 ;;
18949 esac
18950 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18951 shlibpath_overrides_runpath=no
18952 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18953 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18954 hardcode_into_libs=yes
18955 ;;
18956
18957 # No shared lib support for Linux oldld, aout, or coff.
18958 linux*oldld* | linux*aout* | linux*coff*)
18959 dynamic_linker=no
18960 ;;
18961
18962 # This must be Linux ELF.
18963 linux* | k*bsd*-gnu | kopensolaris*-gnu)
18964 version_type=linux
18965 need_lib_prefix=no
18966 need_version=no
18967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18968 soname_spec='${libname}${release}${shared_ext}$major'
18969 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18970 shlibpath_var=LD_LIBRARY_PATH
18971 shlibpath_overrides_runpath=no
18972
18973 # Some binutils ld are patched to set DT_RUNPATH
18974 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
18975 $as_echo_n "(cached) " >&6
18976 else
18977 lt_cv_shlibpath_overrides_runpath=no
18978 save_LDFLAGS=$LDFLAGS
18979 save_libdir=$libdir
18980 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
18981 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
18982 cat >conftest.$ac_ext <<_ACEOF
18983 /* confdefs.h. */
18984 _ACEOF
18985 cat confdefs.h >>conftest.$ac_ext
18986 cat >>conftest.$ac_ext <<_ACEOF
18987 /* end confdefs.h. */
18988
18989 int
18990 main ()
18991 {
18992
18993 ;
18994 return 0;
18995 }
18996 _ACEOF
18997 rm -f conftest.$ac_objext conftest$ac_exeext
18998 if { (ac_try="$ac_link"
18999 case "(($ac_try" in
19000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19001 *) ac_try_echo=$ac_try;;
19002 esac
19003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19004 $as_echo "$ac_try_echo") >&5
19005 (eval "$ac_link") 2>conftest.er1
19006 ac_status=$?
19007 grep -v '^ *+' conftest.er1 >conftest.err
19008 rm -f conftest.er1
19009 cat conftest.err >&5
19010 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011 (exit $ac_status); } && {
19012 test -z "$ac_cxx_werror_flag" ||
19013 test ! -s conftest.err
19014 } && test -s conftest$ac_exeext && {
19015 test "$cross_compiling" = yes ||
19016 $as_test_x conftest$ac_exeext
19017 }; then
19018 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
19019 lt_cv_shlibpath_overrides_runpath=yes
19020 fi
19021
19022 else
19023 $as_echo "$as_me: failed program was:" >&5
19024 sed 's/^/| /' conftest.$ac_ext >&5
19025
19026
19027 fi
19028
19029 rm -rf conftest.dSYM
19030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19031 conftest$ac_exeext conftest.$ac_ext
19032 LDFLAGS=$save_LDFLAGS
19033 libdir=$save_libdir
19034
19035 fi
19036
19037 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
19038
19039 # This implies no fast_install, which is unacceptable.
19040 # Some rework will be needed to allow for fast_install
19041 # before this can be enabled.
19042 hardcode_into_libs=yes
19043
19044 # Append ld.so.conf contents to the search path
19045 if test -f /etc/ld.so.conf; then
19046 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
19047 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19048 fi
19049
19050 # We used to test for /lib/ld.so.1 and disable shared libraries on
19051 # powerpc, because MkLinux only supported shared libraries with the
19052 # GNU dynamic linker. Since this was broken with cross compilers,
19053 # most powerpc-linux boxes support dynamic linking these days and
19054 # people can always --disable-shared, the test was removed, and we
19055 # assume the GNU/Linux dynamic linker is in use.
19056 dynamic_linker='GNU/Linux ld.so'
19057 ;;
19058
19059 netbsd*)
19060 version_type=sunos
19061 need_lib_prefix=no
19062 need_version=no
19063 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19065 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19066 dynamic_linker='NetBSD (a.out) ld.so'
19067 else
19068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19069 soname_spec='${libname}${release}${shared_ext}$major'
19070 dynamic_linker='NetBSD ld.elf_so'
19071 fi
19072 shlibpath_var=LD_LIBRARY_PATH
19073 shlibpath_overrides_runpath=yes
19074 hardcode_into_libs=yes
19075 ;;
19076
19077 newsos6)
19078 version_type=linux
19079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19080 shlibpath_var=LD_LIBRARY_PATH
19081 shlibpath_overrides_runpath=yes
19082 ;;
19083
19084 *nto* | *qnx*)
19085 version_type=qnx
19086 need_lib_prefix=no
19087 need_version=no
19088 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19089 soname_spec='${libname}${release}${shared_ext}$major'
19090 shlibpath_var=LD_LIBRARY_PATH
19091 shlibpath_overrides_runpath=no
19092 hardcode_into_libs=yes
19093 dynamic_linker='ldqnx.so'
19094 ;;
19095
19096 openbsd*)
19097 version_type=sunos
19098 sys_lib_dlsearch_path_spec="/usr/lib"
19099 need_lib_prefix=no
19100 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19101 case $host_os in
19102 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19103 *) need_version=no ;;
19104 esac
19105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19106 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19107 shlibpath_var=LD_LIBRARY_PATH
19108 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19109 case $host_os in
19110 openbsd2.[89] | openbsd2.[89].*)
19111 shlibpath_overrides_runpath=no
19112 ;;
19113 *)
19114 shlibpath_overrides_runpath=yes
19115 ;;
19116 esac
19117 else
19118 shlibpath_overrides_runpath=yes
19119 fi
19120 ;;
19121
19122 os2*)
19123 libname_spec='$name'
19124 shrext_cmds=".dll"
19125 need_lib_prefix=no
19126 library_names_spec='$libname${shared_ext} $libname.a'
19127 dynamic_linker='OS/2 ld.exe'
19128 shlibpath_var=LIBPATH
19129 ;;
19130
19131 osf3* | osf4* | osf5*)
19132 version_type=osf
19133 need_lib_prefix=no
19134 need_version=no
19135 soname_spec='${libname}${release}${shared_ext}$major'
19136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19137 shlibpath_var=LD_LIBRARY_PATH
19138 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19139 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19140 ;;
19141
19142 rdos*)
19143 dynamic_linker=no
19144 ;;
19145
19146 solaris*)
19147 version_type=linux
19148 need_lib_prefix=no
19149 need_version=no
19150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19151 soname_spec='${libname}${release}${shared_ext}$major'
19152 shlibpath_var=LD_LIBRARY_PATH
19153 shlibpath_overrides_runpath=yes
19154 hardcode_into_libs=yes
19155 # ldd complains unless libraries are executable
19156 postinstall_cmds='chmod +x $lib'
19157 ;;
19158
19159 sunos4*)
19160 version_type=sunos
19161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19162 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19163 shlibpath_var=LD_LIBRARY_PATH
19164 shlibpath_overrides_runpath=yes
19165 if test "$with_gnu_ld" = yes; then
19166 need_lib_prefix=no
19167 fi
19168 need_version=yes
19169 ;;
19170
19171 sysv4 | sysv4.3*)
19172 version_type=linux
19173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19174 soname_spec='${libname}${release}${shared_ext}$major'
19175 shlibpath_var=LD_LIBRARY_PATH
19176 case $host_vendor in
19177 sni)
19178 shlibpath_overrides_runpath=no
19179 need_lib_prefix=no
19180 runpath_var=LD_RUN_PATH
19181 ;;
19182 siemens)
19183 need_lib_prefix=no
19184 ;;
19185 motorola)
19186 need_lib_prefix=no
19187 need_version=no
19188 shlibpath_overrides_runpath=no
19189 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19190 ;;
19191 esac
19192 ;;
19193
19194 sysv4*MP*)
19195 if test -d /usr/nec ;then
19196 version_type=linux
19197 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19198 soname_spec='$libname${shared_ext}.$major'
19199 shlibpath_var=LD_LIBRARY_PATH
19200 fi
19201 ;;
19202
19203 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19204 version_type=freebsd-elf
19205 need_lib_prefix=no
19206 need_version=no
19207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19208 soname_spec='${libname}${release}${shared_ext}$major'
19209 shlibpath_var=LD_LIBRARY_PATH
19210 shlibpath_overrides_runpath=yes
19211 hardcode_into_libs=yes
19212 if test "$with_gnu_ld" = yes; then
19213 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19214 else
19215 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19216 case $host_os in
19217 sco3.2v5*)
19218 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19219 ;;
19220 esac
19221 fi
19222 sys_lib_dlsearch_path_spec='/usr/lib'
19223 ;;
19224
19225 tpf*)
19226 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
19227 version_type=linux
19228 need_lib_prefix=no
19229 need_version=no
19230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19231 shlibpath_var=LD_LIBRARY_PATH
19232 shlibpath_overrides_runpath=no
19233 hardcode_into_libs=yes
19234 ;;
19235
19236 uts4*)
19237 version_type=linux
19238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19239 soname_spec='${libname}${release}${shared_ext}$major'
19240 shlibpath_var=LD_LIBRARY_PATH
19241 ;;
19242
19243 *)
19244 dynamic_linker=no
19245 ;;
19246 esac
19247 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19248 $as_echo "$dynamic_linker" >&6; }
19249 test "$dynamic_linker" = no && can_build_shared=no
19250
19251 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19252 if test "$GCC" = yes; then
19253 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19254 fi
19255
19256 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19257 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
19258 fi
19259 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19260 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
19261 fi
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19301 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19302 hardcode_action_CXX=
19303 if test -n "$hardcode_libdir_flag_spec_CXX" ||
19304 test -n "$runpath_var_CXX" ||
19305 test "X$hardcode_automatic_CXX" = "Xyes" ; then
19306
19307 # We can hardcode non-existent directories.
19308 if test "$hardcode_direct_CXX" != no &&
19309 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19310 # have to relink, otherwise we might link with an installed library
19311 # when we should be linking with a yet-to-be-installed one
19312 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
19313 test "$hardcode_minus_L_CXX" != no; then
19314 # Linking always hardcodes the temporary library directory.
19315 hardcode_action_CXX=relink
19316 else
19317 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19318 hardcode_action_CXX=immediate
19319 fi
19320 else
19321 # We cannot hardcode anything, or else we can only hardcode existing
19322 # directories.
19323 hardcode_action_CXX=unsupported
19324 fi
19325 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
19326 $as_echo "$hardcode_action_CXX" >&6; }
19327
19328 if test "$hardcode_action_CXX" = relink ||
19329 test "$inherit_rpath_CXX" = yes; then
19330 # Fast installation is not supported
19331 enable_fast_install=no
19332 elif test "$shlibpath_overrides_runpath" = yes ||
19333 test "$enable_shared" = no; then
19334 # Fast installation is not necessary
19335 enable_fast_install=needless
19336 fi
19337
19338
19339
19340
19341
19342
19343
19344 fi # test -n "$compiler"
19345
19346 CC=$lt_save_CC
19347 CFLAGS=$lt_save_CFLAGS
19348 LDCXX=$LD
19349 LD=$lt_save_LD
19350 GCC=$lt_save_GCC
19351 with_gnu_ld=$lt_save_with_gnu_ld
19352 lt_cv_path_LDCXX=$lt_cv_path_LD
19353 lt_cv_path_LD=$lt_save_path_LD
19354 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
19355 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
19356 fi # test "$_lt_caught_CXX_error" != yes
19357
19358 ac_ext=cpp
19359 ac_cpp='$CXXCPP $CPPFLAGS'
19360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376 ac_config_commands="$ac_config_commands libtool"
19377
19378
19379
19380
19381 # Only expand once:
19382
19383
19384
19385 # Extract the first word of "pkg-config", so it can be a program name with args.
19386 set dummy pkg-config; ac_word=$2
19387 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19388 $as_echo_n "checking for $ac_word... " >&6; }
19389 if test "${ac_cv_prog_PKGCONFIG+set}" = set; then
19390 $as_echo_n "(cached) " >&6
19391 else
19392 if test -n "$PKGCONFIG"; then
19393 ac_cv_prog_PKGCONFIG="$PKGCONFIG" # Let the user override the test.
19394 else
19395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19396 for as_dir in $PATH
19397 do
19398 IFS=$as_save_IFS
19399 test -z "$as_dir" && as_dir=.
19400 for ac_exec_ext in '' $ac_executable_extensions; do
19401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19402 ac_cv_prog_PKGCONFIG="yes"
19403 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19404 break 2
19405 fi
19406 done
19407 done
19408 IFS=$as_save_IFS
19409
19410 test -z "$ac_cv_prog_PKGCONFIG" && ac_cv_prog_PKGCONFIG="no"
19411 fi
19412 fi
19413 PKGCONFIG=$ac_cv_prog_PKGCONFIG
19414 if test -n "$PKGCONFIG"; then
19415 { $as_echo "$as_me:$LINENO: result: $PKGCONFIG" >&5
19416 $as_echo "$PKGCONFIG" >&6; }
19417 else
19418 { $as_echo "$as_me:$LINENO: result: no" >&5
19419 $as_echo "no" >&6; }
19420 fi
19421
19422
19423
19424 if test "x$PKGCONFIG" = "xno" ; then
19425 { $as_echo "$as_me:$LINENO: WARNING: pkg-config not found in PATH. Please install it first. ACE will not be used." >&5
19426 $as_echo "$as_me: WARNING: pkg-config not found in PATH. Please install it first. ACE will not be used." >&2;}
19427
19428 cat >>confdefs.h <<\_ACEOF
19429 #define HAVE_ACE 0
19430 _ACEOF
19431
19432 else
19433
19434
19435
19436
19437
19438
19439 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19440 if test -n "$ac_tool_prefix"; then
19441 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19442 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19443 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19444 $as_echo_n "checking for $ac_word... " >&6; }
19445 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19446 $as_echo_n "(cached) " >&6
19447 else
19448 case $PKG_CONFIG in
19449 [\\/]* | ?:[\\/]*)
19450 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19451 ;;
19452 *)
19453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19454 for as_dir in $PATH
19455 do
19456 IFS=$as_save_IFS
19457 test -z "$as_dir" && as_dir=.
19458 for ac_exec_ext in '' $ac_executable_extensions; do
19459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19460 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19461 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19462 break 2
19463 fi
19464 done
19465 done
19466 IFS=$as_save_IFS
19467
19468 ;;
19469 esac
19470 fi
19471 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19472 if test -n "$PKG_CONFIG"; then
19473 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19474 $as_echo "$PKG_CONFIG" >&6; }
19475 else
19476 { $as_echo "$as_me:$LINENO: result: no" >&5
19477 $as_echo "no" >&6; }
19478 fi
19479
19480
19481 fi
19482 if test -z "$ac_cv_path_PKG_CONFIG"; then
19483 ac_pt_PKG_CONFIG=$PKG_CONFIG
19484 # Extract the first word of "pkg-config", so it can be a program name with args.
19485 set dummy pkg-config; ac_word=$2
19486 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19487 $as_echo_n "checking for $ac_word... " >&6; }
19488 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
19489 $as_echo_n "(cached) " >&6
19490 else
19491 case $ac_pt_PKG_CONFIG in
19492 [\\/]* | ?:[\\/]*)
19493 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19494 ;;
19495 *)
19496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19497 for as_dir in $PATH
19498 do
19499 IFS=$as_save_IFS
19500 test -z "$as_dir" && as_dir=.
19501 for ac_exec_ext in '' $ac_executable_extensions; do
19502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19503 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19504 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19505 break 2
19506 fi
19507 done
19508 done
19509 IFS=$as_save_IFS
19510
19511 ;;
19512 esac
19513 fi
19514 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19515 if test -n "$ac_pt_PKG_CONFIG"; then
19516 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
19517 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
19518 else
19519 { $as_echo "$as_me:$LINENO: result: no" >&5
19520 $as_echo "no" >&6; }
19521 fi
19522
19523 if test "x$ac_pt_PKG_CONFIG" = x; then
19524 PKG_CONFIG=""
19525 else
19526 case $cross_compiling:$ac_tool_warned in
19527 yes:)
19528 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
19529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19530 ac_tool_warned=yes ;;
19531 esac
19532 PKG_CONFIG=$ac_pt_PKG_CONFIG
19533 fi
19534 else
19535 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19536 fi
19537
19538 fi
19539 if test -n "$PKG_CONFIG"; then
19540 _pkg_min_version=0.9.0
19541 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
19542 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19543 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19544 { $as_echo "$as_me:$LINENO: result: yes" >&5
19545 $as_echo "yes" >&6; }
19546 else
19547 { $as_echo "$as_me:$LINENO: result: no" >&5
19548 $as_echo "no" >&6; }
19549 PKG_CONFIG=""
19550 fi
19551 fi
19552
19553
19554 pkg_failed=no
19555 { $as_echo "$as_me:$LINENO: checking for ACE" >&5
19556 $as_echo_n "checking for ACE... " >&6; }
19557
19558 if test -n "$ACE_CFLAGS"; then
19559 pkg_cv_ACE_CFLAGS="$ACE_CFLAGS"
19560 elif test -n "$PKG_CONFIG"; then
19561 if test -n "$PKG_CONFIG" && \
19562 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ACE\"") >&5
19563 ($PKG_CONFIG --exists --print-errors "ACE") 2>&5
19564 ac_status=$?
19565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); }; then
19567 pkg_cv_ACE_CFLAGS=`$PKG_CONFIG --cflags "ACE" 2>/dev/null`
19568 else
19569 pkg_failed=yes
19570 fi
19571 else
19572 pkg_failed=untried
19573 fi
19574 if test -n "$ACE_LIBS"; then
19575 pkg_cv_ACE_LIBS="$ACE_LIBS"
19576 elif test -n "$PKG_CONFIG"; then
19577 if test -n "$PKG_CONFIG" && \
19578 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ACE\"") >&5
19579 ($PKG_CONFIG --exists --print-errors "ACE") 2>&5
19580 ac_status=$?
19581 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); }; then
19583 pkg_cv_ACE_LIBS=`$PKG_CONFIG --libs "ACE" 2>/dev/null`
19584 else
19585 pkg_failed=yes
19586 fi
19587 else
19588 pkg_failed=untried
19589 fi
19590
19591
19592
19593 if test $pkg_failed = yes; then
19594 { $as_echo "$as_me:$LINENO: result: no" >&5
19595 $as_echo "no" >&6; }
19596
19597 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19598 _pkg_short_errors_supported=yes
19599 else
19600 _pkg_short_errors_supported=no
19601 fi
19602 if test $_pkg_short_errors_supported = yes; then
19603 ACE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ACE" 2>&1`
19604 else
19605 ACE_PKG_ERRORS=`$PKG_CONFIG --print-errors "ACE" 2>&1`
19606 fi
19607 # Put the nasty error message in config.log where it belongs
19608 echo "$ACE_PKG_ERRORS" >&5
19609
19610
19611
19612 cat >>confdefs.h <<\_ACEOF
19613 #define HAVE_ACE 0
19614 _ACEOF
19615
19616
19617 elif test $pkg_failed = untried; then
19618 { $as_echo "$as_me:$LINENO: result: no" >&5
19619 $as_echo "no" >&6; }
19620
19621
19622 cat >>confdefs.h <<\_ACEOF
19623 #define HAVE_ACE 0
19624 _ACEOF
19625
19626
19627 else
19628 ACE_CFLAGS=$pkg_cv_ACE_CFLAGS
19629 ACE_LIBS=$pkg_cv_ACE_LIBS
19630 { $as_echo "$as_me:$LINENO: result: yes" >&5
19631 $as_echo "yes" >&6; }
19632
19633
19634 cat >>confdefs.h <<\_ACEOF
19635 #define HAVE_ACE 1
19636 _ACEOF
19637
19638 LDFLAGS="$LDFLAGS -lACE -lpthread"
19639 fi
19640 fi
19641
19642 # Check whether --enable-install-headers was given.
19643 if test "${enable_install_headers+set}" = set; then
19644 enableval=$enable_install_headers; if test "x$enableval" != "xno" ; then
19645 enable_install_headers=--install-headers
19646
19647 else
19648 enable_install_headers=""
19649
19650 fi
19651 else
19652 enable_install_headers=""
19653
19654
19655 fi
19656
19657
19658 # Check whether --enable-update-makefiles was given.
19659 if test "${enable_update_makefiles+set}" = set; then
19660 enableval=$enable_update_makefiles; if test "x$enableval" = "xno" ; then
19661 disable_update_makefiles=--disable
19662
19663 else
19664 disable_update_makefiles=""
19665
19666 fi
19667 else
19668 disable_update_makefiles=""
19669
19670
19671 fi
19672
19673
19674 if test "x$DIAGNOSTICSLEVEL" = "x" ; then
19675 DIAGNOSTICSLEVEL=2
19676
19677 else
19678 DIAGNOSTICSLEVEL=$DIAGNOSTICSLEVEL
19679
19680 fi
19681
19682 # Checks for header files.
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698 for ac_header in string \
19699 algorithm \
19700 exception \
19701 cstdio \
19702 cstdlib \
19703 cassert \
19704 fstream \
19705 map \
19706 stack \
19707 sstream \
19708 iostream \
19709 utility \
19710 limits \
19711 cmath \
19712 vector
19713 do
19714 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19715 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19716 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19717 $as_echo_n "checking for $ac_header... " >&6; }
19718 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19719 $as_echo_n "(cached) " >&6
19720 fi
19721 ac_res=`eval 'as_val=${'$as_ac_Header'}
19722 $as_echo "$as_val"'`
19723 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19724 $as_echo "$ac_res" >&6; }
19725 else
19726 # Is the header compilable?
19727 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
19728 $as_echo_n "checking $ac_header usability... " >&6; }
19729 cat >conftest.$ac_ext <<_ACEOF
19730 /* confdefs.h. */
19731 _ACEOF
19732 cat confdefs.h >>conftest.$ac_ext
19733 cat >>conftest.$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19735 $ac_includes_default
19736 #include <$ac_header>
19737 _ACEOF
19738 rm -f conftest.$ac_objext
19739 if { (ac_try="$ac_compile"
19740 case "(($ac_try" in
19741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19742 *) ac_try_echo=$ac_try;;
19743 esac
19744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19745 $as_echo "$ac_try_echo") >&5
19746 (eval "$ac_compile") 2>conftest.er1
19747 ac_status=$?
19748 grep -v '^ *+' conftest.er1 >conftest.err
19749 rm -f conftest.er1
19750 cat conftest.err >&5
19751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); } && {
19753 test -z "$ac_cxx_werror_flag" ||
19754 test ! -s conftest.err
19755 } && test -s conftest.$ac_objext; then
19756 ac_header_compiler=yes
19757 else
19758 $as_echo "$as_me: failed program was:" >&5
19759 sed 's/^/| /' conftest.$ac_ext >&5
19760
19761 ac_header_compiler=no
19762 fi
19763
19764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19765 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19766 $as_echo "$ac_header_compiler" >&6; }
19767
19768 # Is the header present?
19769 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
19770 $as_echo_n "checking $ac_header presence... " >&6; }
19771 cat >conftest.$ac_ext <<_ACEOF
19772 /* confdefs.h. */
19773 _ACEOF
19774 cat confdefs.h >>conftest.$ac_ext
19775 cat >>conftest.$ac_ext <<_ACEOF
19776 /* end confdefs.h. */
19777 #include <$ac_header>
19778 _ACEOF
19779 if { (ac_try="$ac_cpp conftest.$ac_ext"
19780 case "(($ac_try" in
19781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19782 *) ac_try_echo=$ac_try;;
19783 esac
19784 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19785 $as_echo "$ac_try_echo") >&5
19786 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19787 ac_status=$?
19788 grep -v '^ *+' conftest.er1 >conftest.err
19789 rm -f conftest.er1
19790 cat conftest.err >&5
19791 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); } >/dev/null && {
19793 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
19794 test ! -s conftest.err
19795 }; then
19796 ac_header_preproc=yes
19797 else
19798 $as_echo "$as_me: failed program was:" >&5
19799 sed 's/^/| /' conftest.$ac_ext >&5
19800
19801 ac_header_preproc=no
19802 fi
19803
19804 rm -f conftest.err conftest.$ac_ext
19805 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19806 $as_echo "$ac_header_preproc" >&6; }
19807
19808 # So? What about this header?
19809 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19810 yes:no: )
19811 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19812 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19813 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19814 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19815 ac_header_preproc=yes
19816 ;;
19817 no:yes:* )
19818 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19819 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19820 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19821 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19822 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19823 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19824 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19825 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19826 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19827 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19828 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19829 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19830 ( cat <<\_ASBOX
19831 ## --------------------------------------- ##
19832 ## Report this to [email protected] ##
19833 ## --------------------------------------- ##
19834 _ASBOX
19835 ) | sed "s/^/$as_me: WARNING: /" >&2
19836 ;;
19837 esac
19838 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19839 $as_echo_n "checking for $ac_header... " >&6; }
19840 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19841 $as_echo_n "(cached) " >&6
19842 else
19843 eval "$as_ac_Header=\$ac_header_preproc"
19844 fi
19845 ac_res=`eval 'as_val=${'$as_ac_Header'}
19846 $as_echo "$as_val"'`
19847 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19848 $as_echo "$ac_res" >&6; }
19849
19850 fi
19851 as_val=`eval 'as_val=${'$as_ac_Header'}
19852 $as_echo "$as_val"'`
19853 if test "x$as_val" = x""yes; then
19854 cat >>confdefs.h <<_ACEOF
19855 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19856 _ACEOF
19857
19858 else
19859 { { $as_echo "$as_me:$LINENO: error: Essential header $ac_header missing" >&5
19860 $as_echo "$as_me: error: Essential header $ac_header missing" >&2;}
19861 { (exit 1); exit 1; }; }
19862 fi
19863
19864 done
19865
19866
19867 # Extract the first word of "addr2line", so it can be a program name with args.
19868 set dummy addr2line; ac_word=$2
19869 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19870 $as_echo_n "checking for $ac_word... " >&6; }
19871 if test "${ac_cv_prog_enable_stacktrace+set}" = set; then
19872 $as_echo_n "(cached) " >&6
19873 else
19874 if test -n "$enable_stacktrace"; then
19875 ac_cv_prog_enable_stacktrace="$enable_stacktrace" # Let the user override the test.
19876 else
19877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19878 for as_dir in $PATH
19879 do
19880 IFS=$as_save_IFS
19881 test -z "$as_dir" && as_dir=.
19882 for ac_exec_ext in '' $ac_executable_extensions; do
19883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19884 ac_cv_prog_enable_stacktrace="yes"
19885 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19886 break 2
19887 fi
19888 done
19889 done
19890 IFS=$as_save_IFS
19891
19892 test -z "$ac_cv_prog_enable_stacktrace" && ac_cv_prog_enable_stacktrace="no"
19893 fi
19894 fi
19895 enable_stacktrace=$ac_cv_prog_enable_stacktrace
19896 if test -n "$enable_stacktrace"; then
19897 { $as_echo "$as_me:$LINENO: result: $enable_stacktrace" >&5
19898 $as_echo "$enable_stacktrace" >&6; }
19899 else
19900 { $as_echo "$as_me:$LINENO: result: no" >&5
19901 $as_echo "no" >&6; }
19902 fi
19903
19904
19905 if test x$enable_stacktrace = xyes ; then
19906
19907 for ac_header in link.h
19908 do
19909 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19910 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19911 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19912 $as_echo_n "checking for $ac_header... " >&6; }
19913 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19914 $as_echo_n "(cached) " >&6
19915 fi
19916 ac_res=`eval 'as_val=${'$as_ac_Header'}
19917 $as_echo "$as_val"'`
19918 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19919 $as_echo "$ac_res" >&6; }
19920 else
19921 # Is the header compilable?
19922 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
19923 $as_echo_n "checking $ac_header usability... " >&6; }
19924 cat >conftest.$ac_ext <<_ACEOF
19925 /* confdefs.h. */
19926 _ACEOF
19927 cat confdefs.h >>conftest.$ac_ext
19928 cat >>conftest.$ac_ext <<_ACEOF
19929 /* end confdefs.h. */
19930 $ac_includes_default
19931 #include <$ac_header>
19932 _ACEOF
19933 rm -f conftest.$ac_objext
19934 if { (ac_try="$ac_compile"
19935 case "(($ac_try" in
19936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19937 *) ac_try_echo=$ac_try;;
19938 esac
19939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19940 $as_echo "$ac_try_echo") >&5
19941 (eval "$ac_compile") 2>conftest.er1
19942 ac_status=$?
19943 grep -v '^ *+' conftest.er1 >conftest.err
19944 rm -f conftest.er1
19945 cat conftest.err >&5
19946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); } && {
19948 test -z "$ac_cxx_werror_flag" ||
19949 test ! -s conftest.err
19950 } && test -s conftest.$ac_objext; then
19951 ac_header_compiler=yes
19952 else
19953 $as_echo "$as_me: failed program was:" >&5
19954 sed 's/^/| /' conftest.$ac_ext >&5
19955
19956 ac_header_compiler=no
19957 fi
19958
19959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19960 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19961 $as_echo "$ac_header_compiler" >&6; }
19962
19963 # Is the header present?
19964 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
19965 $as_echo_n "checking $ac_header presence... " >&6; }
19966 cat >conftest.$ac_ext <<_ACEOF
19967 /* confdefs.h. */
19968 _ACEOF
19969 cat confdefs.h >>conftest.$ac_ext
19970 cat >>conftest.$ac_ext <<_ACEOF
19971 /* end confdefs.h. */
19972 #include <$ac_header>
19973 _ACEOF
19974 if { (ac_try="$ac_cpp conftest.$ac_ext"
19975 case "(($ac_try" in
19976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19977 *) ac_try_echo=$ac_try;;
19978 esac
19979 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19980 $as_echo "$ac_try_echo") >&5
19981 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19982 ac_status=$?
19983 grep -v '^ *+' conftest.er1 >conftest.err
19984 rm -f conftest.er1
19985 cat conftest.err >&5
19986 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); } >/dev/null && {
19988 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
19989 test ! -s conftest.err
19990 }; then
19991 ac_header_preproc=yes
19992 else
19993 $as_echo "$as_me: failed program was:" >&5
19994 sed 's/^/| /' conftest.$ac_ext >&5
19995
19996 ac_header_preproc=no
19997 fi
19998
19999 rm -f conftest.err conftest.$ac_ext
20000 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20001 $as_echo "$ac_header_preproc" >&6; }
20002
20003 # So? What about this header?
20004 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20005 yes:no: )
20006 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20007 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20008 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20009 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20010 ac_header_preproc=yes
20011 ;;
20012 no:yes:* )
20013 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20014 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20015 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20016 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20017 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20018 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20019 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20020 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20021 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20022 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20023 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20024 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20025 ( cat <<\_ASBOX
20026 ## --------------------------------------- ##
20027 ## Report this to [email protected] ##
20028 ## --------------------------------------- ##
20029 _ASBOX
20030 ) | sed "s/^/$as_me: WARNING: /" >&2
20031 ;;
20032 esac
20033 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20034 $as_echo_n "checking for $ac_header... " >&6; }
20035 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20036 $as_echo_n "(cached) " >&6
20037 else
20038 eval "$as_ac_Header=\$ac_header_preproc"
20039 fi
20040 ac_res=`eval 'as_val=${'$as_ac_Header'}
20041 $as_echo "$as_val"'`
20042 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20043 $as_echo "$ac_res" >&6; }
20044
20045 fi
20046 as_val=`eval 'as_val=${'$as_ac_Header'}
20047 $as_echo "$as_val"'`
20048 if test "x$as_val" = x""yes; then
20049 cat >>confdefs.h <<_ACEOF
20050 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20051 _ACEOF
20052 enable_stacktrace=yes ; break
20053 else
20054 enable_stacktrace=no
20055 fi
20056
20057 done
20058
20059 fi
20060 # unwinding doesn't work properly on ARM
20061 if test x$build = xarm-unknown-linux-gnueabi ; then
20062 enable_stacktrace=no
20063 fi
20064 if test x$enable_stacktrace = xyes; then
20065 STACKTRACE_TRUE=
20066 STACKTRACE_FALSE='#'
20067 else
20068 STACKTRACE_TRUE='#'
20069 STACKTRACE_FALSE=
20070 fi
20071
20072
20073 # Checks for typedefs, structures, and compiler characteristics.
20074 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
20075 $as_echo_n "checking for pid_t... " >&6; }
20076 if test "${ac_cv_type_pid_t+set}" = set; then
20077 $as_echo_n "(cached) " >&6
20078 else
20079 ac_cv_type_pid_t=no
20080 cat >conftest.$ac_ext <<_ACEOF
20081 /* confdefs.h. */
20082 _ACEOF
20083 cat confdefs.h >>conftest.$ac_ext
20084 cat >>conftest.$ac_ext <<_ACEOF
20085 /* end confdefs.h. */
20086 $ac_includes_default
20087 int
20088 main ()
20089 {
20090 if (sizeof (pid_t))
20091 return 0;
20092 ;
20093 return 0;
20094 }
20095 _ACEOF
20096 rm -f conftest.$ac_objext
20097 if { (ac_try="$ac_compile"
20098 case "(($ac_try" in
20099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20100 *) ac_try_echo=$ac_try;;
20101 esac
20102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20103 $as_echo "$ac_try_echo") >&5
20104 (eval "$ac_compile") 2>conftest.er1
20105 ac_status=$?
20106 grep -v '^ *+' conftest.er1 >conftest.err
20107 rm -f conftest.er1
20108 cat conftest.err >&5
20109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); } && {
20111 test -z "$ac_cxx_werror_flag" ||
20112 test ! -s conftest.err
20113 } && test -s conftest.$ac_objext; then
20114 cat >conftest.$ac_ext <<_ACEOF
20115 /* confdefs.h. */
20116 _ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 $ac_includes_default
20121 int
20122 main ()
20123 {
20124 if (sizeof ((pid_t)))
20125 return 0;
20126 ;
20127 return 0;
20128 }
20129 _ACEOF
20130 rm -f conftest.$ac_objext
20131 if { (ac_try="$ac_compile"
20132 case "(($ac_try" in
20133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20134 *) ac_try_echo=$ac_try;;
20135 esac
20136 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20137 $as_echo "$ac_try_echo") >&5
20138 (eval "$ac_compile") 2>conftest.er1
20139 ac_status=$?
20140 grep -v '^ *+' conftest.er1 >conftest.err
20141 rm -f conftest.er1
20142 cat conftest.err >&5
20143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); } && {
20145 test -z "$ac_cxx_werror_flag" ||
20146 test ! -s conftest.err
20147 } && test -s conftest.$ac_objext; then
20148 :
20149 else
20150 $as_echo "$as_me: failed program was:" >&5
20151 sed 's/^/| /' conftest.$ac_ext >&5
20152
20153 ac_cv_type_pid_t=yes
20154 fi
20155
20156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20157 else
20158 $as_echo "$as_me: failed program was:" >&5
20159 sed 's/^/| /' conftest.$ac_ext >&5
20160
20161
20162 fi
20163
20164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20165 fi
20166 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20167 $as_echo "$ac_cv_type_pid_t" >&6; }
20168 if test "x$ac_cv_type_pid_t" = x""yes; then
20169 :
20170 else
20171
20172 cat >>confdefs.h <<_ACEOF
20173 #define pid_t int
20174 _ACEOF
20175
20176 fi
20177
20178 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
20179 $as_echo_n "checking for size_t... " >&6; }
20180 if test "${ac_cv_type_size_t+set}" = set; then
20181 $as_echo_n "(cached) " >&6
20182 else
20183 ac_cv_type_size_t=no
20184 cat >conftest.$ac_ext <<_ACEOF
20185 /* confdefs.h. */
20186 _ACEOF
20187 cat confdefs.h >>conftest.$ac_ext
20188 cat >>conftest.$ac_ext <<_ACEOF
20189 /* end confdefs.h. */
20190 $ac_includes_default
20191 int
20192 main ()
20193 {
20194 if (sizeof (size_t))
20195 return 0;
20196 ;
20197 return 0;
20198 }
20199 _ACEOF
20200 rm -f conftest.$ac_objext
20201 if { (ac_try="$ac_compile"
20202 case "(($ac_try" in
20203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20204 *) ac_try_echo=$ac_try;;
20205 esac
20206 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20207 $as_echo "$ac_try_echo") >&5
20208 (eval "$ac_compile") 2>conftest.er1
20209 ac_status=$?
20210 grep -v '^ *+' conftest.er1 >conftest.err
20211 rm -f conftest.er1
20212 cat conftest.err >&5
20213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); } && {
20215 test -z "$ac_cxx_werror_flag" ||
20216 test ! -s conftest.err
20217 } && test -s conftest.$ac_objext; then
20218 cat >conftest.$ac_ext <<_ACEOF
20219 /* confdefs.h. */
20220 _ACEOF
20221 cat confdefs.h >>conftest.$ac_ext
20222 cat >>conftest.$ac_ext <<_ACEOF
20223 /* end confdefs.h. */
20224 $ac_includes_default
20225 int
20226 main ()
20227 {
20228 if (sizeof ((size_t)))
20229 return 0;
20230 ;
20231 return 0;
20232 }
20233 _ACEOF
20234 rm -f conftest.$ac_objext
20235 if { (ac_try="$ac_compile"
20236 case "(($ac_try" in
20237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20238 *) ac_try_echo=$ac_try;;
20239 esac
20240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20241 $as_echo "$ac_try_echo") >&5
20242 (eval "$ac_compile") 2>conftest.er1
20243 ac_status=$?
20244 grep -v '^ *+' conftest.er1 >conftest.err
20245 rm -f conftest.er1
20246 cat conftest.err >&5
20247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); } && {
20249 test -z "$ac_cxx_werror_flag" ||
20250 test ! -s conftest.err
20251 } && test -s conftest.$ac_objext; then
20252 :
20253 else
20254 $as_echo "$as_me: failed program was:" >&5
20255 sed 's/^/| /' conftest.$ac_ext >&5
20256
20257 ac_cv_type_size_t=yes
20258 fi
20259
20260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20261 else
20262 $as_echo "$as_me: failed program was:" >&5
20263 sed 's/^/| /' conftest.$ac_ext >&5
20264
20265
20266 fi
20267
20268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20269 fi
20270 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20271 $as_echo "$ac_cv_type_size_t" >&6; }
20272 if test "x$ac_cv_type_size_t" = x""yes; then
20273 :
20274 else
20275
20276 cat >>confdefs.h <<_ACEOF
20277 #define size_t unsigned int
20278 _ACEOF
20279
20280 fi
20281
20282 { $as_echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
20283 $as_echo_n "checking for ptrdiff_t... " >&6; }
20284 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
20285 $as_echo_n "(cached) " >&6
20286 else
20287 ac_cv_type_ptrdiff_t=no
20288 cat >conftest.$ac_ext <<_ACEOF
20289 /* confdefs.h. */
20290 _ACEOF
20291 cat confdefs.h >>conftest.$ac_ext
20292 cat >>conftest.$ac_ext <<_ACEOF
20293 /* end confdefs.h. */
20294 $ac_includes_default
20295 int
20296 main ()
20297 {
20298 if (sizeof (ptrdiff_t))
20299 return 0;
20300 ;
20301 return 0;
20302 }
20303 _ACEOF
20304 rm -f conftest.$ac_objext
20305 if { (ac_try="$ac_compile"
20306 case "(($ac_try" in
20307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20308 *) ac_try_echo=$ac_try;;
20309 esac
20310 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20311 $as_echo "$ac_try_echo") >&5
20312 (eval "$ac_compile") 2>conftest.er1
20313 ac_status=$?
20314 grep -v '^ *+' conftest.er1 >conftest.err
20315 rm -f conftest.er1
20316 cat conftest.err >&5
20317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); } && {
20319 test -z "$ac_cxx_werror_flag" ||
20320 test ! -s conftest.err
20321 } && test -s conftest.$ac_objext; then
20322 cat >conftest.$ac_ext <<_ACEOF
20323 /* confdefs.h. */
20324 _ACEOF
20325 cat confdefs.h >>conftest.$ac_ext
20326 cat >>conftest.$ac_ext <<_ACEOF
20327 /* end confdefs.h. */
20328 $ac_includes_default
20329 int
20330 main ()
20331 {
20332 if (sizeof ((ptrdiff_t)))
20333 return 0;
20334 ;
20335 return 0;
20336 }
20337 _ACEOF
20338 rm -f conftest.$ac_objext
20339 if { (ac_try="$ac_compile"
20340 case "(($ac_try" in
20341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20342 *) ac_try_echo=$ac_try;;
20343 esac
20344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20345 $as_echo "$ac_try_echo") >&5
20346 (eval "$ac_compile") 2>conftest.er1
20347 ac_status=$?
20348 grep -v '^ *+' conftest.er1 >conftest.err
20349 rm -f conftest.er1
20350 cat conftest.err >&5
20351 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); } && {
20353 test -z "$ac_cxx_werror_flag" ||
20354 test ! -s conftest.err
20355 } && test -s conftest.$ac_objext; then
20356 :
20357 else
20358 $as_echo "$as_me: failed program was:" >&5
20359 sed 's/^/| /' conftest.$ac_ext >&5
20360
20361 ac_cv_type_ptrdiff_t=yes
20362 fi
20363
20364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20365 else
20366 $as_echo "$as_me: failed program was:" >&5
20367 sed 's/^/| /' conftest.$ac_ext >&5
20368
20369
20370 fi
20371
20372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20373 fi
20374 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
20375 $as_echo "$ac_cv_type_ptrdiff_t" >&6; }
20376 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then
20377
20378 cat >>confdefs.h <<_ACEOF
20379 #define HAVE_PTRDIFF_T 1
20380 _ACEOF
20381
20382
20383 fi
20384
20385
20386 # Checks for library functions.
20387
20388 for ac_header in stdlib.h
20389 do
20390 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20392 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20393 $as_echo_n "checking for $ac_header... " >&6; }
20394 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20395 $as_echo_n "(cached) " >&6
20396 fi
20397 ac_res=`eval 'as_val=${'$as_ac_Header'}
20398 $as_echo "$as_val"'`
20399 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20400 $as_echo "$ac_res" >&6; }
20401 else
20402 # Is the header compilable?
20403 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20404 $as_echo_n "checking $ac_header usability... " >&6; }
20405 cat >conftest.$ac_ext <<_ACEOF
20406 /* confdefs.h. */
20407 _ACEOF
20408 cat confdefs.h >>conftest.$ac_ext
20409 cat >>conftest.$ac_ext <<_ACEOF
20410 /* end confdefs.h. */
20411 $ac_includes_default
20412 #include <$ac_header>
20413 _ACEOF
20414 rm -f conftest.$ac_objext
20415 if { (ac_try="$ac_compile"
20416 case "(($ac_try" in
20417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20418 *) ac_try_echo=$ac_try;;
20419 esac
20420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20421 $as_echo "$ac_try_echo") >&5
20422 (eval "$ac_compile") 2>conftest.er1
20423 ac_status=$?
20424 grep -v '^ *+' conftest.er1 >conftest.err
20425 rm -f conftest.er1
20426 cat conftest.err >&5
20427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); } && {
20429 test -z "$ac_cxx_werror_flag" ||
20430 test ! -s conftest.err
20431 } && test -s conftest.$ac_objext; then
20432 ac_header_compiler=yes
20433 else
20434 $as_echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.$ac_ext >&5
20436
20437 ac_header_compiler=no
20438 fi
20439
20440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20441 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20442 $as_echo "$ac_header_compiler" >&6; }
20443
20444 # Is the header present?
20445 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20446 $as_echo_n "checking $ac_header presence... " >&6; }
20447 cat >conftest.$ac_ext <<_ACEOF
20448 /* confdefs.h. */
20449 _ACEOF
20450 cat confdefs.h >>conftest.$ac_ext
20451 cat >>conftest.$ac_ext <<_ACEOF
20452 /* end confdefs.h. */
20453 #include <$ac_header>
20454 _ACEOF
20455 if { (ac_try="$ac_cpp conftest.$ac_ext"
20456 case "(($ac_try" in
20457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20458 *) ac_try_echo=$ac_try;;
20459 esac
20460 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20461 $as_echo "$ac_try_echo") >&5
20462 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20463 ac_status=$?
20464 grep -v '^ *+' conftest.er1 >conftest.err
20465 rm -f conftest.er1
20466 cat conftest.err >&5
20467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20468 (exit $ac_status); } >/dev/null && {
20469 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
20470 test ! -s conftest.err
20471 }; then
20472 ac_header_preproc=yes
20473 else
20474 $as_echo "$as_me: failed program was:" >&5
20475 sed 's/^/| /' conftest.$ac_ext >&5
20476
20477 ac_header_preproc=no
20478 fi
20479
20480 rm -f conftest.err conftest.$ac_ext
20481 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20482 $as_echo "$ac_header_preproc" >&6; }
20483
20484 # So? What about this header?
20485 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20486 yes:no: )
20487 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20488 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20489 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20490 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20491 ac_header_preproc=yes
20492 ;;
20493 no:yes:* )
20494 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20495 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20496 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20497 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20498 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20499 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20500 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20501 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20502 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20503 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20504 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20505 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20506 ( cat <<\_ASBOX
20507 ## --------------------------------------- ##
20508 ## Report this to [email protected] ##
20509 ## --------------------------------------- ##
20510 _ASBOX
20511 ) | sed "s/^/$as_me: WARNING: /" >&2
20512 ;;
20513 esac
20514 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20515 $as_echo_n "checking for $ac_header... " >&6; }
20516 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20517 $as_echo_n "(cached) " >&6
20518 else
20519 eval "$as_ac_Header=\$ac_header_preproc"
20520 fi
20521 ac_res=`eval 'as_val=${'$as_ac_Header'}
20522 $as_echo "$as_val"'`
20523 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20524 $as_echo "$ac_res" >&6; }
20525
20526 fi
20527 as_val=`eval 'as_val=${'$as_ac_Header'}
20528 $as_echo "$as_val"'`
20529 if test "x$as_val" = x""yes; then
20530 cat >>confdefs.h <<_ACEOF
20531 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20532 _ACEOF
20533
20534 fi
20535
20536 done
20537
20538 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
20539 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
20540 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
20541 $as_echo_n "(cached) " >&6
20542 else
20543 if test "$cross_compiling" = yes; then
20544 ac_cv_func_malloc_0_nonnull=no
20545 else
20546 cat >conftest.$ac_ext <<_ACEOF
20547 /* confdefs.h. */
20548 _ACEOF
20549 cat confdefs.h >>conftest.$ac_ext
20550 cat >>conftest.$ac_ext <<_ACEOF
20551 /* end confdefs.h. */
20552 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
20553 # include <stdlib.h>
20554 #else
20555 char *malloc ();
20556 #endif
20557
20558 int
20559 main ()
20560 {
20561 return ! malloc (0);
20562 ;
20563 return 0;
20564 }
20565 _ACEOF
20566 rm -f conftest$ac_exeext
20567 if { (ac_try="$ac_link"
20568 case "(($ac_try" in
20569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20570 *) ac_try_echo=$ac_try;;
20571 esac
20572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20573 $as_echo "$ac_try_echo") >&5
20574 (eval "$ac_link") 2>&5
20575 ac_status=$?
20576 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20578 { (case "(($ac_try" in
20579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20580 *) ac_try_echo=$ac_try;;
20581 esac
20582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20583 $as_echo "$ac_try_echo") >&5
20584 (eval "$ac_try") 2>&5
20585 ac_status=$?
20586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); }; }; then
20588 ac_cv_func_malloc_0_nonnull=yes
20589 else
20590 $as_echo "$as_me: program exited with status $ac_status" >&5
20591 $as_echo "$as_me: failed program was:" >&5
20592 sed 's/^/| /' conftest.$ac_ext >&5
20593
20594 ( exit $ac_status )
20595 ac_cv_func_malloc_0_nonnull=no
20596 fi
20597 rm -rf conftest.dSYM
20598 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20599 fi
20600
20601
20602 fi
20603 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
20604 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
20605 if test $ac_cv_func_malloc_0_nonnull = yes; then
20606
20607 cat >>confdefs.h <<\_ACEOF
20608 #define HAVE_MALLOC 1
20609 _ACEOF
20610
20611 else
20612 cat >>confdefs.h <<\_ACEOF
20613 #define HAVE_MALLOC 0
20614 _ACEOF
20615
20616 case " $LIBOBJS " in
20617 *" malloc.$ac_objext "* ) ;;
20618 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
20619 ;;
20620 esac
20621
20622
20623 cat >>confdefs.h <<\_ACEOF
20624 #define malloc rpl_malloc
20625 _ACEOF
20626
20627 fi
20628
20629
20630
20631
20632
20633 for ac_func in atexit gettimeofday
20634 do
20635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20636 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20637 $as_echo_n "checking for $ac_func... " >&6; }
20638 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20639 $as_echo_n "(cached) " >&6
20640 else
20641 cat >conftest.$ac_ext <<_ACEOF
20642 /* confdefs.h. */
20643 _ACEOF
20644 cat confdefs.h >>conftest.$ac_ext
20645 cat >>conftest.$ac_ext <<_ACEOF
20646 /* end confdefs.h. */
20647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20649 #define $ac_func innocuous_$ac_func
20650
20651 /* System header to define __stub macros and hopefully few prototypes,
20652 which can conflict with char $ac_func (); below.
20653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20654 <limits.h> exists even on freestanding compilers. */
20655
20656 #ifdef __STDC__
20657 # include <limits.h>
20658 #else
20659 # include <assert.h>
20660 #endif
20661
20662 #undef $ac_func
20663
20664 /* Override any GCC internal prototype to avoid an error.
20665 Use char because int might match the return type of a GCC
20666 builtin and then its argument prototype would still apply. */
20667 #ifdef __cplusplus
20668 extern "C"
20669 #endif
20670 char $ac_func ();
20671 /* The GNU C library defines this for functions which it implements
20672 to always fail with ENOSYS. Some functions are actually named
20673 something starting with __ and the normal name is an alias. */
20674 #if defined __stub_$ac_func || defined __stub___$ac_func
20675 choke me
20676 #endif
20677
20678 int
20679 main ()
20680 {
20681 return $ac_func ();
20682 ;
20683 return 0;
20684 }
20685 _ACEOF
20686 rm -f conftest.$ac_objext conftest$ac_exeext
20687 if { (ac_try="$ac_link"
20688 case "(($ac_try" in
20689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20690 *) ac_try_echo=$ac_try;;
20691 esac
20692 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20693 $as_echo "$ac_try_echo") >&5
20694 (eval "$ac_link") 2>conftest.er1
20695 ac_status=$?
20696 grep -v '^ *+' conftest.er1 >conftest.err
20697 rm -f conftest.er1
20698 cat conftest.err >&5
20699 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); } && {
20701 test -z "$ac_cxx_werror_flag" ||
20702 test ! -s conftest.err
20703 } && test -s conftest$ac_exeext && {
20704 test "$cross_compiling" = yes ||
20705 $as_test_x conftest$ac_exeext
20706 }; then
20707 eval "$as_ac_var=yes"
20708 else
20709 $as_echo "$as_me: failed program was:" >&5
20710 sed 's/^/| /' conftest.$ac_ext >&5
20711
20712 eval "$as_ac_var=no"
20713 fi
20714
20715 rm -rf conftest.dSYM
20716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20717 conftest$ac_exeext conftest.$ac_ext
20718 fi
20719 ac_res=`eval 'as_val=${'$as_ac_var'}
20720 $as_echo "$as_val"'`
20721 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20722 $as_echo "$ac_res" >&6; }
20723 as_val=`eval 'as_val=${'$as_ac_var'}
20724 $as_echo "$as_val"'`
20725 if test "x$as_val" = x""yes; then
20726 cat >>confdefs.h <<_ACEOF
20727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20728 _ACEOF
20729
20730 fi
20731 done
20732
20733
20734 # Files generated by configure
20735 ac_config_files="$ac_config_files diagnostics/extensions/stacktrace/Makefile diagnostics/basic_exceptions/Makefile diagnostics/unittest/test_system/Makefile diagnostics/extensions/memory/Makefile diagnostics/extensions/instrumentation/Makefile diagnostics/unittest/Makefile diagnostics/macros/Makefile diagnostics/frame/Makefile diagnostics/extensions/Makefile diagnostics/util/Makefile diagnostics/logger/Makefile diagnostics/Makefile Makefile"
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748 # Files:
20749 DX_PROJECT=diagnostics
20750
20751 DX_CONFIG=config/doxygen.cfg
20752
20753 DX_DOCDIR=doc/dx
20754
20755
20756 # Environment variables used inside doxygen.cfg:
20757 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
20758
20759 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
20760
20761 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
20762
20763 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
20764
20765
20766 # Doxygen itself:
20767
20768
20769
20770 # Check whether --enable-doxygen-doc was given.
20771 if test "${enable_doxygen_doc+set}" = set; then
20772 enableval=$enable_doxygen_doc;
20773 case "$enableval" in
20774 #(
20775 y|Y|yes|Yes|YES)
20776 DX_FLAG_doc=1
20777
20778
20779 ;; #(
20780 n|N|no|No|NO)
20781 DX_FLAG_doc=0
20782
20783 ;; #(
20784 *)
20785 { { $as_echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-doc" >&5
20786 $as_echo "$as_me: error: invalid value '$enableval' given to doxygen-doc" >&2;}
20787 { (exit 1); exit 1; }; }
20788 ;;
20789 esac
20790
20791 else
20792
20793 DX_FLAG_doc=1
20794
20795
20796
20797 fi
20798
20799 if test "$DX_FLAG_doc" = 1; then
20800
20801 if test -n "$ac_tool_prefix"; then
20802 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
20803 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
20804 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20805 $as_echo_n "checking for $ac_word... " >&6; }
20806 if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then
20807 $as_echo_n "(cached) " >&6
20808 else
20809 case $DX_DOXYGEN in
20810 [\\/]* | ?:[\\/]*)
20811 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
20812 ;;
20813 *)
20814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20815 for as_dir in $PATH
20816 do
20817 IFS=$as_save_IFS
20818 test -z "$as_dir" && as_dir=.
20819 for ac_exec_ext in '' $ac_executable_extensions; do
20820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20821 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
20822 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20823 break 2
20824 fi
20825 done
20826 done
20827 IFS=$as_save_IFS
20828
20829 ;;
20830 esac
20831 fi
20832 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
20833 if test -n "$DX_DOXYGEN"; then
20834 { $as_echo "$as_me:$LINENO: result: $DX_DOXYGEN" >&5
20835 $as_echo "$DX_DOXYGEN" >&6; }
20836 else
20837 { $as_echo "$as_me:$LINENO: result: no" >&5
20838 $as_echo "no" >&6; }
20839 fi
20840
20841
20842 fi
20843 if test -z "$ac_cv_path_DX_DOXYGEN"; then
20844 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
20845 # Extract the first word of "doxygen", so it can be a program name with args.
20846 set dummy doxygen; ac_word=$2
20847 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20848 $as_echo_n "checking for $ac_word... " >&6; }
20849 if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then
20850 $as_echo_n "(cached) " >&6
20851 else
20852 case $ac_pt_DX_DOXYGEN in
20853 [\\/]* | ?:[\\/]*)
20854 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
20855 ;;
20856 *)
20857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20858 for as_dir in $PATH
20859 do
20860 IFS=$as_save_IFS
20861 test -z "$as_dir" && as_dir=.
20862 for ac_exec_ext in '' $ac_executable_extensions; do
20863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20864 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
20865 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20866 break 2
20867 fi
20868 done
20869 done
20870 IFS=$as_save_IFS
20871
20872 ;;
20873 esac
20874 fi
20875 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
20876 if test -n "$ac_pt_DX_DOXYGEN"; then
20877 { $as_echo "$as_me:$LINENO: result: $ac_pt_DX_DOXYGEN" >&5
20878 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
20879 else
20880 { $as_echo "$as_me:$LINENO: result: no" >&5
20881 $as_echo "no" >&6; }
20882 fi
20883
20884 if test "x$ac_pt_DX_DOXYGEN" = x; then
20885 DX_DOXYGEN=""
20886 else
20887 case $cross_compiling:$ac_tool_warned in
20888 yes:)
20889 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
20890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20891 ac_tool_warned=yes ;;
20892 esac
20893 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
20894 fi
20895 else
20896 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
20897 fi
20898
20899 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
20900 { $as_echo "$as_me:$LINENO: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
20901 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
20902 DX_FLAG_doc=0
20903
20904 fi
20905
20906
20907 if test -n "$ac_tool_prefix"; then
20908 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
20909 set dummy ${ac_tool_prefix}perl; ac_word=$2
20910 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20911 $as_echo_n "checking for $ac_word... " >&6; }
20912 if test "${ac_cv_path_DX_PERL+set}" = set; then
20913 $as_echo_n "(cached) " >&6
20914 else
20915 case $DX_PERL in
20916 [\\/]* | ?:[\\/]*)
20917 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
20918 ;;
20919 *)
20920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20921 for as_dir in $PATH
20922 do
20923 IFS=$as_save_IFS
20924 test -z "$as_dir" && as_dir=.
20925 for ac_exec_ext in '' $ac_executable_extensions; do
20926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20927 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
20928 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20929 break 2
20930 fi
20931 done
20932 done
20933 IFS=$as_save_IFS
20934
20935 ;;
20936 esac
20937 fi
20938 DX_PERL=$ac_cv_path_DX_PERL
20939 if test -n "$DX_PERL"; then
20940 { $as_echo "$as_me:$LINENO: result: $DX_PERL" >&5
20941 $as_echo "$DX_PERL" >&6; }
20942 else
20943 { $as_echo "$as_me:$LINENO: result: no" >&5
20944 $as_echo "no" >&6; }
20945 fi
20946
20947
20948 fi
20949 if test -z "$ac_cv_path_DX_PERL"; then
20950 ac_pt_DX_PERL=$DX_PERL
20951 # Extract the first word of "perl", so it can be a program name with args.
20952 set dummy perl; ac_word=$2
20953 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20954 $as_echo_n "checking for $ac_word... " >&6; }
20955 if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then
20956 $as_echo_n "(cached) " >&6
20957 else
20958 case $ac_pt_DX_PERL in
20959 [\\/]* | ?:[\\/]*)
20960 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
20961 ;;
20962 *)
20963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20964 for as_dir in $PATH
20965 do
20966 IFS=$as_save_IFS
20967 test -z "$as_dir" && as_dir=.
20968 for ac_exec_ext in '' $ac_executable_extensions; do
20969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20970 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
20971 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20972 break 2
20973 fi
20974 done
20975 done
20976 IFS=$as_save_IFS
20977
20978 ;;
20979 esac
20980 fi
20981 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
20982 if test -n "$ac_pt_DX_PERL"; then
20983 { $as_echo "$as_me:$LINENO: result: $ac_pt_DX_PERL" >&5
20984 $as_echo "$ac_pt_DX_PERL" >&6; }
20985 else
20986 { $as_echo "$as_me:$LINENO: result: no" >&5
20987 $as_echo "no" >&6; }
20988 fi
20989
20990 if test "x$ac_pt_DX_PERL" = x; then
20991 DX_PERL=""
20992 else
20993 case $cross_compiling:$ac_tool_warned in
20994 yes:)
20995 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
20996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20997 ac_tool_warned=yes ;;
20998 esac
20999 DX_PERL=$ac_pt_DX_PERL
21000 fi
21001 else
21002 DX_PERL="$ac_cv_path_DX_PERL"
21003 fi
21004
21005 if test "$DX_FLAG_doc$DX_PERL" = 1; then
21006 { $as_echo "$as_me:$LINENO: WARNING: perl not found - will not generate any doxygen documentation" >&5
21007 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
21008 DX_FLAG_doc=0
21009
21010 fi
21011
21012 :
21013 fi
21014 if test "$DX_FLAG_doc" = 1; then
21015 if :; then
21016 DX_COND_doc_TRUE=
21017 DX_COND_doc_FALSE='#'
21018 else
21019 DX_COND_doc_TRUE='#'
21020 DX_COND_doc_FALSE=
21021 fi
21022
21023 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
21024
21025 :
21026 else
21027 if false; then
21028 DX_COND_doc_TRUE=
21029 DX_COND_doc_FALSE='#'
21030 else
21031 DX_COND_doc_TRUE='#'
21032 DX_COND_doc_FALSE=
21033 fi
21034
21035
21036 :
21037 fi
21038
21039
21040 # Dot for graphics:
21041
21042
21043
21044 # Check whether --enable-doxygen-dot was given.
21045 if test "${enable_doxygen_dot+set}" = set; then
21046 enableval=$enable_doxygen_dot;
21047 case "$enableval" in
21048 #(
21049 y|Y|yes|Yes|YES)
21050 DX_FLAG_dot=1
21051
21052
21053 test "$DX_FLAG_doc" = "1" \
21054 || { { $as_echo "$as_me:$LINENO: error: doxygen-dot requires doxygen-dot" >&5
21055 $as_echo "$as_me: error: doxygen-dot requires doxygen-dot" >&2;}
21056 { (exit 1); exit 1; }; }
21057
21058 ;; #(
21059 n|N|no|No|NO)
21060 DX_FLAG_dot=0
21061
21062 ;; #(
21063 *)
21064 { { $as_echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-dot" >&5
21065 $as_echo "$as_me: error: invalid value '$enableval' given to doxygen-dot" >&2;}
21066 { (exit 1); exit 1; }; }
21067 ;;
21068 esac
21069
21070 else
21071
21072 DX_FLAG_dot=1
21073
21074
21075 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
21076
21077
21078
21079 fi
21080
21081 if test "$DX_FLAG_dot" = 1; then
21082
21083 if test -n "$ac_tool_prefix"; then
21084 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
21085 set dummy ${ac_tool_prefix}dot; ac_word=$2
21086 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21087 $as_echo_n "checking for $ac_word... " >&6; }
21088 if test "${ac_cv_path_DX_DOT+set}" = set; then
21089 $as_echo_n "(cached) " >&6
21090 else
21091 case $DX_DOT in
21092 [\\/]* | ?:[\\/]*)
21093 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
21094 ;;
21095 *)
21096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21097 for as_dir in $PATH
21098 do
21099 IFS=$as_save_IFS
21100 test -z "$as_dir" && as_dir=.
21101 for ac_exec_ext in '' $ac_executable_extensions; do
21102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21103 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
21104 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21105 break 2
21106 fi
21107 done
21108 done
21109 IFS=$as_save_IFS
21110
21111 ;;
21112 esac
21113 fi
21114 DX_DOT=$ac_cv_path_DX_DOT
21115 if test -n "$DX_DOT"; then
21116 { $as_echo "$as_me:$LINENO: result: $DX_DOT" >&5
21117 $as_echo "$DX_DOT" >&6; }
21118 else
21119 { $as_echo "$as_me:$LINENO: result: no" >&5
21120 $as_echo "no" >&6; }
21121 fi
21122
21123
21124 fi
21125 if test -z "$ac_cv_path_DX_DOT"; then
21126 ac_pt_DX_DOT=$DX_DOT
21127 # Extract the first word of "dot", so it can be a program name with args.
21128 set dummy dot; ac_word=$2
21129 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21130 $as_echo_n "checking for $ac_word... " >&6; }
21131 if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then
21132 $as_echo_n "(cached) " >&6
21133 else
21134 case $ac_pt_DX_DOT in
21135 [\\/]* | ?:[\\/]*)
21136 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
21137 ;;
21138 *)
21139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21140 for as_dir in $PATH
21141 do
21142 IFS=$as_save_IFS
21143 test -z "$as_dir" && as_dir=.
21144 for ac_exec_ext in '' $ac_executable_extensions; do
21145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21146 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
21147 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21148 break 2
21149 fi
21150 done
21151 done
21152 IFS=$as_save_IFS
21153
21154 ;;
21155 esac
21156 fi
21157 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
21158 if test -n "$ac_pt_DX_DOT"; then
21159 { $as_echo "$as_me:$LINENO: result: $ac_pt_DX_DOT" >&5
21160 $as_echo "$ac_pt_DX_DOT" >&6; }
21161 else
21162 { $as_echo "$as_me:$LINENO: result: no" >&5
21163 $as_echo "no" >&6; }
21164 fi
21165
21166 if test "x$ac_pt_DX_DOT" = x; then
21167 DX_DOT=""
21168 else
21169 case $cross_compiling:$ac_tool_warned in
21170 yes:)
21171 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
21172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21173 ac_tool_warned=yes ;;
21174 esac
21175 DX_DOT=$ac_pt_DX_DOT
21176 fi
21177 else
21178 DX_DOT="$ac_cv_path_DX_DOT"
21179 fi
21180
21181 if test "$DX_FLAG_dot$DX_DOT" = 1; then
21182 { $as_echo "$as_me:$LINENO: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
21183 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
21184 DX_FLAG_dot=0
21185
21186 fi
21187
21188 :
21189 fi
21190 if test "$DX_FLAG_dot" = 1; then
21191 if :; then
21192 DX_COND_dot_TRUE=
21193 DX_COND_dot_FALSE='#'
21194 else
21195 DX_COND_dot_TRUE='#'
21196 DX_COND_dot_FALSE=
21197 fi
21198
21199 DX_ENV="$DX_ENV HAVE_DOT='YES'"
21200
21201 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
21202
21203 :
21204 else
21205 if false; then
21206 DX_COND_dot_TRUE=
21207 DX_COND_dot_FALSE='#'
21208 else
21209 DX_COND_dot_TRUE='#'
21210 DX_COND_dot_FALSE=
21211 fi
21212
21213 DX_ENV="$DX_ENV HAVE_DOT='NO'"
21214
21215 :
21216 fi
21217
21218
21219 # Man pages generation:
21220
21221
21222
21223 # Check whether --enable-doxygen-man was given.
21224 if test "${enable_doxygen_man+set}" = set; then
21225 enableval=$enable_doxygen_man;
21226 case "$enableval" in
21227 #(
21228 y|Y|yes|Yes|YES)
21229 DX_FLAG_man=1
21230
21231
21232 test "$DX_FLAG_doc" = "1" \
21233 || { { $as_echo "$as_me:$LINENO: error: doxygen-man requires doxygen-man" >&5
21234 $as_echo "$as_me: error: doxygen-man requires doxygen-man" >&2;}
21235 { (exit 1); exit 1; }; }
21236
21237 ;; #(
21238 n|N|no|No|NO)
21239 DX_FLAG_man=0
21240
21241 ;; #(
21242 *)
21243 { { $as_echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-man" >&5
21244 $as_echo "$as_me: error: invalid value '$enableval' given to doxygen-man" >&2;}
21245 { (exit 1); exit 1; }; }
21246 ;;
21247 esac
21248
21249 else
21250
21251 DX_FLAG_man=0
21252
21253
21254 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
21255
21256
21257
21258 fi
21259
21260 if test "$DX_FLAG_man" = 1; then
21261
21262 :
21263 fi
21264 if test "$DX_FLAG_man" = 1; then
21265 if :; then
21266 DX_COND_man_TRUE=
21267 DX_COND_man_FALSE='#'
21268 else
21269 DX_COND_man_TRUE='#'
21270 DX_COND_man_FALSE=
21271 fi
21272
21273 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
21274
21275 :
21276 else
21277 if false; then
21278 DX_COND_man_TRUE=
21279 DX_COND_man_FALSE='#'
21280 else
21281 DX_COND_man_TRUE='#'
21282 DX_COND_man_FALSE=
21283 fi
21284
21285 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
21286
21287 :
21288 fi
21289
21290
21291 # RTF file generation:
21292
21293
21294
21295 # Check whether --enable-doxygen-rtf was given.
21296 if test "${enable_doxygen_rtf+set}" = set; then
21297 enableval=$enable_doxygen_rtf;
21298 case "$enableval" in
21299 #(
21300 y|Y|yes|Yes|YES)
21301 DX_FLAG_rtf=1
21302
21303
21304 test "$DX_FLAG_doc" = "1" \
21305 || { { $as_echo "$as_me:$LINENO: error: doxygen-rtf requires doxygen-rtf" >&5
21306 $as_echo "$as_me: error: doxygen-rtf requires doxygen-rtf" >&2;}
21307 { (exit 1); exit 1; }; }
21308
21309 ;; #(
21310 n|N|no|No|NO)
21311 DX_FLAG_rtf=0
21312
21313 ;; #(
21314 *)
21315 { { $as_echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-rtf" >&5
21316 $as_echo "$as_me: error: invalid value '$enableval' given to doxygen-rtf" >&2;}
21317 { (exit 1); exit 1; }; }
21318 ;;
21319 esac
21320
21321 else
21322
21323 DX_FLAG_rtf=0
21324
21325
21326 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
21327
21328
21329
21330 fi
21331
21332 if test "$DX_FLAG_rtf" = 1; then
21333
21334 :
21335 fi
21336 if test "$DX_FLAG_rtf" = 1; then
21337 if :; then
21338 DX_COND_rtf_TRUE=
21339 DX_COND_rtf_FALSE='#'
21340 else
21341 DX_COND_rtf_TRUE='#'
21342 DX_COND_rtf_FALSE=
21343 fi
21344
21345 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
21346
21347 :
21348 else
21349 if false; then
21350 DX_COND_rtf_TRUE=
21351 DX_COND_rtf_FALSE='#'
21352 else
21353 DX_COND_rtf_TRUE='#'
21354 DX_COND_rtf_FALSE=
21355 fi
21356
21357 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
21358
21359 :
21360 fi
21361
21362
21363 # XML file generation:
21364
21365
21366
21367 # Check whether --enable-doxygen-xml was given.
21368 if test "${enable_doxygen_xml+set}" = set; then
21369 enableval=$enable_doxygen_xml;
21370 case "$enableval" in
21371 #(
21372 y|Y|yes|Yes|YES)
21373 DX_FLAG_xml=1
21374
21375
21376 test "$DX_FLAG_doc" = "1" \
21377 || { { $as_echo "$as_me:$LINENO: error: doxygen-xml requires doxygen-xml" >&5
21378 $as_echo "$as_me: error: doxygen-xml requires doxygen-xml" >&2;}
21379 { (exit 1); exit 1; }; }
21380
21381 ;; #(
21382 n|N|no|No|NO)
21383 DX_FLAG_xml=0
21384
21385 ;; #(
21386 *)
21387 { { $as_echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-xml" >&5
21388 $as_echo "$as_me: error: invalid value '$enableval' given to doxygen-xml" >&2;}
21389 { (exit 1); exit 1; }; }
21390 ;;
21391 esac
21392
21393 else
21394
21395 DX_FLAG_xml=0
21396
21397
21398 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
21399
21400
21401
21402 fi
21403
21404 if test "$DX_FLAG_xml" = 1; then
21405
21406 :
21407 fi
21408 if test "$DX_FLAG_xml" = 1; then
21409 if :; then
21410 DX_COND_xml_TRUE=
21411 DX_COND_xml_FALSE='#'
21412 else
21413 DX_COND_xml_TRUE='#'
21414 DX_COND_xml_FALSE=
21415 fi
21416
21417 DX_ENV="$DX_ENV GENERATE_XML='YES'"
21418
21419 :
21420 else
21421 if false; then
21422 DX_COND_xml_TRUE=
21423 DX_COND_xml_FALSE='#'
21424 else
21425 DX_COND_xml_TRUE='#'
21426 DX_COND_xml_FALSE=
21427 fi
21428
21429 DX_ENV="$DX_ENV GENERATE_XML='NO'"
21430
21431 :
21432 fi
21433
21434
21435 # (Compressed) HTML help generation:
21436
21437
21438
21439 # Check whether --enable-doxygen-chm was given.
21440 if test "${enable_doxygen_chm+set}" = set; then
21441 enableval=$enable_doxygen_chm;
21442 case "$enableval" in
21443 #(
21444 y|Y|yes|Yes|YES)
21445 DX_FLAG_chm=1
21446
21447
21448 test "$DX_FLAG_doc" = "1" \
21449 || { { $as_echo "$as_me:$LINENO: error: doxygen-chm requires doxygen-chm" >&5
21450 $as_echo "$as_me: error: doxygen-chm requires doxygen-chm" >&2;}
21451 { (exit 1); exit 1; }; }
21452
21453 ;; #(
21454 n|N|no|No|NO)
21455 DX_FLAG_chm=0
21456
21457 ;; #(
21458 *)
21459 { { $as_echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-chm" >&5
21460 $as_echo "$as_me: error: invalid value '$enableval' given to doxygen-chm" >&2;}
21461 { (exit 1); exit 1; }; }
21462 ;;
21463 esac
21464
21465 else
21466
21467 DX_FLAG_chm=0
21468
21469
21470 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
21471
21472
21473
21474 fi
21475
21476 if test "$DX_FLAG_chm" = 1; then
21477
21478 if test -n "$ac_tool_prefix"; then
21479 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
21480 set dummy ${ac_tool_prefix}hhc; ac_word=$2
21481 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21482 $as_echo_n "checking for $ac_word... " >&6; }
21483 if test "${ac_cv_path_DX_HHC+set}" = set; then
21484 $as_echo_n "(cached) " >&6
21485 else
21486 case $DX_HHC in
21487 [\\/]* | ?:[\\/]*)
21488 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
21489 ;;
21490 *)
21491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21492 for as_dir in $PATH
21493 do
21494 IFS=$as_save_IFS
21495 test -z "$as_dir" && as_dir=.
21496 for ac_exec_ext in '' $ac_executable_extensions; do
21497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21498 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
21499 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21500 break 2
21501 fi
21502 done
21503 done
21504 IFS=$as_save_IFS
21505
21506 ;;
21507 esac
21508 fi
21509 DX_HHC=$ac_cv_path_DX_HHC
21510 if test -n "$DX_HHC"; then
21511 { $as_echo "$as_me:$LINENO: result: $DX_HHC" >&5
21512 $as_echo "$DX_HHC" >&6; }
21513 else
21514 { $as_echo "$as_me:$LINENO: result: no" >&5
21515 $as_echo "no" >&6; }
21516 fi
21517
21518
21519 fi
21520 if test -z "$ac_cv_path_DX_HHC"; then
21521 ac_pt_DX_HHC=$DX_HHC
21522 # Extract the first word of "hhc", so it can be a program name with args.
21523 set dummy hhc; ac_word=$2
21524 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21525 $as_echo_n "checking for $ac_word... " >&6; }
21526 if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then
21527 $as_echo_n "(cached) " >&6
21528 else
21529 case $ac_pt_DX_HHC in
21530 [\\/]* | ?:[\\/]*)
21531 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
21532 ;;
21533 *)
21534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21535 for as_dir in $PATH
21536 do
21537 IFS=$as_save_IFS
21538 test -z "$as_dir" && as_dir=.
21539 for ac_exec_ext in '' $ac_executable_extensions; do
21540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21541 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
21542 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21543 break 2
21544 fi
21545 done
21546 done
21547 IFS=$as_save_IFS
21548
21549 ;;
21550 esac
21551 fi
21552 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
21553 if test -n "$ac_pt_DX_HHC"; then
21554 { $as_echo "$as_me:$LINENO: result: $ac_pt_DX_HHC" >&5
21555 $as_echo "$ac_pt_DX_HHC" >&6; }
21556 else
21557 { $as_echo "$as_me:$LINENO: result: no" >&5
21558 $as_echo "no" >&6; }
21559 fi
21560
21561 if test "x$ac_pt_DX_HHC" = x; then
21562 DX_HHC=""
21563 else
21564 case $cross_compiling:$ac_tool_warned in
21565 yes:)
21566 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
21567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21568 ac_tool_warned=yes ;;
21569 esac
21570 DX_HHC=$ac_pt_DX_HHC
21571 fi
21572 else
21573 DX_HHC="$ac_cv_path_DX_HHC"
21574 fi
21575
21576 if test "$DX_FLAG_chm$DX_HHC" = 1; then
21577 { $as_echo "$as_me:$LINENO: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
21578 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
21579 DX_FLAG_chm=0
21580
21581 fi
21582
21583 :
21584 fi
21585 if test "$DX_FLAG_chm" = 1; then
21586 if :; then
21587 DX_COND_chm_TRUE=
21588 DX_COND_chm_FALSE='#'
21589 else
21590 DX_COND_chm_TRUE='#'
21591 DX_COND_chm_FALSE=
21592 fi
21593
21594 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
21595
21596 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
21597
21598 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
21599
21600 :
21601 else
21602 if false; then
21603 DX_COND_chm_TRUE=
21604 DX_COND_chm_FALSE='#'
21605 else
21606 DX_COND_chm_TRUE='#'
21607 DX_COND_chm_FALSE=
21608 fi
21609
21610 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
21611
21612 :
21613 fi
21614
21615
21616 # Seperate CHI file generation.
21617
21618
21619
21620 # Check whether --enable-doxygen-chi was given.
21621 if test "${enable_doxygen_chi+set}" = set; then
21622 enableval=$enable_doxygen_chi;
21623 case "$enableval" in
21624 #(
21625 y|Y|yes|Yes|YES)
21626 DX_FLAG_chi=1
21627
21628
21629 test "$DX_FLAG_chm" = "1" \
21630 || { { $as_echo "$as_me:$LINENO: error: doxygen-chi requires doxygen-chi" >&5
21631 $as_echo "$as_me: error: doxygen-chi requires doxygen-chi" >&2;}
21632 { (exit 1); exit 1; }; }
21633
21634 ;; #(
21635 n|N|no|No|NO)
21636 DX_FLAG_chi=0
21637
21638 ;; #(
21639 *)
21640 { { $as_echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-chi" >&5
21641 $as_echo "$as_me: error: invalid value '$enableval' given to doxygen-chi" >&2;}
21642 { (exit 1); exit 1; }; }
21643 ;;
21644 esac
21645
21646 else
21647
21648 DX_FLAG_chi=0
21649
21650
21651 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
21652
21653
21654
21655 fi
21656
21657 if test "$DX_FLAG_chi" = 1; then
21658
21659 :
21660 fi
21661 if test "$DX_FLAG_chi" = 1; then
21662 if :; then
21663 DX_COND_chi_TRUE=
21664 DX_COND_chi_FALSE='#'
21665 else
21666 DX_COND_chi_TRUE='#'
21667 DX_COND_chi_FALSE=
21668 fi
21669
21670 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
21671
21672 :
21673 else
21674 if false; then
21675 DX_COND_chi_TRUE=
21676 DX_COND_chi_FALSE='#'
21677 else
21678 DX_COND_chi_TRUE='#'
21679 DX_COND_chi_FALSE=
21680 fi
21681
21682 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
21683
21684 :
21685 fi
21686
21687
21688 # Plain HTML pages generation:
21689
21690
21691
21692 # Check whether --enable-doxygen-html was given.
21693 if test "${enable_doxygen_html+set}" = set; then
21694 enableval=$enable_doxygen_html;
21695 case "$enableval" in
21696 #(
21697 y|Y|yes|Yes|YES)
21698 DX_FLAG_html=1
21699
21700
21701 test "$DX_FLAG_doc" = "1" \
21702 || { { $as_echo "$as_me:$LINENO: error: doxygen-html requires doxygen-html" >&5
21703 $as_echo "$as_me: error: doxygen-html requires doxygen-html" >&2;}
21704 { (exit 1); exit 1; }; }
21705
21706 test "$DX_FLAG_chm" = "0" \
21707 || { { $as_echo "$as_me:$LINENO: error: doxygen-html contradicts doxygen-html" >&5
21708 $as_echo "$as_me: error: doxygen-html contradicts doxygen-html" >&2;}
21709 { (exit 1); exit 1; }; }
21710
21711 ;; #(
21712 n|N|no|No|NO)
21713 DX_FLAG_html=0
21714
21715 ;; #(
21716 *)
21717 { { $as_echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-html" >&5
21718 $as_echo "$as_me: error: invalid value '$enableval' given to doxygen-html" >&2;}
21719 { (exit 1); exit 1; }; }
21720 ;;
21721 esac
21722
21723 else
21724
21725 DX_FLAG_html=1
21726
21727
21728 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
21729
21730
21731 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
21732
21733
21734
21735 fi
21736
21737 if test "$DX_FLAG_html" = 1; then
21738
21739 :
21740 fi
21741 if test "$DX_FLAG_html" = 1; then
21742 if :; then
21743 DX_COND_html_TRUE=
21744 DX_COND_html_FALSE='#'
21745 else
21746 DX_COND_html_TRUE='#'
21747 DX_COND_html_FALSE=
21748 fi
21749
21750 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
21751
21752 :
21753 else
21754 if false; then
21755 DX_COND_html_TRUE=
21756 DX_COND_html_FALSE='#'
21757 else
21758 DX_COND_html_TRUE='#'
21759 DX_COND_html_FALSE=
21760 fi
21761
21762 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
21763
21764 :
21765 fi
21766
21767
21768 # PostScript file generation:
21769
21770
21771
21772 # Check whether --enable-doxygen-ps was given.
21773 if test "${enable_doxygen_ps+set}" = set; then
21774 enableval=$enable_doxygen_ps;
21775 case "$enableval" in
21776 #(
21777 y|Y|yes|Yes|YES)
21778 DX_FLAG_ps=1
21779
21780
21781 test "$DX_FLAG_doc" = "1" \
21782 || { { $as_echo "$as_me:$LINENO: error: doxygen-ps requires doxygen-ps" >&5
21783 $as_echo "$as_me: error: doxygen-ps requires doxygen-ps" >&2;}
21784 { (exit 1); exit 1; }; }
21785
21786 ;; #(
21787 n|N|no|No|NO)
21788 DX_FLAG_ps=0
21789
21790 ;; #(
21791 *)
21792 { { $as_echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-ps" >&5
21793 $as_echo "$as_me: error: invalid value '$enableval' given to doxygen-ps" >&2;}
21794 { (exit 1); exit 1; }; }
21795 ;;
21796 esac
21797
21798 else
21799
21800 DX_FLAG_ps=0
21801
21802
21803 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
21804
21805
21806
21807 fi
21808
21809 if test "$DX_FLAG_ps" = 1; then
21810
21811 if test -n "$ac_tool_prefix"; then
21812 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
21813 set dummy ${ac_tool_prefix}latex; ac_word=$2
21814 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21815 $as_echo_n "checking for $ac_word... " >&6; }
21816 if test "${ac_cv_path_DX_LATEX+set}" = set; then
21817 $as_echo_n "(cached) " >&6
21818 else
21819 case $DX_LATEX in
21820 [\\/]* | ?:[\\/]*)
21821 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
21822 ;;
21823 *)
21824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21825 for as_dir in $PATH
21826 do
21827 IFS=$as_save_IFS
21828 test -z "$as_dir" && as_dir=.
21829 for ac_exec_ext in '' $ac_executable_extensions; do
21830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21831 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
21832 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21833 break 2
21834 fi
21835 done
21836 done
21837 IFS=$as_save_IFS
21838
21839 ;;
21840 esac
21841 fi
21842 DX_LATEX=$ac_cv_path_DX_LATEX
21843 if test -n "$DX_LATEX"; then
21844 { $as_echo "$as_me:$LINENO: result: $DX_LATEX" >&5
21845 $as_echo "$DX_LATEX" >&6; }
21846 else
21847 { $as_echo "$as_me:$LINENO: result: no" >&5
21848 $as_echo "no" >&6; }
21849 fi
21850
21851
21852 fi
21853 if test -z "$ac_cv_path_DX_LATEX"; then
21854 ac_pt_DX_LATEX=$DX_LATEX
21855 # Extract the first word of "latex", so it can be a program name with args.
21856 set dummy latex; ac_word=$2
21857 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21858 $as_echo_n "checking for $ac_word... " >&6; }
21859 if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then
21860 $as_echo_n "(cached) " >&6
21861 else
21862 case $ac_pt_DX_LATEX in
21863 [\\/]* | ?:[\\/]*)
21864 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
21865 ;;
21866 *)
21867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21868 for as_dir in $PATH
21869 do
21870 IFS=$as_save_IFS
21871 test -z "$as_dir" && as_dir=.
21872 for ac_exec_ext in '' $ac_executable_extensions; do
21873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21874 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
21875 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21876 break 2
21877 fi
21878 done
21879 done
21880 IFS=$as_save_IFS
21881
21882 ;;
21883 esac
21884 fi
21885 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
21886 if test -n "$ac_pt_DX_LATEX"; then
21887 { $as_echo "$as_me:$LINENO: result: $ac_pt_DX_LATEX" >&5
21888 $as_echo "$ac_pt_DX_LATEX" >&6; }
21889 else
21890 { $as_echo "$as_me:$LINENO: result: no" >&5
21891 $as_echo "no" >&6; }
21892 fi
21893
21894 if test "x$ac_pt_DX_LATEX" = x; then
21895 DX_LATEX=""
21896 else
21897 case $cross_compiling:$ac_tool_warned in
21898 yes:)
21899 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
21900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21901 ac_tool_warned=yes ;;
21902 esac
21903 DX_LATEX=$ac_pt_DX_LATEX
21904 fi
21905 else
21906 DX_LATEX="$ac_cv_path_DX_LATEX"
21907 fi
21908
21909 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
21910 { $as_echo "$as_me:$LINENO: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
21911 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
21912 DX_FLAG_ps=0
21913
21914 fi
21915
21916
21917 if test -n "$ac_tool_prefix"; then
21918 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
21919 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
21920 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21921 $as_echo_n "checking for $ac_word... " >&6; }
21922 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then
21923 $as_echo_n "(cached) " >&6
21924 else
21925 case $DX_MAKEINDEX in
21926 [\\/]* | ?:[\\/]*)
21927 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
21928 ;;
21929 *)
21930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21931 for as_dir in $PATH
21932 do
21933 IFS=$as_save_IFS
21934 test -z "$as_dir" && as_dir=.
21935 for ac_exec_ext in '' $ac_executable_extensions; do
21936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21937 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
21938 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21939 break 2
21940 fi
21941 done
21942 done
21943 IFS=$as_save_IFS
21944
21945 ;;
21946 esac
21947 fi
21948 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
21949 if test -n "$DX_MAKEINDEX"; then
21950 { $as_echo "$as_me:$LINENO: result: $DX_MAKEINDEX" >&5
21951 $as_echo "$DX_MAKEINDEX" >&6; }
21952 else
21953 { $as_echo "$as_me:$LINENO: result: no" >&5
21954 $as_echo "no" >&6; }
21955 fi
21956
21957
21958 fi
21959 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
21960 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
21961 # Extract the first word of "makeindex", so it can be a program name with args.
21962 set dummy makeindex; ac_word=$2
21963 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21964 $as_echo_n "checking for $ac_word... " >&6; }
21965 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then
21966 $as_echo_n "(cached) " >&6
21967 else
21968 case $ac_pt_DX_MAKEINDEX in
21969 [\\/]* | ?:[\\/]*)
21970 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
21971 ;;
21972 *)
21973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21974 for as_dir in $PATH
21975 do
21976 IFS=$as_save_IFS
21977 test -z "$as_dir" && as_dir=.
21978 for ac_exec_ext in '' $ac_executable_extensions; do
21979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21980 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
21981 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21982 break 2
21983 fi
21984 done
21985 done
21986 IFS=$as_save_IFS
21987
21988 ;;
21989 esac
21990 fi
21991 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
21992 if test -n "$ac_pt_DX_MAKEINDEX"; then
21993 { $as_echo "$as_me:$LINENO: result: $ac_pt_DX_MAKEINDEX" >&5
21994 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
21995 else
21996 { $as_echo "$as_me:$LINENO: result: no" >&5
21997 $as_echo "no" >&6; }
21998 fi
21999
22000 if test "x$ac_pt_DX_MAKEINDEX" = x; then
22001 DX_MAKEINDEX=""
22002 else
22003 case $cross_compiling:$ac_tool_warned in
22004 yes:)
22005 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
22006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22007 ac_tool_warned=yes ;;
22008 esac
22009 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
22010 fi
22011 else
22012 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
22013 fi
22014
22015 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
22016 { $as_echo "$as_me:$LINENO: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
22017 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
22018 DX_FLAG_ps=0
22019
22020 fi
22021
22022
22023 if test -n "$ac_tool_prefix"; then
22024 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
22025 set dummy ${ac_tool_prefix}dvips; ac_word=$2
22026 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22027 $as_echo_n "checking for $ac_word... " >&6; }
22028 if test "${ac_cv_path_DX_DVIPS+set}" = set; then
22029 $as_echo_n "(cached) " >&6
22030 else
22031 case $DX_DVIPS in
22032 [\\/]* | ?:[\\/]*)
22033 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
22034 ;;
22035 *)
22036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22037 for as_dir in $PATH
22038 do
22039 IFS=$as_save_IFS
22040 test -z "$as_dir" && as_dir=.
22041 for ac_exec_ext in '' $ac_executable_extensions; do
22042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22043 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
22044 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22045 break 2
22046 fi
22047 done
22048 done
22049 IFS=$as_save_IFS
22050
22051 ;;
22052 esac
22053 fi
22054 DX_DVIPS=$ac_cv_path_DX_DVIPS
22055 if test -n "$DX_DVIPS"; then
22056 { $as_echo "$as_me:$LINENO: result: $DX_DVIPS" >&5
22057 $as_echo "$DX_DVIPS" >&6; }
22058 else
22059 { $as_echo "$as_me:$LINENO: result: no" >&5
22060 $as_echo "no" >&6; }
22061 fi
22062
22063
22064 fi
22065 if test -z "$ac_cv_path_DX_DVIPS"; then
22066 ac_pt_DX_DVIPS=$DX_DVIPS
22067 # Extract the first word of "dvips", so it can be a program name with args.
22068 set dummy dvips; ac_word=$2
22069 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22070 $as_echo_n "checking for $ac_word... " >&6; }
22071 if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then
22072 $as_echo_n "(cached) " >&6
22073 else
22074 case $ac_pt_DX_DVIPS in
22075 [\\/]* | ?:[\\/]*)
22076 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
22077 ;;
22078 *)
22079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22080 for as_dir in $PATH
22081 do
22082 IFS=$as_save_IFS
22083 test -z "$as_dir" && as_dir=.
22084 for ac_exec_ext in '' $ac_executable_extensions; do
22085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22086 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
22087 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22088 break 2
22089 fi
22090 done
22091 done
22092 IFS=$as_save_IFS
22093
22094 ;;
22095 esac
22096 fi
22097 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
22098 if test -n "$ac_pt_DX_DVIPS"; then
22099 { $as_echo "$as_me:$LINENO: result: $ac_pt_DX_DVIPS" >&5
22100 $as_echo "$ac_pt_DX_DVIPS" >&6; }
22101 else
22102 { $as_echo "$as_me:$LINENO: result: no" >&5
22103 $as_echo "no" >&6; }
22104 fi
22105
22106 if test "x$ac_pt_DX_DVIPS" = x; then
22107 DX_DVIPS=""
22108 else
22109 case $cross_compiling:$ac_tool_warned in
22110 yes:)
22111 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
22112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22113 ac_tool_warned=yes ;;
22114 esac
22115 DX_DVIPS=$ac_pt_DX_DVIPS
22116 fi
22117 else
22118 DX_DVIPS="$ac_cv_path_DX_DVIPS"
22119 fi
22120
22121 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
22122 { $as_echo "$as_me:$LINENO: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
22123 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
22124 DX_FLAG_ps=0
22125
22126 fi
22127
22128
22129 if test -n "$ac_tool_prefix"; then
22130 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
22131 set dummy ${ac_tool_prefix}egrep; ac_word=$2
22132 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22133 $as_echo_n "checking for $ac_word... " >&6; }
22134 if test "${ac_cv_path_DX_EGREP+set}" = set; then
22135 $as_echo_n "(cached) " >&6
22136 else
22137 case $DX_EGREP in
22138 [\\/]* | ?:[\\/]*)
22139 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
22140 ;;
22141 *)
22142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22143 for as_dir in $PATH
22144 do
22145 IFS=$as_save_IFS
22146 test -z "$as_dir" && as_dir=.
22147 for ac_exec_ext in '' $ac_executable_extensions; do
22148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22149 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
22150 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22151 break 2
22152 fi
22153 done
22154 done
22155 IFS=$as_save_IFS
22156
22157 ;;
22158 esac
22159 fi
22160 DX_EGREP=$ac_cv_path_DX_EGREP
22161 if test -n "$DX_EGREP"; then
22162 { $as_echo "$as_me:$LINENO: result: $DX_EGREP" >&5
22163 $as_echo "$DX_EGREP" >&6; }
22164 else
22165 { $as_echo "$as_me:$LINENO: result: no" >&5
22166 $as_echo "no" >&6; }
22167 fi
22168
22169
22170 fi
22171 if test -z "$ac_cv_path_DX_EGREP"; then
22172 ac_pt_DX_EGREP=$DX_EGREP
22173 # Extract the first word of "egrep", so it can be a program name with args.
22174 set dummy egrep; ac_word=$2
22175 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22176 $as_echo_n "checking for $ac_word... " >&6; }
22177 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then
22178 $as_echo_n "(cached) " >&6
22179 else
22180 case $ac_pt_DX_EGREP in
22181 [\\/]* | ?:[\\/]*)
22182 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
22183 ;;
22184 *)
22185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22186 for as_dir in $PATH
22187 do
22188 IFS=$as_save_IFS
22189 test -z "$as_dir" && as_dir=.
22190 for ac_exec_ext in '' $ac_executable_extensions; do
22191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22192 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
22193 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22194 break 2
22195 fi
22196 done
22197 done
22198 IFS=$as_save_IFS
22199
22200 ;;
22201 esac
22202 fi
22203 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
22204 if test -n "$ac_pt_DX_EGREP"; then
22205 { $as_echo "$as_me:$LINENO: result: $ac_pt_DX_EGREP" >&5
22206 $as_echo "$ac_pt_DX_EGREP" >&6; }
22207 else
22208 { $as_echo "$as_me:$LINENO: result: no" >&5
22209 $as_echo "no" >&6; }
22210 fi
22211
22212 if test "x$ac_pt_DX_EGREP" = x; then
22213 DX_EGREP=""
22214 else
22215 case $cross_compiling:$ac_tool_warned in
22216 yes:)
22217 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
22218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22219 ac_tool_warned=yes ;;
22220 esac
22221 DX_EGREP=$ac_pt_DX_EGREP
22222 fi
22223 else
22224 DX_EGREP="$ac_cv_path_DX_EGREP"
22225 fi
22226
22227 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
22228 { $as_echo "$as_me:$LINENO: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
22229 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
22230 DX_FLAG_ps=0
22231
22232 fi
22233
22234 :
22235 fi
22236 if test "$DX_FLAG_ps" = 1; then
22237 if :; then
22238 DX_COND_ps_TRUE=
22239 DX_COND_ps_FALSE='#'
22240 else
22241 DX_COND_ps_TRUE='#'
22242 DX_COND_ps_FALSE=
22243 fi
22244
22245
22246 :
22247 else
22248 if false; then
22249 DX_COND_ps_TRUE=
22250 DX_COND_ps_FALSE='#'
22251 else
22252 DX_COND_ps_TRUE='#'
22253 DX_COND_ps_FALSE=
22254 fi
22255
22256
22257 :
22258 fi
22259
22260
22261 # PDF file generation:
22262
22263
22264
22265 # Check whether --enable-doxygen-pdf was given.
22266 if test "${enable_doxygen_pdf+set}" = set; then
22267 enableval=$enable_doxygen_pdf;
22268 case "$enableval" in
22269 #(
22270 y|Y|yes|Yes|YES)
22271 DX_FLAG_pdf=1
22272
22273
22274 test "$DX_FLAG_doc" = "1" \
22275 || { { $as_echo "$as_me:$LINENO: error: doxygen-pdf requires doxygen-pdf" >&5
22276 $as_echo "$as_me: error: doxygen-pdf requires doxygen-pdf" >&2;}
22277 { (exit 1); exit 1; }; }
22278
22279 ;; #(
22280 n|N|no|No|NO)
22281 DX_FLAG_pdf=0
22282
22283 ;; #(
22284 *)
22285 { { $as_echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-pdf" >&5
22286 $as_echo "$as_me: error: invalid value '$enableval' given to doxygen-pdf" >&2;}
22287 { (exit 1); exit 1; }; }
22288 ;;
22289 esac
22290
22291 else
22292
22293 DX_FLAG_pdf=0
22294
22295
22296 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
22297
22298
22299
22300 fi
22301
22302 if test "$DX_FLAG_pdf" = 1; then
22303
22304 if test -n "$ac_tool_prefix"; then
22305 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
22306 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
22307 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22308 $as_echo_n "checking for $ac_word... " >&6; }
22309 if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then
22310 $as_echo_n "(cached) " >&6
22311 else
22312 case $DX_PDFLATEX in
22313 [\\/]* | ?:[\\/]*)
22314 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
22315 ;;
22316 *)
22317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22318 for as_dir in $PATH
22319 do
22320 IFS=$as_save_IFS
22321 test -z "$as_dir" && as_dir=.
22322 for ac_exec_ext in '' $ac_executable_extensions; do
22323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22324 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
22325 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22326 break 2
22327 fi
22328 done
22329 done
22330 IFS=$as_save_IFS
22331
22332 ;;
22333 esac
22334 fi
22335 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
22336 if test -n "$DX_PDFLATEX"; then
22337 { $as_echo "$as_me:$LINENO: result: $DX_PDFLATEX" >&5
22338 $as_echo "$DX_PDFLATEX" >&6; }
22339 else
22340 { $as_echo "$as_me:$LINENO: result: no" >&5
22341 $as_echo "no" >&6; }
22342 fi
22343
22344
22345 fi
22346 if test -z "$ac_cv_path_DX_PDFLATEX"; then
22347 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
22348 # Extract the first word of "pdflatex", so it can be a program name with args.
22349 set dummy pdflatex; ac_word=$2
22350 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22351 $as_echo_n "checking for $ac_word... " >&6; }
22352 if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then
22353 $as_echo_n "(cached) " >&6
22354 else
22355 case $ac_pt_DX_PDFLATEX in
22356 [\\/]* | ?:[\\/]*)
22357 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
22358 ;;
22359 *)
22360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22361 for as_dir in $PATH
22362 do
22363 IFS=$as_save_IFS
22364 test -z "$as_dir" && as_dir=.
22365 for ac_exec_ext in '' $ac_executable_extensions; do
22366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22367 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
22368 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22369 break 2
22370 fi
22371 done
22372 done
22373 IFS=$as_save_IFS
22374
22375 ;;
22376 esac
22377 fi
22378 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
22379 if test -n "$ac_pt_DX_PDFLATEX"; then
22380 { $as_echo "$as_me:$LINENO: result: $ac_pt_DX_PDFLATEX" >&5
22381 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
22382 else
22383 { $as_echo "$as_me:$LINENO: result: no" >&5
22384 $as_echo "no" >&6; }
22385 fi
22386
22387 if test "x$ac_pt_DX_PDFLATEX" = x; then
22388 DX_PDFLATEX=""
22389 else
22390 case $cross_compiling:$ac_tool_warned in
22391 yes:)
22392 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
22393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22394 ac_tool_warned=yes ;;
22395 esac
22396 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
22397 fi
22398 else
22399 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
22400 fi
22401
22402 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
22403 { $as_echo "$as_me:$LINENO: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
22404 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
22405 DX_FLAG_pdf=0
22406
22407 fi
22408
22409
22410 if test -n "$ac_tool_prefix"; then
22411 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
22412 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
22413 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22414 $as_echo_n "checking for $ac_word... " >&6; }
22415 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then
22416 $as_echo_n "(cached) " >&6
22417 else
22418 case $DX_MAKEINDEX in
22419 [\\/]* | ?:[\\/]*)
22420 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
22421 ;;
22422 *)
22423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22424 for as_dir in $PATH
22425 do
22426 IFS=$as_save_IFS
22427 test -z "$as_dir" && as_dir=.
22428 for ac_exec_ext in '' $ac_executable_extensions; do
22429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22430 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
22431 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22432 break 2
22433 fi
22434 done
22435 done
22436 IFS=$as_save_IFS
22437
22438 ;;
22439 esac
22440 fi
22441 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
22442 if test -n "$DX_MAKEINDEX"; then
22443 { $as_echo "$as_me:$LINENO: result: $DX_MAKEINDEX" >&5
22444 $as_echo "$DX_MAKEINDEX" >&6; }
22445 else
22446 { $as_echo "$as_me:$LINENO: result: no" >&5
22447 $as_echo "no" >&6; }
22448 fi
22449
22450
22451 fi
22452 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
22453 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
22454 # Extract the first word of "makeindex", so it can be a program name with args.
22455 set dummy makeindex; ac_word=$2
22456 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22457 $as_echo_n "checking for $ac_word... " >&6; }
22458 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then
22459 $as_echo_n "(cached) " >&6
22460 else
22461 case $ac_pt_DX_MAKEINDEX in
22462 [\\/]* | ?:[\\/]*)
22463 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
22464 ;;
22465 *)
22466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22467 for as_dir in $PATH
22468 do
22469 IFS=$as_save_IFS
22470 test -z "$as_dir" && as_dir=.
22471 for ac_exec_ext in '' $ac_executable_extensions; do
22472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22473 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
22474 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22475 break 2
22476 fi
22477 done
22478 done
22479 IFS=$as_save_IFS
22480
22481 ;;
22482 esac
22483 fi
22484 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
22485 if test -n "$ac_pt_DX_MAKEINDEX"; then
22486 { $as_echo "$as_me:$LINENO: result: $ac_pt_DX_MAKEINDEX" >&5
22487 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
22488 else
22489 { $as_echo "$as_me:$LINENO: result: no" >&5
22490 $as_echo "no" >&6; }
22491 fi
22492
22493 if test "x$ac_pt_DX_MAKEINDEX" = x; then
22494 DX_MAKEINDEX=""
22495 else
22496 case $cross_compiling:$ac_tool_warned in
22497 yes:)
22498 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
22499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22500 ac_tool_warned=yes ;;
22501 esac
22502 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
22503 fi
22504 else
22505 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
22506 fi
22507
22508 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
22509 { $as_echo "$as_me:$LINENO: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
22510 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
22511 DX_FLAG_pdf=0
22512
22513 fi
22514
22515
22516 if test -n "$ac_tool_prefix"; then
22517 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
22518 set dummy ${ac_tool_prefix}egrep; ac_word=$2
22519 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22520 $as_echo_n "checking for $ac_word... " >&6; }
22521 if test "${ac_cv_path_DX_EGREP+set}" = set; then
22522 $as_echo_n "(cached) " >&6
22523 else
22524 case $DX_EGREP in
22525 [\\/]* | ?:[\\/]*)
22526 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
22527 ;;
22528 *)
22529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22530 for as_dir in $PATH
22531 do
22532 IFS=$as_save_IFS
22533 test -z "$as_dir" && as_dir=.
22534 for ac_exec_ext in '' $ac_executable_extensions; do
22535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22536 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
22537 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22538 break 2
22539 fi
22540 done
22541 done
22542 IFS=$as_save_IFS
22543
22544 ;;
22545 esac
22546 fi
22547 DX_EGREP=$ac_cv_path_DX_EGREP
22548 if test -n "$DX_EGREP"; then
22549 { $as_echo "$as_me:$LINENO: result: $DX_EGREP" >&5
22550 $as_echo "$DX_EGREP" >&6; }
22551 else
22552 { $as_echo "$as_me:$LINENO: result: no" >&5
22553 $as_echo "no" >&6; }
22554 fi
22555
22556
22557 fi
22558 if test -z "$ac_cv_path_DX_EGREP"; then
22559 ac_pt_DX_EGREP=$DX_EGREP
22560 # Extract the first word of "egrep", so it can be a program name with args.
22561 set dummy egrep; ac_word=$2
22562 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22563 $as_echo_n "checking for $ac_word... " >&6; }
22564 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then
22565 $as_echo_n "(cached) " >&6
22566 else
22567 case $ac_pt_DX_EGREP in
22568 [\\/]* | ?:[\\/]*)
22569 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
22570 ;;
22571 *)
22572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22573 for as_dir in $PATH
22574 do
22575 IFS=$as_save_IFS
22576 test -z "$as_dir" && as_dir=.
22577 for ac_exec_ext in '' $ac_executable_extensions; do
22578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22579 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
22580 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22581 break 2
22582 fi
22583 done
22584 done
22585 IFS=$as_save_IFS
22586
22587 ;;
22588 esac
22589 fi
22590 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
22591 if test -n "$ac_pt_DX_EGREP"; then
22592 { $as_echo "$as_me:$LINENO: result: $ac_pt_DX_EGREP" >&5
22593 $as_echo "$ac_pt_DX_EGREP" >&6; }
22594 else
22595 { $as_echo "$as_me:$LINENO: result: no" >&5
22596 $as_echo "no" >&6; }
22597 fi
22598
22599 if test "x$ac_pt_DX_EGREP" = x; then
22600 DX_EGREP=""
22601 else
22602 case $cross_compiling:$ac_tool_warned in
22603 yes:)
22604 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
22605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22606 ac_tool_warned=yes ;;
22607 esac
22608 DX_EGREP=$ac_pt_DX_EGREP
22609 fi
22610 else
22611 DX_EGREP="$ac_cv_path_DX_EGREP"
22612 fi
22613
22614 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
22615 { $as_echo "$as_me:$LINENO: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
22616 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
22617 DX_FLAG_pdf=0
22618
22619 fi
22620
22621 :
22622 fi
22623 if test "$DX_FLAG_pdf" = 1; then
22624 if :; then
22625 DX_COND_pdf_TRUE=
22626 DX_COND_pdf_FALSE='#'
22627 else
22628 DX_COND_pdf_TRUE='#'
22629 DX_COND_pdf_FALSE=
22630 fi
22631
22632
22633 :
22634 else
22635 if false; then
22636 DX_COND_pdf_TRUE=
22637 DX_COND_pdf_FALSE='#'
22638 else
22639 DX_COND_pdf_TRUE='#'
22640 DX_COND_pdf_FALSE=
22641 fi
22642
22643
22644 :
22645 fi
22646
22647
22648 # LaTeX generation for PS and/or PDF:
22649 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
22650 if :; then
22651 DX_COND_latex_TRUE=
22652 DX_COND_latex_FALSE='#'
22653 else
22654 DX_COND_latex_TRUE='#'
22655 DX_COND_latex_FALSE=
22656 fi
22657
22658 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
22659
22660 else
22661 if false; then
22662 DX_COND_latex_TRUE=
22663 DX_COND_latex_FALSE='#'
22664 else
22665 DX_COND_latex_TRUE='#'
22666 DX_COND_latex_FALSE=
22667 fi
22668
22669 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
22670
22671 fi
22672
22673 # Paper size for PS and/or PDF:
22674
22675 case "$DOXYGEN_PAPER_SIZE" in
22676 #(
22677 "")
22678 DOXYGEN_PAPER_SIZE=""
22679
22680 ;; #(
22681 a4wide|a4|letter|legal|executive)
22682 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
22683
22684 ;; #(
22685 *)
22686 { { $as_echo "$as_me:$LINENO: error: unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" >&5
22687 $as_echo "$as_me: error: unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" >&2;}
22688 { (exit 1); exit 1; }; }
22689 ;;
22690 esac
22691
22692 #For debugging:
22693 #echo DX_FLAG_doc=$DX_FLAG_doc
22694 #echo DX_FLAG_dot=$DX_FLAG_dot
22695 #echo DX_FLAG_man=$DX_FLAG_man
22696 #echo DX_FLAG_html=$DX_FLAG_html
22697 #echo DX_FLAG_chm=$DX_FLAG_chm
22698 #echo DX_FLAG_chi=$DX_FLAG_chi
22699 #echo DX_FLAG_rtf=$DX_FLAG_rtf
22700 #echo DX_FLAG_xml=$DX_FLAG_xml
22701 #echo DX_FLAG_pdf=$DX_FLAG_pdf
22702 #echo DX_FLAG_ps=$DX_FLAG_ps
22703 #echo DX_ENV=$DX_ENV
22704
22705
22706 cat >confcache <<\_ACEOF
22707 # This file is a shell script that caches the results of configure
22708 # tests run on this system so they can be shared between configure
22709 # scripts and configure runs, see configure's option --config-cache.
22710 # It is not useful on other systems. If it contains results you don't
22711 # want to keep, you may remove or edit it.
22712 #
22713 # config.status only pays attention to the cache file if you give it
22714 # the --recheck option to rerun configure.
22715 #
22716 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22717 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22718 # following values.
22719
22720 _ACEOF
22721
22722 # The following way of writing the cache mishandles newlines in values,
22723 # but we know of no workaround that is simple, portable, and efficient.
22724 # So, we kill variables containing newlines.
22725 # Ultrix sh set writes to stderr and can't be redirected directly,
22726 # and sets the high bit in the cache file unless we assign to the vars.
22727 (
22728 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22729 eval ac_val=\$$ac_var
22730 case $ac_val in #(
22731 *${as_nl}*)
22732 case $ac_var in #(
22733 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
22734 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22735 esac
22736 case $ac_var in #(
22737 _ | IFS | as_nl) ;; #(
22738 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22739 *) $as_unset $ac_var ;;
22740 esac ;;
22741 esac
22742 done
22743
22744 (set) 2>&1 |
22745 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22746 *${as_nl}ac_space=\ *)
22747 # `set' does not quote correctly, so add quotes (double-quote
22748 # substitution turns \\\\ into \\, and sed turns \\ into \).
22749 sed -n \
22750 "s/'/'\\\\''/g;
22751 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22752 ;; #(
22753 *)
22754 # `set' quotes correctly as required by POSIX, so do not add quotes.
22755 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22756 ;;
22757 esac |
22758 sort
22759 ) |
22760 sed '
22761 /^ac_cv_env_/b end
22762 t clear
22763 :clear
22764 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22765 t end
22766 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22767 :end' >>confcache
22768 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22769 if test -w "$cache_file"; then
22770 test "x$cache_file" != "x/dev/null" &&
22771 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
22772 $as_echo "$as_me: updating cache $cache_file" >&6;}
22773 cat confcache >$cache_file
22774 else
22775 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22776 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22777 fi
22778 fi
22779 rm -f confcache
22780
22781 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22782 # Let make expand exec_prefix.
22783 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22784
22785 DEFS=-DHAVE_CONFIG_H
22786
22787 ac_libobjs=
22788 ac_ltlibobjs=
22789 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22790 # 1. Remove the extension, and $U if already installed.
22791 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22792 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
22793 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22794 # will be set to the directory where LIBOBJS objects are built.
22795 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22796 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22797 done
22798 LIBOBJS=$ac_libobjs
22799
22800 LTLIBOBJS=$ac_ltlibobjs
22801
22802
22803 if test -n "$EXEEXT"; then
22804 am__EXEEXT_TRUE=
22805 am__EXEEXT_FALSE='#'
22806 else
22807 am__EXEEXT_TRUE='#'
22808 am__EXEEXT_FALSE=
22809 fi
22810
22811 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22812 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22813 Usually this means the macro was only invoked conditionally." >&5
22814 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
22815 Usually this means the macro was only invoked conditionally." >&2;}
22816 { (exit 1); exit 1; }; }
22817 fi
22818 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22819 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22820 Usually this means the macro was only invoked conditionally." >&5
22821 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22822 Usually this means the macro was only invoked conditionally." >&2;}
22823 { (exit 1); exit 1; }; }
22824 fi
22825 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22826 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22827 Usually this means the macro was only invoked conditionally." >&5
22828 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22829 Usually this means the macro was only invoked conditionally." >&2;}
22830 { (exit 1); exit 1; }; }
22831 fi
22832 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
22833 { { $as_echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
22834 Usually this means the macro was only invoked conditionally." >&5
22835 $as_echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
22836 Usually this means the macro was only invoked conditionally." >&2;}
22837 { (exit 1); exit 1; }; }
22838 fi
22839 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
22840 { { $as_echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
22841 Usually this means the macro was only invoked conditionally." >&5
22842 $as_echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
22843 Usually this means the macro was only invoked conditionally." >&2;}
22844 { (exit 1); exit 1; }; }
22845 fi
22846 LT_CONFIG_H=config.h
22847
22848 _ltdl_libobjs=
22849 _ltdl_ltlibobjs=
22850 if test -n "$_LT_LIBOBJS"; then
22851 # Remove the extension.
22852 _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
22853 for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
22854 _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
22855 _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
22856 done
22857 fi
22858 ltdl_LIBOBJS=$_ltdl_libobjs
22859
22860 ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
22861
22862
22863 if test -z "${STACKTRACE_TRUE}" && test -z "${STACKTRACE_FALSE}"; then
22864 { { $as_echo "$as_me:$LINENO: error: conditional \"STACKTRACE\" was never defined.
22865 Usually this means the macro was only invoked conditionally." >&5
22866 $as_echo "$as_me: error: conditional \"STACKTRACE\" was never defined.
22867 Usually this means the macro was only invoked conditionally." >&2;}
22868 { (exit 1); exit 1; }; }
22869 fi
22870 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
22871 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_doc\" was never defined.
22872 Usually this means the macro was only invoked conditionally." >&5
22873 $as_echo "$as_me: error: conditional \"DX_COND_doc\" was never defined.
22874 Usually this means the macro was only invoked conditionally." >&2;}
22875 { (exit 1); exit 1; }; }
22876 fi
22877 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
22878 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_doc\" was never defined.
22879 Usually this means the macro was only invoked conditionally." >&5
22880 $as_echo "$as_me: error: conditional \"DX_COND_doc\" was never defined.
22881 Usually this means the macro was only invoked conditionally." >&2;}
22882 { (exit 1); exit 1; }; }
22883 fi
22884 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
22885 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_dot\" was never defined.
22886 Usually this means the macro was only invoked conditionally." >&5
22887 $as_echo "$as_me: error: conditional \"DX_COND_dot\" was never defined.
22888 Usually this means the macro was only invoked conditionally." >&2;}
22889 { (exit 1); exit 1; }; }
22890 fi
22891 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
22892 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_dot\" was never defined.
22893 Usually this means the macro was only invoked conditionally." >&5
22894 $as_echo "$as_me: error: conditional \"DX_COND_dot\" was never defined.
22895 Usually this means the macro was only invoked conditionally." >&2;}
22896 { (exit 1); exit 1; }; }
22897 fi
22898 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
22899 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_man\" was never defined.
22900 Usually this means the macro was only invoked conditionally." >&5
22901 $as_echo "$as_me: error: conditional \"DX_COND_man\" was never defined.
22902 Usually this means the macro was only invoked conditionally." >&2;}
22903 { (exit 1); exit 1; }; }
22904 fi
22905 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
22906 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_man\" was never defined.
22907 Usually this means the macro was only invoked conditionally." >&5
22908 $as_echo "$as_me: error: conditional \"DX_COND_man\" was never defined.
22909 Usually this means the macro was only invoked conditionally." >&2;}
22910 { (exit 1); exit 1; }; }
22911 fi
22912 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
22913 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_rtf\" was never defined.
22914 Usually this means the macro was only invoked conditionally." >&5
22915 $as_echo "$as_me: error: conditional \"DX_COND_rtf\" was never defined.
22916 Usually this means the macro was only invoked conditionally." >&2;}
22917 { (exit 1); exit 1; }; }
22918 fi
22919 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
22920 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_rtf\" was never defined.
22921 Usually this means the macro was only invoked conditionally." >&5
22922 $as_echo "$as_me: error: conditional \"DX_COND_rtf\" was never defined.
22923 Usually this means the macro was only invoked conditionally." >&2;}
22924 { (exit 1); exit 1; }; }
22925 fi
22926 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
22927 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_xml\" was never defined.
22928 Usually this means the macro was only invoked conditionally." >&5
22929 $as_echo "$as_me: error: conditional \"DX_COND_xml\" was never defined.
22930 Usually this means the macro was only invoked conditionally." >&2;}
22931 { (exit 1); exit 1; }; }
22932 fi
22933 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
22934 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_xml\" was never defined.
22935 Usually this means the macro was only invoked conditionally." >&5
22936 $as_echo "$as_me: error: conditional \"DX_COND_xml\" was never defined.
22937 Usually this means the macro was only invoked conditionally." >&2;}
22938 { (exit 1); exit 1; }; }
22939 fi
22940 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
22941 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_chm\" was never defined.
22942 Usually this means the macro was only invoked conditionally." >&5
22943 $as_echo "$as_me: error: conditional \"DX_COND_chm\" was never defined.
22944 Usually this means the macro was only invoked conditionally." >&2;}
22945 { (exit 1); exit 1; }; }
22946 fi
22947 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
22948 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_chm\" was never defined.
22949 Usually this means the macro was only invoked conditionally." >&5
22950 $as_echo "$as_me: error: conditional \"DX_COND_chm\" was never defined.
22951 Usually this means the macro was only invoked conditionally." >&2;}
22952 { (exit 1); exit 1; }; }
22953 fi
22954 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
22955 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_chi\" was never defined.
22956 Usually this means the macro was only invoked conditionally." >&5
22957 $as_echo "$as_me: error: conditional \"DX_COND_chi\" was never defined.
22958 Usually this means the macro was only invoked conditionally." >&2;}
22959 { (exit 1); exit 1; }; }
22960 fi
22961 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
22962 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_chi\" was never defined.
22963 Usually this means the macro was only invoked conditionally." >&5
22964 $as_echo "$as_me: error: conditional \"DX_COND_chi\" was never defined.
22965 Usually this means the macro was only invoked conditionally." >&2;}
22966 { (exit 1); exit 1; }; }
22967 fi
22968 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
22969 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_html\" was never defined.
22970 Usually this means the macro was only invoked conditionally." >&5
22971 $as_echo "$as_me: error: conditional \"DX_COND_html\" was never defined.
22972 Usually this means the macro was only invoked conditionally." >&2;}
22973 { (exit 1); exit 1; }; }
22974 fi
22975 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
22976 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_html\" was never defined.
22977 Usually this means the macro was only invoked conditionally." >&5
22978 $as_echo "$as_me: error: conditional \"DX_COND_html\" was never defined.
22979 Usually this means the macro was only invoked conditionally." >&2;}
22980 { (exit 1); exit 1; }; }
22981 fi
22982 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
22983 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_ps\" was never defined.
22984 Usually this means the macro was only invoked conditionally." >&5
22985 $as_echo "$as_me: error: conditional \"DX_COND_ps\" was never defined.
22986 Usually this means the macro was only invoked conditionally." >&2;}
22987 { (exit 1); exit 1; }; }
22988 fi
22989 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
22990 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_ps\" was never defined.
22991 Usually this means the macro was only invoked conditionally." >&5
22992 $as_echo "$as_me: error: conditional \"DX_COND_ps\" was never defined.
22993 Usually this means the macro was only invoked conditionally." >&2;}
22994 { (exit 1); exit 1; }; }
22995 fi
22996 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
22997 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_pdf\" was never defined.
22998 Usually this means the macro was only invoked conditionally." >&5
22999 $as_echo "$as_me: error: conditional \"DX_COND_pdf\" was never defined.
23000 Usually this means the macro was only invoked conditionally." >&2;}
23001 { (exit 1); exit 1; }; }
23002 fi
23003 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
23004 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_pdf\" was never defined.
23005 Usually this means the macro was only invoked conditionally." >&5
23006 $as_echo "$as_me: error: conditional \"DX_COND_pdf\" was never defined.
23007 Usually this means the macro was only invoked conditionally." >&2;}
23008 { (exit 1); exit 1; }; }
23009 fi
23010 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
23011 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_latex\" was never defined.
23012 Usually this means the macro was only invoked conditionally." >&5
23013 $as_echo "$as_me: error: conditional \"DX_COND_latex\" was never defined.
23014 Usually this means the macro was only invoked conditionally." >&2;}
23015 { (exit 1); exit 1; }; }
23016 fi
23017 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
23018 { { $as_echo "$as_me:$LINENO: error: conditional \"DX_COND_latex\" was never defined.
23019 Usually this means the macro was only invoked conditionally." >&5
23020 $as_echo "$as_me: error: conditional \"DX_COND_latex\" was never defined.
23021 Usually this means the macro was only invoked conditionally." >&2;}
23022 { (exit 1); exit 1; }; }
23023 fi
23024
23025 : ${CONFIG_STATUS=./config.status}
23026 ac_write_fail=0
23027 ac_clean_files_save=$ac_clean_files
23028 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23029 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23030 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
23031 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23032 #! $SHELL
23033 # Generated by $as_me.
23034 # Run this file to recreate the current configuration.
23035 # Compiler output produced by configure, useful for debugging
23036 # configure, is in config.log if it exists.
23037
23038 debug=false
23039 ac_cs_recheck=false
23040 ac_cs_silent=false
23041 SHELL=\${CONFIG_SHELL-$SHELL}
23042 _ACEOF
23043
23044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23045 ## --------------------- ##
23046 ## M4sh Initialization. ##
23047 ## --------------------- ##
23048
23049 # Be more Bourne compatible
23050 DUALCASE=1; export DUALCASE # for MKS sh
23051 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23052 emulate sh
23053 NULLCMD=:
23054 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23055 # is contrary to our usage. Disable this feature.
23056 alias -g '${1+"$@"}'='"$@"'
23057 setopt NO_GLOB_SUBST
23058 else
23059 case `(set -o) 2>/dev/null` in
23060 *posix*) set -o posix ;;
23061 esac
23062
23063 fi
23064
23065
23066
23067
23068 # PATH needs CR
23069 # Avoid depending upon Character Ranges.
23070 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23071 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23072 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23073 as_cr_digits='0123456789'
23074 as_cr_alnum=$as_cr_Letters$as_cr_digits
23075
23076 as_nl='
23077 '
23078 export as_nl
23079 # Printing a long string crashes Solaris 7 /usr/bin/printf.
23080 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
23081 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
23082 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
23083 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
23084 as_echo='printf %s\n'
23085 as_echo_n='printf %s'
23086 else
23087 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
23088 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
23089 as_echo_n='/usr/ucb/echo -n'
23090 else
23091 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
23092 as_echo_n_body='eval
23093 arg=$1;
23094 case $arg in
23095 *"$as_nl"*)
23096 expr "X$arg" : "X\\(.*\\)$as_nl";
23097 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
23098 esac;
23099 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
23100 '
23101 export as_echo_n_body
23102 as_echo_n='sh -c $as_echo_n_body as_echo'
23103 fi
23104 export as_echo_body
23105 as_echo='sh -c $as_echo_body as_echo'
23106 fi
23107
23108 # The user is always right.
23109 if test "${PATH_SEPARATOR+set}" != set; then
23110 PATH_SEPARATOR=:
23111 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23112 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23113 PATH_SEPARATOR=';'
23114 }
23115 fi
23116
23117 # Support unset when possible.
23118 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23119 as_unset=unset
23120 else
23121 as_unset=false
23122 fi
23123
23124
23125 # IFS
23126 # We need space, tab and new line, in precisely that order. Quoting is
23127 # there to prevent editors from complaining about space-tab.
23128 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23129 # splitting by setting IFS to empty value.)
23130 IFS=" "" $as_nl"
23131
23132 # Find who we are. Look in the path if we contain no directory separator.
23133 case $0 in
23134 *[\\/]* ) as_myself=$0 ;;
23135 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23136 for as_dir in $PATH
23137 do
23138 IFS=$as_save_IFS
23139 test -z "$as_dir" && as_dir=.
23140 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23141 done
23142 IFS=$as_save_IFS
23143
23144 ;;
23145 esac
23146 # We did not find ourselves, most probably we were run as `sh COMMAND'
23147 # in which case we are not to be found in the path.
23148 if test "x$as_myself" = x; then
23149 as_myself=$0
23150 fi
23151 if test ! -f "$as_myself"; then
23152 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23153 { (exit 1); exit 1; }
23154 fi
23155
23156 # Work around bugs in pre-3.0 UWIN ksh.
23157 for as_var in ENV MAIL MAILPATH
23158 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23159 done
23160 PS1='$ '
23161 PS2='> '
23162 PS4='+ '
23163
23164 # NLS nuisances.
23165 LC_ALL=C
23166 export LC_ALL
23167 LANGUAGE=C
23168 export LANGUAGE
23169
23170 # Required to use basename.
23171 if expr a : '\(a\)' >/dev/null 2>&1 &&
23172 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23173 as_expr=expr
23174 else
23175 as_expr=false
23176 fi
23177
23178 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23179 as_basename=basename
23180 else
23181 as_basename=false
23182 fi
23183
23184
23185 # Name of the executable.
23186 as_me=`$as_basename -- "$0" ||
23187 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23188 X"$0" : 'X\(//\)$' \| \
23189 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23190 $as_echo X/"$0" |
23191 sed '/^.*\/\([^/][^/]*\)\/*$/{
23192 s//\1/
23193 q
23194 }
23195 /^X\/\(\/\/\)$/{
23196 s//\1/
23197 q
23198 }
23199 /^X\/\(\/\).*/{
23200 s//\1/
23201 q
23202 }
23203 s/.*/./; q'`
23204
23205 # CDPATH.
23206 $as_unset CDPATH
23207
23208
23209
23210 as_lineno_1=$LINENO
23211 as_lineno_2=$LINENO
23212 test "x$as_lineno_1" != "x$as_lineno_2" &&
23213 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23214
23215 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23216 # uniformly replaced by the line number. The first 'sed' inserts a
23217 # line-number line after each line using $LINENO; the second 'sed'
23218 # does the real work. The second script uses 'N' to pair each
23219 # line-number line with the line containing $LINENO, and appends
23220 # trailing '-' during substitution so that $LINENO is not a special
23221 # case at line end.
23222 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23223 # scripts with optimization help from Paolo Bonzini. Blame Lee
23224 # E. McMahon (1931-1989) for sed's syntax. :-)
23225 sed -n '
23226 p
23227 /[$]LINENO/=
23228 ' <$as_myself |
23229 sed '
23230 s/[$]LINENO.*/&-/
23231 t lineno
23232 b
23233 :lineno
23234 N
23235 :loop
23236 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23237 t loop
23238 s/-\n.*//
23239 ' >$as_me.lineno &&
23240 chmod +x "$as_me.lineno" ||
23241 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23242 { (exit 1); exit 1; }; }
23243
23244 # Don't try to exec as it changes $[0], causing all sort of problems
23245 # (the dirname of $[0] is not the place where we might find the
23246 # original and so on. Autoconf is especially sensitive to this).
23247 . "./$as_me.lineno"
23248 # Exit status is that of the last command.
23249 exit
23250 }
23251
23252
23253 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23254 as_dirname=dirname
23255 else
23256 as_dirname=false
23257 fi
23258
23259 ECHO_C= ECHO_N= ECHO_T=
23260 case `echo -n x` in
23261 -n*)
23262 case `echo 'x\c'` in
23263 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23264 *) ECHO_C='\c';;
23265 esac;;
23266 *)
23267 ECHO_N='-n';;
23268 esac
23269 if expr a : '\(a\)' >/dev/null 2>&1 &&
23270 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23271 as_expr=expr
23272 else
23273 as_expr=false
23274 fi
23275
23276 rm -f conf$$ conf$$.exe conf$$.file
23277 if test -d conf$$.dir; then
23278 rm -f conf$$.dir/conf$$.file
23279 else
23280 rm -f conf$$.dir
23281 mkdir conf$$.dir 2>/dev/null
23282 fi
23283 if (echo >conf$$.file) 2>/dev/null; then
23284 if ln -s conf$$.file conf$$ 2>/dev/null; then
23285 as_ln_s='ln -s'
23286 # ... but there are two gotchas:
23287 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23288 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23289 # In both cases, we have to default to `cp -p'.
23290 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23291 as_ln_s='cp -p'
23292 elif ln conf$$.file conf$$ 2>/dev/null; then
23293 as_ln_s=ln
23294 else
23295 as_ln_s='cp -p'
23296 fi
23297 else
23298 as_ln_s='cp -p'
23299 fi
23300 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23301 rmdir conf$$.dir 2>/dev/null
23302
23303 if mkdir -p . 2>/dev/null; then
23304 as_mkdir_p=:
23305 else
23306 test -d ./-p && rmdir ./-p
23307 as_mkdir_p=false
23308 fi
23309
23310 if test -x / >/dev/null 2>&1; then
23311 as_test_x='test -x'
23312 else
23313 if ls -dL / >/dev/null 2>&1; then
23314 as_ls_L_option=L
23315 else
23316 as_ls_L_option=
23317 fi
23318 as_test_x='
23319 eval sh -c '\''
23320 if test -d "$1"; then
23321 test -d "$1/.";
23322 else
23323 case $1 in
23324 -*)set "./$1";;
23325 esac;
23326 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23327 ???[sx]*):;;*)false;;esac;fi
23328 '\'' sh
23329 '
23330 fi
23331 as_executable_p=$as_test_x
23332
23333 # Sed expression to map a string onto a valid CPP name.
23334 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23335
23336 # Sed expression to map a string onto a valid variable name.
23337 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23338
23339
23340 exec 6>&1
23341
23342 # Save the log message, to keep $[0] and so on meaningful, and to
23343 # report actual input values of CONFIG_FILES etc. instead of their
23344 # values after options handling.
23345 ac_log="
23346 This file was extended by diagnostics $as_me 0.3.3, which was
23347 generated by GNU Autoconf 2.63. Invocation command line was
23348
23349 CONFIG_FILES = $CONFIG_FILES
23350 CONFIG_HEADERS = $CONFIG_HEADERS
23351 CONFIG_LINKS = $CONFIG_LINKS
23352 CONFIG_COMMANDS = $CONFIG_COMMANDS
23353 $ $0 $@
23354
23355 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23356 "
23357
23358 _ACEOF
23359
23360 case $ac_config_files in *"
23361 "*) set x $ac_config_files; shift; ac_config_files=$*;;
23362 esac
23363
23364 case $ac_config_headers in *"
23365 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23366 esac
23367
23368
23369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23370 # Files that config.status was made for.
23371 config_files="$ac_config_files"
23372 config_headers="$ac_config_headers"
23373 config_commands="$ac_config_commands"
23374
23375 _ACEOF
23376
23377 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23378 ac_cs_usage="\
23379 \`$as_me' instantiates files from templates according to the
23380 current configuration.
23381
23382 Usage: $0 [OPTION]... [FILE]...
23383
23384 -h, --help print this help, then exit
23385 -V, --version print version number and configuration settings, then exit
23386 -q, --quiet, --silent
23387 do not print progress messages
23388 -d, --debug don't remove temporary files
23389 --recheck update $as_me by reconfiguring in the same conditions
23390 --file=FILE[:TEMPLATE]
23391 instantiate the configuration file FILE
23392 --header=FILE[:TEMPLATE]
23393 instantiate the configuration header FILE
23394
23395 Configuration files:
23396 $config_files
23397
23398 Configuration headers:
23399 $config_headers
23400
23401 Configuration commands:
23402 $config_commands
23403
23404 Report bugs to <[email protected]>."
23405
23406 _ACEOF
23407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23408 ac_cs_version="\\
23409 diagnostics config.status 0.3.3
23410 configured by $0, generated by GNU Autoconf 2.63,
23411 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23412
23413 Copyright (C) 2008 Free Software Foundation, Inc.
23414 This config.status script is free software; the Free Software Foundation
23415 gives unlimited permission to copy, distribute and modify it."
23416
23417 ac_pwd='$ac_pwd'
23418 srcdir='$srcdir'
23419 INSTALL='$INSTALL'
23420 MKDIR_P='$MKDIR_P'
23421 AWK='$AWK'
23422 test -n "\$AWK" || AWK=awk
23423 _ACEOF
23424
23425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23426 # The default lists apply if the user does not specify any file.
23427 ac_need_defaults=:
23428 while test $# != 0
23429 do
23430 case $1 in
23431 --*=*)
23432 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23433 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23434 ac_shift=:
23435 ;;
23436 *)
23437 ac_option=$1
23438 ac_optarg=$2
23439 ac_shift=shift
23440 ;;
23441 esac
23442
23443 case $ac_option in
23444 # Handling of the options.
23445 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23446 ac_cs_recheck=: ;;
23447 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23448 $as_echo "$ac_cs_version"; exit ;;
23449 --debug | --debu | --deb | --de | --d | -d )
23450 debug=: ;;
23451 --file | --fil | --fi | --f )
23452 $ac_shift
23453 case $ac_optarg in
23454 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23455 esac
23456 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
23457 ac_need_defaults=false;;
23458 --header | --heade | --head | --hea )
23459 $ac_shift
23460 case $ac_optarg in
23461 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23462 esac
23463 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
23464 ac_need_defaults=false;;
23465 --he | --h)
23466 # Conflict between --help and --header
23467 { $as_echo "$as_me: error: ambiguous option: $1
23468 Try \`$0 --help' for more information." >&2
23469 { (exit 1); exit 1; }; };;
23470 --help | --hel | -h )
23471 $as_echo "$ac_cs_usage"; exit ;;
23472 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23473 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23474 ac_cs_silent=: ;;
23475
23476 # This is an error.
23477 -*) { $as_echo "$as_me: error: unrecognized option: $1
23478 Try \`$0 --help' for more information." >&2
23479 { (exit 1); exit 1; }; } ;;
23480
23481 *) ac_config_targets="$ac_config_targets $1"
23482 ac_need_defaults=false ;;
23483
23484 esac
23485 shift
23486 done
23487
23488 ac_configure_extra_args=
23489
23490 if $ac_cs_silent; then
23491 exec 6>/dev/null
23492 ac_configure_extra_args="$ac_configure_extra_args --silent"
23493 fi
23494
23495 _ACEOF
23496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23497 if \$ac_cs_recheck; then
23498 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23499 shift
23500 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
23501 CONFIG_SHELL='$SHELL'
23502 export CONFIG_SHELL
23503 exec "\$@"
23504 fi
23505
23506 _ACEOF
23507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23508 exec 5>>config.log
23509 {
23510 echo
23511 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23512 ## Running $as_me. ##
23513 _ASBOX
23514 $as_echo "$ac_log"
23515 } >&5
23516
23517 _ACEOF
23518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23519 #
23520 # INIT-COMMANDS
23521 #
23522 PACKAGE="$PACKAGE"
23523 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23524
23525
23526 # The HP-UX ksh and POSIX shell print the target directory to stdout
23527 # if CDPATH is set.
23528 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23529
23530 sed_quote_subst='$sed_quote_subst'
23531 double_quote_subst='$double_quote_subst'
23532 delay_variable_subst='$delay_variable_subst'
23533 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
23534 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
23535 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
23536 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
23537 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
23538 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
23539 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
23540 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
23541 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
23542 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
23543 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
23544 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
23545 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
23546 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
23547 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
23548 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
23549 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
23550 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
23551 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
23552 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
23553 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23554 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23555 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
23556 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
23557 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
23558 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
23559 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
23560 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
23561 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
23562 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
23563 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
23564 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
23565 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
23566 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
23567 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
23568 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
23569 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
23570 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
23571 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
23572 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
23573 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
23574 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
23575 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
23576 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
23577 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
23578 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
23579 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
23580 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
23581 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
23582 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
23583 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
23584 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
23585 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
23586 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
23587 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
23588 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
23589 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
23590 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
23591 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
23592 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
23593 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
23594 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
23595 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
23596 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
23597 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
23598 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
23599 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
23600 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
23601 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
23602 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
23603 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
23604 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
23605 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23606 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23607 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
23608 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
23609 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
23610 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
23611 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
23612 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
23613 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
23614 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
23615 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
23616 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
23617 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
23618 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
23619 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
23620 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
23621 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
23622 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
23623 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
23624 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
23625 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23626 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
23627 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
23628 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
23629 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
23630 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
23631 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
23632 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23633 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
23634 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23635 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
23636 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23637 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
23638 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
23639 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
23640 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
23641 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
23642 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
23643 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
23644 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
23645 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
23646 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
23647 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
23648 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
23649 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
23650 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
23651 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
23652 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
23653 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
23654 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
23655 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
23656 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
23657 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
23658 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
23659 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
23660 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
23661 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
23662 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
23663 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
23664 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
23665 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
23666 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
23667 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
23668 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
23669 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
23670 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
23671 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
23672 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
23673 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23674 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23675 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
23676 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
23677 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
23678 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
23679 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
23680 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
23681 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
23682 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23683 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23684 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
23685 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23686 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23687 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23688 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23689 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23690 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23691 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
23692 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
23693 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
23694 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23695 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
23696 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
23697 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
23698 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
23699 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
23700 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
23701 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
23702 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
23703 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
23704 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
23705 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23706 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
23707 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
23708 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23709 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23710 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
23711 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
23712 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
23713 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
23714 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
23715 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
23716 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
23717 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
23718
23719 LTCC='$LTCC'
23720 LTCFLAGS='$LTCFLAGS'
23721 compiler='$compiler_DEFAULT'
23722
23723 # A function that is used when there is no print builtin or printf.
23724 func_fallback_echo ()
23725 {
23726 eval 'cat <<_LTECHO_EOF
23727 \$1
23728 _LTECHO_EOF'
23729 }
23730
23731 # Quote evaled strings.
23732 for var in GREP \
23733 EGREP \
23734 FGREP \
23735 OBJDUMP \
23736 SED \
23737 lt_SP2NL \
23738 lt_NL2SP \
23739 variables_saved_for_relink \
23740 libname_spec \
23741 library_names_spec \
23742 soname_spec \
23743 install_override_mode \
23744 finish_eval \
23745 NM \
23746 SHELL \
23747 ECHO \
23748 LD \
23749 CC \
23750 CFLAGS \
23751 compiler \
23752 lt_cv_sys_global_symbol_pipe \
23753 lt_cv_sys_global_symbol_to_cdecl \
23754 lt_cv_sys_global_symbol_to_c_name_address \
23755 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23756 nm_file_list_spec \
23757 LN_S \
23758 reload_flag \
23759 deplibs_check_method \
23760 file_magic_cmd \
23761 file_magic_glob \
23762 want_nocaseglob \
23763 DLLTOOL \
23764 sharedlib_from_linklib_cmd \
23765 AR \
23766 AR_FLAGS \
23767 archiver_list_spec \
23768 STRIP \
23769 RANLIB \
23770 lt_prog_compiler_no_builtin_flag \
23771 lt_prog_compiler_pic \
23772 lt_prog_compiler_wl \
23773 lt_prog_compiler_static \
23774 lt_cv_prog_compiler_c_o \
23775 need_locks \
23776 MANIFEST_TOOL \
23777 DSYMUTIL \
23778 NMEDIT \
23779 LIPO \
23780 OTOOL \
23781 OTOOL64 \
23782 shrext_cmds \
23783 export_dynamic_flag_spec \
23784 whole_archive_flag_spec \
23785 compiler_needs_object \
23786 with_gnu_ld \
23787 allow_undefined_flag \
23788 no_undefined_flag \
23789 hardcode_libdir_flag_spec \
23790 hardcode_libdir_flag_spec_ld \
23791 hardcode_libdir_separator \
23792 exclude_expsyms \
23793 include_expsyms \
23794 file_list_spec \
23795 old_striplib \
23796 striplib \
23797 compiler_lib_search_dirs \
23798 predep_objects \
23799 postdep_objects \
23800 predeps \
23801 postdeps \
23802 compiler_lib_search_path \
23803 LD_CXX \
23804 compiler_CXX \
23805 reload_flag_CXX \
23806 lt_prog_compiler_no_builtin_flag_CXX \
23807 lt_prog_compiler_pic_CXX \
23808 lt_prog_compiler_wl_CXX \
23809 lt_prog_compiler_static_CXX \
23810 lt_cv_prog_compiler_c_o_CXX \
23811 export_dynamic_flag_spec_CXX \
23812 whole_archive_flag_spec_CXX \
23813 compiler_needs_object_CXX \
23814 with_gnu_ld_CXX \
23815 allow_undefined_flag_CXX \
23816 no_undefined_flag_CXX \
23817 hardcode_libdir_flag_spec_CXX \
23818 hardcode_libdir_flag_spec_ld_CXX \
23819 hardcode_libdir_separator_CXX \
23820 exclude_expsyms_CXX \
23821 include_expsyms_CXX \
23822 file_list_spec_CXX \
23823 compiler_lib_search_dirs_CXX \
23824 predep_objects_CXX \
23825 postdep_objects_CXX \
23826 predeps_CXX \
23827 postdeps_CXX \
23828 compiler_lib_search_path_CXX; do
23829 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23830 *[\\\\\\\`\\"\\\$]*)
23831 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
23832 ;;
23833 *)
23834 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23835 ;;
23836 esac
23837 done
23838
23839 # Double-quote double-evaled strings.
23840 for var in postinstall_cmds \
23841 postuninstall_cmds \
23842 finish_cmds \
23843 sys_lib_search_path_spec \
23844 sys_lib_dlsearch_path_spec \
23845 reload_cmds \
23846 old_postinstall_cmds \
23847 old_postuninstall_cmds \
23848 old_archive_cmds \
23849 extract_expsyms_cmds \
23850 old_archive_from_new_cmds \
23851 old_archive_from_expsyms_cmds \
23852 archive_cmds \
23853 archive_expsym_cmds \
23854 module_cmds \
23855 module_expsym_cmds \
23856 export_symbols_cmds \
23857 prelink_cmds \
23858 postlink_cmds \
23859 reload_cmds_CXX \
23860 old_archive_cmds_CXX \
23861 old_archive_from_new_cmds_CXX \
23862 old_archive_from_expsyms_cmds_CXX \
23863 archive_cmds_CXX \
23864 archive_expsym_cmds_CXX \
23865 module_cmds_CXX \
23866 module_expsym_cmds_CXX \
23867 export_symbols_cmds_CXX \
23868 prelink_cmds_CXX \
23869 postlink_cmds_CXX; do
23870 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23871 *[\\\\\\\`\\"\\\$]*)
23872 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
23873 ;;
23874 *)
23875 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23876 ;;
23877 esac
23878 done
23879
23880 xsi_shell='$xsi_shell'
23881 lt_shell_append='$lt_shell_append'
23882 ac_aux_dir='$ac_aux_dir'
23883
23884 # See if we are running on zsh, and set the options which allow our
23885 # commands through without removal of \ escapes INIT.
23886 if test -n "\${ZSH_VERSION+set}" ; then
23887 setopt NO_GLOB_SUBST
23888 fi
23889
23890
23891 PACKAGE='$PACKAGE'
23892 VERSION='$VERSION'
23893 TIMESTAMP='$TIMESTAMP'
23894 RM='$RM'
23895 ofile='$ofile'
23896
23897
23898
23899
23900
23901
23902 _ACEOF
23903
23904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23905
23906 # Handling of arguments.
23907 for ac_config_target in $ac_config_targets
23908 do
23909 case $ac_config_target in
23910 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23911 "diagnostics/features.hpp") CONFIG_COMMANDS="$CONFIG_COMMANDS diagnostics/features.hpp" ;;
23912 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
23913 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
23914 "diagnostics/extensions/stacktrace/Makefile") CONFIG_FILES="$CONFIG_FILES diagnostics/extensions/stacktrace/Makefile" ;;
23915 "diagnostics/basic_exceptions/Makefile") CONFIG_FILES="$CONFIG_FILES diagnostics/basic_exceptions/Makefile" ;;
23916 "diagnostics/unittest/test_system/Makefile") CONFIG_FILES="$CONFIG_FILES diagnostics/unittest/test_system/Makefile" ;;
23917 "diagnostics/extensions/memory/Makefile") CONFIG_FILES="$CONFIG_FILES diagnostics/extensions/memory/Makefile" ;;
23918 "diagnostics/extensions/instrumentation/Makefile") CONFIG_FILES="$CONFIG_FILES diagnostics/extensions/instrumentation/Makefile" ;;
23919 "diagnostics/unittest/Makefile") CONFIG_FILES="$CONFIG_FILES diagnostics/unittest/Makefile" ;;
23920 "diagnostics/macros/Makefile") CONFIG_FILES="$CONFIG_FILES diagnostics/macros/Makefile" ;;
23921 "diagnostics/frame/Makefile") CONFIG_FILES="$CONFIG_FILES diagnostics/frame/Makefile" ;;
23922 "diagnostics/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES diagnostics/extensions/Makefile" ;;
23923 "diagnostics/util/Makefile") CONFIG_FILES="$CONFIG_FILES diagnostics/util/Makefile" ;;
23924 "diagnostics/logger/Makefile") CONFIG_FILES="$CONFIG_FILES diagnostics/logger/Makefile" ;;
23925 "diagnostics/Makefile") CONFIG_FILES="$CONFIG_FILES diagnostics/Makefile" ;;
23926 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23927
23928 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23929 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23930 { (exit 1); exit 1; }; };;
23931 esac
23932 done
23933
23934
23935 # If the user did not use the arguments to specify the items to instantiate,
23936 # then the envvar interface is used. Set only those that are not.
23937 # We use the long form for the default assignment because of an extremely
23938 # bizarre bug on SunOS 4.1.3.
23939 if $ac_need_defaults; then
23940 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23941 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23942 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23943 fi
23944
23945 # Have a temporary directory for convenience. Make it in the build tree
23946 # simply because there is no reason against having it here, and in addition,
23947 # creating and moving files from /tmp can sometimes cause problems.
23948 # Hook for its removal unless debugging.
23949 # Note that there is a small window in which the directory will not be cleaned:
23950 # after its creation but before its name has been assigned to `$tmp'.
23951 $debug ||
23952 {
23953 tmp=
23954 trap 'exit_status=$?
23955 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23956 ' 0
23957 trap '{ (exit 1); exit 1; }' 1 2 13 15
23958 }
23959 # Create a (secure) tmp directory for tmp files.
23960
23961 {
23962 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23963 test -n "$tmp" && test -d "$tmp"
23964 } ||
23965 {
23966 tmp=./conf$$-$RANDOM
23967 (umask 077 && mkdir "$tmp")
23968 } ||
23969 {
23970 $as_echo "$as_me: cannot create a temporary directory in ." >&2
23971 { (exit 1); exit 1; }
23972 }
23973
23974 # Set up the scripts for CONFIG_FILES section.
23975 # No need to generate them if there are no CONFIG_FILES.
23976 # This happens for instance with `./config.status config.h'.
23977 if test -n "$CONFIG_FILES"; then
23978
23979
23980 ac_cr=' '
23981 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23982 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23983 ac_cs_awk_cr='\\r'
23984 else
23985 ac_cs_awk_cr=$ac_cr
23986 fi
23987
23988 echo 'BEGIN {' >"$tmp/subs1.awk" &&
23989 _ACEOF
23990
23991
23992 {
23993 echo "cat >conf$$subs.awk <<_ACEOF" &&
23994 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23995 echo "_ACEOF"
23996 } >conf$$subs.sh ||
23997 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23998 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23999 { (exit 1); exit 1; }; }
24000 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
24001 ac_delim='%!_!# '
24002 for ac_last_try in false false false false false :; do
24003 . ./conf$$subs.sh ||
24004 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24005 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24006 { (exit 1); exit 1; }; }
24007
24008 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
24009 if test $ac_delim_n = $ac_delim_num; then
24010 break
24011 elif $ac_last_try; then
24012 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24013 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24014 { (exit 1); exit 1; }; }
24015 else
24016 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24017 fi
24018 done
24019 rm -f conf$$subs.sh
24020
24021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24022 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
24023 _ACEOF
24024 sed -n '
24025 h
24026 s/^/S["/; s/!.*/"]=/
24027 p
24028 g
24029 s/^[^!]*!//
24030 :repl
24031 t repl
24032 s/'"$ac_delim"'$//
24033 t delim
24034 :nl
24035 h
24036 s/\(.\{148\}\).*/\1/
24037 t more1
24038 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
24039 p
24040 n
24041 b repl
24042 :more1
24043 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24044 p
24045 g
24046 s/.\{148\}//
24047 t nl
24048 :delim
24049 h
24050 s/\(.\{148\}\).*/\1/
24051 t more2
24052 s/["\\]/\\&/g; s/^/"/; s/$/"/
24053 p
24054 b
24055 :more2
24056 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24057 p
24058 g
24059 s/.\{148\}//
24060 t delim
24061 ' <conf$$subs.awk | sed '
24062 /^[^""]/{
24063 N
24064 s/\n//
24065 }
24066 ' >>$CONFIG_STATUS || ac_write_fail=1
24067 rm -f conf$$subs.awk
24068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24069 _ACAWK
24070 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
24071 for (key in S) S_is_set[key] = 1
24072 FS = ""
24073
24074 }
24075 {
24076 line = $ 0
24077 nfields = split(line, field, "@")
24078 substed = 0
24079 len = length(field[1])
24080 for (i = 2; i < nfields; i++) {
24081 key = field[i]
24082 keylen = length(key)
24083 if (S_is_set[key]) {
24084 value = S[key]
24085 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
24086 len += length(value) + length(field[++i])
24087 substed = 1
24088 } else
24089 len += 1 + keylen
24090 }
24091
24092 print line
24093 }
24094
24095 _ACAWK
24096 _ACEOF
24097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24098 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
24099 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
24100 else
24101 cat
24102 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
24103 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
24104 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
24105 { (exit 1); exit 1; }; }
24106 _ACEOF
24107
24108 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24109 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24110 # trailing colons and then remove the whole line if VPATH becomes empty
24111 # (actually we leave an empty line to preserve line numbers).
24112 if test "x$srcdir" = x.; then
24113 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24114 s/:*\$(srcdir):*/:/
24115 s/:*\${srcdir}:*/:/
24116 s/:*@srcdir@:*/:/
24117 s/^\([^=]*=[ ]*\):*/\1/
24118 s/:*$//
24119 s/^[^=]*=[ ]*$//
24120 }'
24121 fi
24122
24123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24124 fi # test -n "$CONFIG_FILES"
24125
24126 # Set up the scripts for CONFIG_HEADERS section.
24127 # No need to generate them if there are no CONFIG_HEADERS.
24128 # This happens for instance with `./config.status Makefile'.
24129 if test -n "$CONFIG_HEADERS"; then
24130 cat >"$tmp/defines.awk" <<\_ACAWK ||
24131 BEGIN {
24132 _ACEOF
24133
24134 # Transform confdefs.h into an awk script `defines.awk', embedded as
24135 # here-document in config.status, that substitutes the proper values into
24136 # config.h.in to produce config.h.
24137
24138 # Create a delimiter string that does not exist in confdefs.h, to ease
24139 # handling of long lines.
24140 ac_delim='%!_!# '
24141 for ac_last_try in false false :; do
24142 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
24143 if test -z "$ac_t"; then
24144 break
24145 elif $ac_last_try; then
24146 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
24147 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
24148 { (exit 1); exit 1; }; }
24149 else
24150 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24151 fi
24152 done
24153
24154 # For the awk script, D is an array of macro values keyed by name,
24155 # likewise P contains macro parameters if any. Preserve backslash
24156 # newline sequences.
24157
24158 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24159 sed -n '
24160 s/.\{148\}/&'"$ac_delim"'/g
24161 t rset
24162 :rset
24163 s/^[ ]*#[ ]*define[ ][ ]*/ /
24164 t def
24165 d
24166 :def
24167 s/\\$//
24168 t bsnl
24169 s/["\\]/\\&/g
24170 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24171 D["\1"]=" \3"/p
24172 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
24173 d
24174 :bsnl
24175 s/["\\]/\\&/g
24176 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24177 D["\1"]=" \3\\\\\\n"\\/p
24178 t cont
24179 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24180 t cont
24181 d
24182 :cont
24183 n
24184 s/.\{148\}/&'"$ac_delim"'/g
24185 t clear
24186 :clear
24187 s/\\$//
24188 t bsnlc
24189 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24190 d
24191 :bsnlc
24192 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24193 b cont
24194 ' <confdefs.h | sed '
24195 s/'"$ac_delim"'/"\\\
24196 "/g' >>$CONFIG_STATUS || ac_write_fail=1
24197
24198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24199 for (key in D) D_is_set[key] = 1
24200 FS = ""
24201 }
24202 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24203 line = \$ 0
24204 split(line, arg, " ")
24205 if (arg[1] == "#") {
24206 defundef = arg[2]
24207 mac1 = arg[3]
24208 } else {
24209 defundef = substr(arg[1], 2)
24210 mac1 = arg[2]
24211 }
24212 split(mac1, mac2, "(") #)
24213 macro = mac2[1]
24214 prefix = substr(line, 1, index(line, defundef) - 1)
24215 if (D_is_set[macro]) {
24216 # Preserve the white space surrounding the "#".
24217 print prefix "define", macro P[macro] D[macro]
24218 next
24219 } else {
24220 # Replace #undef with comments. This is necessary, for example,
24221 # in the case of _POSIX_SOURCE, which is predefined and required
24222 # on some systems where configure will not decide to define it.
24223 if (defundef == "undef") {
24224 print "/*", prefix defundef, macro, "*/"
24225 next
24226 }
24227 }
24228 }
24229 { print }
24230 _ACAWK
24231 _ACEOF
24232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24233 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
24234 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
24235 { (exit 1); exit 1; }; }
24236 fi # test -n "$CONFIG_HEADERS"
24237
24238
24239 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
24240 shift
24241 for ac_tag
24242 do
24243 case $ac_tag in
24244 :[FHLC]) ac_mode=$ac_tag; continue;;
24245 esac
24246 case $ac_mode$ac_tag in
24247 :[FHL]*:*);;
24248 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
24249 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
24250 { (exit 1); exit 1; }; };;
24251 :[FH]-) ac_tag=-:-;;
24252 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24253 esac
24254 ac_save_IFS=$IFS
24255 IFS=:
24256 set x $ac_tag
24257 IFS=$ac_save_IFS
24258 shift
24259 ac_file=$1
24260 shift
24261
24262 case $ac_mode in
24263 :L) ac_source=$1;;
24264 :[FH])
24265 ac_file_inputs=
24266 for ac_f
24267 do
24268 case $ac_f in
24269 -) ac_f="$tmp/stdin";;
24270 *) # Look for the file first in the build tree, then in the source tree
24271 # (if the path is not absolute). The absolute path cannot be DOS-style,
24272 # because $ac_f cannot contain `:'.
24273 test -f "$ac_f" ||
24274 case $ac_f in
24275 [\\/$]*) false;;
24276 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24277 esac ||
24278 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24279 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24280 { (exit 1); exit 1; }; };;
24281 esac
24282 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24283 ac_file_inputs="$ac_file_inputs '$ac_f'"
24284 done
24285
24286 # Let's still pretend it is `configure' which instantiates (i.e., don't
24287 # use $as_me), people would be surprised to read:
24288 # /* config.h. Generated by config.status. */
24289 configure_input='Generated from '`
24290 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24291 `' by configure.'
24292 if test x"$ac_file" != x-; then
24293 configure_input="$ac_file. $configure_input"
24294 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
24295 $as_echo "$as_me: creating $ac_file" >&6;}
24296 fi
24297 # Neutralize special characters interpreted by sed in replacement strings.
24298 case $configure_input in #(
24299 *\&* | *\|* | *\\* )
24300 ac_sed_conf_input=`$as_echo "$configure_input" |
24301 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24302 *) ac_sed_conf_input=$configure_input;;
24303 esac
24304
24305 case $ac_tag in
24306 *:-:* | *:-) cat >"$tmp/stdin" \
24307 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
24308 $as_echo "$as_me: error: could not create $ac_file" >&2;}
24309 { (exit 1); exit 1; }; } ;;
24310 esac
24311 ;;
24312 esac
24313
24314 ac_dir=`$as_dirname -- "$ac_file" ||
24315 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24316 X"$ac_file" : 'X\(//\)[^/]' \| \
24317 X"$ac_file" : 'X\(//\)$' \| \
24318 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24319 $as_echo X"$ac_file" |
24320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24321 s//\1/
24322 q
24323 }
24324 /^X\(\/\/\)[^/].*/{
24325 s//\1/
24326 q
24327 }
24328 /^X\(\/\/\)$/{
24329 s//\1/
24330 q
24331 }
24332 /^X\(\/\).*/{
24333 s//\1/
24334 q
24335 }
24336 s/.*/./; q'`
24337 { as_dir="$ac_dir"
24338 case $as_dir in #(
24339 -*) as_dir=./$as_dir;;
24340 esac
24341 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24342 as_dirs=
24343 while :; do
24344 case $as_dir in #(
24345 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24346 *) as_qdir=$as_dir;;
24347 esac
24348 as_dirs="'$as_qdir' $as_dirs"
24349 as_dir=`$as_dirname -- "$as_dir" ||
24350 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24351 X"$as_dir" : 'X\(//\)[^/]' \| \
24352 X"$as_dir" : 'X\(//\)$' \| \
24353 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24354 $as_echo X"$as_dir" |
24355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24356 s//\1/
24357 q
24358 }
24359 /^X\(\/\/\)[^/].*/{
24360 s//\1/
24361 q
24362 }
24363 /^X\(\/\/\)$/{
24364 s//\1/
24365 q
24366 }
24367 /^X\(\/\).*/{
24368 s//\1/
24369 q
24370 }
24371 s/.*/./; q'`
24372 test -d "$as_dir" && break
24373 done
24374 test -z "$as_dirs" || eval "mkdir $as_dirs"
24375 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24376 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
24377 { (exit 1); exit 1; }; }; }
24378 ac_builddir=.
24379
24380 case "$ac_dir" in
24381 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24382 *)
24383 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
24384 # A ".." for each directory in $ac_dir_suffix.
24385 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24386 case $ac_top_builddir_sub in
24387 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24388 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24389 esac ;;
24390 esac
24391 ac_abs_top_builddir=$ac_pwd
24392 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24393 # for backward compatibility:
24394 ac_top_builddir=$ac_top_build_prefix
24395
24396 case $srcdir in
24397 .) # We are building in place.
24398 ac_srcdir=.
24399 ac_top_srcdir=$ac_top_builddir_sub
24400 ac_abs_top_srcdir=$ac_pwd ;;
24401 [\\/]* | ?:[\\/]* ) # Absolute name.
24402 ac_srcdir=$srcdir$ac_dir_suffix;
24403 ac_top_srcdir=$srcdir
24404 ac_abs_top_srcdir=$srcdir ;;
24405 *) # Relative name.
24406 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24407 ac_top_srcdir=$ac_top_build_prefix$srcdir
24408 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24409 esac
24410 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24411
24412
24413 case $ac_mode in
24414 :F)
24415 #
24416 # CONFIG_FILE
24417 #
24418
24419 case $INSTALL in
24420 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24421 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24422 esac
24423 ac_MKDIR_P=$MKDIR_P
24424 case $MKDIR_P in
24425 [\\/$]* | ?:[\\/]* ) ;;
24426 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
24427 esac
24428 _ACEOF
24429
24430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24431 # If the template does not know about datarootdir, expand it.
24432 # FIXME: This hack should be removed a few years after 2.60.
24433 ac_datarootdir_hack=; ac_datarootdir_seen=
24434
24435 ac_sed_dataroot='
24436 /datarootdir/ {
24437 p
24438 q
24439 }
24440 /@datadir@/p
24441 /@docdir@/p
24442 /@infodir@/p
24443 /@localedir@/p
24444 /@mandir@/p
24445 '
24446 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24447 *datarootdir*) ac_datarootdir_seen=yes;;
24448 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24449 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24450 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24451 _ACEOF
24452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24453 ac_datarootdir_hack='
24454 s&@datadir@&$datadir&g
24455 s&@docdir@&$docdir&g
24456 s&@infodir@&$infodir&g
24457 s&@localedir@&$localedir&g
24458 s&@mandir@&$mandir&g
24459 s&\\\${datarootdir}&$datarootdir&g' ;;
24460 esac
24461 _ACEOF
24462
24463 # Neutralize VPATH when `$srcdir' = `.'.
24464 # Shell code in configure.ac might set extrasub.
24465 # FIXME: do we really want to maintain this feature?
24466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24467 ac_sed_extra="$ac_vpsub
24468 $extrasub
24469 _ACEOF
24470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24471 :t
24472 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24473 s|@configure_input@|$ac_sed_conf_input|;t t
24474 s&@top_builddir@&$ac_top_builddir_sub&;t t
24475 s&@top_build_prefix@&$ac_top_build_prefix&;t t
24476 s&@srcdir@&$ac_srcdir&;t t
24477 s&@abs_srcdir@&$ac_abs_srcdir&;t t
24478 s&@top_srcdir@&$ac_top_srcdir&;t t
24479 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24480 s&@builddir@&$ac_builddir&;t t
24481 s&@abs_builddir@&$ac_abs_builddir&;t t
24482 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24483 s&@INSTALL@&$ac_INSTALL&;t t
24484 s&@MKDIR_P@&$ac_MKDIR_P&;t t
24485 $ac_datarootdir_hack
24486 "
24487 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
24488 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
24489 $as_echo "$as_me: error: could not create $ac_file" >&2;}
24490 { (exit 1); exit 1; }; }
24491
24492 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24493 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24494 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24495 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24496 which seems to be undefined. Please make sure it is defined." >&5
24497 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24498 which seems to be undefined. Please make sure it is defined." >&2;}
24499
24500 rm -f "$tmp/stdin"
24501 case $ac_file in
24502 -) cat "$tmp/out" && rm -f "$tmp/out";;
24503 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
24504 esac \
24505 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
24506 $as_echo "$as_me: error: could not create $ac_file" >&2;}
24507 { (exit 1); exit 1; }; }
24508 ;;
24509 :H)
24510 #
24511 # CONFIG_HEADER
24512 #
24513 if test x"$ac_file" != x-; then
24514 {
24515 $as_echo "/* $configure_input */" \
24516 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
24517 } >"$tmp/config.h" \
24518 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
24519 $as_echo "$as_me: error: could not create $ac_file" >&2;}
24520 { (exit 1); exit 1; }; }
24521 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
24522 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24523 $as_echo "$as_me: $ac_file is unchanged" >&6;}
24524 else
24525 rm -f "$ac_file"
24526 mv "$tmp/config.h" "$ac_file" \
24527 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
24528 $as_echo "$as_me: error: could not create $ac_file" >&2;}
24529 { (exit 1); exit 1; }; }
24530 fi
24531 else
24532 $as_echo "/* $configure_input */" \
24533 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
24534 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
24535 $as_echo "$as_me: error: could not create -" >&2;}
24536 { (exit 1); exit 1; }; }
24537 fi
24538 # Compute "$ac_file"'s index in $config_headers.
24539 _am_arg="$ac_file"
24540 _am_stamp_count=1
24541 for _am_header in $config_headers :; do
24542 case $_am_header in
24543 $_am_arg | $_am_arg:* )
24544 break ;;
24545 * )
24546 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24547 esac
24548 done
24549 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24550 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24551 X"$_am_arg" : 'X\(//\)[^/]' \| \
24552 X"$_am_arg" : 'X\(//\)$' \| \
24553 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24554 $as_echo X"$_am_arg" |
24555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24556 s//\1/
24557 q
24558 }
24559 /^X\(\/\/\)[^/].*/{
24560 s//\1/
24561 q
24562 }
24563 /^X\(\/\/\)$/{
24564 s//\1/
24565 q
24566 }
24567 /^X\(\/\).*/{
24568 s//\1/
24569 q
24570 }
24571 s/.*/./; q'`/stamp-h$_am_stamp_count
24572 ;;
24573
24574 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
24575 $as_echo "$as_me: executing $ac_file commands" >&6;}
24576 ;;
24577 esac
24578
24579
24580 case $ac_file$ac_mode in
24581 "diagnostics/features.hpp":C) ac_prefix_conf_OUT=`printf '%s\n' diagnostics/features.hpp`
24582 ac_prefix_conf_DEF=`printf '%s\n' _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"`
24583 ac_prefix_conf_PKG=`printf '%s\n' $PACKAGE`
24584 ac_prefix_conf_LOW=`printf '%s\n' _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
24585 ac_prefix_conf_UPP=`printf '%s\n' $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"`
24586 ac_prefix_conf_INP=`printf '%s\n' "" | sed -e 's/ *//'`
24587 if test ".$ac_prefix_conf_INP" = "."; then
24588 for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue
24589 case "$ac_file" in
24590 *.h) ac_prefix_conf_INP=$ac_file ;;
24591 *)
24592 esac
24593 test ".$ac_prefix_conf_INP" != "." && break
24594 done
24595 fi
24596 if test ".$ac_prefix_conf_INP" = "."; then
24597 case "$ac_prefix_conf_OUT" in
24598 */*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"`
24599 ;;
24600 *-*) ac_prefix_conf_INP=`printf '%s\n' "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"`
24601 ;;
24602 *) ac_prefix_conf_INP=config.h
24603 ;;
24604 esac
24605 fi
24606 if test -z "$ac_prefix_conf_PKG" ; then
24607 { { $as_echo "$as_me:$LINENO: error: no prefix for _PREFIX_PKG_CONFIG_H" >&5
24608 $as_echo "$as_me: error: no prefix for _PREFIX_PKG_CONFIG_H" >&2;}
24609 { (exit 1); exit 1; }; }
24610 else
24611 if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
24612 ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP"
24613 fi fi
24614 { $as_echo "$as_me:$LINENO: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
24615 $as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
24616 if test -f $ac_prefix_conf_INP ; then
24617 printf '%s\n' "s/#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
24618 printf '%s\n' "s/#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
24619 printf '%s\n' "s/#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix
24620 printf '%s\n' "#define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix
24621 printf '%s\n' "#endif/" >>conftest.prefix
24622 printf '%s\n' "s/#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix
24623 printf '%s\n' "#define $ac_prefix_conf_LOW""_\\1 \\2 \\" >> conftest.prefix
24624 printf '%s\n' "#endif/" >> conftest.prefix
24625 # now executing _script on _DEF input to create _OUT output file
24626 printf '%s\n' "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h
24627 printf '%s\n' "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
24628 printf '%s\n' ' ' >>$tmp/pconfig.h
24629 printf '%s\n' /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h
24630
24631 sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h
24632 printf '%s\n' ' ' >>$tmp/pconfig.h
24633 printf '%s\n' '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
24634 printf '%s\n' "#endif" >>$tmp/pconfig.h
24635 if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then
24636 { $as_echo "$as_me:$LINENO: $ac_prefix_conf_OUT is unchanged" >&5
24637 $as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
24638 else
24639 ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" ||
24640 $as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24641 X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
24642 X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
24643 X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
24644 $as_echo X"$ac_prefix_conf_OUT" |
24645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24646 s//\1/
24647 q
24648 }
24649 /^X\(\/\/\)[^/].*/{
24650 s//\1/
24651 q
24652 }
24653 /^X\(\/\/\)$/{
24654 s//\1/
24655 q
24656 }
24657 /^X\(\/\).*/{
24658 s//\1/
24659 q
24660 }
24661 s/.*/./; q'`
24662 { as_dir="$ac_dir"
24663 case $as_dir in #(
24664 -*) as_dir=./$as_dir;;
24665 esac
24666 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24667 as_dirs=
24668 while :; do
24669 case $as_dir in #(
24670 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24671 *) as_qdir=$as_dir;;
24672 esac
24673 as_dirs="'$as_qdir' $as_dirs"
24674 as_dir=`$as_dirname -- "$as_dir" ||
24675 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24676 X"$as_dir" : 'X\(//\)[^/]' \| \
24677 X"$as_dir" : 'X\(//\)$' \| \
24678 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24679 $as_echo X"$as_dir" |
24680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24681 s//\1/
24682 q
24683 }
24684 /^X\(\/\/\)[^/].*/{
24685 s//\1/
24686 q
24687 }
24688 /^X\(\/\/\)$/{
24689 s//\1/
24690 q
24691 }
24692 /^X\(\/\).*/{
24693 s//\1/
24694 q
24695 }
24696 s/.*/./; q'`
24697 test -d "$as_dir" && break
24698 done
24699 test -z "$as_dirs" || eval "mkdir $as_dirs"
24700 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24701 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
24702 { (exit 1); exit 1; }; }; }
24703 rm -f "$ac_prefix_conf_OUT"
24704 mv $tmp/pconfig.h "$ac_prefix_conf_OUT"
24705 fi
24706 cp conftest.prefix _configs.sed
24707 else
24708 { { $as_echo "$as_me:$LINENO: error: input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" >&5
24709 $as_echo "$as_me: error: input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" >&2;}
24710 { (exit 1); exit 1; }; }
24711 fi
24712 rm -f conftest.*
24713 fi
24714 ;;
24715 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
24716 # Autoconf 2.62 quotes --file arguments for eval, but not when files
24717 # are listed without --file. Let's play safe and only enable the eval
24718 # if we detect the quoting.
24719 case $CONFIG_FILES in
24720 *\'*) eval set x "$CONFIG_FILES" ;;
24721 *) set x $CONFIG_FILES ;;
24722 esac
24723 shift
24724 for mf
24725 do
24726 # Strip MF so we end up with the name of the file.
24727 mf=`echo "$mf" | sed -e 's/:.*$//'`
24728 # Check whether this is an Automake generated Makefile or not.
24729 # We used to match only the files named `Makefile.in', but
24730 # some people rename them; so instead we look at the file content.
24731 # Grep'ing the first line is not enough: some people post-process
24732 # each Makefile.in and add a new line on top of each file to say so.
24733 # Grep'ing the whole file is not good either: AIX grep has a line
24734 # limit of 2048, but all sed's we know have understand at least 4000.
24735 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
24736 dirpart=`$as_dirname -- "$mf" ||
24737 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24738 X"$mf" : 'X\(//\)[^/]' \| \
24739 X"$mf" : 'X\(//\)$' \| \
24740 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24741 $as_echo X"$mf" |
24742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24743 s//\1/
24744 q
24745 }
24746 /^X\(\/\/\)[^/].*/{
24747 s//\1/
24748 q
24749 }
24750 /^X\(\/\/\)$/{
24751 s//\1/
24752 q
24753 }
24754 /^X\(\/\).*/{
24755 s//\1/
24756 q
24757 }
24758 s/.*/./; q'`
24759 else
24760 continue
24761 fi
24762 # Extract the definition of DEPDIR, am__include, and am__quote
24763 # from the Makefile without running `make'.
24764 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
24765 test -z "$DEPDIR" && continue
24766 am__include=`sed -n 's/^am__include = //p' < "$mf"`
24767 test -z "am__include" && continue
24768 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
24769 # When using ansi2knr, U may be empty or an underscore; expand it
24770 U=`sed -n 's/^U = //p' < "$mf"`
24771 # Find all dependency output files, they are included files with
24772 # $(DEPDIR) in their names. We invoke sed twice because it is the
24773 # simplest approach to changing $(DEPDIR) to its actual value in the
24774 # expansion.
24775 for file in `sed -n "
24776 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24777 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24778 # Make sure the directory exists.
24779 test -f "$dirpart/$file" && continue
24780 fdir=`$as_dirname -- "$file" ||
24781 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24782 X"$file" : 'X\(//\)[^/]' \| \
24783 X"$file" : 'X\(//\)$' \| \
24784 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24785 $as_echo X"$file" |
24786 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24787 s//\1/
24788 q
24789 }
24790 /^X\(\/\/\)[^/].*/{
24791 s//\1/
24792 q
24793 }
24794 /^X\(\/\/\)$/{
24795 s//\1/
24796 q
24797 }
24798 /^X\(\/\).*/{
24799 s//\1/
24800 q
24801 }
24802 s/.*/./; q'`
24803 { as_dir=$dirpart/$fdir
24804 case $as_dir in #(
24805 -*) as_dir=./$as_dir;;
24806 esac
24807 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24808 as_dirs=
24809 while :; do
24810 case $as_dir in #(
24811 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24812 *) as_qdir=$as_dir;;
24813 esac
24814 as_dirs="'$as_qdir' $as_dirs"
24815 as_dir=`$as_dirname -- "$as_dir" ||
24816 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24817 X"$as_dir" : 'X\(//\)[^/]' \| \
24818 X"$as_dir" : 'X\(//\)$' \| \
24819 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24820 $as_echo X"$as_dir" |
24821 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24822 s//\1/
24823 q
24824 }
24825 /^X\(\/\/\)[^/].*/{
24826 s//\1/
24827 q
24828 }
24829 /^X\(\/\/\)$/{
24830 s//\1/
24831 q
24832 }
24833 /^X\(\/\).*/{
24834 s//\1/
24835 q
24836 }
24837 s/.*/./; q'`
24838 test -d "$as_dir" && break
24839 done
24840 test -z "$as_dirs" || eval "mkdir $as_dirs"
24841 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24842 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
24843 { (exit 1); exit 1; }; }; }
24844 # echo "creating $dirpart/$file"
24845 echo '# dummy' > "$dirpart/$file"
24846 done
24847 done
24848 }
24849 ;;
24850 "libtool":C)
24851
24852 # See if we are running on zsh, and set the options which allow our
24853 # commands through without removal of \ escapes.
24854 if test -n "${ZSH_VERSION+set}" ; then
24855 setopt NO_GLOB_SUBST
24856 fi
24857
24858 cfgfile="${ofile}T"
24859 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
24860 $RM "$cfgfile"
24861
24862 cat <<_LT_EOF >> "$cfgfile"
24863 #! $SHELL
24864
24865 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
24866 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
24867 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24868 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
24869 #
24870 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
24871 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
24872 # Inc.
24873 # Written by Gordon Matzigkeit, 1996
24874 #
24875 # This file is part of GNU Libtool.
24876 #
24877 # GNU Libtool is free software; you can redistribute it and/or
24878 # modify it under the terms of the GNU General Public License as
24879 # published by the Free Software Foundation; either version 2 of
24880 # the License, or (at your option) any later version.
24881 #
24882 # As a special exception to the GNU General Public License,
24883 # if you distribute this file as part of a program or library that
24884 # is built using GNU Libtool, you may include this file under the
24885 # same distribution terms that you use for the rest of that program.
24886 #
24887 # GNU Libtool is distributed in the hope that it will be useful,
24888 # but WITHOUT ANY WARRANTY; without even the implied warranty of
24889 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24890 # GNU General Public License for more details.
24891 #
24892 # You should have received a copy of the GNU General Public License
24893 # along with GNU Libtool; see the file COPYING. If not, a copy
24894 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
24895 # obtained by writing to the Free Software Foundation, Inc.,
24896 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24897
24898
24899 # The names of the tagged configurations supported by this script.
24900 available_tags="CXX "
24901
24902 # ### BEGIN LIBTOOL CONFIG
24903
24904 # A grep program that handles long lines.
24905 GREP=$lt_GREP
24906
24907 # An ERE matcher.
24908 EGREP=$lt_EGREP
24909
24910 # A literal string matcher.
24911 FGREP=$lt_FGREP
24912
24913 # An object symbol dumper.
24914 OBJDUMP=$lt_OBJDUMP
24915
24916 # A sed program that does not truncate output.
24917 SED=$lt_SED
24918
24919 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
24920 Xsed="\$SED -e 1s/^X//"
24921
24922 # whether the shell understands "unset".
24923 lt_unset=$lt_unset
24924
24925 # turn spaces into newlines.
24926 SP2NL=$lt_lt_SP2NL
24927
24928 # turn newlines into spaces.
24929 NL2SP=$lt_lt_NL2SP
24930
24931 # Variables whose values should be saved in libtool wrapper scripts and
24932 # restored at link time.
24933 variables_saved_for_relink=$lt_variables_saved_for_relink
24934
24935 # Do we need the "lib" prefix for modules?
24936 need_lib_prefix=$need_lib_prefix
24937
24938 # Do we need a version for libraries?
24939 need_version=$need_version
24940
24941 # Library versioning type.
24942 version_type=$version_type
24943
24944 # Shared library runtime path variable.
24945 runpath_var=$runpath_var
24946
24947 # Shared library path variable.
24948 shlibpath_var=$shlibpath_var
24949
24950 # Is shlibpath searched before the hard-coded library search path?
24951 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24952
24953 # Format of library name prefix.
24954 libname_spec=$lt_libname_spec
24955
24956 # List of archive names. First name is the real one, the rest are links.
24957 # The last name is the one that the linker finds with -lNAME
24958 library_names_spec=$lt_library_names_spec
24959
24960 # The coded name of the library, if different from the real name.
24961 soname_spec=$lt_soname_spec
24962
24963 # Permission mode override for installation of shared libraries.
24964 install_override_mode=$lt_install_override_mode
24965
24966 # Command to use after installation of a shared archive.
24967 postinstall_cmds=$lt_postinstall_cmds
24968
24969 # Command to use after uninstallation of a shared archive.
24970 postuninstall_cmds=$lt_postuninstall_cmds
24971
24972 # Commands used to finish a libtool library installation in a directory.
24973 finish_cmds=$lt_finish_cmds
24974
24975 # As "finish_cmds", except a single script fragment to be evaled but
24976 # not shown.
24977 finish_eval=$lt_finish_eval
24978
24979 # Whether we should hardcode library paths into libraries.
24980 hardcode_into_libs=$hardcode_into_libs
24981
24982 # Compile-time system search path for libraries.
24983 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24984
24985 # Run-time system search path for libraries.
24986 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24987
24988 # A BSD- or MS-compatible name lister.
24989 NM=$lt_NM
24990
24991 # Shell to use when invoking shell scripts.
24992 SHELL=$lt_SHELL
24993
24994 # An echo program that protects backslashes.
24995 ECHO=$lt_ECHO
24996
24997 # A C compiler.
24998 LTCC=$lt_CC
24999
25000 # LTCC compiler flags.
25001 LTCFLAGS=$lt_CFLAGS
25002
25003 # Take the output of nm and produce a listing of raw symbols and C names.
25004 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25005
25006 # Transform the output of nm in a proper C declaration.
25007 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25008
25009 # Transform the output of nm in a C name address pair.
25010 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25011
25012 # Transform the output of nm in a C name address pair when lib prefix is needed.
25013 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
25014
25015 # Specify filename containing input files for \$NM.
25016 nm_file_list_spec=$lt_nm_file_list_spec
25017
25018 # The name of the directory that contains temporary libtool files.
25019 objdir=$objdir
25020
25021 # Which release of libtool.m4 was used?
25022 macro_version=$macro_version
25023 macro_revision=$macro_revision
25024
25025 # Whether or not to build shared libraries.
25026 build_libtool_libs=$enable_shared
25027
25028 # Whether or not to build static libraries.
25029 build_old_libs=$enable_static
25030
25031 # What type of objects to build.
25032 pic_mode=$pic_mode
25033
25034 # Whether or not to optimize for fast installation.
25035 fast_install=$enable_fast_install
25036
25037 # The host system.
25038 host_alias=$host_alias
25039 host=$host
25040 host_os=$host_os
25041
25042 # The build system.
25043 build_alias=$build_alias
25044 build=$build
25045 build_os=$build_os
25046
25047 # Whether we need soft or hard links.
25048 LN_S=$lt_LN_S
25049
25050 # What is the maximum length of a command?
25051 max_cmd_len=$max_cmd_len
25052
25053 # Object file suffix (normally "o").
25054 objext=$ac_objext
25055
25056 # Executable file suffix (normally "").
25057 exeext=$exeext
25058
25059 # convert \$build file names to \$host format.
25060 to_host_file_cmd=$lt_cv_to_host_file_cmd
25061
25062 # convert \$build files to toolchain format.
25063 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
25064
25065 # Method to check whether dependent libraries are shared objects.
25066 deplibs_check_method=$lt_deplibs_check_method
25067
25068 # Command to use when deplibs_check_method = "file_magic".
25069 file_magic_cmd=$lt_file_magic_cmd
25070
25071 # How to find potential files when deplibs_check_method = "file_magic".
25072 file_magic_glob=$lt_file_magic_glob
25073
25074 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
25075 want_nocaseglob=$lt_want_nocaseglob
25076
25077 # DLL creation program.
25078 DLLTOOL=$lt_DLLTOOL
25079
25080 # Command to associate shared and link libraries.
25081 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
25082
25083 # The archiver.
25084 AR=$lt_AR
25085
25086 # Flags to create an archive.
25087 AR_FLAGS=$lt_AR_FLAGS
25088
25089 # How to feed a file listing to the archiver.
25090 archiver_list_spec=$lt_archiver_list_spec
25091
25092 # A symbol stripping program.
25093 STRIP=$lt_STRIP
25094
25095 # Commands used to install an old-style archive.
25096 RANLIB=$lt_RANLIB
25097 old_postinstall_cmds=$lt_old_postinstall_cmds
25098 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25099
25100 # Whether to use a lock for old archive extraction.
25101 lock_old_archive_extraction=$lock_old_archive_extraction
25102
25103 # The root where to search for dependent libraries,and in which our libraries should be installed.
25104 lt_sysroot=$lt_sysroot
25105
25106 # Used to examine libraries when file_magic_cmd begins with "file".
25107 MAGIC_CMD=$MAGIC_CMD
25108
25109 # Must we lock files when doing compilation?
25110 need_locks=$lt_need_locks
25111
25112 # Manifest tool.
25113 MANIFEST_TOOL=$lt_MANIFEST_TOOL
25114
25115 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
25116 DSYMUTIL=$lt_DSYMUTIL
25117
25118 # Tool to change global to local symbols on Mac OS X.
25119 NMEDIT=$lt_NMEDIT
25120
25121 # Tool to manipulate fat objects and archives on Mac OS X.
25122 LIPO=$lt_LIPO
25123
25124 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
25125 OTOOL=$lt_OTOOL
25126
25127 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
25128 OTOOL64=$lt_OTOOL64
25129
25130 # Old archive suffix (normally "a").
25131 libext=$libext
25132
25133 # Shared library suffix (normally ".so").
25134 shrext_cmds=$lt_shrext_cmds
25135
25136 # The commands to extract the exported symbol list from a shared archive.
25137 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25138
25139 # Whether dlopen is supported.
25140 dlopen_support=$enable_dlopen
25141
25142 # Whether dlopen of programs is supported.
25143 dlopen_self=$enable_dlopen_self
25144
25145 # Whether dlopen of statically linked programs is supported.
25146 dlopen_self_static=$enable_dlopen_self_static
25147
25148 # Commands to strip libraries.
25149 old_striplib=$lt_old_striplib
25150 striplib=$lt_striplib
25151
25152
25153 # The linker used to build libraries.
25154 LD=$lt_LD
25155
25156 # A language specific compiler.
25157 CC=$lt_compiler
25158
25159 # Is the compiler the GNU compiler?
25160 with_gcc=$GCC
25161
25162 # How to create reloadable object files.
25163 reload_flag=$lt_reload_flag
25164 reload_cmds=$lt_reload_cmds
25165
25166 # Commands used to build an old-style archive.
25167 old_archive_cmds=$lt_old_archive_cmds
25168
25169 # Compiler flag to turn off builtin functions.
25170 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
25171
25172 # Additional compiler flags for building library objects.
25173 pic_flag=$lt_lt_prog_compiler_pic
25174
25175 # How to pass a linker flag through the compiler.
25176 wl=$lt_lt_prog_compiler_wl
25177
25178 # Compiler flag to prevent dynamic linking.
25179 link_static_flag=$lt_lt_prog_compiler_static
25180
25181 # Does compiler simultaneously support -c and -o options?
25182 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
25183
25184 # Whether or not to add -lc for building shared libraries.
25185 build_libtool_need_lc=$archive_cmds_need_lc
25186
25187 # Whether or not to disallow shared libs when runtime libs are static.
25188 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
25189
25190 # Compiler flag to allow reflexive dlopens.
25191 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
25192
25193 # Compiler flag to generate shared objects directly from archives.
25194 whole_archive_flag_spec=$lt_whole_archive_flag_spec
25195
25196 # Whether the compiler copes with passing no objects directly.
25197 compiler_needs_object=$lt_compiler_needs_object
25198
25199 # Create an old-style archive from a shared archive.
25200 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
25201
25202 # Create a temporary old-style archive to link instead of a shared archive.
25203 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
25204
25205 # Commands used to build a shared archive.
25206 archive_cmds=$lt_archive_cmds
25207 archive_expsym_cmds=$lt_archive_expsym_cmds
25208
25209 # Commands used to build a loadable module if different from building
25210 # a shared archive.
25211 module_cmds=$lt_module_cmds
25212 module_expsym_cmds=$lt_module_expsym_cmds
25213
25214 # Whether we are building with GNU ld or not.
25215 with_gnu_ld=$lt_with_gnu_ld
25216
25217 # Flag that allows shared libraries with undefined symbols to be built.
25218 allow_undefined_flag=$lt_allow_undefined_flag
25219
25220 # Flag that enforces no undefined symbols.
25221 no_undefined_flag=$lt_no_undefined_flag
25222
25223 # Flag to hardcode \$libdir into a binary during linking.
25224 # This must work even if \$libdir does not exist
25225 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
25226
25227 # If ld is used when linking, flag to hardcode \$libdir into a binary
25228 # during linking. This must work even if \$libdir does not exist.
25229 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
25230
25231 # Whether we need a single "-rpath" flag with a separated argument.
25232 hardcode_libdir_separator=$lt_hardcode_libdir_separator
25233
25234 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25235 # DIR into the resulting binary.
25236 hardcode_direct=$hardcode_direct
25237
25238 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25239 # DIR into the resulting binary and the resulting library dependency is
25240 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25241 # library is relocated.
25242 hardcode_direct_absolute=$hardcode_direct_absolute
25243
25244 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25245 # into the resulting binary.
25246 hardcode_minus_L=$hardcode_minus_L
25247
25248 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25249 # into the resulting binary.
25250 hardcode_shlibpath_var=$hardcode_shlibpath_var
25251
25252 # Set to "yes" if building a shared library automatically hardcodes DIR
25253 # into the library and all subsequent libraries and executables linked
25254 # against it.
25255 hardcode_automatic=$hardcode_automatic
25256
25257 # Set to yes if linker adds runtime paths of dependent libraries
25258 # to runtime path list.
25259 inherit_rpath=$inherit_rpath
25260
25261 # Whether libtool must link a program against all its dependency libraries.
25262 link_all_deplibs=$link_all_deplibs
25263
25264 # Set to "yes" if exported symbols are required.
25265 always_export_symbols=$always_export_symbols
25266
25267 # The commands to list exported symbols.
25268 export_symbols_cmds=$lt_export_symbols_cmds
25269
25270 # Symbols that should not be listed in the preloaded symbols.
25271 exclude_expsyms=$lt_exclude_expsyms
25272
25273 # Symbols that must always be exported.
25274 include_expsyms=$lt_include_expsyms
25275
25276 # Commands necessary for linking programs (against libraries) with templates.
25277 prelink_cmds=$lt_prelink_cmds
25278
25279 # Commands necessary for finishing linking programs.
25280 postlink_cmds=$lt_postlink_cmds
25281
25282 # Specify filename containing input files.
25283 file_list_spec=$lt_file_list_spec
25284
25285 # How to hardcode a shared library path into an executable.
25286 hardcode_action=$hardcode_action
25287
25288 # The directories searched by this compiler when creating a shared library.
25289 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
25290
25291 # Dependencies to place before and after the objects being linked to
25292 # create a shared library.
25293 predep_objects=$lt_predep_objects
25294 postdep_objects=$lt_postdep_objects
25295 predeps=$lt_predeps
25296 postdeps=$lt_postdeps
25297
25298 # The library search path used internally by the compiler when linking
25299 # a shared library.
25300 compiler_lib_search_path=$lt_compiler_lib_search_path
25301
25302 # ### END LIBTOOL CONFIG
25303
25304 _LT_EOF
25305
25306 case $host_os in
25307 aix3*)
25308 cat <<\_LT_EOF >> "$cfgfile"
25309 # AIX sometimes has problems with the GCC collect2 program. For some
25310 # reason, if we set the COLLECT_NAMES environment variable, the problems
25311 # vanish in a puff of smoke.
25312 if test "X${COLLECT_NAMES+set}" != Xset; then
25313 COLLECT_NAMES=
25314 export COLLECT_NAMES
25315 fi
25316 _LT_EOF
25317 ;;
25318 esac
25319
25320
25321 ltmain="$ac_aux_dir/ltmain.sh"
25322
25323
25324 # We use sed instead of cat because bash on DJGPP gets confused if
25325 # if finds mixed CR/LF and LF-only lines. Since sed operates in
25326 # text mode, it properly converts lines to CR/LF. This bash problem
25327 # is reportedly fixed, but why not run on old versions too?
25328 sed '$q' "$ltmain" >> "$cfgfile" \
25329 || (rm -f "$cfgfile"; exit 1)
25330
25331 if test x"$xsi_shell" = xyes; then
25332 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
25333 func_dirname ()\
25334 {\
25335 \ case ${1} in\
25336 \ */*) func_dirname_result="${1%/*}${2}" ;;\
25337 \ * ) func_dirname_result="${3}" ;;\
25338 \ esac\
25339 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
25340 && mv -f "$cfgfile.tmp" "$cfgfile" \
25341 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25342 test 0 -eq $? || _lt_function_replace_fail=:
25343
25344
25345 sed -e '/^func_basename ()$/,/^} # func_basename /c\
25346 func_basename ()\
25347 {\
25348 \ func_basename_result="${1##*/}"\
25349 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
25350 && mv -f "$cfgfile.tmp" "$cfgfile" \
25351 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25352 test 0 -eq $? || _lt_function_replace_fail=:
25353
25354
25355 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
25356 func_dirname_and_basename ()\
25357 {\
25358 \ case ${1} in\
25359 \ */*) func_dirname_result="${1%/*}${2}" ;;\
25360 \ * ) func_dirname_result="${3}" ;;\
25361 \ esac\
25362 \ func_basename_result="${1##*/}"\
25363 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
25364 && mv -f "$cfgfile.tmp" "$cfgfile" \
25365 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25366 test 0 -eq $? || _lt_function_replace_fail=:
25367
25368
25369 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
25370 func_stripname ()\
25371 {\
25372 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
25373 \ # positional parameters, so assign one to ordinary parameter first.\
25374 \ func_stripname_result=${3}\
25375 \ func_stripname_result=${func_stripname_result#"${1}"}\
25376 \ func_stripname_result=${func_stripname_result%"${2}"}\
25377 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
25378 && mv -f "$cfgfile.tmp" "$cfgfile" \
25379 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25380 test 0 -eq $? || _lt_function_replace_fail=:
25381
25382
25383 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
25384 func_split_long_opt ()\
25385 {\
25386 \ func_split_long_opt_name=${1%%=*}\
25387 \ func_split_long_opt_arg=${1#*=}\
25388 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
25389 && mv -f "$cfgfile.tmp" "$cfgfile" \
25390 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25391 test 0 -eq $? || _lt_function_replace_fail=:
25392
25393
25394 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
25395 func_split_short_opt ()\
25396 {\
25397 \ func_split_short_opt_arg=${1#??}\
25398 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
25399 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
25400 && mv -f "$cfgfile.tmp" "$cfgfile" \
25401 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25402 test 0 -eq $? || _lt_function_replace_fail=:
25403
25404
25405 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
25406 func_lo2o ()\
25407 {\
25408 \ case ${1} in\
25409 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
25410 \ *) func_lo2o_result=${1} ;;\
25411 \ esac\
25412 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
25413 && mv -f "$cfgfile.tmp" "$cfgfile" \
25414 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25415 test 0 -eq $? || _lt_function_replace_fail=:
25416
25417
25418 sed -e '/^func_xform ()$/,/^} # func_xform /c\
25419 func_xform ()\
25420 {\
25421 func_xform_result=${1%.*}.lo\
25422 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
25423 && mv -f "$cfgfile.tmp" "$cfgfile" \
25424 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25425 test 0 -eq $? || _lt_function_replace_fail=:
25426
25427
25428 sed -e '/^func_arith ()$/,/^} # func_arith /c\
25429 func_arith ()\
25430 {\
25431 func_arith_result=$(( $* ))\
25432 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
25433 && mv -f "$cfgfile.tmp" "$cfgfile" \
25434 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25435 test 0 -eq $? || _lt_function_replace_fail=:
25436
25437
25438 sed -e '/^func_len ()$/,/^} # func_len /c\
25439 func_len ()\
25440 {\
25441 func_len_result=${#1}\
25442 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
25443 && mv -f "$cfgfile.tmp" "$cfgfile" \
25444 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25445 test 0 -eq $? || _lt_function_replace_fail=:
25446
25447 fi
25448
25449 if test x"$lt_shell_append" = xyes; then
25450 sed -e '/^func_append ()$/,/^} # func_append /c\
25451 func_append ()\
25452 {\
25453 eval "${1}+=\\${2}"\
25454 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
25455 && mv -f "$cfgfile.tmp" "$cfgfile" \
25456 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25457 test 0 -eq $? || _lt_function_replace_fail=:
25458
25459
25460 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
25461 func_append_quoted ()\
25462 {\
25463 \ func_quote_for_eval "${2}"\
25464 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
25465 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
25466 && mv -f "$cfgfile.tmp" "$cfgfile" \
25467 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25468 test 0 -eq $? || _lt_function_replace_fail=:
25469
25470
25471 # Save a `func_append' function call where possible by direct use of '+='
25472 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
25473 && mv -f "$cfgfile.tmp" "$cfgfile" \
25474 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25475 test 0 -eq $? || _lt_function_replace_fail=:
25476 else
25477 # Save a `func_append' function call even when '+=' is not available
25478 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
25479 && mv -f "$cfgfile.tmp" "$cfgfile" \
25480 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25481 test 0 -eq $? || _lt_function_replace_fail=:
25482 fi
25483
25484 if test x"$_lt_function_replace_fail" = x":"; then
25485 { $as_echo "$as_me:$LINENO: WARNING: Unable to substitute extended shell functions in $ofile" >&5
25486 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
25487 fi
25488
25489
25490 mv -f "$cfgfile" "$ofile" ||
25491 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
25492 chmod +x "$ofile"
25493
25494
25495 cat <<_LT_EOF >> "$ofile"
25496
25497 # ### BEGIN LIBTOOL TAG CONFIG: CXX
25498
25499 # The linker used to build libraries.
25500 LD=$lt_LD_CXX
25501
25502 # A language specific compiler.
25503 CC=$lt_compiler_CXX
25504
25505 # Is the compiler the GNU compiler?
25506 with_gcc=$GCC_CXX
25507
25508 # How to create reloadable object files.
25509 reload_flag=$lt_reload_flag_CXX
25510 reload_cmds=$lt_reload_cmds_CXX
25511
25512 # Commands used to build an old-style archive.
25513 old_archive_cmds=$lt_old_archive_cmds_CXX
25514
25515 # Compiler flag to turn off builtin functions.
25516 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
25517
25518 # Additional compiler flags for building library objects.
25519 pic_flag=$lt_lt_prog_compiler_pic_CXX
25520
25521 # How to pass a linker flag through the compiler.
25522 wl=$lt_lt_prog_compiler_wl_CXX
25523
25524 # Compiler flag to prevent dynamic linking.
25525 link_static_flag=$lt_lt_prog_compiler_static_CXX
25526
25527 # Does compiler simultaneously support -c and -o options?
25528 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
25529
25530 # Whether or not to add -lc for building shared libraries.
25531 build_libtool_need_lc=$archive_cmds_need_lc_CXX
25532
25533 # Whether or not to disallow shared libs when runtime libs are static.
25534 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
25535
25536 # Compiler flag to allow reflexive dlopens.
25537 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
25538
25539 # Compiler flag to generate shared objects directly from archives.
25540 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
25541
25542 # Whether the compiler copes with passing no objects directly.
25543 compiler_needs_object=$lt_compiler_needs_object_CXX
25544
25545 # Create an old-style archive from a shared archive.
25546 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
25547
25548 # Create a temporary old-style archive to link instead of a shared archive.
25549 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
25550
25551 # Commands used to build a shared archive.
25552 archive_cmds=$lt_archive_cmds_CXX
25553 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
25554
25555 # Commands used to build a loadable module if different from building
25556 # a shared archive.
25557 module_cmds=$lt_module_cmds_CXX
25558 module_expsym_cmds=$lt_module_expsym_cmds_CXX
25559
25560 # Whether we are building with GNU ld or not.
25561 with_gnu_ld=$lt_with_gnu_ld_CXX
25562
25563 # Flag that allows shared libraries with undefined symbols to be built.
25564 allow_undefined_flag=$lt_allow_undefined_flag_CXX
25565
25566 # Flag that enforces no undefined symbols.
25567 no_undefined_flag=$lt_no_undefined_flag_CXX
25568
25569 # Flag to hardcode \$libdir into a binary during linking.
25570 # This must work even if \$libdir does not exist
25571 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
25572
25573 # If ld is used when linking, flag to hardcode \$libdir into a binary
25574 # during linking. This must work even if \$libdir does not exist.
25575 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
25576
25577 # Whether we need a single "-rpath" flag with a separated argument.
25578 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
25579
25580 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25581 # DIR into the resulting binary.
25582 hardcode_direct=$hardcode_direct_CXX
25583
25584 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25585 # DIR into the resulting binary and the resulting library dependency is
25586 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25587 # library is relocated.
25588 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
25589
25590 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25591 # into the resulting binary.
25592 hardcode_minus_L=$hardcode_minus_L_CXX
25593
25594 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25595 # into the resulting binary.
25596 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
25597
25598 # Set to "yes" if building a shared library automatically hardcodes DIR
25599 # into the library and all subsequent libraries and executables linked
25600 # against it.
25601 hardcode_automatic=$hardcode_automatic_CXX
25602
25603 # Set to yes if linker adds runtime paths of dependent libraries
25604 # to runtime path list.
25605 inherit_rpath=$inherit_rpath_CXX
25606
25607 # Whether libtool must link a program against all its dependency libraries.
25608 link_all_deplibs=$link_all_deplibs_CXX
25609
25610 # Set to "yes" if exported symbols are required.
25611 always_export_symbols=$always_export_symbols_CXX
25612
25613 # The commands to list exported symbols.
25614 export_symbols_cmds=$lt_export_symbols_cmds_CXX
25615
25616 # Symbols that should not be listed in the preloaded symbols.
25617 exclude_expsyms=$lt_exclude_expsyms_CXX
25618
25619 # Symbols that must always be exported.
25620 include_expsyms=$lt_include_expsyms_CXX
25621
25622 # Commands necessary for linking programs (against libraries) with templates.
25623 prelink_cmds=$lt_prelink_cmds_CXX
25624
25625 # Commands necessary for finishing linking programs.
25626 postlink_cmds=$lt_postlink_cmds_CXX
25627
25628 # Specify filename containing input files.
25629 file_list_spec=$lt_file_list_spec_CXX
25630
25631 # How to hardcode a shared library path into an executable.
25632 hardcode_action=$hardcode_action_CXX
25633
25634 # The directories searched by this compiler when creating a shared library.
25635 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
25636
25637 # Dependencies to place before and after the objects being linked to
25638 # create a shared library.
25639 predep_objects=$lt_predep_objects_CXX
25640 postdep_objects=$lt_postdep_objects_CXX
25641 predeps=$lt_predeps_CXX
25642 postdeps=$lt_postdeps_CXX
25643
25644 # The library search path used internally by the compiler when linking
25645 # a shared library.
25646 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
25647
25648 # ### END LIBTOOL TAG CONFIG: CXX
25649 _LT_EOF
25650
25651 ;;
25652
25653 esac
25654 done # for ac_tag
25655
25656
25657 { (exit 0); exit 0; }
25658 _ACEOF
25659 chmod +x $CONFIG_STATUS
25660 ac_clean_files=$ac_clean_files_save
25661
25662 test $ac_write_fail = 0 ||
25663 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
25664 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
25665 { (exit 1); exit 1; }; }
25666
25667
25668 # configure is writing to config.log, and then calls config.status.
25669 # config.status does its own redirection, appending to config.log.
25670 # Unfortunately, on DOS this fails, as config.log is still kept open
25671 # by configure, so config.status won't be able to write to it; its
25672 # output is simply discarded. So we exec the FD to /dev/null,
25673 # effectively closing config.log, so it can be properly (re)opened and
25674 # appended to by config.status. When coming back to configure, we
25675 # need to make the FD available again.
25676 if test "$no_create" != yes; then
25677 ac_cs_success=:
25678 ac_config_status_args=
25679 test "$silent" = yes &&
25680 ac_config_status_args="$ac_config_status_args --quiet"
25681 exec 5>/dev/null
25682 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25683 exec 5>>config.log
25684 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25685 # would make configure fail if this is the last instruction.
25686 $ac_cs_success || { (exit 1); exit 1; }
25687 fi
25688
25689 #
25690 # CONFIG_SUBDIRS section.
25691 #
25692 if test "$no_recursion" != yes; then
25693
25694 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
25695 # so they do not pile up.
25696 ac_sub_configure_args=
25697 ac_prev=
25698 eval "set x $ac_configure_args"
25699 shift
25700 for ac_arg
25701 do
25702 if test -n "$ac_prev"; then
25703 ac_prev=
25704 continue
25705 fi
25706 case $ac_arg in
25707 -cache-file | --cache-file | --cache-fil | --cache-fi \
25708 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
25709 ac_prev=cache_file ;;
25710 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
25711 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
25712 | --c=*)
25713 ;;
25714 --config-cache | -C)
25715 ;;
25716 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
25717 ac_prev=srcdir ;;
25718 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
25719 ;;
25720 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
25721 ac_prev=prefix ;;
25722 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
25723 ;;
25724 --disable-option-checking)
25725 ;;
25726 *)
25727 case $ac_arg in
25728 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
25729 esac
25730 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
25731 esac
25732 done
25733
25734 # Always prepend --prefix to ensure using the same prefix
25735 # in subdir configurations.
25736 ac_arg="--prefix=$prefix"
25737 case $ac_arg in
25738 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
25739 esac
25740 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
25741
25742 # Pass --silent
25743 if test "$silent" = yes; then
25744 ac_sub_configure_args="--silent $ac_sub_configure_args"
25745 fi
25746
25747 # Always prepend --disable-option-checking to silence warnings, since
25748 # different subdirs can have different --enable and --with options.
25749 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
25750
25751 ac_popdir=`pwd`
25752 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
25753
25754 # Do not complain, so a configure script can configure whichever
25755 # parts of a large source tree are present.
25756 test -d "$srcdir/$ac_dir" || continue
25757
25758 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
25759 $as_echo "$as_me:$LINENO: $ac_msg" >&5
25760 $as_echo "$ac_msg" >&6
25761 { as_dir="$ac_dir"
25762 case $as_dir in #(
25763 -*) as_dir=./$as_dir;;
25764 esac
25765 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25766 as_dirs=
25767 while :; do
25768 case $as_dir in #(
25769 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25770 *) as_qdir=$as_dir;;
25771 esac
25772 as_dirs="'$as_qdir' $as_dirs"
25773 as_dir=`$as_dirname -- "$as_dir" ||
25774 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25775 X"$as_dir" : 'X\(//\)[^/]' \| \
25776 X"$as_dir" : 'X\(//\)$' \| \
25777 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25778 $as_echo X"$as_dir" |
25779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25780 s//\1/
25781 q
25782 }
25783 /^X\(\/\/\)[^/].*/{
25784 s//\1/
25785 q
25786 }
25787 /^X\(\/\/\)$/{
25788 s//\1/
25789 q
25790 }
25791 /^X\(\/\).*/{
25792 s//\1/
25793 q
25794 }
25795 s/.*/./; q'`
25796 test -d "$as_dir" && break
25797 done
25798 test -z "$as_dirs" || eval "mkdir $as_dirs"
25799 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25800 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
25801 { (exit 1); exit 1; }; }; }
25802 ac_builddir=.
25803
25804 case "$ac_dir" in
25805 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25806 *)
25807 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
25808 # A ".." for each directory in $ac_dir_suffix.
25809 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
25810 case $ac_top_builddir_sub in
25811 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25812 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25813 esac ;;
25814 esac
25815 ac_abs_top_builddir=$ac_pwd
25816 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25817 # for backward compatibility:
25818 ac_top_builddir=$ac_top_build_prefix
25819
25820 case $srcdir in
25821 .) # We are building in place.
25822 ac_srcdir=.
25823 ac_top_srcdir=$ac_top_builddir_sub
25824 ac_abs_top_srcdir=$ac_pwd ;;
25825 [\\/]* | ?:[\\/]* ) # Absolute name.
25826 ac_srcdir=$srcdir$ac_dir_suffix;
25827 ac_top_srcdir=$srcdir
25828 ac_abs_top_srcdir=$srcdir ;;
25829 *) # Relative name.
25830 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25831 ac_top_srcdir=$ac_top_build_prefix$srcdir
25832 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25833 esac
25834 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25835
25836
25837 cd "$ac_dir"
25838
25839 # Check for guested configure; otherwise get Cygnus style configure.
25840 if test -f "$ac_srcdir/configure.gnu"; then
25841 ac_sub_configure=$ac_srcdir/configure.gnu
25842 elif test -f "$ac_srcdir/configure"; then
25843 ac_sub_configure=$ac_srcdir/configure
25844 elif test -f "$ac_srcdir/configure.in"; then
25845 # This should be Cygnus configure.
25846 ac_sub_configure=$ac_aux_dir/configure
25847 else
25848 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
25849 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
25850 ac_sub_configure=
25851 fi
25852
25853 # The recursion is here.
25854 if test -n "$ac_sub_configure"; then
25855 # Make the cache file name correct relative to the subdirectory.
25856 case $cache_file in
25857 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
25858 *) # Relative name.
25859 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
25860 esac
25861
25862 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
25863 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
25864 # The eval makes quoting arguments work.
25865 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
25866 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
25867 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
25868 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
25869 { (exit 1); exit 1; }; }
25870 fi
25871
25872 cd "$ac_popdir"
25873 done
25874 fi
25875 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
25876 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
25877 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
25878 fi
25879