Fix license
[platform/upstream/libxml++.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for libxml++ 2.34.2.
4 #
5 # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && 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 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     PATH=/empty FPATH=/empty; export PATH FPATH
183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
254 $0: have one."
255   fi
256   exit 1
257 fi
258 fi
259 fi
260 SHELL=${CONFIG_SHELL-/bin/sh}
261 export SHELL
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
265
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
269 # as_fn_unset VAR
270 # ---------------
271 # Portably unset VAR.
272 as_fn_unset ()
273 {
274   { eval $1=; unset $1;}
275 }
276 as_unset=as_fn_unset
277
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
281 as_fn_set_status ()
282 {
283   return $1
284 } # as_fn_set_status
285
286 # as_fn_exit STATUS
287 # -----------------
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 as_fn_exit ()
290 {
291   set +e
292   as_fn_set_status $1
293   exit $1
294 } # as_fn_exit
295
296 # as_fn_mkdir_p
297 # -------------
298 # Create "$as_dir" as a directory, including parents if necessary.
299 as_fn_mkdir_p ()
300 {
301
302   case $as_dir in #(
303   -*) as_dir=./$as_dir;;
304   esac
305   test -d "$as_dir" || eval $as_mkdir_p || {
306     as_dirs=
307     while :; do
308       case $as_dir in #(
309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310       *) as_qdir=$as_dir;;
311       esac
312       as_dirs="'$as_qdir' $as_dirs"
313       as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315          X"$as_dir" : 'X\(//\)[^/]' \| \
316          X"$as_dir" : 'X\(//\)$' \| \
317          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320             s//\1/
321             q
322           }
323           /^X\(\/\/\)[^/].*/{
324             s//\1/
325             q
326           }
327           /^X\(\/\/\)$/{
328             s//\1/
329             q
330           }
331           /^X\(\/\).*/{
332             s//\1/
333             q
334           }
335           s/.*/./; q'`
336       test -d "$as_dir" && break
337     done
338     test -z "$as_dirs" || eval "mkdir $as_dirs"
339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340
341
342 } # as_fn_mkdir_p
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
348 # implementations.
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350   eval 'as_fn_append ()
351   {
352     eval $1+=\$2
353   }'
354 else
355   as_fn_append ()
356   {
357     eval $1=\$$1\$2
358   }
359 fi # as_fn_append
360
361 # as_fn_arith ARG...
362 # ------------------
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
367   eval 'as_fn_arith ()
368   {
369     as_val=$(( $* ))
370   }'
371 else
372   as_fn_arith ()
373   {
374     as_val=`expr "$@" || test $? -eq 1`
375   }
376 fi # as_fn_arith
377
378
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
384 as_fn_error ()
385 {
386   as_status=$1; test $as_status -eq 0 && as_status=1
387   if test "$4"; then
388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390   fi
391   $as_echo "$as_me: error: $2" >&2
392   as_fn_exit $as_status
393 } # as_fn_error
394
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
397   as_expr=expr
398 else
399   as_expr=false
400 fi
401
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
403   as_basename=basename
404 else
405   as_basename=false
406 fi
407
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
409   as_dirname=dirname
410 else
411   as_dirname=false
412 fi
413
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416          X"$0" : 'X\(//\)$' \| \
417          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 $as_echo X/"$0" |
419     sed '/^.*\/\([^/][^/]*\)\/*$/{
420             s//\1/
421             q
422           }
423           /^X\/\(\/\/\)$/{
424             s//\1/
425             q
426           }
427           /^X\/\(\/\).*/{
428             s//\1/
429             q
430           }
431           s/.*/./; q'`
432
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
439
440
441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
446   sed -n '
447     p
448     /[$]LINENO/=
449   ' <$as_myself |
450     sed '
451       s/[$]LINENO.*/&-/
452       t lineno
453       b
454       :lineno
455       N
456       :loop
457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458       t loop
459       s/-\n.*//
460     ' >$as_me.lineno &&
461   chmod +x "$as_me.lineno" ||
462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
464   # Don't try to exec as it changes $[0], causing all sort of problems
465   # (the dirname of $[0] is not the place where we might find the
466   # original and so on.  Autoconf is especially sensitive to this).
467   . "./$as_me.lineno"
468   # Exit status is that of the last command.
469   exit
470 }
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
474 -n*)
475   case `echo 'xy\c'` in
476   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477   xy)  ECHO_C='\c';;
478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
479        ECHO_T=' ';;
480   esac;;
481 *)
482   ECHO_N='-n';;
483 esac
484
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487   rm -f conf$$.dir/conf$$.file
488 else
489   rm -f conf$$.dir
490   mkdir conf$$.dir 2>/dev/null
491 fi
492 if (echo >conf$$.file) 2>/dev/null; then
493   if ln -s conf$$.file conf$$ 2>/dev/null; then
494     as_ln_s='ln -s'
495     # ... but there are two gotchas:
496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498     # In both cases, we have to default to `cp -p'.
499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500       as_ln_s='cp -p'
501   elif ln conf$$.file conf$$ 2>/dev/null; then
502     as_ln_s=ln
503   else
504     as_ln_s='cp -p'
505   fi
506 else
507   as_ln_s='cp -p'
508 fi
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
511
512 if mkdir -p . 2>/dev/null; then
513   as_mkdir_p='mkdir -p "$as_dir"'
514 else
515   test -d ./-p && rmdir ./-p
516   as_mkdir_p=false
517 fi
518
519 if test -x / >/dev/null 2>&1; then
520   as_test_x='test -x'
521 else
522   if ls -dL / >/dev/null 2>&1; then
523     as_ls_L_option=L
524   else
525     as_ls_L_option=
526   fi
527   as_test_x='
528     eval sh -c '\''
529       if test -d "$1"; then
530         test -d "$1/.";
531       else
532         case $1 in #(
533         -*)set "./$1";;
534         esac;
535         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536         ???[sx]*):;;*)false;;esac;fi
537     '\'' sh
538   '
539 fi
540 as_executable_p=$as_test_x
541
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
548 SHELL=${CONFIG_SHELL-/bin/sh}
549
550
551 test -n "$DJDIR" || exec 7<&0 </dev/null
552 exec 6>&1
553
554 # Name of the host.
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559 #
560 # Initializations.
561 #
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570
571 # Identity of this package.
572 PACKAGE_NAME='libxml++'
573 PACKAGE_TARNAME='libxml++'
574 PACKAGE_VERSION='2.34.2'
575 PACKAGE_STRING='libxml++ 2.34.2'
576 PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B'
577 PACKAGE_URL='http://libxmlplusplus.sourceforge.net/'
578
579 ac_unique_file="libxml++/libxml++.h"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 #  include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #  include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
615
616 ac_subst_vars='am__EXEEXT_FALSE
617 am__EXEEXT_TRUE
618 LTLIBOBJS
619 LIBOBJS
620 DB2LATEX
621 XMLLINT
622 LIBXMLXX_WXXFLAGS
623 DOCINSTALL_FLAGS
624 DOXYGEN_TAGFILES
625 ENABLE_DOCUMENTATION_FALSE
626 ENABLE_DOCUMENTATION_TRUE
627 XSLTPROC
628 DOXYGEN
629 DOT
630 PERL
631 ENABLE_EXAMPLES_FALSE
632 ENABLE_EXAMPLES_TRUE
633 LIBXMLXX_LIBS
634 LIBXMLXX_CFLAGS
635 PKG_CONFIG_LIBDIR
636 PKG_CONFIG_PATH
637 PKG_CONFIG
638 LIBXMLXX_MODULES
639 CXXCPP
640 CPP
641 OTOOL64
642 OTOOL
643 LIPO
644 NMEDIT
645 DSYMUTIL
646 MANIFEST_TOOL
647 RANLIB
648 ac_ct_AR
649 AR
650 LN_S
651 NM
652 ac_ct_DUMPBIN
653 DUMPBIN
654 LD
655 FGREP
656 EGREP
657 GREP
658 SED
659 am__fastdepCC_FALSE
660 am__fastdepCC_TRUE
661 CCDEPMODE
662 ac_ct_CC
663 CFLAGS
664 CC
665 host_os
666 host_vendor
667 host_cpu
668 host
669 build_os
670 build_vendor
671 build_cpu
672 build
673 LIBTOOL
674 OBJDUMP
675 DLLTOOL
676 AS
677 am__fastdepCXX_FALSE
678 am__fastdepCXX_TRUE
679 CXXDEPMODE
680 AMDEPBACKSLASH
681 AMDEP_FALSE
682 AMDEP_TRUE
683 am__quote
684 am__include
685 DEPDIR
686 OBJEXT
687 EXEEXT
688 ac_ct_CXX
689 CPPFLAGS
690 LDFLAGS
691 CXXFLAGS
692 CXX
693 LIBXMLXX_SO_VERSION
694 MMDOCTOOLDIR
695 DIST_DOCTOOLS_FALSE
696 DIST_DOCTOOLS_TRUE
697 LIBXMLXX_MICRO_VERSION
698 LIBXMLXX_MINOR_VERSION
699 LIBXMLXX_MAJOR_VERSION
700 LIBXMLXX_API_VERSION
701 LIBXMLXX_VERSION
702 LIBXMLXX_MODULE_NAME
703 ACLOCAL_FLAGS
704 MAINT
705 MAINTAINER_MODE_FALSE
706 MAINTAINER_MODE_TRUE
707 AM_BACKSLASH
708 AM_DEFAULT_VERBOSITY
709 am__untar
710 am__tar
711 AMTAR
712 am__leading_dot
713 SET_MAKE
714 AWK
715 mkdir_p
716 MKDIR_P
717 INSTALL_STRIP_PROGRAM
718 STRIP
719 install_sh
720 MAKEINFO
721 AUTOHEADER
722 AUTOMAKE
723 AUTOCONF
724 ACLOCAL
725 VERSION
726 PACKAGE
727 CYGPATH_W
728 am__isrc
729 INSTALL_DATA
730 INSTALL_SCRIPT
731 INSTALL_PROGRAM
732 target_alias
733 host_alias
734 build_alias
735 LIBS
736 ECHO_T
737 ECHO_N
738 ECHO_C
739 DEFS
740 mandir
741 localedir
742 libdir
743 psdir
744 pdfdir
745 dvidir
746 htmldir
747 infodir
748 docdir
749 oldincludedir
750 includedir
751 localstatedir
752 sharedstatedir
753 sysconfdir
754 datadir
755 datarootdir
756 libexecdir
757 sbindir
758 bindir
759 program_transform_name
760 prefix
761 exec_prefix
762 PACKAGE_URL
763 PACKAGE_BUGREPORT
764 PACKAGE_STRING
765 PACKAGE_VERSION
766 PACKAGE_TARNAME
767 PACKAGE_NAME
768 PATH_SEPARATOR
769 SHELL'
770 ac_subst_files=''
771 ac_user_opts='
772 enable_option_checking
773 enable_silent_rules
774 enable_maintainer_mode
775 enable_dependency_tracking
776 enable_static
777 enable_shared
778 with_pic
779 enable_fast_install
780 with_gnu_ld
781 with_sysroot
782 enable_libtool_lock
783 enable_examples
784 enable_api_exceptions
785 enable_documentation
786 with_glibmm_doc
787 enable_warnings
788 '
789       ac_precious_vars='build_alias
790 host_alias
791 target_alias
792 ACLOCAL_FLAGS
793 CXX
794 CXXFLAGS
795 LDFLAGS
796 LIBS
797 CPPFLAGS
798 CCC
799 CC
800 CFLAGS
801 CPP
802 CXXCPP
803 PKG_CONFIG
804 PKG_CONFIG_PATH
805 PKG_CONFIG_LIBDIR
806 LIBXMLXX_CFLAGS
807 LIBXMLXX_LIBS
808 PERL
809 DOT
810 DOXYGEN
811 XSLTPROC
812 XMLLINT
813 DB2LATEX'
814
815
816 # Initialize some variables set by options.
817 ac_init_help=
818 ac_init_version=false
819 ac_unrecognized_opts=
820 ac_unrecognized_sep=
821 # The variables have the same names as the options, with
822 # dashes changed to underlines.
823 cache_file=/dev/null
824 exec_prefix=NONE
825 no_create=
826 no_recursion=
827 prefix=NONE
828 program_prefix=NONE
829 program_suffix=NONE
830 program_transform_name=s,x,x,
831 silent=
832 site=
833 srcdir=
834 verbose=
835 x_includes=NONE
836 x_libraries=NONE
837
838 # Installation directory options.
839 # These are left unexpanded so users can "make install exec_prefix=/foo"
840 # and all the variables that are supposed to be based on exec_prefix
841 # by default will actually change.
842 # Use braces instead of parens because sh, perl, etc. also accept them.
843 # (The list follows the same order as the GNU Coding Standards.)
844 bindir='${exec_prefix}/bin'
845 sbindir='${exec_prefix}/sbin'
846 libexecdir='${exec_prefix}/libexec'
847 datarootdir='${prefix}/share'
848 datadir='${datarootdir}'
849 sysconfdir='${prefix}/etc'
850 sharedstatedir='${prefix}/com'
851 localstatedir='${prefix}/var'
852 includedir='${prefix}/include'
853 oldincludedir='/usr/include'
854 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
855 infodir='${datarootdir}/info'
856 htmldir='${docdir}'
857 dvidir='${docdir}'
858 pdfdir='${docdir}'
859 psdir='${docdir}'
860 libdir='${exec_prefix}/lib'
861 localedir='${datarootdir}/locale'
862 mandir='${datarootdir}/man'
863
864 ac_prev=
865 ac_dashdash=
866 for ac_option
867 do
868   # If the previous option needs an argument, assign it.
869   if test -n "$ac_prev"; then
870     eval $ac_prev=\$ac_option
871     ac_prev=
872     continue
873   fi
874
875   case $ac_option in
876   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
877   *=)   ac_optarg= ;;
878   *)    ac_optarg=yes ;;
879   esac
880
881   # Accept the important Cygnus configure options, so we can diagnose typos.
882
883   case $ac_dashdash$ac_option in
884   --)
885     ac_dashdash=yes ;;
886
887   -bindir | --bindir | --bindi | --bind | --bin | --bi)
888     ac_prev=bindir ;;
889   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
890     bindir=$ac_optarg ;;
891
892   -build | --build | --buil | --bui | --bu)
893     ac_prev=build_alias ;;
894   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
895     build_alias=$ac_optarg ;;
896
897   -cache-file | --cache-file | --cache-fil | --cache-fi \
898   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
899     ac_prev=cache_file ;;
900   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
901   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
902     cache_file=$ac_optarg ;;
903
904   --config-cache | -C)
905     cache_file=config.cache ;;
906
907   -datadir | --datadir | --datadi | --datad)
908     ac_prev=datadir ;;
909   -datadir=* | --datadir=* | --datadi=* | --datad=*)
910     datadir=$ac_optarg ;;
911
912   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
913   | --dataroo | --dataro | --datar)
914     ac_prev=datarootdir ;;
915   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
916   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
917     datarootdir=$ac_optarg ;;
918
919   -disable-* | --disable-*)
920     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
921     # Reject names that are not valid shell variable names.
922     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
923       as_fn_error $? "invalid feature name: $ac_useropt"
924     ac_useropt_orig=$ac_useropt
925     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926     case $ac_user_opts in
927       *"
928 "enable_$ac_useropt"
929 "*) ;;
930       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
931          ac_unrecognized_sep=', ';;
932     esac
933     eval enable_$ac_useropt=no ;;
934
935   -docdir | --docdir | --docdi | --doc | --do)
936     ac_prev=docdir ;;
937   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
938     docdir=$ac_optarg ;;
939
940   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
941     ac_prev=dvidir ;;
942   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
943     dvidir=$ac_optarg ;;
944
945   -enable-* | --enable-*)
946     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
947     # Reject names that are not valid shell variable names.
948     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
949       as_fn_error $? "invalid feature name: $ac_useropt"
950     ac_useropt_orig=$ac_useropt
951     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952     case $ac_user_opts in
953       *"
954 "enable_$ac_useropt"
955 "*) ;;
956       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
957          ac_unrecognized_sep=', ';;
958     esac
959     eval enable_$ac_useropt=\$ac_optarg ;;
960
961   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
962   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
963   | --exec | --exe | --ex)
964     ac_prev=exec_prefix ;;
965   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
966   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
967   | --exec=* | --exe=* | --ex=*)
968     exec_prefix=$ac_optarg ;;
969
970   -gas | --gas | --ga | --g)
971     # Obsolete; use --with-gas.
972     with_gas=yes ;;
973
974   -help | --help | --hel | --he | -h)
975     ac_init_help=long ;;
976   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
977     ac_init_help=recursive ;;
978   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
979     ac_init_help=short ;;
980
981   -host | --host | --hos | --ho)
982     ac_prev=host_alias ;;
983   -host=* | --host=* | --hos=* | --ho=*)
984     host_alias=$ac_optarg ;;
985
986   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
987     ac_prev=htmldir ;;
988   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
989   | --ht=*)
990     htmldir=$ac_optarg ;;
991
992   -includedir | --includedir | --includedi | --included | --include \
993   | --includ | --inclu | --incl | --inc)
994     ac_prev=includedir ;;
995   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
996   | --includ=* | --inclu=* | --incl=* | --inc=*)
997     includedir=$ac_optarg ;;
998
999   -infodir | --infodir | --infodi | --infod | --info | --inf)
1000     ac_prev=infodir ;;
1001   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1002     infodir=$ac_optarg ;;
1003
1004   -libdir | --libdir | --libdi | --libd)
1005     ac_prev=libdir ;;
1006   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1007     libdir=$ac_optarg ;;
1008
1009   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1010   | --libexe | --libex | --libe)
1011     ac_prev=libexecdir ;;
1012   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1013   | --libexe=* | --libex=* | --libe=*)
1014     libexecdir=$ac_optarg ;;
1015
1016   -localedir | --localedir | --localedi | --localed | --locale)
1017     ac_prev=localedir ;;
1018   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1019     localedir=$ac_optarg ;;
1020
1021   -localstatedir | --localstatedir | --localstatedi | --localstated \
1022   | --localstate | --localstat | --localsta | --localst | --locals)
1023     ac_prev=localstatedir ;;
1024   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1025   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1026     localstatedir=$ac_optarg ;;
1027
1028   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1029     ac_prev=mandir ;;
1030   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1031     mandir=$ac_optarg ;;
1032
1033   -nfp | --nfp | --nf)
1034     # Obsolete; use --without-fp.
1035     with_fp=no ;;
1036
1037   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1038   | --no-cr | --no-c | -n)
1039     no_create=yes ;;
1040
1041   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1042   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1043     no_recursion=yes ;;
1044
1045   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1046   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1047   | --oldin | --oldi | --old | --ol | --o)
1048     ac_prev=oldincludedir ;;
1049   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1050   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1051   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1052     oldincludedir=$ac_optarg ;;
1053
1054   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1055     ac_prev=prefix ;;
1056   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1057     prefix=$ac_optarg ;;
1058
1059   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1060   | --program-pre | --program-pr | --program-p)
1061     ac_prev=program_prefix ;;
1062   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1063   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1064     program_prefix=$ac_optarg ;;
1065
1066   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1067   | --program-suf | --program-su | --program-s)
1068     ac_prev=program_suffix ;;
1069   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1070   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1071     program_suffix=$ac_optarg ;;
1072
1073   -program-transform-name | --program-transform-name \
1074   | --program-transform-nam | --program-transform-na \
1075   | --program-transform-n | --program-transform- \
1076   | --program-transform | --program-transfor \
1077   | --program-transfo | --program-transf \
1078   | --program-trans | --program-tran \
1079   | --progr-tra | --program-tr | --program-t)
1080     ac_prev=program_transform_name ;;
1081   -program-transform-name=* | --program-transform-name=* \
1082   | --program-transform-nam=* | --program-transform-na=* \
1083   | --program-transform-n=* | --program-transform-=* \
1084   | --program-transform=* | --program-transfor=* \
1085   | --program-transfo=* | --program-transf=* \
1086   | --program-trans=* | --program-tran=* \
1087   | --progr-tra=* | --program-tr=* | --program-t=*)
1088     program_transform_name=$ac_optarg ;;
1089
1090   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1091     ac_prev=pdfdir ;;
1092   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1093     pdfdir=$ac_optarg ;;
1094
1095   -psdir | --psdir | --psdi | --psd | --ps)
1096     ac_prev=psdir ;;
1097   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1098     psdir=$ac_optarg ;;
1099
1100   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1101   | -silent | --silent | --silen | --sile | --sil)
1102     silent=yes ;;
1103
1104   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1105     ac_prev=sbindir ;;
1106   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1107   | --sbi=* | --sb=*)
1108     sbindir=$ac_optarg ;;
1109
1110   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1111   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1112   | --sharedst | --shareds | --shared | --share | --shar \
1113   | --sha | --sh)
1114     ac_prev=sharedstatedir ;;
1115   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1116   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1117   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1118   | --sha=* | --sh=*)
1119     sharedstatedir=$ac_optarg ;;
1120
1121   -site | --site | --sit)
1122     ac_prev=site ;;
1123   -site=* | --site=* | --sit=*)
1124     site=$ac_optarg ;;
1125
1126   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1127     ac_prev=srcdir ;;
1128   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1129     srcdir=$ac_optarg ;;
1130
1131   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1132   | --syscon | --sysco | --sysc | --sys | --sy)
1133     ac_prev=sysconfdir ;;
1134   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1135   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1136     sysconfdir=$ac_optarg ;;
1137
1138   -target | --target | --targe | --targ | --tar | --ta | --t)
1139     ac_prev=target_alias ;;
1140   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1141     target_alias=$ac_optarg ;;
1142
1143   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1144     verbose=yes ;;
1145
1146   -version | --version | --versio | --versi | --vers | -V)
1147     ac_init_version=: ;;
1148
1149   -with-* | --with-*)
1150     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1151     # Reject names that are not valid shell variable names.
1152     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1153       as_fn_error $? "invalid package name: $ac_useropt"
1154     ac_useropt_orig=$ac_useropt
1155     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156     case $ac_user_opts in
1157       *"
1158 "with_$ac_useropt"
1159 "*) ;;
1160       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1161          ac_unrecognized_sep=', ';;
1162     esac
1163     eval with_$ac_useropt=\$ac_optarg ;;
1164
1165   -without-* | --without-*)
1166     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1167     # Reject names that are not valid shell variable names.
1168     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1169       as_fn_error $? "invalid package name: $ac_useropt"
1170     ac_useropt_orig=$ac_useropt
1171     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172     case $ac_user_opts in
1173       *"
1174 "with_$ac_useropt"
1175 "*) ;;
1176       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1177          ac_unrecognized_sep=', ';;
1178     esac
1179     eval with_$ac_useropt=no ;;
1180
1181   --x)
1182     # Obsolete; use --with-x.
1183     with_x=yes ;;
1184
1185   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1186   | --x-incl | --x-inc | --x-in | --x-i)
1187     ac_prev=x_includes ;;
1188   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1189   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1190     x_includes=$ac_optarg ;;
1191
1192   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1193   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1194     ac_prev=x_libraries ;;
1195   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1196   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1197     x_libraries=$ac_optarg ;;
1198
1199   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1200 Try \`$0 --help' for more information"
1201     ;;
1202
1203   *=*)
1204     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1205     # Reject names that are not valid shell variable names.
1206     case $ac_envvar in #(
1207       '' | [0-9]* | *[!_$as_cr_alnum]* )
1208       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1209     esac
1210     eval $ac_envvar=\$ac_optarg
1211     export $ac_envvar ;;
1212
1213   *)
1214     # FIXME: should be removed in autoconf 3.0.
1215     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1216     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1217       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1218     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1219     ;;
1220
1221   esac
1222 done
1223
1224 if test -n "$ac_prev"; then
1225   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1226   as_fn_error $? "missing argument to $ac_option"
1227 fi
1228
1229 if test -n "$ac_unrecognized_opts"; then
1230   case $enable_option_checking in
1231     no) ;;
1232     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1233     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1234   esac
1235 fi
1236
1237 # Check all directory arguments for consistency.
1238 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1239                 datadir sysconfdir sharedstatedir localstatedir includedir \
1240                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1241                 libdir localedir mandir
1242 do
1243   eval ac_val=\$$ac_var
1244   # Remove trailing slashes.
1245   case $ac_val in
1246     */ )
1247       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1248       eval $ac_var=\$ac_val;;
1249   esac
1250   # Be sure to have absolute directory names.
1251   case $ac_val in
1252     [\\/$]* | ?:[\\/]* )  continue;;
1253     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1254   esac
1255   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1256 done
1257
1258 # There might be people who depend on the old broken behavior: `$host'
1259 # used to hold the argument of --host etc.
1260 # FIXME: To remove some day.
1261 build=$build_alias
1262 host=$host_alias
1263 target=$target_alias
1264
1265 # FIXME: To remove some day.
1266 if test "x$host_alias" != x; then
1267   if test "x$build_alias" = x; then
1268     cross_compiling=maybe
1269     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1270     If a cross compiler is detected then cross compile mode will be used" >&2
1271   elif test "x$build_alias" != "x$host_alias"; then
1272     cross_compiling=yes
1273   fi
1274 fi
1275
1276 ac_tool_prefix=
1277 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1278
1279 test "$silent" = yes && exec 6>/dev/null
1280
1281
1282 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1283 ac_ls_di=`ls -di .` &&
1284 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1285   as_fn_error $? "working directory cannot be determined"
1286 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1287   as_fn_error $? "pwd does not report name of working directory"
1288
1289
1290 # Find the source files, if location was not specified.
1291 if test -z "$srcdir"; then
1292   ac_srcdir_defaulted=yes
1293   # Try the directory containing this script, then the parent directory.
1294   ac_confdir=`$as_dirname -- "$as_myself" ||
1295 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1296          X"$as_myself" : 'X\(//\)[^/]' \| \
1297          X"$as_myself" : 'X\(//\)$' \| \
1298          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1299 $as_echo X"$as_myself" |
1300     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1301             s//\1/
1302             q
1303           }
1304           /^X\(\/\/\)[^/].*/{
1305             s//\1/
1306             q
1307           }
1308           /^X\(\/\/\)$/{
1309             s//\1/
1310             q
1311           }
1312           /^X\(\/\).*/{
1313             s//\1/
1314             q
1315           }
1316           s/.*/./; q'`
1317   srcdir=$ac_confdir
1318   if test ! -r "$srcdir/$ac_unique_file"; then
1319     srcdir=..
1320   fi
1321 else
1322   ac_srcdir_defaulted=no
1323 fi
1324 if test ! -r "$srcdir/$ac_unique_file"; then
1325   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1326   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1327 fi
1328 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1329 ac_abs_confdir=`(
1330         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1331         pwd)`
1332 # When building in place, set srcdir=.
1333 if test "$ac_abs_confdir" = "$ac_pwd"; then
1334   srcdir=.
1335 fi
1336 # Remove unnecessary trailing slashes from srcdir.
1337 # Double slashes in file names in object file debugging info
1338 # mess up M-x gdb in Emacs.
1339 case $srcdir in
1340 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1341 esac
1342 for ac_var in $ac_precious_vars; do
1343   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1344   eval ac_env_${ac_var}_value=\$${ac_var}
1345   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1346   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1347 done
1348
1349 #
1350 # Report the --help message.
1351 #
1352 if test "$ac_init_help" = "long"; then
1353   # Omit some internal or obsolete options to make the list less imposing.
1354   # This message is too long to be a string in the A/UX 3.1 sh.
1355   cat <<_ACEOF
1356 \`configure' configures libxml++ 2.34.2 to adapt to many kinds of systems.
1357
1358 Usage: $0 [OPTION]... [VAR=VALUE]...
1359
1360 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1361 VAR=VALUE.  See below for descriptions of some of the useful variables.
1362
1363 Defaults for the options are specified in brackets.
1364
1365 Configuration:
1366   -h, --help              display this help and exit
1367       --help=short        display options specific to this package
1368       --help=recursive    display the short help of all the included packages
1369   -V, --version           display version information and exit
1370   -q, --quiet, --silent   do not print \`checking ...' messages
1371       --cache-file=FILE   cache test results in FILE [disabled]
1372   -C, --config-cache      alias for \`--cache-file=config.cache'
1373   -n, --no-create         do not create output files
1374       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1375
1376 Installation directories:
1377   --prefix=PREFIX         install architecture-independent files in PREFIX
1378                           [$ac_default_prefix]
1379   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1380                           [PREFIX]
1381
1382 By default, \`make install' will install all the files in
1383 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1384 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1385 for instance \`--prefix=\$HOME'.
1386
1387 For better control, use the options below.
1388
1389 Fine tuning of the installation directories:
1390   --bindir=DIR            user executables [EPREFIX/bin]
1391   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1392   --libexecdir=DIR        program executables [EPREFIX/libexec]
1393   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1394   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1395   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1396   --libdir=DIR            object code libraries [EPREFIX/lib]
1397   --includedir=DIR        C header files [PREFIX/include]
1398   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1399   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1400   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1401   --infodir=DIR           info documentation [DATAROOTDIR/info]
1402   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1403   --mandir=DIR            man documentation [DATAROOTDIR/man]
1404   --docdir=DIR            documentation root [DATAROOTDIR/doc/libxml++]
1405   --htmldir=DIR           html documentation [DOCDIR]
1406   --dvidir=DIR            dvi documentation [DOCDIR]
1407   --pdfdir=DIR            pdf documentation [DOCDIR]
1408   --psdir=DIR             ps documentation [DOCDIR]
1409 _ACEOF
1410
1411   cat <<\_ACEOF
1412
1413 Program names:
1414   --program-prefix=PREFIX            prepend PREFIX to installed program names
1415   --program-suffix=SUFFIX            append SUFFIX to installed program names
1416   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1417
1418 System types:
1419   --build=BUILD     configure for building on BUILD [guessed]
1420   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1421 _ACEOF
1422 fi
1423
1424 if test -n "$ac_init_help"; then
1425   case $ac_init_help in
1426      short | recursive ) echo "Configuration of libxml++ 2.34.2:";;
1427    esac
1428   cat <<\_ACEOF
1429
1430 Optional Features:
1431   --disable-option-checking  ignore unrecognized --enable/--with options
1432   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1433   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1434   --enable-silent-rules          less verbose build output (undo: `make V=1')
1435   --disable-silent-rules         verbose build output (undo: `make V=0')
1436   --enable-maintainer-mode  enable make rules and dependencies not useful
1437                           (and sometimes confusing) to the casual installer
1438   --disable-dependency-tracking  speeds up one-time build
1439   --enable-dependency-tracking   do not reject slow dependency extractors
1440   --enable-static[=PKGS]  build static libraries [default=no]
1441   --enable-shared[=PKGS]  build shared libraries [default=yes]
1442   --enable-fast-install[=PKGS]
1443                           optimize for fast installation [default=yes]
1444   --disable-libtool-lock  avoid locking (might break parallel builds)
1445   --enable-examples       build the examples
1446   --enable-api-exceptions  Build exceptions API.
1447                               [default=yes]
1448   --disable-documentation do not build or install the documentation
1449   --enable-warnings[=min|max|fatal|no]
1450                           set compiler pedantry level [default=min]
1451
1452 Optional Packages:
1453   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1454   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1455   --with-pic              try to use only PIC/non-PIC objects [default=use
1456                           both]
1457   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1458   --with-sysroot=DIR Search for dependent libraries within DIR
1459                         (or the compiler's sysroot if not specified).
1460   --with-glibmm-doc=[TAGFILE@]HTMLREFDIR
1461                           Link to external glibmm documentation [auto]
1462
1463 Some influential environment variables:
1464   ACLOCAL_FLAGS
1465               aclocal flags, e.g. -I <macro dir>
1466   CXX         C++ compiler command
1467   CXXFLAGS    C++ compiler flags
1468   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1469               nonstandard directory <lib dir>
1470   LIBS        libraries to pass to the linker, e.g. -l<library>
1471   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1472               you have headers in a nonstandard directory <include dir>
1473   CC          C compiler command
1474   CFLAGS      C compiler flags
1475   CPP         C preprocessor
1476   CXXCPP      C++ preprocessor
1477   PKG_CONFIG  path to pkg-config utility
1478   PKG_CONFIG_PATH
1479               directories to add to pkg-config's search path
1480   PKG_CONFIG_LIBDIR
1481               path overriding pkg-config's built-in search path
1482   LIBXMLXX_CFLAGS
1483               C compiler flags for LIBXMLXX, overriding pkg-config
1484   LIBXMLXX_LIBS
1485               linker flags for LIBXMLXX, overriding pkg-config
1486   PERL        path to Perl interpreter
1487   DOT         path to dot utility
1488   DOXYGEN     path to Doxygen utility
1489   XSLTPROC    path to xsltproc utility
1490   XMLLINT     path to xmllint utility
1491   DB2LATEX    path to db2latex utility
1492
1493 Use these variables to override the choices made by `configure' or to help
1494 it to find libraries and programs with nonstandard names/locations.
1495
1496 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B>.
1497 libxml++ home page: <http://libxmlplusplus.sourceforge.net/>.
1498 _ACEOF
1499 ac_status=$?
1500 fi
1501
1502 if test "$ac_init_help" = "recursive"; then
1503   # If there are subdirs, report their specific --help.
1504   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1505     test -d "$ac_dir" ||
1506       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1507       continue
1508     ac_builddir=.
1509
1510 case "$ac_dir" in
1511 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1512 *)
1513   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1514   # A ".." for each directory in $ac_dir_suffix.
1515   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1516   case $ac_top_builddir_sub in
1517   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1518   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1519   esac ;;
1520 esac
1521 ac_abs_top_builddir=$ac_pwd
1522 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1523 # for backward compatibility:
1524 ac_top_builddir=$ac_top_build_prefix
1525
1526 case $srcdir in
1527   .)  # We are building in place.
1528     ac_srcdir=.
1529     ac_top_srcdir=$ac_top_builddir_sub
1530     ac_abs_top_srcdir=$ac_pwd ;;
1531   [\\/]* | ?:[\\/]* )  # Absolute name.
1532     ac_srcdir=$srcdir$ac_dir_suffix;
1533     ac_top_srcdir=$srcdir
1534     ac_abs_top_srcdir=$srcdir ;;
1535   *) # Relative name.
1536     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1537     ac_top_srcdir=$ac_top_build_prefix$srcdir
1538     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1539 esac
1540 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1541
1542     cd "$ac_dir" || { ac_status=$?; continue; }
1543     # Check for guested configure.
1544     if test -f "$ac_srcdir/configure.gnu"; then
1545       echo &&
1546       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1547     elif test -f "$ac_srcdir/configure"; then
1548       echo &&
1549       $SHELL "$ac_srcdir/configure" --help=recursive
1550     else
1551       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1552     fi || ac_status=$?
1553     cd "$ac_pwd" || { ac_status=$?; break; }
1554   done
1555 fi
1556
1557 test -n "$ac_init_help" && exit $ac_status
1558 if $ac_init_version; then
1559   cat <<\_ACEOF
1560 libxml++ configure 2.34.2
1561 generated by GNU Autoconf 2.68
1562
1563 Copyright (C) 2010 Free Software Foundation, Inc.
1564 This configure script is free software; the Free Software Foundation
1565 gives unlimited permission to copy, distribute and modify it.
1566 _ACEOF
1567   exit
1568 fi
1569
1570 ## ------------------------ ##
1571 ## Autoconf initialization. ##
1572 ## ------------------------ ##
1573
1574 # ac_fn_cxx_try_compile LINENO
1575 # ----------------------------
1576 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1577 ac_fn_cxx_try_compile ()
1578 {
1579   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580   rm -f conftest.$ac_objext
1581   if { { ac_try="$ac_compile"
1582 case "(($ac_try" in
1583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1584   *) ac_try_echo=$ac_try;;
1585 esac
1586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587 $as_echo "$ac_try_echo"; } >&5
1588   (eval "$ac_compile") 2>conftest.err
1589   ac_status=$?
1590   if test -s conftest.err; then
1591     grep -v '^ *+' conftest.err >conftest.er1
1592     cat conftest.er1 >&5
1593     mv -f conftest.er1 conftest.err
1594   fi
1595   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596   test $ac_status = 0; } && {
1597          test -z "$ac_cxx_werror_flag" ||
1598          test ! -s conftest.err
1599        } && test -s conftest.$ac_objext; then :
1600   ac_retval=0
1601 else
1602   $as_echo "$as_me: failed program was:" >&5
1603 sed 's/^/| /' conftest.$ac_ext >&5
1604
1605         ac_retval=1
1606 fi
1607   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1608   as_fn_set_status $ac_retval
1609
1610 } # ac_fn_cxx_try_compile
1611
1612 # ac_fn_c_try_compile LINENO
1613 # --------------------------
1614 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1615 ac_fn_c_try_compile ()
1616 {
1617   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618   rm -f conftest.$ac_objext
1619   if { { ac_try="$ac_compile"
1620 case "(($ac_try" in
1621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1622   *) ac_try_echo=$ac_try;;
1623 esac
1624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1625 $as_echo "$ac_try_echo"; } >&5
1626   (eval "$ac_compile") 2>conftest.err
1627   ac_status=$?
1628   if test -s conftest.err; then
1629     grep -v '^ *+' conftest.err >conftest.er1
1630     cat conftest.er1 >&5
1631     mv -f conftest.er1 conftest.err
1632   fi
1633   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634   test $ac_status = 0; } && {
1635          test -z "$ac_c_werror_flag" ||
1636          test ! -s conftest.err
1637        } && test -s conftest.$ac_objext; then :
1638   ac_retval=0
1639 else
1640   $as_echo "$as_me: failed program was:" >&5
1641 sed 's/^/| /' conftest.$ac_ext >&5
1642
1643         ac_retval=1
1644 fi
1645   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646   as_fn_set_status $ac_retval
1647
1648 } # ac_fn_c_try_compile
1649
1650 # ac_fn_c_try_link LINENO
1651 # -----------------------
1652 # Try to link conftest.$ac_ext, and return whether this succeeded.
1653 ac_fn_c_try_link ()
1654 {
1655   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656   rm -f conftest.$ac_objext conftest$ac_exeext
1657   if { { ac_try="$ac_link"
1658 case "(($ac_try" in
1659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1660   *) ac_try_echo=$ac_try;;
1661 esac
1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664   (eval "$ac_link") 2>conftest.err
1665   ac_status=$?
1666   if test -s conftest.err; then
1667     grep -v '^ *+' conftest.err >conftest.er1
1668     cat conftest.er1 >&5
1669     mv -f conftest.er1 conftest.err
1670   fi
1671   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672   test $ac_status = 0; } && {
1673          test -z "$ac_c_werror_flag" ||
1674          test ! -s conftest.err
1675        } && test -s conftest$ac_exeext && {
1676          test "$cross_compiling" = yes ||
1677          $as_test_x conftest$ac_exeext
1678        }; then :
1679   ac_retval=0
1680 else
1681   $as_echo "$as_me: failed program was:" >&5
1682 sed 's/^/| /' conftest.$ac_ext >&5
1683
1684         ac_retval=1
1685 fi
1686   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1687   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1688   # interfere with the next link command; also delete a directory that is
1689   # left behind by Apple's compiler.  We do this before executing the actions.
1690   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1691   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692   as_fn_set_status $ac_retval
1693
1694 } # ac_fn_c_try_link
1695
1696 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1697 # -------------------------------------------------------
1698 # Tests whether HEADER exists and can be compiled using the include files in
1699 # INCLUDES, setting the cache variable VAR accordingly.
1700 ac_fn_c_check_header_compile ()
1701 {
1702   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1704 $as_echo_n "checking for $2... " >&6; }
1705 if eval \${$3+:} false; then :
1706   $as_echo_n "(cached) " >&6
1707 else
1708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1709 /* end confdefs.h.  */
1710 $4
1711 #include <$2>
1712 _ACEOF
1713 if ac_fn_c_try_compile "$LINENO"; then :
1714   eval "$3=yes"
1715 else
1716   eval "$3=no"
1717 fi
1718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1719 fi
1720 eval ac_res=\$$3
1721                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1722 $as_echo "$ac_res" >&6; }
1723   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1724
1725 } # ac_fn_c_check_header_compile
1726
1727 # ac_fn_c_try_cpp LINENO
1728 # ----------------------
1729 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1730 ac_fn_c_try_cpp ()
1731 {
1732   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733   if { { ac_try="$ac_cpp conftest.$ac_ext"
1734 case "(($ac_try" in
1735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1736   *) ac_try_echo=$ac_try;;
1737 esac
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1741   ac_status=$?
1742   if test -s conftest.err; then
1743     grep -v '^ *+' conftest.err >conftest.er1
1744     cat conftest.er1 >&5
1745     mv -f conftest.er1 conftest.err
1746   fi
1747   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748   test $ac_status = 0; } > conftest.i && {
1749          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1750          test ! -s conftest.err
1751        }; then :
1752   ac_retval=0
1753 else
1754   $as_echo "$as_me: failed program was:" >&5
1755 sed 's/^/| /' conftest.$ac_ext >&5
1756
1757     ac_retval=1
1758 fi
1759   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1760   as_fn_set_status $ac_retval
1761
1762 } # ac_fn_c_try_cpp
1763
1764 # ac_fn_c_try_run LINENO
1765 # ----------------------
1766 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1767 # that executables *can* be run.
1768 ac_fn_c_try_run ()
1769 {
1770   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771   if { { ac_try="$ac_link"
1772 case "(($ac_try" in
1773   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1774   *) ac_try_echo=$ac_try;;
1775 esac
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778   (eval "$ac_link") 2>&5
1779   ac_status=$?
1780   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1782   { { case "(($ac_try" in
1783   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1784   *) ac_try_echo=$ac_try;;
1785 esac
1786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788   (eval "$ac_try") 2>&5
1789   ac_status=$?
1790   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791   test $ac_status = 0; }; }; then :
1792   ac_retval=0
1793 else
1794   $as_echo "$as_me: program exited with status $ac_status" >&5
1795        $as_echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.$ac_ext >&5
1797
1798        ac_retval=$ac_status
1799 fi
1800   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1801   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1802   as_fn_set_status $ac_retval
1803
1804 } # ac_fn_c_try_run
1805
1806 # ac_fn_c_check_func LINENO FUNC VAR
1807 # ----------------------------------
1808 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1809 ac_fn_c_check_func ()
1810 {
1811   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1813 $as_echo_n "checking for $2... " >&6; }
1814 if eval \${$3+:} false; then :
1815   $as_echo_n "(cached) " >&6
1816 else
1817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1818 /* end confdefs.h.  */
1819 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1820    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1821 #define $2 innocuous_$2
1822
1823 /* System header to define __stub macros and hopefully few prototypes,
1824     which can conflict with char $2 (); below.
1825     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1826     <limits.h> exists even on freestanding compilers.  */
1827
1828 #ifdef __STDC__
1829 # include <limits.h>
1830 #else
1831 # include <assert.h>
1832 #endif
1833
1834 #undef $2
1835
1836 /* Override any GCC internal prototype to avoid an error.
1837    Use char because int might match the return type of a GCC
1838    builtin and then its argument prototype would still apply.  */
1839 #ifdef __cplusplus
1840 extern "C"
1841 #endif
1842 char $2 ();
1843 /* The GNU C library defines this for functions which it implements
1844     to always fail with ENOSYS.  Some functions are actually named
1845     something starting with __ and the normal name is an alias.  */
1846 #if defined __stub_$2 || defined __stub___$2
1847 choke me
1848 #endif
1849
1850 int
1851 main ()
1852 {
1853 return $2 ();
1854   ;
1855   return 0;
1856 }
1857 _ACEOF
1858 if ac_fn_c_try_link "$LINENO"; then :
1859   eval "$3=yes"
1860 else
1861   eval "$3=no"
1862 fi
1863 rm -f core conftest.err conftest.$ac_objext \
1864     conftest$ac_exeext conftest.$ac_ext
1865 fi
1866 eval ac_res=\$$3
1867                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1868 $as_echo "$ac_res" >&6; }
1869   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870
1871 } # ac_fn_c_check_func
1872
1873 # ac_fn_cxx_try_cpp LINENO
1874 # ------------------------
1875 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1876 ac_fn_cxx_try_cpp ()
1877 {
1878   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879   if { { ac_try="$ac_cpp conftest.$ac_ext"
1880 case "(($ac_try" in
1881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1882   *) ac_try_echo=$ac_try;;
1883 esac
1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885 $as_echo "$ac_try_echo"; } >&5
1886   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1887   ac_status=$?
1888   if test -s conftest.err; then
1889     grep -v '^ *+' conftest.err >conftest.er1
1890     cat conftest.er1 >&5
1891     mv -f conftest.er1 conftest.err
1892   fi
1893   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1894   test $ac_status = 0; } > conftest.i && {
1895          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1896          test ! -s conftest.err
1897        }; then :
1898   ac_retval=0
1899 else
1900   $as_echo "$as_me: failed program was:" >&5
1901 sed 's/^/| /' conftest.$ac_ext >&5
1902
1903     ac_retval=1
1904 fi
1905   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1906   as_fn_set_status $ac_retval
1907
1908 } # ac_fn_cxx_try_cpp
1909
1910 # ac_fn_cxx_try_link LINENO
1911 # -------------------------
1912 # Try to link conftest.$ac_ext, and return whether this succeeded.
1913 ac_fn_cxx_try_link ()
1914 {
1915   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1916   rm -f conftest.$ac_objext conftest$ac_exeext
1917   if { { ac_try="$ac_link"
1918 case "(($ac_try" in
1919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1920   *) ac_try_echo=$ac_try;;
1921 esac
1922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1923 $as_echo "$ac_try_echo"; } >&5
1924   (eval "$ac_link") 2>conftest.err
1925   ac_status=$?
1926   if test -s conftest.err; then
1927     grep -v '^ *+' conftest.err >conftest.er1
1928     cat conftest.er1 >&5
1929     mv -f conftest.er1 conftest.err
1930   fi
1931   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1932   test $ac_status = 0; } && {
1933          test -z "$ac_cxx_werror_flag" ||
1934          test ! -s conftest.err
1935        } && test -s conftest$ac_exeext && {
1936          test "$cross_compiling" = yes ||
1937          $as_test_x conftest$ac_exeext
1938        }; then :
1939   ac_retval=0
1940 else
1941   $as_echo "$as_me: failed program was:" >&5
1942 sed 's/^/| /' conftest.$ac_ext >&5
1943
1944         ac_retval=1
1945 fi
1946   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1947   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1948   # interfere with the next link command; also delete a directory that is
1949   # left behind by Apple's compiler.  We do this before executing the actions.
1950   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1951   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952   as_fn_set_status $ac_retval
1953
1954 } # ac_fn_cxx_try_link
1955
1956 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1957 # ---------------------------------------------------------
1958 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1959 # the include files in INCLUDES and setting the cache variable VAR
1960 # accordingly.
1961 ac_fn_cxx_check_header_mongrel ()
1962 {
1963   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964   if eval \${$3+:} false; then :
1965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1966 $as_echo_n "checking for $2... " >&6; }
1967 if eval \${$3+:} false; then :
1968   $as_echo_n "(cached) " >&6
1969 fi
1970 eval ac_res=\$$3
1971                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1972 $as_echo "$ac_res" >&6; }
1973 else
1974   # Is the header compilable?
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1976 $as_echo_n "checking $2 usability... " >&6; }
1977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1978 /* end confdefs.h.  */
1979 $4
1980 #include <$2>
1981 _ACEOF
1982 if ac_fn_cxx_try_compile "$LINENO"; then :
1983   ac_header_compiler=yes
1984 else
1985   ac_header_compiler=no
1986 fi
1987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1989 $as_echo "$ac_header_compiler" >&6; }
1990
1991 # Is the header present?
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1993 $as_echo_n "checking $2 presence... " >&6; }
1994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1995 /* end confdefs.h.  */
1996 #include <$2>
1997 _ACEOF
1998 if ac_fn_cxx_try_cpp "$LINENO"; then :
1999   ac_header_preproc=yes
2000 else
2001   ac_header_preproc=no
2002 fi
2003 rm -f conftest.err conftest.i conftest.$ac_ext
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2005 $as_echo "$ac_header_preproc" >&6; }
2006
2007 # So?  What about this header?
2008 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2009   yes:no: )
2010     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2011 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2012     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2013 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2014     ;;
2015   no:yes:* )
2016     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2017 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2018     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2019 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2020     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2021 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2022     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2023 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2024     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2025 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2026 ( $as_echo "## ---------------------------------------------------------------------------- ##
2027 ## Report this to https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B ##
2028 ## ---------------------------------------------------------------------------- ##"
2029      ) | sed "s/^/$as_me: WARNING:     /" >&2
2030     ;;
2031 esac
2032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2033 $as_echo_n "checking for $2... " >&6; }
2034 if eval \${$3+:} false; then :
2035   $as_echo_n "(cached) " >&6
2036 else
2037   eval "$3=\$ac_header_compiler"
2038 fi
2039 eval ac_res=\$$3
2040                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2041 $as_echo "$ac_res" >&6; }
2042 fi
2043   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2044
2045 } # ac_fn_cxx_check_header_mongrel
2046 cat >config.log <<_ACEOF
2047 This file contains any messages produced by compilers while
2048 running configure, to aid debugging if configure makes a mistake.
2049
2050 It was created by libxml++ $as_me 2.34.2, which was
2051 generated by GNU Autoconf 2.68.  Invocation command line was
2052
2053   $ $0 $@
2054
2055 _ACEOF
2056 exec 5>>config.log
2057 {
2058 cat <<_ASUNAME
2059 ## --------- ##
2060 ## Platform. ##
2061 ## --------- ##
2062
2063 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2064 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2065 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2066 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2067 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2068
2069 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2070 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2071
2072 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2073 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2074 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2075 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2076 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2077 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2078 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2079
2080 _ASUNAME
2081
2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2083 for as_dir in $PATH
2084 do
2085   IFS=$as_save_IFS
2086   test -z "$as_dir" && as_dir=.
2087     $as_echo "PATH: $as_dir"
2088   done
2089 IFS=$as_save_IFS
2090
2091 } >&5
2092
2093 cat >&5 <<_ACEOF
2094
2095
2096 ## ----------- ##
2097 ## Core tests. ##
2098 ## ----------- ##
2099
2100 _ACEOF
2101
2102
2103 # Keep a trace of the command line.
2104 # Strip out --no-create and --no-recursion so they do not pile up.
2105 # Strip out --silent because we don't want to record it for future runs.
2106 # Also quote any args containing shell meta-characters.
2107 # Make two passes to allow for proper duplicate-argument suppression.
2108 ac_configure_args=
2109 ac_configure_args0=
2110 ac_configure_args1=
2111 ac_must_keep_next=false
2112 for ac_pass in 1 2
2113 do
2114   for ac_arg
2115   do
2116     case $ac_arg in
2117     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2118     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2119     | -silent | --silent | --silen | --sile | --sil)
2120       continue ;;
2121     *\'*)
2122       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2123     esac
2124     case $ac_pass in
2125     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2126     2)
2127       as_fn_append ac_configure_args1 " '$ac_arg'"
2128       if test $ac_must_keep_next = true; then
2129         ac_must_keep_next=false # Got value, back to normal.
2130       else
2131         case $ac_arg in
2132           *=* | --config-cache | -C | -disable-* | --disable-* \
2133           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2134           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2135           | -with-* | --with-* | -without-* | --without-* | --x)
2136             case "$ac_configure_args0 " in
2137               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2138             esac
2139             ;;
2140           -* ) ac_must_keep_next=true ;;
2141         esac
2142       fi
2143       as_fn_append ac_configure_args " '$ac_arg'"
2144       ;;
2145     esac
2146   done
2147 done
2148 { ac_configure_args0=; unset ac_configure_args0;}
2149 { ac_configure_args1=; unset ac_configure_args1;}
2150
2151 # When interrupted or exit'd, cleanup temporary files, and complete
2152 # config.log.  We remove comments because anyway the quotes in there
2153 # would cause problems or look ugly.
2154 # WARNING: Use '\'' to represent an apostrophe within the trap.
2155 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2156 trap 'exit_status=$?
2157   # Save into config.log some information that might help in debugging.
2158   {
2159     echo
2160
2161     $as_echo "## ---------------- ##
2162 ## Cache variables. ##
2163 ## ---------------- ##"
2164     echo
2165     # The following way of writing the cache mishandles newlines in values,
2166 (
2167   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2168     eval ac_val=\$$ac_var
2169     case $ac_val in #(
2170     *${as_nl}*)
2171       case $ac_var in #(
2172       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2173 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2174       esac
2175       case $ac_var in #(
2176       _ | IFS | as_nl) ;; #(
2177       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2178       *) { eval $ac_var=; unset $ac_var;} ;;
2179       esac ;;
2180     esac
2181   done
2182   (set) 2>&1 |
2183     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2184     *${as_nl}ac_space=\ *)
2185       sed -n \
2186         "s/'\''/'\''\\\\'\'''\''/g;
2187           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2188       ;; #(
2189     *)
2190       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2191       ;;
2192     esac |
2193     sort
2194 )
2195     echo
2196
2197     $as_echo "## ----------------- ##
2198 ## Output variables. ##
2199 ## ----------------- ##"
2200     echo
2201     for ac_var in $ac_subst_vars
2202     do
2203       eval ac_val=\$$ac_var
2204       case $ac_val in
2205       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2206       esac
2207       $as_echo "$ac_var='\''$ac_val'\''"
2208     done | sort
2209     echo
2210
2211     if test -n "$ac_subst_files"; then
2212       $as_echo "## ------------------- ##
2213 ## File substitutions. ##
2214 ## ------------------- ##"
2215       echo
2216       for ac_var in $ac_subst_files
2217       do
2218         eval ac_val=\$$ac_var
2219         case $ac_val in
2220         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2221         esac
2222         $as_echo "$ac_var='\''$ac_val'\''"
2223       done | sort
2224       echo
2225     fi
2226
2227     if test -s confdefs.h; then
2228       $as_echo "## ----------- ##
2229 ## confdefs.h. ##
2230 ## ----------- ##"
2231       echo
2232       cat confdefs.h
2233       echo
2234     fi
2235     test "$ac_signal" != 0 &&
2236       $as_echo "$as_me: caught signal $ac_signal"
2237     $as_echo "$as_me: exit $exit_status"
2238   } >&5
2239   rm -f core *.core core.conftest.* &&
2240     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2241     exit $exit_status
2242 ' 0
2243 for ac_signal in 1 2 13 15; do
2244   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2245 done
2246 ac_signal=0
2247
2248 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2249 rm -f -r conftest* confdefs.h
2250
2251 $as_echo "/* confdefs.h */" > confdefs.h
2252
2253 # Predefined preprocessor variables.
2254
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_NAME "$PACKAGE_NAME"
2257 _ACEOF
2258
2259 cat >>confdefs.h <<_ACEOF
2260 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2261 _ACEOF
2262
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2265 _ACEOF
2266
2267 cat >>confdefs.h <<_ACEOF
2268 #define PACKAGE_STRING "$PACKAGE_STRING"
2269 _ACEOF
2270
2271 cat >>confdefs.h <<_ACEOF
2272 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2273 _ACEOF
2274
2275 cat >>confdefs.h <<_ACEOF
2276 #define PACKAGE_URL "$PACKAGE_URL"
2277 _ACEOF
2278
2279
2280 # Let the site file select an alternate cache file if it wants to.
2281 # Prefer an explicitly selected file to automatically selected ones.
2282 ac_site_file1=NONE
2283 ac_site_file2=NONE
2284 if test -n "$CONFIG_SITE"; then
2285   # We do not want a PATH search for config.site.
2286   case $CONFIG_SITE in #((
2287     -*)  ac_site_file1=./$CONFIG_SITE;;
2288     */*) ac_site_file1=$CONFIG_SITE;;
2289     *)   ac_site_file1=./$CONFIG_SITE;;
2290   esac
2291 elif test "x$prefix" != xNONE; then
2292   ac_site_file1=$prefix/share/config.site
2293   ac_site_file2=$prefix/etc/config.site
2294 else
2295   ac_site_file1=$ac_default_prefix/share/config.site
2296   ac_site_file2=$ac_default_prefix/etc/config.site
2297 fi
2298 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2299 do
2300   test "x$ac_site_file" = xNONE && continue
2301   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2302     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2303 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2304     sed 's/^/| /' "$ac_site_file" >&5
2305     . "$ac_site_file" \
2306       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2308 as_fn_error $? "failed to load site script $ac_site_file
2309 See \`config.log' for more details" "$LINENO" 5; }
2310   fi
2311 done
2312
2313 if test -r "$cache_file"; then
2314   # Some versions of bash will fail to source /dev/null (special files
2315   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2316   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2317     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2318 $as_echo "$as_me: loading cache $cache_file" >&6;}
2319     case $cache_file in
2320       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2321       *)                      . "./$cache_file";;
2322     esac
2323   fi
2324 else
2325   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2326 $as_echo "$as_me: creating cache $cache_file" >&6;}
2327   >$cache_file
2328 fi
2329
2330 # Check that the precious variables saved in the cache have kept the same
2331 # value.
2332 ac_cache_corrupted=false
2333 for ac_var in $ac_precious_vars; do
2334   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2335   eval ac_new_set=\$ac_env_${ac_var}_set
2336   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2337   eval ac_new_val=\$ac_env_${ac_var}_value
2338   case $ac_old_set,$ac_new_set in
2339     set,)
2340       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2341 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2342       ac_cache_corrupted=: ;;
2343     ,set)
2344       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2345 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2346       ac_cache_corrupted=: ;;
2347     ,);;
2348     *)
2349       if test "x$ac_old_val" != "x$ac_new_val"; then
2350         # differences in whitespace do not lead to failure.
2351         ac_old_val_w=`echo x $ac_old_val`
2352         ac_new_val_w=`echo x $ac_new_val`
2353         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2354           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2355 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2356           ac_cache_corrupted=:
2357         else
2358           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2359 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2360           eval $ac_var=\$ac_old_val
2361         fi
2362         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2363 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2364         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2365 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2366       fi;;
2367   esac
2368   # Pass precious variables to config.status.
2369   if test "$ac_new_set" = set; then
2370     case $ac_new_val in
2371     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2372     *) ac_arg=$ac_var=$ac_new_val ;;
2373     esac
2374     case " $ac_configure_args " in
2375       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2376       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2377     esac
2378   fi
2379 done
2380 if $ac_cache_corrupted; then
2381   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2383   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2384 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2385   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2386 fi
2387 ## -------------------- ##
2388 ## Main body of script. ##
2389 ## -------------------- ##
2390
2391 ac_ext=c
2392 ac_cpp='$CPP $CPPFLAGS'
2393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2396
2397
2398
2399
2400
2401 ac_aux_dir=
2402 for ac_dir in macros "$srcdir"/macros; do
2403   if test -f "$ac_dir/install-sh"; then
2404     ac_aux_dir=$ac_dir
2405     ac_install_sh="$ac_aux_dir/install-sh -c"
2406     break
2407   elif test -f "$ac_dir/install.sh"; then
2408     ac_aux_dir=$ac_dir
2409     ac_install_sh="$ac_aux_dir/install.sh -c"
2410     break
2411   elif test -f "$ac_dir/shtool"; then
2412     ac_aux_dir=$ac_dir
2413     ac_install_sh="$ac_aux_dir/shtool install -c"
2414     break
2415   fi
2416 done
2417 if test -z "$ac_aux_dir"; then
2418   as_fn_error $? "cannot find install-sh, install.sh, or shtool in macros \"$srcdir\"/macros" "$LINENO" 5
2419 fi
2420
2421 # These three variables are undocumented and unsupported,
2422 # and are intended to be withdrawn in a future Autoconf release.
2423 # They can cause serious problems if a builder's source tree is in a directory
2424 # whose full name contains unusual characters.
2425 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2426 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2427 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2428
2429
2430
2431 ac_config_headers="$ac_config_headers config.h libxml++config.h"
2432
2433
2434 am__api_version='1.11'
2435
2436 # Find a good install program.  We prefer a C program (faster),
2437 # so one script is as good as another.  But avoid the broken or
2438 # incompatible versions:
2439 # SysV /etc/install, /usr/sbin/install
2440 # SunOS /usr/etc/install
2441 # IRIX /sbin/install
2442 # AIX /bin/install
2443 # AmigaOS /C/install, which installs bootblocks on floppy discs
2444 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2445 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2446 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2447 # OS/2's system install, which has a completely different semantic
2448 # ./install, which can be erroneously created by make from ./install.sh.
2449 # Reject install programs that cannot install multiple files.
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2451 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2452 if test -z "$INSTALL"; then
2453 if ${ac_cv_path_install+:} false; then :
2454   $as_echo_n "(cached) " >&6
2455 else
2456   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457 for as_dir in $PATH
2458 do
2459   IFS=$as_save_IFS
2460   test -z "$as_dir" && as_dir=.
2461     # Account for people who put trailing slashes in PATH elements.
2462 case $as_dir/ in #((
2463   ./ | .// | /[cC]/* | \
2464   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2465   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2466   /usr/ucb/* ) ;;
2467   *)
2468     # OSF1 and SCO ODT 3.0 have their own names for install.
2469     # Don't use installbsd from OSF since it installs stuff as root
2470     # by default.
2471     for ac_prog in ginstall scoinst install; do
2472       for ac_exec_ext in '' $ac_executable_extensions; do
2473         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2474           if test $ac_prog = install &&
2475             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2476             # AIX install.  It has an incompatible calling convention.
2477             :
2478           elif test $ac_prog = install &&
2479             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2480             # program-specific install script used by HP pwplus--don't use.
2481             :
2482           else
2483             rm -rf conftest.one conftest.two conftest.dir
2484             echo one > conftest.one
2485             echo two > conftest.two
2486             mkdir conftest.dir
2487             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2488               test -s conftest.one && test -s conftest.two &&
2489               test -s conftest.dir/conftest.one &&
2490               test -s conftest.dir/conftest.two
2491             then
2492               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2493               break 3
2494             fi
2495           fi
2496         fi
2497       done
2498     done
2499     ;;
2500 esac
2501
2502   done
2503 IFS=$as_save_IFS
2504
2505 rm -rf conftest.one conftest.two conftest.dir
2506
2507 fi
2508   if test "${ac_cv_path_install+set}" = set; then
2509     INSTALL=$ac_cv_path_install
2510   else
2511     # As a last resort, use the slow shell script.  Don't cache a
2512     # value for INSTALL within a source directory, because that will
2513     # break other packages using the cache if that directory is
2514     # removed, or if the value is a relative name.
2515     INSTALL=$ac_install_sh
2516   fi
2517 fi
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2519 $as_echo "$INSTALL" >&6; }
2520
2521 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2522 # It thinks the first close brace ends the variable substitution.
2523 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2524
2525 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2526
2527 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2528
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2530 $as_echo_n "checking whether build environment is sane... " >&6; }
2531 # Just in case
2532 sleep 1
2533 echo timestamp > conftest.file
2534 # Reject unsafe characters in $srcdir or the absolute working directory
2535 # name.  Accept space and tab only in the latter.
2536 am_lf='
2537 '
2538 case `pwd` in
2539   *[\\\"\#\$\&\'\`$am_lf]*)
2540     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2541 esac
2542 case $srcdir in
2543   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2544     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2545 esac
2546
2547 # Do `set' in a subshell so we don't clobber the current shell's
2548 # arguments.  Must try -L first in case configure is actually a
2549 # symlink; some systems play weird games with the mod time of symlinks
2550 # (eg FreeBSD returns the mod time of the symlink's containing
2551 # directory).
2552 if (
2553    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2554    if test "$*" = "X"; then
2555       # -L didn't work.
2556       set X `ls -t "$srcdir/configure" conftest.file`
2557    fi
2558    rm -f conftest.file
2559    if test "$*" != "X $srcdir/configure conftest.file" \
2560       && test "$*" != "X conftest.file $srcdir/configure"; then
2561
2562       # If neither matched, then we have a broken ls.  This can happen
2563       # if, for instance, CONFIG_SHELL is bash and it inherits a
2564       # broken ls alias from the environment.  This has actually
2565       # happened.  Such a system could not be considered "sane".
2566       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2567 alias in your environment" "$LINENO" 5
2568    fi
2569
2570    test "$2" = conftest.file
2571    )
2572 then
2573    # Ok.
2574    :
2575 else
2576    as_fn_error $? "newly created file is older than distributed files!
2577 Check your system clock" "$LINENO" 5
2578 fi
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2580 $as_echo "yes" >&6; }
2581 test "$program_prefix" != NONE &&
2582   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2583 # Use a double $ so make ignores it.
2584 test "$program_suffix" != NONE &&
2585   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2586 # Double any \ or $.
2587 # By default was `s,x,x', remove it if useless.
2588 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2589 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2590
2591 # expand $ac_aux_dir to an absolute path
2592 am_aux_dir=`cd $ac_aux_dir && pwd`
2593
2594 if test x"${MISSING+set}" != xset; then
2595   case $am_aux_dir in
2596   *\ * | *\     *)
2597     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2598   *)
2599     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2600   esac
2601 fi
2602 # Use eval to expand $SHELL
2603 if eval "$MISSING --run true"; then
2604   am_missing_run="$MISSING --run "
2605 else
2606   am_missing_run=
2607   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2608 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2609 fi
2610
2611 if test x"${install_sh}" != xset; then
2612   case $am_aux_dir in
2613   *\ * | *\     *)
2614     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2615   *)
2616     install_sh="\${SHELL} $am_aux_dir/install-sh"
2617   esac
2618 fi
2619
2620 # Installed binaries are usually stripped using `strip' when the user
2621 # run `make install-strip'.  However `strip' might not be the right
2622 # tool to use in cross-compilation environments, therefore Automake
2623 # will honor the `STRIP' environment variable to overrule this program.
2624 if test "$cross_compiling" != no; then
2625   if test -n "$ac_tool_prefix"; then
2626   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2627 set dummy ${ac_tool_prefix}strip; ac_word=$2
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2629 $as_echo_n "checking for $ac_word... " >&6; }
2630 if ${ac_cv_prog_STRIP+:} false; then :
2631   $as_echo_n "(cached) " >&6
2632 else
2633   if test -n "$STRIP"; then
2634   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2635 else
2636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2637 for as_dir in $PATH
2638 do
2639   IFS=$as_save_IFS
2640   test -z "$as_dir" && as_dir=.
2641     for ac_exec_ext in '' $ac_executable_extensions; do
2642   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2643     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2644     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2645     break 2
2646   fi
2647 done
2648   done
2649 IFS=$as_save_IFS
2650
2651 fi
2652 fi
2653 STRIP=$ac_cv_prog_STRIP
2654 if test -n "$STRIP"; then
2655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2656 $as_echo "$STRIP" >&6; }
2657 else
2658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2659 $as_echo "no" >&6; }
2660 fi
2661
2662
2663 fi
2664 if test -z "$ac_cv_prog_STRIP"; then
2665   ac_ct_STRIP=$STRIP
2666   # Extract the first word of "strip", so it can be a program name with args.
2667 set dummy strip; ac_word=$2
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2669 $as_echo_n "checking for $ac_word... " >&6; }
2670 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2671   $as_echo_n "(cached) " >&6
2672 else
2673   if test -n "$ac_ct_STRIP"; then
2674   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2675 else
2676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2677 for as_dir in $PATH
2678 do
2679   IFS=$as_save_IFS
2680   test -z "$as_dir" && as_dir=.
2681     for ac_exec_ext in '' $ac_executable_extensions; do
2682   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2683     ac_cv_prog_ac_ct_STRIP="strip"
2684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2685     break 2
2686   fi
2687 done
2688   done
2689 IFS=$as_save_IFS
2690
2691 fi
2692 fi
2693 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2694 if test -n "$ac_ct_STRIP"; then
2695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2696 $as_echo "$ac_ct_STRIP" >&6; }
2697 else
2698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2699 $as_echo "no" >&6; }
2700 fi
2701
2702   if test "x$ac_ct_STRIP" = x; then
2703     STRIP=":"
2704   else
2705     case $cross_compiling:$ac_tool_warned in
2706 yes:)
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2708 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2709 ac_tool_warned=yes ;;
2710 esac
2711     STRIP=$ac_ct_STRIP
2712   fi
2713 else
2714   STRIP="$ac_cv_prog_STRIP"
2715 fi
2716
2717 fi
2718 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2719
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2721 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2722 if test -z "$MKDIR_P"; then
2723   if ${ac_cv_path_mkdir+:} false; then :
2724   $as_echo_n "(cached) " >&6
2725 else
2726   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2727 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2728 do
2729   IFS=$as_save_IFS
2730   test -z "$as_dir" && as_dir=.
2731     for ac_prog in mkdir gmkdir; do
2732          for ac_exec_ext in '' $ac_executable_extensions; do
2733            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2734            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2735              'mkdir (GNU coreutils) '* | \
2736              'mkdir (coreutils) '* | \
2737              'mkdir (fileutils) '4.1*)
2738                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2739                break 3;;
2740            esac
2741          done
2742        done
2743   done
2744 IFS=$as_save_IFS
2745
2746 fi
2747
2748   test -d ./--version && rmdir ./--version
2749   if test "${ac_cv_path_mkdir+set}" = set; then
2750     MKDIR_P="$ac_cv_path_mkdir -p"
2751   else
2752     # As a last resort, use the slow shell script.  Don't cache a
2753     # value for MKDIR_P within a source directory, because that will
2754     # break other packages using the cache if that directory is
2755     # removed, or if the value is a relative name.
2756     MKDIR_P="$ac_install_sh -d"
2757   fi
2758 fi
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2760 $as_echo "$MKDIR_P" >&6; }
2761
2762 mkdir_p="$MKDIR_P"
2763 case $mkdir_p in
2764   [\\/$]* | ?:[\\/]*) ;;
2765   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2766 esac
2767
2768 for ac_prog in gawk mawk nawk awk
2769 do
2770   # Extract the first word of "$ac_prog", so it can be a program name with args.
2771 set dummy $ac_prog; ac_word=$2
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2773 $as_echo_n "checking for $ac_word... " >&6; }
2774 if ${ac_cv_prog_AWK+:} false; then :
2775   $as_echo_n "(cached) " >&6
2776 else
2777   if test -n "$AWK"; then
2778   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2779 else
2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781 for as_dir in $PATH
2782 do
2783   IFS=$as_save_IFS
2784   test -z "$as_dir" && as_dir=.
2785     for ac_exec_ext in '' $ac_executable_extensions; do
2786   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2787     ac_cv_prog_AWK="$ac_prog"
2788     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2789     break 2
2790   fi
2791 done
2792   done
2793 IFS=$as_save_IFS
2794
2795 fi
2796 fi
2797 AWK=$ac_cv_prog_AWK
2798 if test -n "$AWK"; then
2799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2800 $as_echo "$AWK" >&6; }
2801 else
2802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2803 $as_echo "no" >&6; }
2804 fi
2805
2806
2807   test -n "$AWK" && break
2808 done
2809
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2811 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2812 set x ${MAKE-make}
2813 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2814 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2815   $as_echo_n "(cached) " >&6
2816 else
2817   cat >conftest.make <<\_ACEOF
2818 SHELL = /bin/sh
2819 all:
2820         @echo '@@@%%%=$(MAKE)=@@@%%%'
2821 _ACEOF
2822 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2823 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2824   *@@@%%%=?*=@@@%%%*)
2825     eval ac_cv_prog_make_${ac_make}_set=yes;;
2826   *)
2827     eval ac_cv_prog_make_${ac_make}_set=no;;
2828 esac
2829 rm -f conftest.make
2830 fi
2831 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2833 $as_echo "yes" >&6; }
2834   SET_MAKE=
2835 else
2836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2837 $as_echo "no" >&6; }
2838   SET_MAKE="MAKE=${MAKE-make}"
2839 fi
2840
2841 rm -rf .tst 2>/dev/null
2842 mkdir .tst 2>/dev/null
2843 if test -d .tst; then
2844   am__leading_dot=.
2845 else
2846   am__leading_dot=_
2847 fi
2848 rmdir .tst 2>/dev/null
2849
2850 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2851   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2852   # is not polluted with repeated "-I."
2853   am__isrc=' -I$(srcdir)'
2854   # test to see if srcdir already configured
2855   if test -f $srcdir/config.status; then
2856     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2857   fi
2858 fi
2859
2860 # test whether we have cygpath
2861 if test -z "$CYGPATH_W"; then
2862   if (cygpath --version) >/dev/null 2>/dev/null; then
2863     CYGPATH_W='cygpath -w'
2864   else
2865     CYGPATH_W=echo
2866   fi
2867 fi
2868
2869
2870 # Define the identity of the package.
2871  PACKAGE='libxml++'
2872  VERSION='2.34.2'
2873
2874
2875 # Some tools Automake needs.
2876
2877 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2878
2879
2880 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2881
2882
2883 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2884
2885
2886 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2887
2888
2889 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2890
2891 # We need awk for the "check" target.  The system "awk" is bad on
2892 # some platforms.
2893 # Always define AMTAR for backward compatibility.
2894
2895 AMTAR=${AMTAR-"${am_missing_run}tar"}
2896
2897 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2898
2899
2900
2901
2902
2903 # Check whether --enable-silent-rules was given.
2904 if test "${enable_silent_rules+set}" = set; then :
2905   enableval=$enable_silent_rules;
2906 fi
2907
2908 case $enable_silent_rules in
2909 yes) AM_DEFAULT_VERBOSITY=0;;
2910 no)  AM_DEFAULT_VERBOSITY=1;;
2911 *)   AM_DEFAULT_VERBOSITY=1;;
2912 esac
2913 AM_BACKSLASH='\'
2914
2915
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2917 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2918     # Check whether --enable-maintainer-mode was given.
2919 if test "${enable_maintainer_mode+set}" = set; then :
2920   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2921 else
2922   USE_MAINTAINER_MODE=no
2923 fi
2924
2925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2926 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2927    if test $USE_MAINTAINER_MODE = yes; then
2928   MAINTAINER_MODE_TRUE=
2929   MAINTAINER_MODE_FALSE='#'
2930 else
2931   MAINTAINER_MODE_TRUE='#'
2932   MAINTAINER_MODE_FALSE=
2933 fi
2934
2935   MAINT=$MAINTAINER_MODE_TRUE
2936
2937
2938
2939
2940
2941
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports GNU make features" >&5
2943 $as_echo_n "checking whether ${MAKE-make} supports GNU make features... " >&6; }
2944 cat >conftest.make <<'_MMEOF'
2945 override reverse = $(2)$(subst ,, )$(1)
2946 override result := $(word 2,$(call reverse,success,failure))
2947 all: ; test '$(result)' = success
2948 .PHONY: all
2949 _MMEOF
2950 if ${MAKE-make} -f conftest.make >&5 2>&5; then :
2951   mm_gnu_make=yes
2952 else
2953   mm_gnu_make=no
2954 fi
2955 rm -f conftest.make
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_gnu_make" >&5
2957 $as_echo "$mm_gnu_make" >&6; }
2958 if test "x$mm_gnu_make" != xyes; then :
2959   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2961 as_fn_error $? "The GNU make program is required to build $PACKAGE_NAME.
2962 See \`config.log' for more details" "$LINENO" 5; }
2963 fi
2964
2965 LIBXMLXX_MODULE_NAME='libxml++-2.6'
2966
2967 LIBXMLXX_VERSION='2.34.2'
2968
2969 LIBXMLXX_API_VERSION='2.6'
2970
2971 LIBXMLXX_MAJOR_VERSION=2
2972
2973
2974 $as_echo "#define LIBXMLXX_MAJOR_VERSION 2" >>confdefs.h
2975
2976 LIBXMLXX_MINOR_VERSION=34
2977
2978
2979 $as_echo "#define LIBXMLXX_MINOR_VERSION 34" >>confdefs.h
2980
2981 LIBXMLXX_MICRO_VERSION=2
2982
2983
2984 $as_echo "#define LIBXMLXX_MICRO_VERSION 2" >>confdefs.h
2985
2986
2987
2988 # Copy the mm-common .pl scripts into docs/,
2989 # and use them from there,
2990 # so we can dist them to avoid a tarball-build dependency.
2991 MMDOCTOOLDIR='${top_srcdir}/docs'
2992  if test 'xdocs' != 'x'; then
2993   DIST_DOCTOOLS_TRUE=
2994   DIST_DOCTOOLS_FALSE='#'
2995 else
2996   DIST_DOCTOOLS_TRUE='#'
2997   DIST_DOCTOOLS_FALSE=
2998 fi
2999
3000
3001 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
3002 LIBXMLXX_SO_VERSION=2:7:0
3003
3004
3005 ac_ext=cpp
3006 ac_cpp='$CXXCPP $CPPFLAGS'
3007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3010 if test -z "$CXX"; then
3011   if test -n "$CCC"; then
3012     CXX=$CCC
3013   else
3014     if test -n "$ac_tool_prefix"; then
3015   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3016   do
3017     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3018 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020 $as_echo_n "checking for $ac_word... " >&6; }
3021 if ${ac_cv_prog_CXX+:} false; then :
3022   $as_echo_n "(cached) " >&6
3023 else
3024   if test -n "$CXX"; then
3025   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3026 else
3027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3028 for as_dir in $PATH
3029 do
3030   IFS=$as_save_IFS
3031   test -z "$as_dir" && as_dir=.
3032     for ac_exec_ext in '' $ac_executable_extensions; do
3033   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3034     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3036     break 2
3037   fi
3038 done
3039   done
3040 IFS=$as_save_IFS
3041
3042 fi
3043 fi
3044 CXX=$ac_cv_prog_CXX
3045 if test -n "$CXX"; then
3046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3047 $as_echo "$CXX" >&6; }
3048 else
3049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050 $as_echo "no" >&6; }
3051 fi
3052
3053
3054     test -n "$CXX" && break
3055   done
3056 fi
3057 if test -z "$CXX"; then
3058   ac_ct_CXX=$CXX
3059   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3060 do
3061   # Extract the first word of "$ac_prog", so it can be a program name with args.
3062 set dummy $ac_prog; ac_word=$2
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3064 $as_echo_n "checking for $ac_word... " >&6; }
3065 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3066   $as_echo_n "(cached) " >&6
3067 else
3068   if test -n "$ac_ct_CXX"; then
3069   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3070 else
3071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3072 for as_dir in $PATH
3073 do
3074   IFS=$as_save_IFS
3075   test -z "$as_dir" && as_dir=.
3076     for ac_exec_ext in '' $ac_executable_extensions; do
3077   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3078     ac_cv_prog_ac_ct_CXX="$ac_prog"
3079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3080     break 2
3081   fi
3082 done
3083   done
3084 IFS=$as_save_IFS
3085
3086 fi
3087 fi
3088 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3089 if test -n "$ac_ct_CXX"; then
3090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3091 $as_echo "$ac_ct_CXX" >&6; }
3092 else
3093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3094 $as_echo "no" >&6; }
3095 fi
3096
3097
3098   test -n "$ac_ct_CXX" && break
3099 done
3100
3101   if test "x$ac_ct_CXX" = x; then
3102     CXX="g++"
3103   else
3104     case $cross_compiling:$ac_tool_warned in
3105 yes:)
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3108 ac_tool_warned=yes ;;
3109 esac
3110     CXX=$ac_ct_CXX
3111   fi
3112 fi
3113
3114   fi
3115 fi
3116 # Provide some information about the compiler.
3117 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3118 set X $ac_compile
3119 ac_compiler=$2
3120 for ac_option in --version -v -V -qversion; do
3121   { { ac_try="$ac_compiler $ac_option >&5"
3122 case "(($ac_try" in
3123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3124   *) ac_try_echo=$ac_try;;
3125 esac
3126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3127 $as_echo "$ac_try_echo"; } >&5
3128   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3129   ac_status=$?
3130   if test -s conftest.err; then
3131     sed '10a\
3132 ... rest of stderr output deleted ...
3133          10q' conftest.err >conftest.er1
3134     cat conftest.er1 >&5
3135   fi
3136   rm -f conftest.er1 conftest.err
3137   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3138   test $ac_status = 0; }
3139 done
3140
3141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3142 /* end confdefs.h.  */
3143
3144 int
3145 main ()
3146 {
3147
3148   ;
3149   return 0;
3150 }
3151 _ACEOF
3152 ac_clean_files_save=$ac_clean_files
3153 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3154 # Try to create an executable without -o first, disregard a.out.
3155 # It will help us diagnose broken compilers, and finding out an intuition
3156 # of exeext.
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3158 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3159 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3160
3161 # The possible output files:
3162 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3163
3164 ac_rmfiles=
3165 for ac_file in $ac_files
3166 do
3167   case $ac_file in
3168     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3169     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3170   esac
3171 done
3172 rm -f $ac_rmfiles
3173
3174 if { { ac_try="$ac_link_default"
3175 case "(($ac_try" in
3176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177   *) ac_try_echo=$ac_try;;
3178 esac
3179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3180 $as_echo "$ac_try_echo"; } >&5
3181   (eval "$ac_link_default") 2>&5
3182   ac_status=$?
3183   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3184   test $ac_status = 0; }; then :
3185   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3186 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3187 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3188 # so that the user can short-circuit this test for compilers unknown to
3189 # Autoconf.
3190 for ac_file in $ac_files ''
3191 do
3192   test -f "$ac_file" || continue
3193   case $ac_file in
3194     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3195         ;;
3196     [ab].out )
3197         # We found the default executable, but exeext='' is most
3198         # certainly right.
3199         break;;
3200     *.* )
3201         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3202         then :; else
3203            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3204         fi
3205         # We set ac_cv_exeext here because the later test for it is not
3206         # safe: cross compilers may not add the suffix if given an `-o'
3207         # argument, so we may need to know it at that point already.
3208         # Even if this section looks crufty: it has the advantage of
3209         # actually working.
3210         break;;
3211     * )
3212         break;;
3213   esac
3214 done
3215 test "$ac_cv_exeext" = no && ac_cv_exeext=
3216
3217 else
3218   ac_file=''
3219 fi
3220 if test -z "$ac_file"; then :
3221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3222 $as_echo "no" >&6; }
3223 $as_echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3225
3226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3228 as_fn_error 77 "C++ compiler cannot create executables
3229 See \`config.log' for more details" "$LINENO" 5; }
3230 else
3231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3232 $as_echo "yes" >&6; }
3233 fi
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3235 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3237 $as_echo "$ac_file" >&6; }
3238 ac_exeext=$ac_cv_exeext
3239
3240 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3241 ac_clean_files=$ac_clean_files_save
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3243 $as_echo_n "checking for suffix of executables... " >&6; }
3244 if { { ac_try="$ac_link"
3245 case "(($ac_try" in
3246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3247   *) ac_try_echo=$ac_try;;
3248 esac
3249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3250 $as_echo "$ac_try_echo"; } >&5
3251   (eval "$ac_link") 2>&5
3252   ac_status=$?
3253   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3254   test $ac_status = 0; }; then :
3255   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3256 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3257 # work properly (i.e., refer to `conftest.exe'), while it won't with
3258 # `rm'.
3259 for ac_file in conftest.exe conftest conftest.*; do
3260   test -f "$ac_file" || continue
3261   case $ac_file in
3262     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3263     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3264           break;;
3265     * ) break;;
3266   esac
3267 done
3268 else
3269   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3271 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3272 See \`config.log' for more details" "$LINENO" 5; }
3273 fi
3274 rm -f conftest conftest$ac_cv_exeext
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3276 $as_echo "$ac_cv_exeext" >&6; }
3277
3278 rm -f conftest.$ac_ext
3279 EXEEXT=$ac_cv_exeext
3280 ac_exeext=$EXEEXT
3281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3282 /* end confdefs.h.  */
3283 #include <stdio.h>
3284 int
3285 main ()
3286 {
3287 FILE *f = fopen ("conftest.out", "w");
3288  return ferror (f) || fclose (f) != 0;
3289
3290   ;
3291   return 0;
3292 }
3293 _ACEOF
3294 ac_clean_files="$ac_clean_files conftest.out"
3295 # Check that the compiler produces executables we can run.  If not, either
3296 # the compiler is broken, or we cross compile.
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3298 $as_echo_n "checking whether we are cross compiling... " >&6; }
3299 if test "$cross_compiling" != yes; then
3300   { { ac_try="$ac_link"
3301 case "(($ac_try" in
3302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3303   *) ac_try_echo=$ac_try;;
3304 esac
3305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3306 $as_echo "$ac_try_echo"; } >&5
3307   (eval "$ac_link") 2>&5
3308   ac_status=$?
3309   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3310   test $ac_status = 0; }
3311   if { ac_try='./conftest$ac_cv_exeext'
3312   { { case "(($ac_try" in
3313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3314   *) ac_try_echo=$ac_try;;
3315 esac
3316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3317 $as_echo "$ac_try_echo"; } >&5
3318   (eval "$ac_try") 2>&5
3319   ac_status=$?
3320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3321   test $ac_status = 0; }; }; then
3322     cross_compiling=no
3323   else
3324     if test "$cross_compiling" = maybe; then
3325         cross_compiling=yes
3326     else
3327         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3329 as_fn_error $? "cannot run C++ compiled programs.
3330 If you meant to cross compile, use \`--host'.
3331 See \`config.log' for more details" "$LINENO" 5; }
3332     fi
3333   fi
3334 fi
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3336 $as_echo "$cross_compiling" >&6; }
3337
3338 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3339 ac_clean_files=$ac_clean_files_save
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3341 $as_echo_n "checking for suffix of object files... " >&6; }
3342 if ${ac_cv_objext+:} false; then :
3343   $as_echo_n "(cached) " >&6
3344 else
3345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3346 /* end confdefs.h.  */
3347
3348 int
3349 main ()
3350 {
3351
3352   ;
3353   return 0;
3354 }
3355 _ACEOF
3356 rm -f conftest.o conftest.obj
3357 if { { ac_try="$ac_compile"
3358 case "(($ac_try" in
3359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360   *) ac_try_echo=$ac_try;;
3361 esac
3362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3363 $as_echo "$ac_try_echo"; } >&5
3364   (eval "$ac_compile") 2>&5
3365   ac_status=$?
3366   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3367   test $ac_status = 0; }; then :
3368   for ac_file in conftest.o conftest.obj conftest.*; do
3369   test -f "$ac_file" || continue;
3370   case $ac_file in
3371     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3372     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3373        break;;
3374   esac
3375 done
3376 else
3377   $as_echo "$as_me: failed program was:" >&5
3378 sed 's/^/| /' conftest.$ac_ext >&5
3379
3380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3382 as_fn_error $? "cannot compute suffix of object files: cannot compile
3383 See \`config.log' for more details" "$LINENO" 5; }
3384 fi
3385 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3386 fi
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3388 $as_echo "$ac_cv_objext" >&6; }
3389 OBJEXT=$ac_cv_objext
3390 ac_objext=$OBJEXT
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3392 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3393 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3394   $as_echo_n "(cached) " >&6
3395 else
3396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3397 /* end confdefs.h.  */
3398
3399 int
3400 main ()
3401 {
3402 #ifndef __GNUC__
3403        choke me
3404 #endif
3405
3406   ;
3407   return 0;
3408 }
3409 _ACEOF
3410 if ac_fn_cxx_try_compile "$LINENO"; then :
3411   ac_compiler_gnu=yes
3412 else
3413   ac_compiler_gnu=no
3414 fi
3415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3416 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3417
3418 fi
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3420 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3421 if test $ac_compiler_gnu = yes; then
3422   GXX=yes
3423 else
3424   GXX=
3425 fi
3426 ac_test_CXXFLAGS=${CXXFLAGS+set}
3427 ac_save_CXXFLAGS=$CXXFLAGS
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3429 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3430 if ${ac_cv_prog_cxx_g+:} false; then :
3431   $as_echo_n "(cached) " >&6
3432 else
3433   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3434    ac_cxx_werror_flag=yes
3435    ac_cv_prog_cxx_g=no
3436    CXXFLAGS="-g"
3437    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438 /* end confdefs.h.  */
3439
3440 int
3441 main ()
3442 {
3443
3444   ;
3445   return 0;
3446 }
3447 _ACEOF
3448 if ac_fn_cxx_try_compile "$LINENO"; then :
3449   ac_cv_prog_cxx_g=yes
3450 else
3451   CXXFLAGS=""
3452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453 /* end confdefs.h.  */
3454
3455 int
3456 main ()
3457 {
3458
3459   ;
3460   return 0;
3461 }
3462 _ACEOF
3463 if ac_fn_cxx_try_compile "$LINENO"; then :
3464
3465 else
3466   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3467          CXXFLAGS="-g"
3468          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h.  */
3470
3471 int
3472 main ()
3473 {
3474
3475   ;
3476   return 0;
3477 }
3478 _ACEOF
3479 if ac_fn_cxx_try_compile "$LINENO"; then :
3480   ac_cv_prog_cxx_g=yes
3481 fi
3482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3483 fi
3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3485 fi
3486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3487    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3488 fi
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3490 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3491 if test "$ac_test_CXXFLAGS" = set; then
3492   CXXFLAGS=$ac_save_CXXFLAGS
3493 elif test $ac_cv_prog_cxx_g = yes; then
3494   if test "$GXX" = yes; then
3495     CXXFLAGS="-g -O2"
3496   else
3497     CXXFLAGS="-g"
3498   fi
3499 else
3500   if test "$GXX" = yes; then
3501     CXXFLAGS="-O2"
3502   else
3503     CXXFLAGS=
3504   fi
3505 fi
3506 ac_ext=c
3507 ac_cpp='$CPP $CPPFLAGS'
3508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3511 DEPDIR="${am__leading_dot}deps"
3512
3513 ac_config_commands="$ac_config_commands depfiles"
3514
3515
3516 am_make=${MAKE-make}
3517 cat > confinc << 'END'
3518 am__doit:
3519         @echo this is the am__doit target
3520 .PHONY: am__doit
3521 END
3522 # If we don't find an include directive, just comment out the code.
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3524 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3525 am__include="#"
3526 am__quote=
3527 _am_result=none
3528 # First try GNU make style include.
3529 echo "include confinc" > confmf
3530 # Ignore all kinds of additional output from `make'.
3531 case `$am_make -s -f confmf 2> /dev/null` in #(
3532 *the\ am__doit\ target*)
3533   am__include=include
3534   am__quote=
3535   _am_result=GNU
3536   ;;
3537 esac
3538 # Now try BSD make style include.
3539 if test "$am__include" = "#"; then
3540    echo '.include "confinc"' > confmf
3541    case `$am_make -s -f confmf 2> /dev/null` in #(
3542    *the\ am__doit\ target*)
3543      am__include=.include
3544      am__quote="\""
3545      _am_result=BSD
3546      ;;
3547    esac
3548 fi
3549
3550
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3552 $as_echo "$_am_result" >&6; }
3553 rm -f confinc confmf
3554
3555 # Check whether --enable-dependency-tracking was given.
3556 if test "${enable_dependency_tracking+set}" = set; then :
3557   enableval=$enable_dependency_tracking;
3558 fi
3559
3560 if test "x$enable_dependency_tracking" != xno; then
3561   am_depcomp="$ac_aux_dir/depcomp"
3562   AMDEPBACKSLASH='\'
3563 fi
3564  if test "x$enable_dependency_tracking" != xno; then
3565   AMDEP_TRUE=
3566   AMDEP_FALSE='#'
3567 else
3568   AMDEP_TRUE='#'
3569   AMDEP_FALSE=
3570 fi
3571
3572
3573
3574 depcc="$CXX"  am_compiler_list=
3575
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3577 $as_echo_n "checking dependency style of $depcc... " >&6; }
3578 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3579   $as_echo_n "(cached) " >&6
3580 else
3581   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3582   # We make a subdir and do the tests there.  Otherwise we can end up
3583   # making bogus files that we don't know about and never remove.  For
3584   # instance it was reported that on HP-UX the gcc test will end up
3585   # making a dummy file named `D' -- because `-MD' means `put the output
3586   # in D'.
3587   mkdir conftest.dir
3588   # Copy depcomp to subdir because otherwise we won't find it if we're
3589   # using a relative directory.
3590   cp "$am_depcomp" conftest.dir
3591   cd conftest.dir
3592   # We will build objects and dependencies in a subdirectory because
3593   # it helps to detect inapplicable dependency modes.  For instance
3594   # both Tru64's cc and ICC support -MD to output dependencies as a
3595   # side effect of compilation, but ICC will put the dependencies in
3596   # the current directory while Tru64 will put them in the object
3597   # directory.
3598   mkdir sub
3599
3600   am_cv_CXX_dependencies_compiler_type=none
3601   if test "$am_compiler_list" = ""; then
3602      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3603   fi
3604   am__universal=false
3605   case " $depcc " in #(
3606      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3607      esac
3608
3609   for depmode in $am_compiler_list; do
3610     # Setup a source with many dependencies, because some compilers
3611     # like to wrap large dependency lists on column 80 (with \), and
3612     # we should not choose a depcomp mode which is confused by this.
3613     #
3614     # We need to recreate these files for each test, as the compiler may
3615     # overwrite some of them when testing with obscure command lines.
3616     # This happens at least with the AIX C compiler.
3617     : > sub/conftest.c
3618     for i in 1 2 3 4 5 6; do
3619       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3620       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3621       # Solaris 8's {/usr,}/bin/sh.
3622       touch sub/conftst$i.h
3623     done
3624     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3625
3626     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3627     # mode.  It turns out that the SunPro C++ compiler does not properly
3628     # handle `-M -o', and we need to detect this.  Also, some Intel
3629     # versions had trouble with output in subdirs
3630     am__obj=sub/conftest.${OBJEXT-o}
3631     am__minus_obj="-o $am__obj"
3632     case $depmode in
3633     gcc)
3634       # This depmode causes a compiler race in universal mode.
3635       test "$am__universal" = false || continue
3636       ;;
3637     nosideeffect)
3638       # after this tag, mechanisms are not by side-effect, so they'll
3639       # only be used when explicitly requested
3640       if test "x$enable_dependency_tracking" = xyes; then
3641         continue
3642       else
3643         break
3644       fi
3645       ;;
3646     msvisualcpp | msvcmsys)
3647       # This compiler won't grok `-c -o', but also, the minuso test has
3648       # not run yet.  These depmodes are late enough in the game, and
3649       # so weak that their functioning should not be impacted.
3650       am__obj=conftest.${OBJEXT-o}
3651       am__minus_obj=
3652       ;;
3653     none) break ;;
3654     esac
3655     if depmode=$depmode \
3656        source=sub/conftest.c object=$am__obj \
3657        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3658        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3659          >/dev/null 2>conftest.err &&
3660        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3661        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3662        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3663        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3664       # icc doesn't choke on unknown options, it will just issue warnings
3665       # or remarks (even with -Werror).  So we grep stderr for any message
3666       # that says an option was ignored or not supported.
3667       # When given -MP, icc 7.0 and 7.1 complain thusly:
3668       #   icc: Command line warning: ignoring option '-M'; no argument required
3669       # The diagnosis changed in icc 8.0:
3670       #   icc: Command line remark: option '-MP' not supported
3671       if (grep 'ignoring option' conftest.err ||
3672           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3673         am_cv_CXX_dependencies_compiler_type=$depmode
3674         break
3675       fi
3676     fi
3677   done
3678
3679   cd ..
3680   rm -rf conftest.dir
3681 else
3682   am_cv_CXX_dependencies_compiler_type=none
3683 fi
3684
3685 fi
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3687 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3688 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3689
3690  if
3691   test "x$enable_dependency_tracking" != xno \
3692   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3693   am__fastdepCXX_TRUE=
3694   am__fastdepCXX_FALSE='#'
3695 else
3696   am__fastdepCXX_TRUE='#'
3697   am__fastdepCXX_FALSE=
3698 fi
3699
3700
3701
3702 case `pwd` in
3703   *\ * | *\     *)
3704     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3705 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3706 esac
3707
3708
3709
3710 macro_version='2.4'
3711 macro_revision='1.3293'
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725 ltmain="$ac_aux_dir/ltmain.sh"
3726
3727 # Make sure we can run config.sub.
3728 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3729   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3730
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3732 $as_echo_n "checking build system type... " >&6; }
3733 if ${ac_cv_build+:} false; then :
3734   $as_echo_n "(cached) " >&6
3735 else
3736   ac_build_alias=$build_alias
3737 test "x$ac_build_alias" = x &&
3738   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3739 test "x$ac_build_alias" = x &&
3740   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3741 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3742   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3743
3744 fi
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3746 $as_echo "$ac_cv_build" >&6; }
3747 case $ac_cv_build in
3748 *-*-*) ;;
3749 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3750 esac
3751 build=$ac_cv_build
3752 ac_save_IFS=$IFS; IFS='-'
3753 set x $ac_cv_build
3754 shift
3755 build_cpu=$1
3756 build_vendor=$2
3757 shift; shift
3758 # Remember, the first character of IFS is used to create $*,
3759 # except with old shells:
3760 build_os=$*
3761 IFS=$ac_save_IFS
3762 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3763
3764
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3766 $as_echo_n "checking host system type... " >&6; }
3767 if ${ac_cv_host+:} false; then :
3768   $as_echo_n "(cached) " >&6
3769 else
3770   if test "x$host_alias" = x; then
3771   ac_cv_host=$ac_cv_build
3772 else
3773   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3774     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3775 fi
3776
3777 fi
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3779 $as_echo "$ac_cv_host" >&6; }
3780 case $ac_cv_host in
3781 *-*-*) ;;
3782 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3783 esac
3784 host=$ac_cv_host
3785 ac_save_IFS=$IFS; IFS='-'
3786 set x $ac_cv_host
3787 shift
3788 host_cpu=$1
3789 host_vendor=$2
3790 shift; shift
3791 # Remember, the first character of IFS is used to create $*,
3792 # except with old shells:
3793 host_os=$*
3794 IFS=$ac_save_IFS
3795 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3796
3797
3798 # Backslashify metacharacters that are still active within
3799 # double-quoted strings.
3800 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3801
3802 # Same as above, but do not quote variable references.
3803 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3804
3805 # Sed substitution to delay expansion of an escaped shell variable in a
3806 # double_quote_subst'ed string.
3807 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3808
3809 # Sed substitution to delay expansion of an escaped single quote.
3810 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3811
3812 # Sed substitution to avoid accidental globbing in evaled expressions
3813 no_glob_subst='s/\*/\\\*/g'
3814
3815 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3816 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3817 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3818
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3820 $as_echo_n "checking how to print strings... " >&6; }
3821 # Test print first, because it will be a builtin if present.
3822 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3823    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3824   ECHO='print -r --'
3825 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3826   ECHO='printf %s\n'
3827 else
3828   # Use this function as a fallback that always works.
3829   func_fallback_echo ()
3830   {
3831     eval 'cat <<_LTECHO_EOF
3832 $1
3833 _LTECHO_EOF'
3834   }
3835   ECHO='func_fallback_echo'
3836 fi
3837
3838 # func_echo_all arg...
3839 # Invoke $ECHO with all args, space-separated.
3840 func_echo_all ()
3841 {
3842     $ECHO ""
3843 }
3844
3845 case "$ECHO" in
3846   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3847 $as_echo "printf" >&6; } ;;
3848   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3849 $as_echo "print -r" >&6; } ;;
3850   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3851 $as_echo "cat" >&6; } ;;
3852 esac
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867 ac_ext=c
3868 ac_cpp='$CPP $CPPFLAGS'
3869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3872 if test -n "$ac_tool_prefix"; then
3873   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3874 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3876 $as_echo_n "checking for $ac_word... " >&6; }
3877 if ${ac_cv_prog_CC+:} false; then :
3878   $as_echo_n "(cached) " >&6
3879 else
3880   if test -n "$CC"; then
3881   ac_cv_prog_CC="$CC" # Let the user override the test.
3882 else
3883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3884 for as_dir in $PATH
3885 do
3886   IFS=$as_save_IFS
3887   test -z "$as_dir" && as_dir=.
3888     for ac_exec_ext in '' $ac_executable_extensions; do
3889   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3890     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3892     break 2
3893   fi
3894 done
3895   done
3896 IFS=$as_save_IFS
3897
3898 fi
3899 fi
3900 CC=$ac_cv_prog_CC
3901 if test -n "$CC"; then
3902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3903 $as_echo "$CC" >&6; }
3904 else
3905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3906 $as_echo "no" >&6; }
3907 fi
3908
3909
3910 fi
3911 if test -z "$ac_cv_prog_CC"; then
3912   ac_ct_CC=$CC
3913   # Extract the first word of "gcc", so it can be a program name with args.
3914 set dummy gcc; ac_word=$2
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3916 $as_echo_n "checking for $ac_word... " >&6; }
3917 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3918   $as_echo_n "(cached) " >&6
3919 else
3920   if test -n "$ac_ct_CC"; then
3921   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3922 else
3923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3924 for as_dir in $PATH
3925 do
3926   IFS=$as_save_IFS
3927   test -z "$as_dir" && as_dir=.
3928     for ac_exec_ext in '' $ac_executable_extensions; do
3929   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3930     ac_cv_prog_ac_ct_CC="gcc"
3931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3932     break 2
3933   fi
3934 done
3935   done
3936 IFS=$as_save_IFS
3937
3938 fi
3939 fi
3940 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3941 if test -n "$ac_ct_CC"; then
3942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3943 $as_echo "$ac_ct_CC" >&6; }
3944 else
3945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3946 $as_echo "no" >&6; }
3947 fi
3948
3949   if test "x$ac_ct_CC" = x; then
3950     CC=""
3951   else
3952     case $cross_compiling:$ac_tool_warned in
3953 yes:)
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3956 ac_tool_warned=yes ;;
3957 esac
3958     CC=$ac_ct_CC
3959   fi
3960 else
3961   CC="$ac_cv_prog_CC"
3962 fi
3963
3964 if test -z "$CC"; then
3965           if test -n "$ac_tool_prefix"; then
3966     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3967 set dummy ${ac_tool_prefix}cc; ac_word=$2
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3969 $as_echo_n "checking for $ac_word... " >&6; }
3970 if ${ac_cv_prog_CC+:} false; then :
3971   $as_echo_n "(cached) " >&6
3972 else
3973   if test -n "$CC"; then
3974   ac_cv_prog_CC="$CC" # Let the user override the test.
3975 else
3976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3977 for as_dir in $PATH
3978 do
3979   IFS=$as_save_IFS
3980   test -z "$as_dir" && as_dir=.
3981     for ac_exec_ext in '' $ac_executable_extensions; do
3982   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3983     ac_cv_prog_CC="${ac_tool_prefix}cc"
3984     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3985     break 2
3986   fi
3987 done
3988   done
3989 IFS=$as_save_IFS
3990
3991 fi
3992 fi
3993 CC=$ac_cv_prog_CC
3994 if test -n "$CC"; then
3995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3996 $as_echo "$CC" >&6; }
3997 else
3998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3999 $as_echo "no" >&6; }
4000 fi
4001
4002
4003   fi
4004 fi
4005 if test -z "$CC"; then
4006   # Extract the first word of "cc", so it can be a program name with args.
4007 set dummy cc; ac_word=$2
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4009 $as_echo_n "checking for $ac_word... " >&6; }
4010 if ${ac_cv_prog_CC+:} false; then :
4011   $as_echo_n "(cached) " >&6
4012 else
4013   if test -n "$CC"; then
4014   ac_cv_prog_CC="$CC" # Let the user override the test.
4015 else
4016   ac_prog_rejected=no
4017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4018 for as_dir in $PATH
4019 do
4020   IFS=$as_save_IFS
4021   test -z "$as_dir" && as_dir=.
4022     for ac_exec_ext in '' $ac_executable_extensions; do
4023   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4024     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4025        ac_prog_rejected=yes
4026        continue
4027      fi
4028     ac_cv_prog_CC="cc"
4029     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4030     break 2
4031   fi
4032 done
4033   done
4034 IFS=$as_save_IFS
4035
4036 if test $ac_prog_rejected = yes; then
4037   # We found a bogon in the path, so make sure we never use it.
4038   set dummy $ac_cv_prog_CC
4039   shift
4040   if test $# != 0; then
4041     # We chose a different compiler from the bogus one.
4042     # However, it has the same basename, so the bogon will be chosen
4043     # first if we set CC to just the basename; use the full file name.
4044     shift
4045     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4046   fi
4047 fi
4048 fi
4049 fi
4050 CC=$ac_cv_prog_CC
4051 if test -n "$CC"; then
4052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4053 $as_echo "$CC" >&6; }
4054 else
4055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4056 $as_echo "no" >&6; }
4057 fi
4058
4059
4060 fi
4061 if test -z "$CC"; then
4062   if test -n "$ac_tool_prefix"; then
4063   for ac_prog in cl.exe
4064   do
4065     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4066 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4068 $as_echo_n "checking for $ac_word... " >&6; }
4069 if ${ac_cv_prog_CC+:} false; then :
4070   $as_echo_n "(cached) " >&6
4071 else
4072   if test -n "$CC"; then
4073   ac_cv_prog_CC="$CC" # Let the user override the test.
4074 else
4075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4076 for as_dir in $PATH
4077 do
4078   IFS=$as_save_IFS
4079   test -z "$as_dir" && as_dir=.
4080     for ac_exec_ext in '' $ac_executable_extensions; do
4081   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4082     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4083     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4084     break 2
4085   fi
4086 done
4087   done
4088 IFS=$as_save_IFS
4089
4090 fi
4091 fi
4092 CC=$ac_cv_prog_CC
4093 if test -n "$CC"; then
4094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4095 $as_echo "$CC" >&6; }
4096 else
4097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4098 $as_echo "no" >&6; }
4099 fi
4100
4101
4102     test -n "$CC" && break
4103   done
4104 fi
4105 if test -z "$CC"; then
4106   ac_ct_CC=$CC
4107   for ac_prog in cl.exe
4108 do
4109   # Extract the first word of "$ac_prog", so it can be a program name with args.
4110 set dummy $ac_prog; ac_word=$2
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112 $as_echo_n "checking for $ac_word... " >&6; }
4113 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4114   $as_echo_n "(cached) " >&6
4115 else
4116   if test -n "$ac_ct_CC"; then
4117   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4118 else
4119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4120 for as_dir in $PATH
4121 do
4122   IFS=$as_save_IFS
4123   test -z "$as_dir" && as_dir=.
4124     for ac_exec_ext in '' $ac_executable_extensions; do
4125   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4126     ac_cv_prog_ac_ct_CC="$ac_prog"
4127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4128     break 2
4129   fi
4130 done
4131   done
4132 IFS=$as_save_IFS
4133
4134 fi
4135 fi
4136 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4137 if test -n "$ac_ct_CC"; then
4138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4139 $as_echo "$ac_ct_CC" >&6; }
4140 else
4141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4142 $as_echo "no" >&6; }
4143 fi
4144
4145
4146   test -n "$ac_ct_CC" && break
4147 done
4148
4149   if test "x$ac_ct_CC" = x; then
4150     CC=""
4151   else
4152     case $cross_compiling:$ac_tool_warned in
4153 yes:)
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4156 ac_tool_warned=yes ;;
4157 esac
4158     CC=$ac_ct_CC
4159   fi
4160 fi
4161
4162 fi
4163
4164
4165 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4167 as_fn_error $? "no acceptable C compiler found in \$PATH
4168 See \`config.log' for more details" "$LINENO" 5; }
4169
4170 # Provide some information about the compiler.
4171 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4172 set X $ac_compile
4173 ac_compiler=$2
4174 for ac_option in --version -v -V -qversion; do
4175   { { ac_try="$ac_compiler $ac_option >&5"
4176 case "(($ac_try" in
4177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4178   *) ac_try_echo=$ac_try;;
4179 esac
4180 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4181 $as_echo "$ac_try_echo"; } >&5
4182   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4183   ac_status=$?
4184   if test -s conftest.err; then
4185     sed '10a\
4186 ... rest of stderr output deleted ...
4187          10q' conftest.err >conftest.er1
4188     cat conftest.er1 >&5
4189   fi
4190   rm -f conftest.er1 conftest.err
4191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4192   test $ac_status = 0; }
4193 done
4194
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4196 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4197 if ${ac_cv_c_compiler_gnu+:} false; then :
4198   $as_echo_n "(cached) " >&6
4199 else
4200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h.  */
4202
4203 int
4204 main ()
4205 {
4206 #ifndef __GNUC__
4207        choke me
4208 #endif
4209
4210   ;
4211   return 0;
4212 }
4213 _ACEOF
4214 if ac_fn_c_try_compile "$LINENO"; then :
4215   ac_compiler_gnu=yes
4216 else
4217   ac_compiler_gnu=no
4218 fi
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4221
4222 fi
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4224 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4225 if test $ac_compiler_gnu = yes; then
4226   GCC=yes
4227 else
4228   GCC=
4229 fi
4230 ac_test_CFLAGS=${CFLAGS+set}
4231 ac_save_CFLAGS=$CFLAGS
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4233 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4234 if ${ac_cv_prog_cc_g+:} false; then :
4235   $as_echo_n "(cached) " >&6
4236 else
4237   ac_save_c_werror_flag=$ac_c_werror_flag
4238    ac_c_werror_flag=yes
4239    ac_cv_prog_cc_g=no
4240    CFLAGS="-g"
4241    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h.  */
4243
4244 int
4245 main ()
4246 {
4247
4248   ;
4249   return 0;
4250 }
4251 _ACEOF
4252 if ac_fn_c_try_compile "$LINENO"; then :
4253   ac_cv_prog_cc_g=yes
4254 else
4255   CFLAGS=""
4256       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h.  */
4258
4259 int
4260 main ()
4261 {
4262
4263   ;
4264   return 0;
4265 }
4266 _ACEOF
4267 if ac_fn_c_try_compile "$LINENO"; then :
4268
4269 else
4270   ac_c_werror_flag=$ac_save_c_werror_flag
4271          CFLAGS="-g"
4272          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h.  */
4274
4275 int
4276 main ()
4277 {
4278
4279   ;
4280   return 0;
4281 }
4282 _ACEOF
4283 if ac_fn_c_try_compile "$LINENO"; then :
4284   ac_cv_prog_cc_g=yes
4285 fi
4286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4287 fi
4288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4289 fi
4290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4291    ac_c_werror_flag=$ac_save_c_werror_flag
4292 fi
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4294 $as_echo "$ac_cv_prog_cc_g" >&6; }
4295 if test "$ac_test_CFLAGS" = set; then
4296   CFLAGS=$ac_save_CFLAGS
4297 elif test $ac_cv_prog_cc_g = yes; then
4298   if test "$GCC" = yes; then
4299     CFLAGS="-g -O2"
4300   else
4301     CFLAGS="-g"
4302   fi
4303 else
4304   if test "$GCC" = yes; then
4305     CFLAGS="-O2"
4306   else
4307     CFLAGS=
4308   fi
4309 fi
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4311 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4312 if ${ac_cv_prog_cc_c89+:} false; then :
4313   $as_echo_n "(cached) " >&6
4314 else
4315   ac_cv_prog_cc_c89=no
4316 ac_save_CC=$CC
4317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4318 /* end confdefs.h.  */
4319 #include <stdarg.h>
4320 #include <stdio.h>
4321 #include <sys/types.h>
4322 #include <sys/stat.h>
4323 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4324 struct buf { int x; };
4325 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4326 static char *e (p, i)
4327      char **p;
4328      int i;
4329 {
4330   return p[i];
4331 }
4332 static char *f (char * (*g) (char **, int), char **p, ...)
4333 {
4334   char *s;
4335   va_list v;
4336   va_start (v,p);
4337   s = g (p, va_arg (v,int));
4338   va_end (v);
4339   return s;
4340 }
4341
4342 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4343    function prototypes and stuff, but not '\xHH' hex character constants.
4344    These don't provoke an error unfortunately, instead are silently treated
4345    as 'x'.  The following induces an error, until -std is added to get
4346    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4347    array size at least.  It's necessary to write '\x00'==0 to get something
4348    that's true only with -std.  */
4349 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4350
4351 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4352    inside strings and character constants.  */
4353 #define FOO(x) 'x'
4354 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4355
4356 int test (int i, double x);
4357 struct s1 {int (*f) (int a);};
4358 struct s2 {int (*f) (double a);};
4359 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4360 int argc;
4361 char **argv;
4362 int
4363 main ()
4364 {
4365 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4366   ;
4367   return 0;
4368 }
4369 _ACEOF
4370 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4371         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4372 do
4373   CC="$ac_save_CC $ac_arg"
4374   if ac_fn_c_try_compile "$LINENO"; then :
4375   ac_cv_prog_cc_c89=$ac_arg
4376 fi
4377 rm -f core conftest.err conftest.$ac_objext
4378   test "x$ac_cv_prog_cc_c89" != "xno" && break
4379 done
4380 rm -f conftest.$ac_ext
4381 CC=$ac_save_CC
4382
4383 fi
4384 # AC_CACHE_VAL
4385 case "x$ac_cv_prog_cc_c89" in
4386   x)
4387     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4388 $as_echo "none needed" >&6; } ;;
4389   xno)
4390     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4391 $as_echo "unsupported" >&6; } ;;
4392   *)
4393     CC="$CC $ac_cv_prog_cc_c89"
4394     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4395 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4396 esac
4397 if test "x$ac_cv_prog_cc_c89" != xno; then :
4398
4399 fi
4400
4401 ac_ext=c
4402 ac_cpp='$CPP $CPPFLAGS'
4403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4406
4407 depcc="$CC"   am_compiler_list=
4408
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4410 $as_echo_n "checking dependency style of $depcc... " >&6; }
4411 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4412   $as_echo_n "(cached) " >&6
4413 else
4414   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4415   # We make a subdir and do the tests there.  Otherwise we can end up
4416   # making bogus files that we don't know about and never remove.  For
4417   # instance it was reported that on HP-UX the gcc test will end up
4418   # making a dummy file named `D' -- because `-MD' means `put the output
4419   # in D'.
4420   mkdir conftest.dir
4421   # Copy depcomp to subdir because otherwise we won't find it if we're
4422   # using a relative directory.
4423   cp "$am_depcomp" conftest.dir
4424   cd conftest.dir
4425   # We will build objects and dependencies in a subdirectory because
4426   # it helps to detect inapplicable dependency modes.  For instance
4427   # both Tru64's cc and ICC support -MD to output dependencies as a
4428   # side effect of compilation, but ICC will put the dependencies in
4429   # the current directory while Tru64 will put them in the object
4430   # directory.
4431   mkdir sub
4432
4433   am_cv_CC_dependencies_compiler_type=none
4434   if test "$am_compiler_list" = ""; then
4435      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4436   fi
4437   am__universal=false
4438   case " $depcc " in #(
4439      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4440      esac
4441
4442   for depmode in $am_compiler_list; do
4443     # Setup a source with many dependencies, because some compilers
4444     # like to wrap large dependency lists on column 80 (with \), and
4445     # we should not choose a depcomp mode which is confused by this.
4446     #
4447     # We need to recreate these files for each test, as the compiler may
4448     # overwrite some of them when testing with obscure command lines.
4449     # This happens at least with the AIX C compiler.
4450     : > sub/conftest.c
4451     for i in 1 2 3 4 5 6; do
4452       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4453       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4454       # Solaris 8's {/usr,}/bin/sh.
4455       touch sub/conftst$i.h
4456     done
4457     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4458
4459     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4460     # mode.  It turns out that the SunPro C++ compiler does not properly
4461     # handle `-M -o', and we need to detect this.  Also, some Intel
4462     # versions had trouble with output in subdirs
4463     am__obj=sub/conftest.${OBJEXT-o}
4464     am__minus_obj="-o $am__obj"
4465     case $depmode in
4466     gcc)
4467       # This depmode causes a compiler race in universal mode.
4468       test "$am__universal" = false || continue
4469       ;;
4470     nosideeffect)
4471       # after this tag, mechanisms are not by side-effect, so they'll
4472       # only be used when explicitly requested
4473       if test "x$enable_dependency_tracking" = xyes; then
4474         continue
4475       else
4476         break
4477       fi
4478       ;;
4479     msvisualcpp | msvcmsys)
4480       # This compiler won't grok `-c -o', but also, the minuso test has
4481       # not run yet.  These depmodes are late enough in the game, and
4482       # so weak that their functioning should not be impacted.
4483       am__obj=conftest.${OBJEXT-o}
4484       am__minus_obj=
4485       ;;
4486     none) break ;;
4487     esac
4488     if depmode=$depmode \
4489        source=sub/conftest.c object=$am__obj \
4490        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4491        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4492          >/dev/null 2>conftest.err &&
4493        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4494        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4495        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4496        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4497       # icc doesn't choke on unknown options, it will just issue warnings
4498       # or remarks (even with -Werror).  So we grep stderr for any message
4499       # that says an option was ignored or not supported.
4500       # When given -MP, icc 7.0 and 7.1 complain thusly:
4501       #   icc: Command line warning: ignoring option '-M'; no argument required
4502       # The diagnosis changed in icc 8.0:
4503       #   icc: Command line remark: option '-MP' not supported
4504       if (grep 'ignoring option' conftest.err ||
4505           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4506         am_cv_CC_dependencies_compiler_type=$depmode
4507         break
4508       fi
4509     fi
4510   done
4511
4512   cd ..
4513   rm -rf conftest.dir
4514 else
4515   am_cv_CC_dependencies_compiler_type=none
4516 fi
4517
4518 fi
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4520 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4521 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4522
4523  if
4524   test "x$enable_dependency_tracking" != xno \
4525   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4526   am__fastdepCC_TRUE=
4527   am__fastdepCC_FALSE='#'
4528 else
4529   am__fastdepCC_TRUE='#'
4530   am__fastdepCC_FALSE=
4531 fi
4532
4533
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4535 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4536 if ${ac_cv_path_SED+:} false; then :
4537   $as_echo_n "(cached) " >&6
4538 else
4539             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4540      for ac_i in 1 2 3 4 5 6 7; do
4541        ac_script="$ac_script$as_nl$ac_script"
4542      done
4543      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4544      { ac_script=; unset ac_script;}
4545      if test -z "$SED"; then
4546   ac_path_SED_found=false
4547   # Loop through the user's path and test for each of PROGNAME-LIST
4548   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4549 for as_dir in $PATH
4550 do
4551   IFS=$as_save_IFS
4552   test -z "$as_dir" && as_dir=.
4553     for ac_prog in sed gsed; do
4554     for ac_exec_ext in '' $ac_executable_extensions; do
4555       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4556       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4557 # Check for GNU ac_path_SED and select it if it is found.
4558   # Check for GNU $ac_path_SED
4559 case `"$ac_path_SED" --version 2>&1` in
4560 *GNU*)
4561   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4562 *)
4563   ac_count=0
4564   $as_echo_n 0123456789 >"conftest.in"
4565   while :
4566   do
4567     cat "conftest.in" "conftest.in" >"conftest.tmp"
4568     mv "conftest.tmp" "conftest.in"
4569     cp "conftest.in" "conftest.nl"
4570     $as_echo '' >> "conftest.nl"
4571     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4572     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4573     as_fn_arith $ac_count + 1 && ac_count=$as_val
4574     if test $ac_count -gt ${ac_path_SED_max-0}; then
4575       # Best one so far, save it but keep looking for a better one
4576       ac_cv_path_SED="$ac_path_SED"
4577       ac_path_SED_max=$ac_count
4578     fi
4579     # 10*(2^10) chars as input seems more than enough
4580     test $ac_count -gt 10 && break
4581   done
4582   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4583 esac
4584
4585       $ac_path_SED_found && break 3
4586     done
4587   done
4588   done
4589 IFS=$as_save_IFS
4590   if test -z "$ac_cv_path_SED"; then
4591     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4592   fi
4593 else
4594   ac_cv_path_SED=$SED
4595 fi
4596
4597 fi
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4599 $as_echo "$ac_cv_path_SED" >&6; }
4600  SED="$ac_cv_path_SED"
4601   rm -f conftest.sed
4602
4603 test -z "$SED" && SED=sed
4604 Xsed="$SED -e 1s/^X//"
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4617 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4618 if ${ac_cv_path_GREP+:} false; then :
4619   $as_echo_n "(cached) " >&6
4620 else
4621   if test -z "$GREP"; then
4622   ac_path_GREP_found=false
4623   # Loop through the user's path and test for each of PROGNAME-LIST
4624   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4626 do
4627   IFS=$as_save_IFS
4628   test -z "$as_dir" && as_dir=.
4629     for ac_prog in grep ggrep; do
4630     for ac_exec_ext in '' $ac_executable_extensions; do
4631       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4632       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4633 # Check for GNU ac_path_GREP and select it if it is found.
4634   # Check for GNU $ac_path_GREP
4635 case `"$ac_path_GREP" --version 2>&1` in
4636 *GNU*)
4637   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4638 *)
4639   ac_count=0
4640   $as_echo_n 0123456789 >"conftest.in"
4641   while :
4642   do
4643     cat "conftest.in" "conftest.in" >"conftest.tmp"
4644     mv "conftest.tmp" "conftest.in"
4645     cp "conftest.in" "conftest.nl"
4646     $as_echo 'GREP' >> "conftest.nl"
4647     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4648     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4649     as_fn_arith $ac_count + 1 && ac_count=$as_val
4650     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4651       # Best one so far, save it but keep looking for a better one
4652       ac_cv_path_GREP="$ac_path_GREP"
4653       ac_path_GREP_max=$ac_count
4654     fi
4655     # 10*(2^10) chars as input seems more than enough
4656     test $ac_count -gt 10 && break
4657   done
4658   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4659 esac
4660
4661       $ac_path_GREP_found && break 3
4662     done
4663   done
4664   done
4665 IFS=$as_save_IFS
4666   if test -z "$ac_cv_path_GREP"; then
4667     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4668   fi
4669 else
4670   ac_cv_path_GREP=$GREP
4671 fi
4672
4673 fi
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4675 $as_echo "$ac_cv_path_GREP" >&6; }
4676  GREP="$ac_cv_path_GREP"
4677
4678
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4680 $as_echo_n "checking for egrep... " >&6; }
4681 if ${ac_cv_path_EGREP+:} false; then :
4682   $as_echo_n "(cached) " >&6
4683 else
4684   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4685    then ac_cv_path_EGREP="$GREP -E"
4686    else
4687      if test -z "$EGREP"; then
4688   ac_path_EGREP_found=false
4689   # Loop through the user's path and test for each of PROGNAME-LIST
4690   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4691 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4692 do
4693   IFS=$as_save_IFS
4694   test -z "$as_dir" && as_dir=.
4695     for ac_prog in egrep; do
4696     for ac_exec_ext in '' $ac_executable_extensions; do
4697       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4698       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4699 # Check for GNU ac_path_EGREP and select it if it is found.
4700   # Check for GNU $ac_path_EGREP
4701 case `"$ac_path_EGREP" --version 2>&1` in
4702 *GNU*)
4703   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4704 *)
4705   ac_count=0
4706   $as_echo_n 0123456789 >"conftest.in"
4707   while :
4708   do
4709     cat "conftest.in" "conftest.in" >"conftest.tmp"
4710     mv "conftest.tmp" "conftest.in"
4711     cp "conftest.in" "conftest.nl"
4712     $as_echo 'EGREP' >> "conftest.nl"
4713     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4714     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4715     as_fn_arith $ac_count + 1 && ac_count=$as_val
4716     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4717       # Best one so far, save it but keep looking for a better one
4718       ac_cv_path_EGREP="$ac_path_EGREP"
4719       ac_path_EGREP_max=$ac_count
4720     fi
4721     # 10*(2^10) chars as input seems more than enough
4722     test $ac_count -gt 10 && break
4723   done
4724   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4725 esac
4726
4727       $ac_path_EGREP_found && break 3
4728     done
4729   done
4730   done
4731 IFS=$as_save_IFS
4732   if test -z "$ac_cv_path_EGREP"; then
4733     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4734   fi
4735 else
4736   ac_cv_path_EGREP=$EGREP
4737 fi
4738
4739    fi
4740 fi
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4742 $as_echo "$ac_cv_path_EGREP" >&6; }
4743  EGREP="$ac_cv_path_EGREP"
4744
4745
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4747 $as_echo_n "checking for fgrep... " >&6; }
4748 if ${ac_cv_path_FGREP+:} false; then :
4749   $as_echo_n "(cached) " >&6
4750 else
4751   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4752    then ac_cv_path_FGREP="$GREP -F"
4753    else
4754      if test -z "$FGREP"; then
4755   ac_path_FGREP_found=false
4756   # Loop through the user's path and test for each of PROGNAME-LIST
4757   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4758 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4759 do
4760   IFS=$as_save_IFS
4761   test -z "$as_dir" && as_dir=.
4762     for ac_prog in fgrep; do
4763     for ac_exec_ext in '' $ac_executable_extensions; do
4764       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4765       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4766 # Check for GNU ac_path_FGREP and select it if it is found.
4767   # Check for GNU $ac_path_FGREP
4768 case `"$ac_path_FGREP" --version 2>&1` in
4769 *GNU*)
4770   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4771 *)
4772   ac_count=0
4773   $as_echo_n 0123456789 >"conftest.in"
4774   while :
4775   do
4776     cat "conftest.in" "conftest.in" >"conftest.tmp"
4777     mv "conftest.tmp" "conftest.in"
4778     cp "conftest.in" "conftest.nl"
4779     $as_echo 'FGREP' >> "conftest.nl"
4780     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4781     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4782     as_fn_arith $ac_count + 1 && ac_count=$as_val
4783     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4784       # Best one so far, save it but keep looking for a better one
4785       ac_cv_path_FGREP="$ac_path_FGREP"
4786       ac_path_FGREP_max=$ac_count
4787     fi
4788     # 10*(2^10) chars as input seems more than enough
4789     test $ac_count -gt 10 && break
4790   done
4791   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4792 esac
4793
4794       $ac_path_FGREP_found && break 3
4795     done
4796   done
4797   done
4798 IFS=$as_save_IFS
4799   if test -z "$ac_cv_path_FGREP"; then
4800     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4801   fi
4802 else
4803   ac_cv_path_FGREP=$FGREP
4804 fi
4805
4806    fi
4807 fi
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4809 $as_echo "$ac_cv_path_FGREP" >&6; }
4810  FGREP="$ac_cv_path_FGREP"
4811
4812
4813 test -z "$GREP" && GREP=grep
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833 # Check whether --with-gnu-ld was given.
4834 if test "${with_gnu_ld+set}" = set; then :
4835   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4836 else
4837   with_gnu_ld=no
4838 fi
4839
4840 ac_prog=ld
4841 if test "$GCC" = yes; then
4842   # Check if gcc -print-prog-name=ld gives a path.
4843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4844 $as_echo_n "checking for ld used by $CC... " >&6; }
4845   case $host in
4846   *-*-mingw*)
4847     # gcc leaves a trailing carriage return which upsets mingw
4848     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4849   *)
4850     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4851   esac
4852   case $ac_prog in
4853     # Accept absolute paths.
4854     [\\/]* | ?:[\\/]*)
4855       re_direlt='/[^/][^/]*/\.\./'
4856       # Canonicalize the pathname of ld
4857       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4858       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4859         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4860       done
4861       test -z "$LD" && LD="$ac_prog"
4862       ;;
4863   "")
4864     # If it fails, then pretend we aren't using GCC.
4865     ac_prog=ld
4866     ;;
4867   *)
4868     # If it is relative, then search for the first ld in PATH.
4869     with_gnu_ld=unknown
4870     ;;
4871   esac
4872 elif test "$with_gnu_ld" = yes; then
4873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4874 $as_echo_n "checking for GNU ld... " >&6; }
4875 else
4876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4877 $as_echo_n "checking for non-GNU ld... " >&6; }
4878 fi
4879 if ${lt_cv_path_LD+:} false; then :
4880   $as_echo_n "(cached) " >&6
4881 else
4882   if test -z "$LD"; then
4883   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4884   for ac_dir in $PATH; do
4885     IFS="$lt_save_ifs"
4886     test -z "$ac_dir" && ac_dir=.
4887     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4888       lt_cv_path_LD="$ac_dir/$ac_prog"
4889       # Check to see if the program is GNU ld.  I'd rather use --version,
4890       # but apparently some variants of GNU ld only accept -v.
4891       # Break only if it was the GNU/non-GNU ld that we prefer.
4892       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4893       *GNU* | *'with BFD'*)
4894         test "$with_gnu_ld" != no && break
4895         ;;
4896       *)
4897         test "$with_gnu_ld" != yes && break
4898         ;;
4899       esac
4900     fi
4901   done
4902   IFS="$lt_save_ifs"
4903 else
4904   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4905 fi
4906 fi
4907
4908 LD="$lt_cv_path_LD"
4909 if test -n "$LD"; then
4910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4911 $as_echo "$LD" >&6; }
4912 else
4913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4915 fi
4916 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4918 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4919 if ${lt_cv_prog_gnu_ld+:} false; then :
4920   $as_echo_n "(cached) " >&6
4921 else
4922   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4923 case `$LD -v 2>&1 </dev/null` in
4924 *GNU* | *'with BFD'*)
4925   lt_cv_prog_gnu_ld=yes
4926   ;;
4927 *)
4928   lt_cv_prog_gnu_ld=no
4929   ;;
4930 esac
4931 fi
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4933 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4934 with_gnu_ld=$lt_cv_prog_gnu_ld
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4945 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4946 if ${lt_cv_path_NM+:} false; then :
4947   $as_echo_n "(cached) " >&6
4948 else
4949   if test -n "$NM"; then
4950   # Let the user override the test.
4951   lt_cv_path_NM="$NM"
4952 else
4953   lt_nm_to_check="${ac_tool_prefix}nm"
4954   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4955     lt_nm_to_check="$lt_nm_to_check nm"
4956   fi
4957   for lt_tmp_nm in $lt_nm_to_check; do
4958     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4959     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4960       IFS="$lt_save_ifs"
4961       test -z "$ac_dir" && ac_dir=.
4962       tmp_nm="$ac_dir/$lt_tmp_nm"
4963       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4964         # Check to see if the nm accepts a BSD-compat flag.
4965         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4966         #   nm: unknown option "B" ignored
4967         # Tru64's nm complains that /dev/null is an invalid object file
4968         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4969         */dev/null* | *'Invalid file or object type'*)
4970           lt_cv_path_NM="$tmp_nm -B"
4971           break
4972           ;;
4973         *)
4974           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4975           */dev/null*)
4976             lt_cv_path_NM="$tmp_nm -p"
4977             break
4978             ;;
4979           *)
4980             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4981             continue # so that we can try to find one that supports BSD flags
4982             ;;
4983           esac
4984           ;;
4985         esac
4986       fi
4987     done
4988     IFS="$lt_save_ifs"
4989   done
4990   : ${lt_cv_path_NM=no}
4991 fi
4992 fi
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4994 $as_echo "$lt_cv_path_NM" >&6; }
4995 if test "$lt_cv_path_NM" != "no"; then
4996   NM="$lt_cv_path_NM"
4997 else
4998   # Didn't find any BSD compatible name lister, look for dumpbin.
4999   if test -n "$DUMPBIN"; then :
5000     # Let the user override the test.
5001   else
5002     if test -n "$ac_tool_prefix"; then
5003   for ac_prog in dumpbin "link -dump"
5004   do
5005     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5006 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5008 $as_echo_n "checking for $ac_word... " >&6; }
5009 if ${ac_cv_prog_DUMPBIN+:} false; then :
5010   $as_echo_n "(cached) " >&6
5011 else
5012   if test -n "$DUMPBIN"; then
5013   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5014 else
5015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 for as_dir in $PATH
5017 do
5018   IFS=$as_save_IFS
5019   test -z "$as_dir" && as_dir=.
5020     for ac_exec_ext in '' $ac_executable_extensions; do
5021   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5022     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5023     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5024     break 2
5025   fi
5026 done
5027   done
5028 IFS=$as_save_IFS
5029
5030 fi
5031 fi
5032 DUMPBIN=$ac_cv_prog_DUMPBIN
5033 if test -n "$DUMPBIN"; then
5034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5035 $as_echo "$DUMPBIN" >&6; }
5036 else
5037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5039 fi
5040
5041
5042     test -n "$DUMPBIN" && break
5043   done
5044 fi
5045 if test -z "$DUMPBIN"; then
5046   ac_ct_DUMPBIN=$DUMPBIN
5047   for ac_prog in dumpbin "link -dump"
5048 do
5049   # Extract the first word of "$ac_prog", so it can be a program name with args.
5050 set dummy $ac_prog; ac_word=$2
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 $as_echo_n "checking for $ac_word... " >&6; }
5053 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5054   $as_echo_n "(cached) " >&6
5055 else
5056   if test -n "$ac_ct_DUMPBIN"; then
5057   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5058 else
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5060 for as_dir in $PATH
5061 do
5062   IFS=$as_save_IFS
5063   test -z "$as_dir" && as_dir=.
5064     for ac_exec_ext in '' $ac_executable_extensions; do
5065   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5066     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5067     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5068     break 2
5069   fi
5070 done
5071   done
5072 IFS=$as_save_IFS
5073
5074 fi
5075 fi
5076 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5077 if test -n "$ac_ct_DUMPBIN"; then
5078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5079 $as_echo "$ac_ct_DUMPBIN" >&6; }
5080 else
5081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082 $as_echo "no" >&6; }
5083 fi
5084
5085
5086   test -n "$ac_ct_DUMPBIN" && break
5087 done
5088
5089   if test "x$ac_ct_DUMPBIN" = x; then
5090     DUMPBIN=":"
5091   else
5092     case $cross_compiling:$ac_tool_warned in
5093 yes:)
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5096 ac_tool_warned=yes ;;
5097 esac
5098     DUMPBIN=$ac_ct_DUMPBIN
5099   fi
5100 fi
5101
5102     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5103     *COFF*)
5104       DUMPBIN="$DUMPBIN -symbols"
5105       ;;
5106     *)
5107       DUMPBIN=:
5108       ;;
5109     esac
5110   fi
5111
5112   if test "$DUMPBIN" != ":"; then
5113     NM="$DUMPBIN"
5114   fi
5115 fi
5116 test -z "$NM" && NM=nm
5117
5118
5119
5120
5121
5122
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5124 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5125 if ${lt_cv_nm_interface+:} false; then :
5126   $as_echo_n "(cached) " >&6
5127 else
5128   lt_cv_nm_interface="BSD nm"
5129   echo "int some_variable = 0;" > conftest.$ac_ext
5130   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5131   (eval "$ac_compile" 2>conftest.err)
5132   cat conftest.err >&5
5133   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5134   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5135   cat conftest.err >&5
5136   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5137   cat conftest.out >&5
5138   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5139     lt_cv_nm_interface="MS dumpbin"
5140   fi
5141   rm -f conftest*
5142 fi
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5144 $as_echo "$lt_cv_nm_interface" >&6; }
5145
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5147 $as_echo_n "checking whether ln -s works... " >&6; }
5148 LN_S=$as_ln_s
5149 if test "$LN_S" = "ln -s"; then
5150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5151 $as_echo "yes" >&6; }
5152 else
5153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5154 $as_echo "no, using $LN_S" >&6; }
5155 fi
5156
5157 # find the maximum length of command line arguments
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5159 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5160 if ${lt_cv_sys_max_cmd_len+:} false; then :
5161   $as_echo_n "(cached) " >&6
5162 else
5163     i=0
5164   teststring="ABCD"
5165
5166   case $build_os in
5167   msdosdjgpp*)
5168     # On DJGPP, this test can blow up pretty badly due to problems in libc
5169     # (any single argument exceeding 2000 bytes causes a buffer overrun
5170     # during glob expansion).  Even if it were fixed, the result of this
5171     # check would be larger than it should be.
5172     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5173     ;;
5174
5175   gnu*)
5176     # Under GNU Hurd, this test is not required because there is
5177     # no limit to the length of command line arguments.
5178     # Libtool will interpret -1 as no limit whatsoever
5179     lt_cv_sys_max_cmd_len=-1;
5180     ;;
5181
5182   cygwin* | mingw* | cegcc*)
5183     # On Win9x/ME, this test blows up -- it succeeds, but takes
5184     # about 5 minutes as the teststring grows exponentially.
5185     # Worse, since 9x/ME are not pre-emptively multitasking,
5186     # you end up with a "frozen" computer, even though with patience
5187     # the test eventually succeeds (with a max line length of 256k).
5188     # Instead, let's just punt: use the minimum linelength reported by
5189     # all of the supported platforms: 8192 (on NT/2K/XP).
5190     lt_cv_sys_max_cmd_len=8192;
5191     ;;
5192
5193   mint*)
5194     # On MiNT this can take a long time and run out of memory.
5195     lt_cv_sys_max_cmd_len=8192;
5196     ;;
5197
5198   amigaos*)
5199     # On AmigaOS with pdksh, this test takes hours, literally.
5200     # So we just punt and use a minimum line length of 8192.
5201     lt_cv_sys_max_cmd_len=8192;
5202     ;;
5203
5204   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5205     # This has been around since 386BSD, at least.  Likely further.
5206     if test -x /sbin/sysctl; then
5207       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5208     elif test -x /usr/sbin/sysctl; then
5209       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5210     else
5211       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5212     fi
5213     # And add a safety zone
5214     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5215     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5216     ;;
5217
5218   interix*)
5219     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5220     lt_cv_sys_max_cmd_len=196608
5221     ;;
5222
5223   osf*)
5224     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5225     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5226     # nice to cause kernel panics so lets avoid the loop below.
5227     # First set a reasonable default.
5228     lt_cv_sys_max_cmd_len=16384
5229     #
5230     if test -x /sbin/sysconfig; then
5231       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5232         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5233       esac
5234     fi
5235     ;;
5236   sco3.2v5*)
5237     lt_cv_sys_max_cmd_len=102400
5238     ;;
5239   sysv5* | sco5v6* | sysv4.2uw2*)
5240     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5241     if test -n "$kargmax"; then
5242       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5243     else
5244       lt_cv_sys_max_cmd_len=32768
5245     fi
5246     ;;
5247   *)
5248     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5249     if test -n "$lt_cv_sys_max_cmd_len"; then
5250       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5251       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5252     else
5253       # Make teststring a little bigger before we do anything with it.
5254       # a 1K string should be a reasonable start.
5255       for i in 1 2 3 4 5 6 7 8 ; do
5256         teststring=$teststring$teststring
5257       done
5258       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5259       # If test is not a shell built-in, we'll probably end up computing a
5260       # maximum length that is only half of the actual maximum length, but
5261       # we can't tell.
5262       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5263                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5264               test $i != 17 # 1/2 MB should be enough
5265       do
5266         i=`expr $i + 1`
5267         teststring=$teststring$teststring
5268       done
5269       # Only check the string length outside the loop.
5270       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5271       teststring=
5272       # Add a significant safety factor because C++ compilers can tack on
5273       # massive amounts of additional arguments before passing them to the
5274       # linker.  It appears as though 1/2 is a usable value.
5275       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5276     fi
5277     ;;
5278   esac
5279
5280 fi
5281
5282 if test -n $lt_cv_sys_max_cmd_len ; then
5283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5284 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5285 else
5286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5287 $as_echo "none" >&6; }
5288 fi
5289 max_cmd_len=$lt_cv_sys_max_cmd_len
5290
5291
5292
5293
5294
5295
5296 : ${CP="cp -f"}
5297 : ${MV="mv -f"}
5298 : ${RM="rm -f"}
5299
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5301 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5302 # Try some XSI features
5303 xsi_shell=no
5304 ( _lt_dummy="a/b/c"
5305   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5306       = c,a/b,b/c, \
5307     && eval 'test $(( 1 + 1 )) -eq 2 \
5308     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5309   && xsi_shell=yes
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5311 $as_echo "$xsi_shell" >&6; }
5312
5313
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5315 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5316 lt_shell_append=no
5317 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5318     >/dev/null 2>&1 \
5319   && lt_shell_append=yes
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5321 $as_echo "$lt_shell_append" >&6; }
5322
5323
5324 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5325   lt_unset=unset
5326 else
5327   lt_unset=false
5328 fi
5329
5330
5331
5332
5333
5334 # test EBCDIC or ASCII
5335 case `echo X|tr X '\101'` in
5336  A) # ASCII based system
5337     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5338   lt_SP2NL='tr \040 \012'
5339   lt_NL2SP='tr \015\012 \040\040'
5340   ;;
5341  *) # EBCDIC based system
5342   lt_SP2NL='tr \100 \n'
5343   lt_NL2SP='tr \r\n \100\100'
5344   ;;
5345 esac
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5356 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5357 if ${lt_cv_to_host_file_cmd+:} false; then :
5358   $as_echo_n "(cached) " >&6
5359 else
5360   case $host in
5361   *-*-mingw* )
5362     case $build in
5363       *-*-mingw* ) # actually msys
5364         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5365         ;;
5366       *-*-cygwin* )
5367         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5368         ;;
5369       * ) # otherwise, assume *nix
5370         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5371         ;;
5372     esac
5373     ;;
5374   *-*-cygwin* )
5375     case $build in
5376       *-*-mingw* ) # actually msys
5377         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5378         ;;
5379       *-*-cygwin* )
5380         lt_cv_to_host_file_cmd=func_convert_file_noop
5381         ;;
5382       * ) # otherwise, assume *nix
5383         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5384         ;;
5385     esac
5386     ;;
5387   * ) # unhandled hosts (and "normal" native builds)
5388     lt_cv_to_host_file_cmd=func_convert_file_noop
5389     ;;
5390 esac
5391
5392 fi
5393
5394 to_host_file_cmd=$lt_cv_to_host_file_cmd
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5396 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5397
5398
5399
5400
5401
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5403 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5404 if ${lt_cv_to_tool_file_cmd+:} false; then :
5405   $as_echo_n "(cached) " >&6
5406 else
5407   #assume ordinary cross tools, or native build.
5408 lt_cv_to_tool_file_cmd=func_convert_file_noop
5409 case $host in
5410   *-*-mingw* )
5411     case $build in
5412       *-*-mingw* ) # actually msys
5413         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5414         ;;
5415     esac
5416     ;;
5417 esac
5418
5419 fi
5420
5421 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5423 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5424
5425
5426
5427
5428
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5430 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5431 if ${lt_cv_ld_reload_flag+:} false; then :
5432   $as_echo_n "(cached) " >&6
5433 else
5434   lt_cv_ld_reload_flag='-r'
5435 fi
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5437 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5438 reload_flag=$lt_cv_ld_reload_flag
5439 case $reload_flag in
5440 "" | " "*) ;;
5441 *) reload_flag=" $reload_flag" ;;
5442 esac
5443 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5444 case $host_os in
5445   cygwin* | mingw* | pw32* | cegcc*)
5446     if test "$GCC" != yes; then
5447       reload_cmds=false
5448     fi
5449     ;;
5450   darwin*)
5451     if test "$GCC" = yes; then
5452       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5453     else
5454       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5455     fi
5456     ;;
5457 esac
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467 if test -n "$ac_tool_prefix"; then
5468   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5469 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471 $as_echo_n "checking for $ac_word... " >&6; }
5472 if ${ac_cv_prog_OBJDUMP+:} false; then :
5473   $as_echo_n "(cached) " >&6
5474 else
5475   if test -n "$OBJDUMP"; then
5476   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5477 else
5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5479 for as_dir in $PATH
5480 do
5481   IFS=$as_save_IFS
5482   test -z "$as_dir" && as_dir=.
5483     for ac_exec_ext in '' $ac_executable_extensions; do
5484   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5485     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5487     break 2
5488   fi
5489 done
5490   done
5491 IFS=$as_save_IFS
5492
5493 fi
5494 fi
5495 OBJDUMP=$ac_cv_prog_OBJDUMP
5496 if test -n "$OBJDUMP"; then
5497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5498 $as_echo "$OBJDUMP" >&6; }
5499 else
5500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5502 fi
5503
5504
5505 fi
5506 if test -z "$ac_cv_prog_OBJDUMP"; then
5507   ac_ct_OBJDUMP=$OBJDUMP
5508   # Extract the first word of "objdump", so it can be a program name with args.
5509 set dummy objdump; ac_word=$2
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5511 $as_echo_n "checking for $ac_word... " >&6; }
5512 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5513   $as_echo_n "(cached) " >&6
5514 else
5515   if test -n "$ac_ct_OBJDUMP"; then
5516   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5517 else
5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5519 for as_dir in $PATH
5520 do
5521   IFS=$as_save_IFS
5522   test -z "$as_dir" && as_dir=.
5523     for ac_exec_ext in '' $ac_executable_extensions; do
5524   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5525     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5526     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5527     break 2
5528   fi
5529 done
5530   done
5531 IFS=$as_save_IFS
5532
5533 fi
5534 fi
5535 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5536 if test -n "$ac_ct_OBJDUMP"; then
5537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5538 $as_echo "$ac_ct_OBJDUMP" >&6; }
5539 else
5540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5541 $as_echo "no" >&6; }
5542 fi
5543
5544   if test "x$ac_ct_OBJDUMP" = x; then
5545     OBJDUMP="false"
5546   else
5547     case $cross_compiling:$ac_tool_warned in
5548 yes:)
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5551 ac_tool_warned=yes ;;
5552 esac
5553     OBJDUMP=$ac_ct_OBJDUMP
5554   fi
5555 else
5556   OBJDUMP="$ac_cv_prog_OBJDUMP"
5557 fi
5558
5559 test -z "$OBJDUMP" && OBJDUMP=objdump
5560
5561
5562
5563
5564
5565
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5567 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5568 if ${lt_cv_deplibs_check_method+:} false; then :
5569   $as_echo_n "(cached) " >&6
5570 else
5571   lt_cv_file_magic_cmd='$MAGIC_CMD'
5572 lt_cv_file_magic_test_file=
5573 lt_cv_deplibs_check_method='unknown'
5574 # Need to set the preceding variable on all platforms that support
5575 # interlibrary dependencies.
5576 # 'none' -- dependencies not supported.
5577 # `unknown' -- same as none, but documents that we really don't know.
5578 # 'pass_all' -- all dependencies passed with no checks.
5579 # 'test_compile' -- check by making test program.
5580 # 'file_magic [[regex]]' -- check by looking for files in library path
5581 # which responds to the $file_magic_cmd with a given extended regex.
5582 # If you have `file' or equivalent on your system and you're not sure
5583 # whether `pass_all' will *always* work, you probably want this one.
5584
5585 case $host_os in
5586 aix[4-9]*)
5587   lt_cv_deplibs_check_method=pass_all
5588   ;;
5589
5590 beos*)
5591   lt_cv_deplibs_check_method=pass_all
5592   ;;
5593
5594 bsdi[45]*)
5595   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5596   lt_cv_file_magic_cmd='/usr/bin/file -L'
5597   lt_cv_file_magic_test_file=/shlib/libc.so
5598   ;;
5599
5600 cygwin*)
5601   # func_win32_libid is a shell function defined in ltmain.sh
5602   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5603   lt_cv_file_magic_cmd='func_win32_libid'
5604   ;;
5605
5606 mingw* | pw32*)
5607   # Base MSYS/MinGW do not provide the 'file' command needed by
5608   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5609   # unless we find 'file', for example because we are cross-compiling.
5610   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5611   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5612     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5613     lt_cv_file_magic_cmd='func_win32_libid'
5614   else
5615     # Keep this pattern in sync with the one in func_win32_libid.
5616     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5617     lt_cv_file_magic_cmd='$OBJDUMP -f'
5618   fi
5619   ;;
5620
5621 cegcc*)
5622   # use the weaker test based on 'objdump'. See mingw*.
5623   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5624   lt_cv_file_magic_cmd='$OBJDUMP -f'
5625   ;;
5626
5627 darwin* | rhapsody*)
5628   lt_cv_deplibs_check_method=pass_all
5629   ;;
5630
5631 freebsd* | dragonfly*)
5632   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5633     case $host_cpu in
5634     i*86 )
5635       # Not sure whether the presence of OpenBSD here was a mistake.
5636       # Let's accept both of them until this is cleared up.
5637       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5638       lt_cv_file_magic_cmd=/usr/bin/file
5639       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5640       ;;
5641     esac
5642   else
5643     lt_cv_deplibs_check_method=pass_all
5644   fi
5645   ;;
5646
5647 gnu*)
5648   lt_cv_deplibs_check_method=pass_all
5649   ;;
5650
5651 haiku*)
5652   lt_cv_deplibs_check_method=pass_all
5653   ;;
5654
5655 hpux10.20* | hpux11*)
5656   lt_cv_file_magic_cmd=/usr/bin/file
5657   case $host_cpu in
5658   ia64*)
5659     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5660     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5661     ;;
5662   hppa*64*)
5663     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]'
5664     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5665     ;;
5666   *)
5667     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5668     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5669     ;;
5670   esac
5671   ;;
5672
5673 interix[3-9]*)
5674   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5675   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5676   ;;
5677
5678 irix5* | irix6* | nonstopux*)
5679   case $LD in
5680   *-32|*"-32 ") libmagic=32-bit;;
5681   *-n32|*"-n32 ") libmagic=N32;;
5682   *-64|*"-64 ") libmagic=64-bit;;
5683   *) libmagic=never-match;;
5684   esac
5685   lt_cv_deplibs_check_method=pass_all
5686   ;;
5687
5688 # This must be Linux ELF.
5689 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5690   lt_cv_deplibs_check_method=pass_all
5691   ;;
5692
5693 netbsd*)
5694   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5695     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5696   else
5697     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5698   fi
5699   ;;
5700
5701 newos6*)
5702   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5703   lt_cv_file_magic_cmd=/usr/bin/file
5704   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5705   ;;
5706
5707 *nto* | *qnx*)
5708   lt_cv_deplibs_check_method=pass_all
5709   ;;
5710
5711 openbsd*)
5712   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5713     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5714   else
5715     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5716   fi
5717   ;;
5718
5719 osf3* | osf4* | osf5*)
5720   lt_cv_deplibs_check_method=pass_all
5721   ;;
5722
5723 rdos*)
5724   lt_cv_deplibs_check_method=pass_all
5725   ;;
5726
5727 solaris*)
5728   lt_cv_deplibs_check_method=pass_all
5729   ;;
5730
5731 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5732   lt_cv_deplibs_check_method=pass_all
5733   ;;
5734
5735 sysv4 | sysv4.3*)
5736   case $host_vendor in
5737   motorola)
5738     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]'
5739     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5740     ;;
5741   ncr)
5742     lt_cv_deplibs_check_method=pass_all
5743     ;;
5744   sequent)
5745     lt_cv_file_magic_cmd='/bin/file'
5746     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5747     ;;
5748   sni)
5749     lt_cv_file_magic_cmd='/bin/file'
5750     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5751     lt_cv_file_magic_test_file=/lib/libc.so
5752     ;;
5753   siemens)
5754     lt_cv_deplibs_check_method=pass_all
5755     ;;
5756   pc)
5757     lt_cv_deplibs_check_method=pass_all
5758     ;;
5759   esac
5760   ;;
5761
5762 tpf*)
5763   lt_cv_deplibs_check_method=pass_all
5764   ;;
5765 esac
5766
5767 fi
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5769 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5770
5771 file_magic_glob=
5772 want_nocaseglob=no
5773 if test "$build" = "$host"; then
5774   case $host_os in
5775   mingw* | pw32*)
5776     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5777       want_nocaseglob=yes
5778     else
5779       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5780     fi
5781     ;;
5782   esac
5783 fi
5784
5785 file_magic_cmd=$lt_cv_file_magic_cmd
5786 deplibs_check_method=$lt_cv_deplibs_check_method
5787 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810 if test -n "$ac_tool_prefix"; then
5811   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5812 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5814 $as_echo_n "checking for $ac_word... " >&6; }
5815 if ${ac_cv_prog_DLLTOOL+:} false; then :
5816   $as_echo_n "(cached) " >&6
5817 else
5818   if test -n "$DLLTOOL"; then
5819   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5820 else
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 for as_dir in $PATH
5823 do
5824   IFS=$as_save_IFS
5825   test -z "$as_dir" && as_dir=.
5826     for ac_exec_ext in '' $ac_executable_extensions; do
5827   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5828     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5829     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5830     break 2
5831   fi
5832 done
5833   done
5834 IFS=$as_save_IFS
5835
5836 fi
5837 fi
5838 DLLTOOL=$ac_cv_prog_DLLTOOL
5839 if test -n "$DLLTOOL"; then
5840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5841 $as_echo "$DLLTOOL" >&6; }
5842 else
5843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5845 fi
5846
5847
5848 fi
5849 if test -z "$ac_cv_prog_DLLTOOL"; then
5850   ac_ct_DLLTOOL=$DLLTOOL
5851   # Extract the first word of "dlltool", so it can be a program name with args.
5852 set dummy dlltool; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5856   $as_echo_n "(cached) " >&6
5857 else
5858   if test -n "$ac_ct_DLLTOOL"; then
5859   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5860 else
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 for as_dir in $PATH
5863 do
5864   IFS=$as_save_IFS
5865   test -z "$as_dir" && as_dir=.
5866     for ac_exec_ext in '' $ac_executable_extensions; do
5867   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5868     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5869     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870     break 2
5871   fi
5872 done
5873   done
5874 IFS=$as_save_IFS
5875
5876 fi
5877 fi
5878 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5879 if test -n "$ac_ct_DLLTOOL"; then
5880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5881 $as_echo "$ac_ct_DLLTOOL" >&6; }
5882 else
5883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5885 fi
5886
5887   if test "x$ac_ct_DLLTOOL" = x; then
5888     DLLTOOL="false"
5889   else
5890     case $cross_compiling:$ac_tool_warned in
5891 yes:)
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5894 ac_tool_warned=yes ;;
5895 esac
5896     DLLTOOL=$ac_ct_DLLTOOL
5897   fi
5898 else
5899   DLLTOOL="$ac_cv_prog_DLLTOOL"
5900 fi
5901
5902 test -z "$DLLTOOL" && DLLTOOL=dlltool
5903
5904
5905
5906
5907
5908
5909
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5911 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5912 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5913   $as_echo_n "(cached) " >&6
5914 else
5915   lt_cv_sharedlib_from_linklib_cmd='unknown'
5916
5917 case $host_os in
5918 cygwin* | mingw* | pw32* | cegcc*)
5919   # two different shell functions defined in ltmain.sh
5920   # decide which to use based on capabilities of $DLLTOOL
5921   case `$DLLTOOL --help 2>&1` in
5922   *--identify-strict*)
5923     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5924     ;;
5925   *)
5926     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5927     ;;
5928   esac
5929   ;;
5930 *)
5931   # fallback: assume linklib IS sharedlib
5932   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5933   ;;
5934 esac
5935
5936 fi
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5938 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5939 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5940 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5941
5942
5943
5944
5945
5946
5947
5948
5949 if test -n "$ac_tool_prefix"; then
5950   for ac_prog in ar
5951   do
5952     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5953 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5955 $as_echo_n "checking for $ac_word... " >&6; }
5956 if ${ac_cv_prog_AR+:} false; then :
5957   $as_echo_n "(cached) " >&6
5958 else
5959   if test -n "$AR"; then
5960   ac_cv_prog_AR="$AR" # Let the user override the test.
5961 else
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 for as_dir in $PATH
5964 do
5965   IFS=$as_save_IFS
5966   test -z "$as_dir" && as_dir=.
5967     for ac_exec_ext in '' $ac_executable_extensions; do
5968   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5969     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5970     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5971     break 2
5972   fi
5973 done
5974   done
5975 IFS=$as_save_IFS
5976
5977 fi
5978 fi
5979 AR=$ac_cv_prog_AR
5980 if test -n "$AR"; then
5981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5982 $as_echo "$AR" >&6; }
5983 else
5984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5985 $as_echo "no" >&6; }
5986 fi
5987
5988
5989     test -n "$AR" && break
5990   done
5991 fi
5992 if test -z "$AR"; then
5993   ac_ct_AR=$AR
5994   for ac_prog in ar
5995 do
5996   # Extract the first word of "$ac_prog", so it can be a program name with args.
5997 set dummy $ac_prog; ac_word=$2
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5999 $as_echo_n "checking for $ac_word... " >&6; }
6000 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6001   $as_echo_n "(cached) " >&6
6002 else
6003   if test -n "$ac_ct_AR"; then
6004   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6005 else
6006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 for as_dir in $PATH
6008 do
6009   IFS=$as_save_IFS
6010   test -z "$as_dir" && as_dir=.
6011     for ac_exec_ext in '' $ac_executable_extensions; do
6012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6013     ac_cv_prog_ac_ct_AR="$ac_prog"
6014     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6015     break 2
6016   fi
6017 done
6018   done
6019 IFS=$as_save_IFS
6020
6021 fi
6022 fi
6023 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6024 if test -n "$ac_ct_AR"; then
6025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6026 $as_echo "$ac_ct_AR" >&6; }
6027 else
6028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6029 $as_echo "no" >&6; }
6030 fi
6031
6032
6033   test -n "$ac_ct_AR" && break
6034 done
6035
6036   if test "x$ac_ct_AR" = x; then
6037     AR="false"
6038   else
6039     case $cross_compiling:$ac_tool_warned in
6040 yes:)
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6043 ac_tool_warned=yes ;;
6044 esac
6045     AR=$ac_ct_AR
6046   fi
6047 fi
6048
6049 : ${AR=ar}
6050 : ${AR_FLAGS=cru}
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6063 $as_echo_n "checking for archiver @FILE support... " >&6; }
6064 if ${lt_cv_ar_at_file+:} false; then :
6065   $as_echo_n "(cached) " >&6
6066 else
6067   lt_cv_ar_at_file=no
6068    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6069 /* end confdefs.h.  */
6070
6071 int
6072 main ()
6073 {
6074
6075   ;
6076   return 0;
6077 }
6078 _ACEOF
6079 if ac_fn_c_try_compile "$LINENO"; then :
6080   echo conftest.$ac_objext > conftest.lst
6081       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6082       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6083   (eval $lt_ar_try) 2>&5
6084   ac_status=$?
6085   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6086   test $ac_status = 0; }
6087       if test "$ac_status" -eq 0; then
6088         # Ensure the archiver fails upon bogus file names.
6089         rm -f conftest.$ac_objext libconftest.a
6090         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6091   (eval $lt_ar_try) 2>&5
6092   ac_status=$?
6093   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6094   test $ac_status = 0; }
6095         if test "$ac_status" -ne 0; then
6096           lt_cv_ar_at_file=@
6097         fi
6098       fi
6099       rm -f conftest.* libconftest.a
6100
6101 fi
6102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6103
6104 fi
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6106 $as_echo "$lt_cv_ar_at_file" >&6; }
6107
6108 if test "x$lt_cv_ar_at_file" = xno; then
6109   archiver_list_spec=
6110 else
6111   archiver_list_spec=$lt_cv_ar_at_file
6112 fi
6113
6114
6115
6116
6117
6118
6119
6120 if test -n "$ac_tool_prefix"; then
6121   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6122 set dummy ${ac_tool_prefix}strip; ac_word=$2
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6124 $as_echo_n "checking for $ac_word... " >&6; }
6125 if ${ac_cv_prog_STRIP+:} false; then :
6126   $as_echo_n "(cached) " >&6
6127 else
6128   if test -n "$STRIP"; then
6129   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6130 else
6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6132 for as_dir in $PATH
6133 do
6134   IFS=$as_save_IFS
6135   test -z "$as_dir" && as_dir=.
6136     for ac_exec_ext in '' $ac_executable_extensions; do
6137   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6138     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6140     break 2
6141   fi
6142 done
6143   done
6144 IFS=$as_save_IFS
6145
6146 fi
6147 fi
6148 STRIP=$ac_cv_prog_STRIP
6149 if test -n "$STRIP"; then
6150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6151 $as_echo "$STRIP" >&6; }
6152 else
6153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6154 $as_echo "no" >&6; }
6155 fi
6156
6157
6158 fi
6159 if test -z "$ac_cv_prog_STRIP"; then
6160   ac_ct_STRIP=$STRIP
6161   # Extract the first word of "strip", so it can be a program name with args.
6162 set dummy strip; ac_word=$2
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6164 $as_echo_n "checking for $ac_word... " >&6; }
6165 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6166   $as_echo_n "(cached) " >&6
6167 else
6168   if test -n "$ac_ct_STRIP"; then
6169   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6170 else
6171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6172 for as_dir in $PATH
6173 do
6174   IFS=$as_save_IFS
6175   test -z "$as_dir" && as_dir=.
6176     for ac_exec_ext in '' $ac_executable_extensions; do
6177   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6178     ac_cv_prog_ac_ct_STRIP="strip"
6179     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6180     break 2
6181   fi
6182 done
6183   done
6184 IFS=$as_save_IFS
6185
6186 fi
6187 fi
6188 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6189 if test -n "$ac_ct_STRIP"; then
6190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6191 $as_echo "$ac_ct_STRIP" >&6; }
6192 else
6193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6194 $as_echo "no" >&6; }
6195 fi
6196
6197   if test "x$ac_ct_STRIP" = x; then
6198     STRIP=":"
6199   else
6200     case $cross_compiling:$ac_tool_warned in
6201 yes:)
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6204 ac_tool_warned=yes ;;
6205 esac
6206     STRIP=$ac_ct_STRIP
6207   fi
6208 else
6209   STRIP="$ac_cv_prog_STRIP"
6210 fi
6211
6212 test -z "$STRIP" && STRIP=:
6213
6214
6215
6216
6217
6218
6219 if test -n "$ac_tool_prefix"; then
6220   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6221 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6223 $as_echo_n "checking for $ac_word... " >&6; }
6224 if ${ac_cv_prog_RANLIB+:} false; then :
6225   $as_echo_n "(cached) " >&6
6226 else
6227   if test -n "$RANLIB"; then
6228   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6229 else
6230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 for as_dir in $PATH
6232 do
6233   IFS=$as_save_IFS
6234   test -z "$as_dir" && as_dir=.
6235     for ac_exec_ext in '' $ac_executable_extensions; do
6236   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6237     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6239     break 2
6240   fi
6241 done
6242   done
6243 IFS=$as_save_IFS
6244
6245 fi
6246 fi
6247 RANLIB=$ac_cv_prog_RANLIB
6248 if test -n "$RANLIB"; then
6249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6250 $as_echo "$RANLIB" >&6; }
6251 else
6252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6253 $as_echo "no" >&6; }
6254 fi
6255
6256
6257 fi
6258 if test -z "$ac_cv_prog_RANLIB"; then
6259   ac_ct_RANLIB=$RANLIB
6260   # Extract the first word of "ranlib", so it can be a program name with args.
6261 set dummy ranlib; ac_word=$2
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6263 $as_echo_n "checking for $ac_word... " >&6; }
6264 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6265   $as_echo_n "(cached) " >&6
6266 else
6267   if test -n "$ac_ct_RANLIB"; then
6268   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6269 else
6270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6271 for as_dir in $PATH
6272 do
6273   IFS=$as_save_IFS
6274   test -z "$as_dir" && as_dir=.
6275     for ac_exec_ext in '' $ac_executable_extensions; do
6276   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6277     ac_cv_prog_ac_ct_RANLIB="ranlib"
6278     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6279     break 2
6280   fi
6281 done
6282   done
6283 IFS=$as_save_IFS
6284
6285 fi
6286 fi
6287 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6288 if test -n "$ac_ct_RANLIB"; then
6289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6290 $as_echo "$ac_ct_RANLIB" >&6; }
6291 else
6292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6293 $as_echo "no" >&6; }
6294 fi
6295
6296   if test "x$ac_ct_RANLIB" = x; then
6297     RANLIB=":"
6298   else
6299     case $cross_compiling:$ac_tool_warned in
6300 yes:)
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6303 ac_tool_warned=yes ;;
6304 esac
6305     RANLIB=$ac_ct_RANLIB
6306   fi
6307 else
6308   RANLIB="$ac_cv_prog_RANLIB"
6309 fi
6310
6311 test -z "$RANLIB" && RANLIB=:
6312
6313
6314
6315
6316
6317
6318 # Determine commands to create old-style static archives.
6319 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6320 old_postinstall_cmds='chmod 644 $oldlib'
6321 old_postuninstall_cmds=
6322
6323 if test -n "$RANLIB"; then
6324   case $host_os in
6325   openbsd*)
6326     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6327     ;;
6328   *)
6329     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6330     ;;
6331   esac
6332   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6333 fi
6334
6335 case $host_os in
6336   darwin*)
6337     lock_old_archive_extraction=yes ;;
6338   *)
6339     lock_old_archive_extraction=no ;;
6340 esac
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380 # If no C compiler was specified, use CC.
6381 LTCC=${LTCC-"$CC"}
6382
6383 # If no C compiler flags were specified, use CFLAGS.
6384 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6385
6386 # Allow CC to be a program name with arguments.
6387 compiler=$CC
6388
6389
6390 # Check for command to grab the raw symbol name followed by C symbol from nm.
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6392 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6393 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6394   $as_echo_n "(cached) " >&6
6395 else
6396
6397 # These are sane defaults that work on at least a few old systems.
6398 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6399
6400 # Character class describing NM global symbol codes.
6401 symcode='[BCDEGRST]'
6402
6403 # Regexp to match symbols that can be accessed directly from C.
6404 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6405
6406 # Define system-specific variables.
6407 case $host_os in
6408 aix*)
6409   symcode='[BCDT]'
6410   ;;
6411 cygwin* | mingw* | pw32* | cegcc*)
6412   symcode='[ABCDGISTW]'
6413   ;;
6414 hpux*)
6415   if test "$host_cpu" = ia64; then
6416     symcode='[ABCDEGRST]'
6417   fi
6418   ;;
6419 irix* | nonstopux*)
6420   symcode='[BCDEGRST]'
6421   ;;
6422 osf*)
6423   symcode='[BCDEGQRST]'
6424   ;;
6425 solaris*)
6426   symcode='[BDRT]'
6427   ;;
6428 sco3.2v5*)
6429   symcode='[DT]'
6430   ;;
6431 sysv4.2uw2*)
6432   symcode='[DT]'
6433   ;;
6434 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6435   symcode='[ABDT]'
6436   ;;
6437 sysv4)
6438   symcode='[DFNSTU]'
6439   ;;
6440 esac
6441
6442 # If we're using GNU nm, then use its standard symbol codes.
6443 case `$NM -V 2>&1` in
6444 *GNU* | *'with BFD'*)
6445   symcode='[ABCDGIRSTW]' ;;
6446 esac
6447
6448 # Transform an extracted symbol line into a proper C declaration.
6449 # Some systems (esp. on ia64) link data and code symbols differently,
6450 # so use this general approach.
6451 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6452
6453 # Transform an extracted symbol line into symbol name and symbol address
6454 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6455 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'"
6456
6457 # Handle CRLF in mingw tool chain
6458 opt_cr=
6459 case $build_os in
6460 mingw*)
6461   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6462   ;;
6463 esac
6464
6465 # Try without a prefix underscore, then with it.
6466 for ac_symprfx in "" "_"; do
6467
6468   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6469   symxfrm="\\1 $ac_symprfx\\2 \\2"
6470
6471   # Write the raw and C identifiers.
6472   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6473     # Fake it for dumpbin and say T for any non-static function
6474     # and D for any global variable.
6475     # Also find C++ and __fastcall symbols from MSVC++,
6476     # which start with @ or ?.
6477     lt_cv_sys_global_symbol_pipe="$AWK '"\
6478 "     {last_section=section; section=\$ 3};"\
6479 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6480 "     \$ 0!~/External *\|/{next};"\
6481 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6482 "     {if(hide[section]) next};"\
6483 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6484 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6485 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6486 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6487 "     ' prfx=^$ac_symprfx"
6488   else
6489     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6490   fi
6491   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6492
6493   # Check to see that the pipe works correctly.
6494   pipe_works=no
6495
6496   rm -f conftest*
6497   cat > conftest.$ac_ext <<_LT_EOF
6498 #ifdef __cplusplus
6499 extern "C" {
6500 #endif
6501 char nm_test_var;
6502 void nm_test_func(void);
6503 void nm_test_func(void){}
6504 #ifdef __cplusplus
6505 }
6506 #endif
6507 int main(){nm_test_var='a';nm_test_func();return(0);}
6508 _LT_EOF
6509
6510   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6511   (eval $ac_compile) 2>&5
6512   ac_status=$?
6513   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6514   test $ac_status = 0; }; then
6515     # Now try to grab the symbols.
6516     nlist=conftest.nm
6517     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6518   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6519   ac_status=$?
6520   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6521   test $ac_status = 0; } && test -s "$nlist"; then
6522       # Try sorting and uniquifying the output.
6523       if sort "$nlist" | uniq > "$nlist"T; then
6524         mv -f "$nlist"T "$nlist"
6525       else
6526         rm -f "$nlist"T
6527       fi
6528
6529       # Make sure that we snagged all the symbols we need.
6530       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6531         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6532           cat <<_LT_EOF > conftest.$ac_ext
6533 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6534 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6535 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6536    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6537 # define LT_DLSYM_CONST
6538 #elif defined(__osf__)
6539 /* This system does not cope well with relocations in const data.  */
6540 # define LT_DLSYM_CONST
6541 #else
6542 # define LT_DLSYM_CONST const
6543 #endif
6544
6545 #ifdef __cplusplus
6546 extern "C" {
6547 #endif
6548
6549 _LT_EOF
6550           # Now generate the symbol file.
6551           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6552
6553           cat <<_LT_EOF >> conftest.$ac_ext
6554
6555 /* The mapping between symbol names and symbols.  */
6556 LT_DLSYM_CONST struct {
6557   const char *name;
6558   void       *address;
6559 }
6560 lt__PROGRAM__LTX_preloaded_symbols[] =
6561 {
6562   { "@PROGRAM@", (void *) 0 },
6563 _LT_EOF
6564           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6565           cat <<\_LT_EOF >> conftest.$ac_ext
6566   {0, (void *) 0}
6567 };
6568
6569 /* This works around a problem in FreeBSD linker */
6570 #ifdef FREEBSD_WORKAROUND
6571 static const void *lt_preloaded_setup() {
6572   return lt__PROGRAM__LTX_preloaded_symbols;
6573 }
6574 #endif
6575
6576 #ifdef __cplusplus
6577 }
6578 #endif
6579 _LT_EOF
6580           # Now try linking the two files.
6581           mv conftest.$ac_objext conftstm.$ac_objext
6582           lt_globsym_save_LIBS=$LIBS
6583           lt_globsym_save_CFLAGS=$CFLAGS
6584           LIBS="conftstm.$ac_objext"
6585           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6586           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6587   (eval $ac_link) 2>&5
6588   ac_status=$?
6589   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6590   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6591             pipe_works=yes
6592           fi
6593           LIBS=$lt_globsym_save_LIBS
6594           CFLAGS=$lt_globsym_save_CFLAGS
6595         else
6596           echo "cannot find nm_test_func in $nlist" >&5
6597         fi
6598       else
6599         echo "cannot find nm_test_var in $nlist" >&5
6600       fi
6601     else
6602       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6603     fi
6604   else
6605     echo "$progname: failed program was:" >&5
6606     cat conftest.$ac_ext >&5
6607   fi
6608   rm -rf conftest* conftst*
6609
6610   # Do not use the global_symbol_pipe unless it works.
6611   if test "$pipe_works" = yes; then
6612     break
6613   else
6614     lt_cv_sys_global_symbol_pipe=
6615   fi
6616 done
6617
6618 fi
6619
6620 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6621   lt_cv_sys_global_symbol_to_cdecl=
6622 fi
6623 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6625 $as_echo "failed" >&6; }
6626 else
6627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6628 $as_echo "ok" >&6; }
6629 fi
6630
6631 # Response file support.
6632 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6633   nm_file_list_spec='@'
6634 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6635   nm_file_list_spec='@'
6636 fi
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6665 $as_echo_n "checking for sysroot... " >&6; }
6666
6667 # Check whether --with-sysroot was given.
6668 if test "${with_sysroot+set}" = set; then :
6669   withval=$with_sysroot;
6670 else
6671   with_sysroot=no
6672 fi
6673
6674
6675 lt_sysroot=
6676 case ${with_sysroot} in #(
6677  yes)
6678    if test "$GCC" = yes; then
6679      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6680    fi
6681    ;; #(
6682  /*)
6683    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6684    ;; #(
6685  no|'')
6686    ;; #(
6687  *)
6688    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6689 $as_echo "${with_sysroot}" >&6; }
6690    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6691    ;;
6692 esac
6693
6694  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6695 $as_echo "${lt_sysroot:-no}" >&6; }
6696
6697
6698
6699
6700
6701 # Check whether --enable-libtool-lock was given.
6702 if test "${enable_libtool_lock+set}" = set; then :
6703   enableval=$enable_libtool_lock;
6704 fi
6705
6706 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6707
6708 # Some flags need to be propagated to the compiler or linker for good
6709 # libtool support.
6710 case $host in
6711 ia64-*-hpux*)
6712   # Find out which ABI we are using.
6713   echo 'int i;' > conftest.$ac_ext
6714   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6715   (eval $ac_compile) 2>&5
6716   ac_status=$?
6717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6718   test $ac_status = 0; }; then
6719     case `/usr/bin/file conftest.$ac_objext` in
6720       *ELF-32*)
6721         HPUX_IA64_MODE="32"
6722         ;;
6723       *ELF-64*)
6724         HPUX_IA64_MODE="64"
6725         ;;
6726     esac
6727   fi
6728   rm -rf conftest*
6729   ;;
6730 *-*-irix6*)
6731   # Find out which ABI we are using.
6732   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6733   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6734   (eval $ac_compile) 2>&5
6735   ac_status=$?
6736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6737   test $ac_status = 0; }; then
6738     if test "$lt_cv_prog_gnu_ld" = yes; then
6739       case `/usr/bin/file conftest.$ac_objext` in
6740         *32-bit*)
6741           LD="${LD-ld} -melf32bsmip"
6742           ;;
6743         *N32*)
6744           LD="${LD-ld} -melf32bmipn32"
6745           ;;
6746         *64-bit*)
6747           LD="${LD-ld} -melf64bmip"
6748         ;;
6749       esac
6750     else
6751       case `/usr/bin/file conftest.$ac_objext` in
6752         *32-bit*)
6753           LD="${LD-ld} -32"
6754           ;;
6755         *N32*)
6756           LD="${LD-ld} -n32"
6757           ;;
6758         *64-bit*)
6759           LD="${LD-ld} -64"
6760           ;;
6761       esac
6762     fi
6763   fi
6764   rm -rf conftest*
6765   ;;
6766
6767 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6768 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6769   # Find out which ABI we are using.
6770   echo 'int i;' > conftest.$ac_ext
6771   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6772   (eval $ac_compile) 2>&5
6773   ac_status=$?
6774   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6775   test $ac_status = 0; }; then
6776     case `/usr/bin/file conftest.o` in
6777       *32-bit*)
6778         case $host in
6779           x86_64-*kfreebsd*-gnu)
6780             LD="${LD-ld} -m elf_i386_fbsd"
6781             ;;
6782           x86_64-*linux*)
6783             LD="${LD-ld} -m elf_i386"
6784             ;;
6785           ppc64-*linux*|powerpc64-*linux*)
6786             LD="${LD-ld} -m elf32ppclinux"
6787             ;;
6788           s390x-*linux*)
6789             LD="${LD-ld} -m elf_s390"
6790             ;;
6791           sparc64-*linux*)
6792             LD="${LD-ld} -m elf32_sparc"
6793             ;;
6794         esac
6795         ;;
6796       *64-bit*)
6797         case $host in
6798           x86_64-*kfreebsd*-gnu)
6799             LD="${LD-ld} -m elf_x86_64_fbsd"
6800             ;;
6801           x86_64-*linux*)
6802             LD="${LD-ld} -m elf_x86_64"
6803             ;;
6804           ppc*-*linux*|powerpc*-*linux*)
6805             LD="${LD-ld} -m elf64ppc"
6806             ;;
6807           s390*-*linux*|s390*-*tpf*)
6808             LD="${LD-ld} -m elf64_s390"
6809             ;;
6810           sparc*-*linux*)
6811             LD="${LD-ld} -m elf64_sparc"
6812             ;;
6813         esac
6814         ;;
6815     esac
6816   fi
6817   rm -rf conftest*
6818   ;;
6819
6820 *-*-sco3.2v5*)
6821   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6822   SAVE_CFLAGS="$CFLAGS"
6823   CFLAGS="$CFLAGS -belf"
6824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6825 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6826 if ${lt_cv_cc_needs_belf+:} false; then :
6827   $as_echo_n "(cached) " >&6
6828 else
6829   ac_ext=c
6830 ac_cpp='$CPP $CPPFLAGS'
6831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6834
6835      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6836 /* end confdefs.h.  */
6837
6838 int
6839 main ()
6840 {
6841
6842   ;
6843   return 0;
6844 }
6845 _ACEOF
6846 if ac_fn_c_try_link "$LINENO"; then :
6847   lt_cv_cc_needs_belf=yes
6848 else
6849   lt_cv_cc_needs_belf=no
6850 fi
6851 rm -f core conftest.err conftest.$ac_objext \
6852     conftest$ac_exeext conftest.$ac_ext
6853      ac_ext=c
6854 ac_cpp='$CPP $CPPFLAGS'
6855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6858
6859 fi
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6861 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6862   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6863     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6864     CFLAGS="$SAVE_CFLAGS"
6865   fi
6866   ;;
6867 sparc*-*solaris*)
6868   # Find out which ABI we are using.
6869   echo 'int i;' > conftest.$ac_ext
6870   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6871   (eval $ac_compile) 2>&5
6872   ac_status=$?
6873   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6874   test $ac_status = 0; }; then
6875     case `/usr/bin/file conftest.o` in
6876     *64-bit*)
6877       case $lt_cv_prog_gnu_ld in
6878       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6879       *)
6880         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6881           LD="${LD-ld} -64"
6882         fi
6883         ;;
6884       esac
6885       ;;
6886     esac
6887   fi
6888   rm -rf conftest*
6889   ;;
6890 esac
6891
6892 need_locks="$enable_libtool_lock"
6893
6894 if test -n "$ac_tool_prefix"; then
6895   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6896 set dummy ${ac_tool_prefix}mt; ac_word=$2
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6898 $as_echo_n "checking for $ac_word... " >&6; }
6899 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6900   $as_echo_n "(cached) " >&6
6901 else
6902   if test -n "$MANIFEST_TOOL"; then
6903   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6904 else
6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 for as_dir in $PATH
6907 do
6908   IFS=$as_save_IFS
6909   test -z "$as_dir" && as_dir=.
6910     for ac_exec_ext in '' $ac_executable_extensions; do
6911   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6912     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6913     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6914     break 2
6915   fi
6916 done
6917   done
6918 IFS=$as_save_IFS
6919
6920 fi
6921 fi
6922 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6923 if test -n "$MANIFEST_TOOL"; then
6924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6925 $as_echo "$MANIFEST_TOOL" >&6; }
6926 else
6927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6928 $as_echo "no" >&6; }
6929 fi
6930
6931
6932 fi
6933 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6934   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6935   # Extract the first word of "mt", so it can be a program name with args.
6936 set dummy mt; ac_word=$2
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6938 $as_echo_n "checking for $ac_word... " >&6; }
6939 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6940   $as_echo_n "(cached) " >&6
6941 else
6942   if test -n "$ac_ct_MANIFEST_TOOL"; then
6943   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6944 else
6945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946 for as_dir in $PATH
6947 do
6948   IFS=$as_save_IFS
6949   test -z "$as_dir" && as_dir=.
6950     for ac_exec_ext in '' $ac_executable_extensions; do
6951   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6952     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6954     break 2
6955   fi
6956 done
6957   done
6958 IFS=$as_save_IFS
6959
6960 fi
6961 fi
6962 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6963 if test -n "$ac_ct_MANIFEST_TOOL"; then
6964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6965 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6966 else
6967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6968 $as_echo "no" >&6; }
6969 fi
6970
6971   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6972     MANIFEST_TOOL=":"
6973   else
6974     case $cross_compiling:$ac_tool_warned in
6975 yes:)
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6978 ac_tool_warned=yes ;;
6979 esac
6980     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6981   fi
6982 else
6983   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6984 fi
6985
6986 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6988 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6989 if ${lt_cv_path_mainfest_tool+:} false; then :
6990   $as_echo_n "(cached) " >&6
6991 else
6992   lt_cv_path_mainfest_tool=no
6993   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6994   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6995   cat conftest.err >&5
6996   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6997     lt_cv_path_mainfest_tool=yes
6998   fi
6999   rm -f conftest*
7000 fi
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7002 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7003 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7004   MANIFEST_TOOL=:
7005 fi
7006
7007
7008
7009
7010
7011
7012   case $host_os in
7013     rhapsody* | darwin*)
7014     if test -n "$ac_tool_prefix"; then
7015   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7016 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7018 $as_echo_n "checking for $ac_word... " >&6; }
7019 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7020   $as_echo_n "(cached) " >&6
7021 else
7022   if test -n "$DSYMUTIL"; then
7023   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7024 else
7025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7026 for as_dir in $PATH
7027 do
7028   IFS=$as_save_IFS
7029   test -z "$as_dir" && as_dir=.
7030     for ac_exec_ext in '' $ac_executable_extensions; do
7031   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7032     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7034     break 2
7035   fi
7036 done
7037   done
7038 IFS=$as_save_IFS
7039
7040 fi
7041 fi
7042 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7043 if test -n "$DSYMUTIL"; then
7044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7045 $as_echo "$DSYMUTIL" >&6; }
7046 else
7047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7048 $as_echo "no" >&6; }
7049 fi
7050
7051
7052 fi
7053 if test -z "$ac_cv_prog_DSYMUTIL"; then
7054   ac_ct_DSYMUTIL=$DSYMUTIL
7055   # Extract the first word of "dsymutil", so it can be a program name with args.
7056 set dummy dsymutil; ac_word=$2
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7058 $as_echo_n "checking for $ac_word... " >&6; }
7059 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7060   $as_echo_n "(cached) " >&6
7061 else
7062   if test -n "$ac_ct_DSYMUTIL"; then
7063   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7064 else
7065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7066 for as_dir in $PATH
7067 do
7068   IFS=$as_save_IFS
7069   test -z "$as_dir" && as_dir=.
7070     for ac_exec_ext in '' $ac_executable_extensions; do
7071   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7072     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7073     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7074     break 2
7075   fi
7076 done
7077   done
7078 IFS=$as_save_IFS
7079
7080 fi
7081 fi
7082 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7083 if test -n "$ac_ct_DSYMUTIL"; then
7084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7085 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7086 else
7087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7088 $as_echo "no" >&6; }
7089 fi
7090
7091   if test "x$ac_ct_DSYMUTIL" = x; then
7092     DSYMUTIL=":"
7093   else
7094     case $cross_compiling:$ac_tool_warned in
7095 yes:)
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7098 ac_tool_warned=yes ;;
7099 esac
7100     DSYMUTIL=$ac_ct_DSYMUTIL
7101   fi
7102 else
7103   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7104 fi
7105
7106     if test -n "$ac_tool_prefix"; then
7107   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7108 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7110 $as_echo_n "checking for $ac_word... " >&6; }
7111 if ${ac_cv_prog_NMEDIT+:} false; then :
7112   $as_echo_n "(cached) " >&6
7113 else
7114   if test -n "$NMEDIT"; then
7115   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7116 else
7117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7118 for as_dir in $PATH
7119 do
7120   IFS=$as_save_IFS
7121   test -z "$as_dir" && as_dir=.
7122     for ac_exec_ext in '' $ac_executable_extensions; do
7123   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7124     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7125     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7126     break 2
7127   fi
7128 done
7129   done
7130 IFS=$as_save_IFS
7131
7132 fi
7133 fi
7134 NMEDIT=$ac_cv_prog_NMEDIT
7135 if test -n "$NMEDIT"; then
7136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7137 $as_echo "$NMEDIT" >&6; }
7138 else
7139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7140 $as_echo "no" >&6; }
7141 fi
7142
7143
7144 fi
7145 if test -z "$ac_cv_prog_NMEDIT"; then
7146   ac_ct_NMEDIT=$NMEDIT
7147   # Extract the first word of "nmedit", so it can be a program name with args.
7148 set dummy nmedit; ac_word=$2
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7150 $as_echo_n "checking for $ac_word... " >&6; }
7151 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7152   $as_echo_n "(cached) " >&6
7153 else
7154   if test -n "$ac_ct_NMEDIT"; then
7155   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7156 else
7157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7158 for as_dir in $PATH
7159 do
7160   IFS=$as_save_IFS
7161   test -z "$as_dir" && as_dir=.
7162     for ac_exec_ext in '' $ac_executable_extensions; do
7163   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7164     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7166     break 2
7167   fi
7168 done
7169   done
7170 IFS=$as_save_IFS
7171
7172 fi
7173 fi
7174 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7175 if test -n "$ac_ct_NMEDIT"; then
7176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7177 $as_echo "$ac_ct_NMEDIT" >&6; }
7178 else
7179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7180 $as_echo "no" >&6; }
7181 fi
7182
7183   if test "x$ac_ct_NMEDIT" = x; then
7184     NMEDIT=":"
7185   else
7186     case $cross_compiling:$ac_tool_warned in
7187 yes:)
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7190 ac_tool_warned=yes ;;
7191 esac
7192     NMEDIT=$ac_ct_NMEDIT
7193   fi
7194 else
7195   NMEDIT="$ac_cv_prog_NMEDIT"
7196 fi
7197
7198     if test -n "$ac_tool_prefix"; then
7199   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7200 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7202 $as_echo_n "checking for $ac_word... " >&6; }
7203 if ${ac_cv_prog_LIPO+:} false; then :
7204   $as_echo_n "(cached) " >&6
7205 else
7206   if test -n "$LIPO"; then
7207   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7208 else
7209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7210 for as_dir in $PATH
7211 do
7212   IFS=$as_save_IFS
7213   test -z "$as_dir" && as_dir=.
7214     for ac_exec_ext in '' $ac_executable_extensions; do
7215   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7216     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7217     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7218     break 2
7219   fi
7220 done
7221   done
7222 IFS=$as_save_IFS
7223
7224 fi
7225 fi
7226 LIPO=$ac_cv_prog_LIPO
7227 if test -n "$LIPO"; then
7228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7229 $as_echo "$LIPO" >&6; }
7230 else
7231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7232 $as_echo "no" >&6; }
7233 fi
7234
7235
7236 fi
7237 if test -z "$ac_cv_prog_LIPO"; then
7238   ac_ct_LIPO=$LIPO
7239   # Extract the first word of "lipo", so it can be a program name with args.
7240 set dummy lipo; ac_word=$2
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7242 $as_echo_n "checking for $ac_word... " >&6; }
7243 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7244   $as_echo_n "(cached) " >&6
7245 else
7246   if test -n "$ac_ct_LIPO"; then
7247   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7248 else
7249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7250 for as_dir in $PATH
7251 do
7252   IFS=$as_save_IFS
7253   test -z "$as_dir" && as_dir=.
7254     for ac_exec_ext in '' $ac_executable_extensions; do
7255   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7256     ac_cv_prog_ac_ct_LIPO="lipo"
7257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7258     break 2
7259   fi
7260 done
7261   done
7262 IFS=$as_save_IFS
7263
7264 fi
7265 fi
7266 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7267 if test -n "$ac_ct_LIPO"; then
7268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7269 $as_echo "$ac_ct_LIPO" >&6; }
7270 else
7271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7272 $as_echo "no" >&6; }
7273 fi
7274
7275   if test "x$ac_ct_LIPO" = x; then
7276     LIPO=":"
7277   else
7278     case $cross_compiling:$ac_tool_warned in
7279 yes:)
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7282 ac_tool_warned=yes ;;
7283 esac
7284     LIPO=$ac_ct_LIPO
7285   fi
7286 else
7287   LIPO="$ac_cv_prog_LIPO"
7288 fi
7289
7290     if test -n "$ac_tool_prefix"; then
7291   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7292 set dummy ${ac_tool_prefix}otool; ac_word=$2
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7294 $as_echo_n "checking for $ac_word... " >&6; }
7295 if ${ac_cv_prog_OTOOL+:} false; then :
7296   $as_echo_n "(cached) " >&6
7297 else
7298   if test -n "$OTOOL"; then
7299   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7300 else
7301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7302 for as_dir in $PATH
7303 do
7304   IFS=$as_save_IFS
7305   test -z "$as_dir" && as_dir=.
7306     for ac_exec_ext in '' $ac_executable_extensions; do
7307   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7308     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7309     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7310     break 2
7311   fi
7312 done
7313   done
7314 IFS=$as_save_IFS
7315
7316 fi
7317 fi
7318 OTOOL=$ac_cv_prog_OTOOL
7319 if test -n "$OTOOL"; then
7320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7321 $as_echo "$OTOOL" >&6; }
7322 else
7323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7324 $as_echo "no" >&6; }
7325 fi
7326
7327
7328 fi
7329 if test -z "$ac_cv_prog_OTOOL"; then
7330   ac_ct_OTOOL=$OTOOL
7331   # Extract the first word of "otool", so it can be a program name with args.
7332 set dummy otool; ac_word=$2
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7334 $as_echo_n "checking for $ac_word... " >&6; }
7335 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7336   $as_echo_n "(cached) " >&6
7337 else
7338   if test -n "$ac_ct_OTOOL"; then
7339   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7340 else
7341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7342 for as_dir in $PATH
7343 do
7344   IFS=$as_save_IFS
7345   test -z "$as_dir" && as_dir=.
7346     for ac_exec_ext in '' $ac_executable_extensions; do
7347   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7348     ac_cv_prog_ac_ct_OTOOL="otool"
7349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7350     break 2
7351   fi
7352 done
7353   done
7354 IFS=$as_save_IFS
7355
7356 fi
7357 fi
7358 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7359 if test -n "$ac_ct_OTOOL"; then
7360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7361 $as_echo "$ac_ct_OTOOL" >&6; }
7362 else
7363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7364 $as_echo "no" >&6; }
7365 fi
7366
7367   if test "x$ac_ct_OTOOL" = x; then
7368     OTOOL=":"
7369   else
7370     case $cross_compiling:$ac_tool_warned in
7371 yes:)
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7374 ac_tool_warned=yes ;;
7375 esac
7376     OTOOL=$ac_ct_OTOOL
7377   fi
7378 else
7379   OTOOL="$ac_cv_prog_OTOOL"
7380 fi
7381
7382     if test -n "$ac_tool_prefix"; then
7383   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7384 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7386 $as_echo_n "checking for $ac_word... " >&6; }
7387 if ${ac_cv_prog_OTOOL64+:} false; then :
7388   $as_echo_n "(cached) " >&6
7389 else
7390   if test -n "$OTOOL64"; then
7391   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7392 else
7393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7394 for as_dir in $PATH
7395 do
7396   IFS=$as_save_IFS
7397   test -z "$as_dir" && as_dir=.
7398     for ac_exec_ext in '' $ac_executable_extensions; do
7399   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7400     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7402     break 2
7403   fi
7404 done
7405   done
7406 IFS=$as_save_IFS
7407
7408 fi
7409 fi
7410 OTOOL64=$ac_cv_prog_OTOOL64
7411 if test -n "$OTOOL64"; then
7412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7413 $as_echo "$OTOOL64" >&6; }
7414 else
7415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7416 $as_echo "no" >&6; }
7417 fi
7418
7419
7420 fi
7421 if test -z "$ac_cv_prog_OTOOL64"; then
7422   ac_ct_OTOOL64=$OTOOL64
7423   # Extract the first word of "otool64", so it can be a program name with args.
7424 set dummy otool64; ac_word=$2
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7426 $as_echo_n "checking for $ac_word... " >&6; }
7427 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7428   $as_echo_n "(cached) " >&6
7429 else
7430   if test -n "$ac_ct_OTOOL64"; then
7431   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7432 else
7433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7434 for as_dir in $PATH
7435 do
7436   IFS=$as_save_IFS
7437   test -z "$as_dir" && as_dir=.
7438     for ac_exec_ext in '' $ac_executable_extensions; do
7439   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7440     ac_cv_prog_ac_ct_OTOOL64="otool64"
7441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7442     break 2
7443   fi
7444 done
7445   done
7446 IFS=$as_save_IFS
7447
7448 fi
7449 fi
7450 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7451 if test -n "$ac_ct_OTOOL64"; then
7452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7453 $as_echo "$ac_ct_OTOOL64" >&6; }
7454 else
7455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456 $as_echo "no" >&6; }
7457 fi
7458
7459   if test "x$ac_ct_OTOOL64" = x; then
7460     OTOOL64=":"
7461   else
7462     case $cross_compiling:$ac_tool_warned in
7463 yes:)
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7466 ac_tool_warned=yes ;;
7467 esac
7468     OTOOL64=$ac_ct_OTOOL64
7469   fi
7470 else
7471   OTOOL64="$ac_cv_prog_OTOOL64"
7472 fi
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7501 $as_echo_n "checking for -single_module linker flag... " >&6; }
7502 if ${lt_cv_apple_cc_single_mod+:} false; then :
7503   $as_echo_n "(cached) " >&6
7504 else
7505   lt_cv_apple_cc_single_mod=no
7506       if test -z "${LT_MULTI_MODULE}"; then
7507         # By default we will add the -single_module flag. You can override
7508         # by either setting the environment variable LT_MULTI_MODULE
7509         # non-empty at configure time, or by adding -multi_module to the
7510         # link flags.
7511         rm -rf libconftest.dylib*
7512         echo "int foo(void){return 1;}" > conftest.c
7513         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7514 -dynamiclib -Wl,-single_module conftest.c" >&5
7515         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7516           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7517         _lt_result=$?
7518         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7519           lt_cv_apple_cc_single_mod=yes
7520         else
7521           cat conftest.err >&5
7522         fi
7523         rm -rf libconftest.dylib*
7524         rm -f conftest.*
7525       fi
7526 fi
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7528 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7529     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7530 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7531 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7532   $as_echo_n "(cached) " >&6
7533 else
7534   lt_cv_ld_exported_symbols_list=no
7535       save_LDFLAGS=$LDFLAGS
7536       echo "_main" > conftest.sym
7537       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7538       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7539 /* end confdefs.h.  */
7540
7541 int
7542 main ()
7543 {
7544
7545   ;
7546   return 0;
7547 }
7548 _ACEOF
7549 if ac_fn_c_try_link "$LINENO"; then :
7550   lt_cv_ld_exported_symbols_list=yes
7551 else
7552   lt_cv_ld_exported_symbols_list=no
7553 fi
7554 rm -f core conftest.err conftest.$ac_objext \
7555     conftest$ac_exeext conftest.$ac_ext
7556         LDFLAGS="$save_LDFLAGS"
7557
7558 fi
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7560 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7561     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7562 $as_echo_n "checking for -force_load linker flag... " >&6; }
7563 if ${lt_cv_ld_force_load+:} false; then :
7564   $as_echo_n "(cached) " >&6
7565 else
7566   lt_cv_ld_force_load=no
7567       cat > conftest.c << _LT_EOF
7568 int forced_loaded() { return 2;}
7569 _LT_EOF
7570       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7571       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7572       echo "$AR cru libconftest.a conftest.o" >&5
7573       $AR cru libconftest.a conftest.o 2>&5
7574       echo "$RANLIB libconftest.a" >&5
7575       $RANLIB libconftest.a 2>&5
7576       cat > conftest.c << _LT_EOF
7577 int main() { return 0;}
7578 _LT_EOF
7579       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7580       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7581       _lt_result=$?
7582       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7583         lt_cv_ld_force_load=yes
7584       else
7585         cat conftest.err >&5
7586       fi
7587         rm -f conftest.err libconftest.a conftest conftest.c
7588         rm -rf conftest.dSYM
7589
7590 fi
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7592 $as_echo "$lt_cv_ld_force_load" >&6; }
7593     case $host_os in
7594     rhapsody* | darwin1.[012])
7595       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7596     darwin1.*)
7597       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7598     darwin*) # darwin 5.x on
7599       # if running on 10.5 or later, the deployment target defaults
7600       # to the OS version, if on x86, and 10.4, the deployment
7601       # target defaults to 10.4. Don't you love it?
7602       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7603         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7604           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7605         10.[012]*)
7606           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7607         10.*)
7608           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7609       esac
7610     ;;
7611   esac
7612     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7613       _lt_dar_single_mod='$single_module'
7614     fi
7615     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7616       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7617     else
7618       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7619     fi
7620     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7621       _lt_dsymutil='~$DSYMUTIL $lib || :'
7622     else
7623       _lt_dsymutil=
7624     fi
7625     ;;
7626   esac
7627
7628 ac_ext=c
7629 ac_cpp='$CPP $CPPFLAGS'
7630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7634 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7635 # On Suns, sometimes $CPP names a directory.
7636 if test -n "$CPP" && test -d "$CPP"; then
7637   CPP=
7638 fi
7639 if test -z "$CPP"; then
7640   if ${ac_cv_prog_CPP+:} false; then :
7641   $as_echo_n "(cached) " >&6
7642 else
7643       # Double quotes because CPP needs to be expanded
7644     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7645     do
7646       ac_preproc_ok=false
7647 for ac_c_preproc_warn_flag in '' yes
7648 do
7649   # Use a header file that comes with gcc, so configuring glibc
7650   # with a fresh cross-compiler works.
7651   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7652   # <limits.h> exists even on freestanding compilers.
7653   # On the NeXT, cc -E runs the code through the compiler's parser,
7654   # not just through cpp. "Syntax error" is here to catch this case.
7655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7656 /* end confdefs.h.  */
7657 #ifdef __STDC__
7658 # include <limits.h>
7659 #else
7660 # include <assert.h>
7661 #endif
7662                      Syntax error
7663 _ACEOF
7664 if ac_fn_c_try_cpp "$LINENO"; then :
7665
7666 else
7667   # Broken: fails on valid input.
7668 continue
7669 fi
7670 rm -f conftest.err conftest.i conftest.$ac_ext
7671
7672   # OK, works on sane cases.  Now check whether nonexistent headers
7673   # can be detected and how.
7674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7675 /* end confdefs.h.  */
7676 #include <ac_nonexistent.h>
7677 _ACEOF
7678 if ac_fn_c_try_cpp "$LINENO"; then :
7679   # Broken: success on invalid input.
7680 continue
7681 else
7682   # Passes both tests.
7683 ac_preproc_ok=:
7684 break
7685 fi
7686 rm -f conftest.err conftest.i conftest.$ac_ext
7687
7688 done
7689 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7690 rm -f conftest.i conftest.err conftest.$ac_ext
7691 if $ac_preproc_ok; then :
7692   break
7693 fi
7694
7695     done
7696     ac_cv_prog_CPP=$CPP
7697
7698 fi
7699   CPP=$ac_cv_prog_CPP
7700 else
7701   ac_cv_prog_CPP=$CPP
7702 fi
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7704 $as_echo "$CPP" >&6; }
7705 ac_preproc_ok=false
7706 for ac_c_preproc_warn_flag in '' yes
7707 do
7708   # Use a header file that comes with gcc, so configuring glibc
7709   # with a fresh cross-compiler works.
7710   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7711   # <limits.h> exists even on freestanding compilers.
7712   # On the NeXT, cc -E runs the code through the compiler's parser,
7713   # not just through cpp. "Syntax error" is here to catch this case.
7714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7715 /* end confdefs.h.  */
7716 #ifdef __STDC__
7717 # include <limits.h>
7718 #else
7719 # include <assert.h>
7720 #endif
7721                      Syntax error
7722 _ACEOF
7723 if ac_fn_c_try_cpp "$LINENO"; then :
7724
7725 else
7726   # Broken: fails on valid input.
7727 continue
7728 fi
7729 rm -f conftest.err conftest.i conftest.$ac_ext
7730
7731   # OK, works on sane cases.  Now check whether nonexistent headers
7732   # can be detected and how.
7733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7734 /* end confdefs.h.  */
7735 #include <ac_nonexistent.h>
7736 _ACEOF
7737 if ac_fn_c_try_cpp "$LINENO"; then :
7738   # Broken: success on invalid input.
7739 continue
7740 else
7741   # Passes both tests.
7742 ac_preproc_ok=:
7743 break
7744 fi
7745 rm -f conftest.err conftest.i conftest.$ac_ext
7746
7747 done
7748 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7749 rm -f conftest.i conftest.err conftest.$ac_ext
7750 if $ac_preproc_ok; then :
7751
7752 else
7753   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7755 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7756 See \`config.log' for more details" "$LINENO" 5; }
7757 fi
7758
7759 ac_ext=c
7760 ac_cpp='$CPP $CPPFLAGS'
7761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7764
7765
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7767 $as_echo_n "checking for ANSI C header files... " >&6; }
7768 if ${ac_cv_header_stdc+:} false; then :
7769   $as_echo_n "(cached) " >&6
7770 else
7771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7772 /* end confdefs.h.  */
7773 #include <stdlib.h>
7774 #include <stdarg.h>
7775 #include <string.h>
7776 #include <float.h>
7777
7778 int
7779 main ()
7780 {
7781
7782   ;
7783   return 0;
7784 }
7785 _ACEOF
7786 if ac_fn_c_try_compile "$LINENO"; then :
7787   ac_cv_header_stdc=yes
7788 else
7789   ac_cv_header_stdc=no
7790 fi
7791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7792
7793 if test $ac_cv_header_stdc = yes; then
7794   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7796 /* end confdefs.h.  */
7797 #include <string.h>
7798
7799 _ACEOF
7800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7801   $EGREP "memchr" >/dev/null 2>&1; then :
7802
7803 else
7804   ac_cv_header_stdc=no
7805 fi
7806 rm -f conftest*
7807
7808 fi
7809
7810 if test $ac_cv_header_stdc = yes; then
7811   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7813 /* end confdefs.h.  */
7814 #include <stdlib.h>
7815
7816 _ACEOF
7817 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7818   $EGREP "free" >/dev/null 2>&1; then :
7819
7820 else
7821   ac_cv_header_stdc=no
7822 fi
7823 rm -f conftest*
7824
7825 fi
7826
7827 if test $ac_cv_header_stdc = yes; then
7828   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7829   if test "$cross_compiling" = yes; then :
7830   :
7831 else
7832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7833 /* end confdefs.h.  */
7834 #include <ctype.h>
7835 #include <stdlib.h>
7836 #if ((' ' & 0x0FF) == 0x020)
7837 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7838 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7839 #else
7840 # define ISLOWER(c) \
7841                    (('a' <= (c) && (c) <= 'i') \
7842                      || ('j' <= (c) && (c) <= 'r') \
7843                      || ('s' <= (c) && (c) <= 'z'))
7844 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7845 #endif
7846
7847 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7848 int
7849 main ()
7850 {
7851   int i;
7852   for (i = 0; i < 256; i++)
7853     if (XOR (islower (i), ISLOWER (i))
7854         || toupper (i) != TOUPPER (i))
7855       return 2;
7856   return 0;
7857 }
7858 _ACEOF
7859 if ac_fn_c_try_run "$LINENO"; then :
7860
7861 else
7862   ac_cv_header_stdc=no
7863 fi
7864 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7865   conftest.$ac_objext conftest.beam conftest.$ac_ext
7866 fi
7867
7868 fi
7869 fi
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7871 $as_echo "$ac_cv_header_stdc" >&6; }
7872 if test $ac_cv_header_stdc = yes; then
7873
7874 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7875
7876 fi
7877
7878 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7879 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7880                   inttypes.h stdint.h unistd.h
7881 do :
7882   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7883 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7884 "
7885 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7886   cat >>confdefs.h <<_ACEOF
7887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7888 _ACEOF
7889
7890 fi
7891
7892 done
7893
7894
7895 for ac_header in dlfcn.h
7896 do :
7897   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7898 "
7899 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7900   cat >>confdefs.h <<_ACEOF
7901 #define HAVE_DLFCN_H 1
7902 _ACEOF
7903
7904 fi
7905
7906 done
7907
7908
7909
7910
7911 func_stripname_cnf ()
7912 {
7913   case ${2} in
7914   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7915   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7916   esac
7917 } # func_stripname_cnf
7918
7919
7920
7921
7922
7923 # Set options
7924 enable_dlopen=yes
7925 enable_win32_dll=yes
7926
7927 case $host in
7928 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7929   if test -n "$ac_tool_prefix"; then
7930   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7931 set dummy ${ac_tool_prefix}as; ac_word=$2
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7933 $as_echo_n "checking for $ac_word... " >&6; }
7934 if ${ac_cv_prog_AS+:} false; then :
7935   $as_echo_n "(cached) " >&6
7936 else
7937   if test -n "$AS"; then
7938   ac_cv_prog_AS="$AS" # Let the user override the test.
7939 else
7940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7941 for as_dir in $PATH
7942 do
7943   IFS=$as_save_IFS
7944   test -z "$as_dir" && as_dir=.
7945     for ac_exec_ext in '' $ac_executable_extensions; do
7946   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7947     ac_cv_prog_AS="${ac_tool_prefix}as"
7948     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7949     break 2
7950   fi
7951 done
7952   done
7953 IFS=$as_save_IFS
7954
7955 fi
7956 fi
7957 AS=$ac_cv_prog_AS
7958 if test -n "$AS"; then
7959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7960 $as_echo "$AS" >&6; }
7961 else
7962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7963 $as_echo "no" >&6; }
7964 fi
7965
7966
7967 fi
7968 if test -z "$ac_cv_prog_AS"; then
7969   ac_ct_AS=$AS
7970   # Extract the first word of "as", so it can be a program name with args.
7971 set dummy as; ac_word=$2
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7973 $as_echo_n "checking for $ac_word... " >&6; }
7974 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7975   $as_echo_n "(cached) " >&6
7976 else
7977   if test -n "$ac_ct_AS"; then
7978   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7979 else
7980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7981 for as_dir in $PATH
7982 do
7983   IFS=$as_save_IFS
7984   test -z "$as_dir" && as_dir=.
7985     for ac_exec_ext in '' $ac_executable_extensions; do
7986   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7987     ac_cv_prog_ac_ct_AS="as"
7988     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7989     break 2
7990   fi
7991 done
7992   done
7993 IFS=$as_save_IFS
7994
7995 fi
7996 fi
7997 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7998 if test -n "$ac_ct_AS"; then
7999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8000 $as_echo "$ac_ct_AS" >&6; }
8001 else
8002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8003 $as_echo "no" >&6; }
8004 fi
8005
8006   if test "x$ac_ct_AS" = x; then
8007     AS="false"
8008   else
8009     case $cross_compiling:$ac_tool_warned in
8010 yes:)
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8013 ac_tool_warned=yes ;;
8014 esac
8015     AS=$ac_ct_AS
8016   fi
8017 else
8018   AS="$ac_cv_prog_AS"
8019 fi
8020
8021   if test -n "$ac_tool_prefix"; then
8022   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8023 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8025 $as_echo_n "checking for $ac_word... " >&6; }
8026 if ${ac_cv_prog_DLLTOOL+:} false; then :
8027   $as_echo_n "(cached) " >&6
8028 else
8029   if test -n "$DLLTOOL"; then
8030   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8031 else
8032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8033 for as_dir in $PATH
8034 do
8035   IFS=$as_save_IFS
8036   test -z "$as_dir" && as_dir=.
8037     for ac_exec_ext in '' $ac_executable_extensions; do
8038   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8039     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8041     break 2
8042   fi
8043 done
8044   done
8045 IFS=$as_save_IFS
8046
8047 fi
8048 fi
8049 DLLTOOL=$ac_cv_prog_DLLTOOL
8050 if test -n "$DLLTOOL"; then
8051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8052 $as_echo "$DLLTOOL" >&6; }
8053 else
8054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8055 $as_echo "no" >&6; }
8056 fi
8057
8058
8059 fi
8060 if test -z "$ac_cv_prog_DLLTOOL"; then
8061   ac_ct_DLLTOOL=$DLLTOOL
8062   # Extract the first word of "dlltool", so it can be a program name with args.
8063 set dummy dlltool; ac_word=$2
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8065 $as_echo_n "checking for $ac_word... " >&6; }
8066 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8067   $as_echo_n "(cached) " >&6
8068 else
8069   if test -n "$ac_ct_DLLTOOL"; then
8070   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8071 else
8072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8073 for as_dir in $PATH
8074 do
8075   IFS=$as_save_IFS
8076   test -z "$as_dir" && as_dir=.
8077     for ac_exec_ext in '' $ac_executable_extensions; do
8078   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8079     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8080     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8081     break 2
8082   fi
8083 done
8084   done
8085 IFS=$as_save_IFS
8086
8087 fi
8088 fi
8089 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8090 if test -n "$ac_ct_DLLTOOL"; then
8091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8092 $as_echo "$ac_ct_DLLTOOL" >&6; }
8093 else
8094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8095 $as_echo "no" >&6; }
8096 fi
8097
8098   if test "x$ac_ct_DLLTOOL" = x; then
8099     DLLTOOL="false"
8100   else
8101     case $cross_compiling:$ac_tool_warned in
8102 yes:)
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8105 ac_tool_warned=yes ;;
8106 esac
8107     DLLTOOL=$ac_ct_DLLTOOL
8108   fi
8109 else
8110   DLLTOOL="$ac_cv_prog_DLLTOOL"
8111 fi
8112
8113   if test -n "$ac_tool_prefix"; then
8114   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8115 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8117 $as_echo_n "checking for $ac_word... " >&6; }
8118 if ${ac_cv_prog_OBJDUMP+:} false; then :
8119   $as_echo_n "(cached) " >&6
8120 else
8121   if test -n "$OBJDUMP"; then
8122   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8123 else
8124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8125 for as_dir in $PATH
8126 do
8127   IFS=$as_save_IFS
8128   test -z "$as_dir" && as_dir=.
8129     for ac_exec_ext in '' $ac_executable_extensions; do
8130   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8131     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8132     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8133     break 2
8134   fi
8135 done
8136   done
8137 IFS=$as_save_IFS
8138
8139 fi
8140 fi
8141 OBJDUMP=$ac_cv_prog_OBJDUMP
8142 if test -n "$OBJDUMP"; then
8143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8144 $as_echo "$OBJDUMP" >&6; }
8145 else
8146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8147 $as_echo "no" >&6; }
8148 fi
8149
8150
8151 fi
8152 if test -z "$ac_cv_prog_OBJDUMP"; then
8153   ac_ct_OBJDUMP=$OBJDUMP
8154   # Extract the first word of "objdump", so it can be a program name with args.
8155 set dummy objdump; ac_word=$2
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8157 $as_echo_n "checking for $ac_word... " >&6; }
8158 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8159   $as_echo_n "(cached) " >&6
8160 else
8161   if test -n "$ac_ct_OBJDUMP"; then
8162   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8163 else
8164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8165 for as_dir in $PATH
8166 do
8167   IFS=$as_save_IFS
8168   test -z "$as_dir" && as_dir=.
8169     for ac_exec_ext in '' $ac_executable_extensions; do
8170   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8171     ac_cv_prog_ac_ct_OBJDUMP="objdump"
8172     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8173     break 2
8174   fi
8175 done
8176   done
8177 IFS=$as_save_IFS
8178
8179 fi
8180 fi
8181 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8182 if test -n "$ac_ct_OBJDUMP"; then
8183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8184 $as_echo "$ac_ct_OBJDUMP" >&6; }
8185 else
8186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8187 $as_echo "no" >&6; }
8188 fi
8189
8190   if test "x$ac_ct_OBJDUMP" = x; then
8191     OBJDUMP="false"
8192   else
8193     case $cross_compiling:$ac_tool_warned in
8194 yes:)
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8197 ac_tool_warned=yes ;;
8198 esac
8199     OBJDUMP=$ac_ct_OBJDUMP
8200   fi
8201 else
8202   OBJDUMP="$ac_cv_prog_OBJDUMP"
8203 fi
8204
8205   ;;
8206 esac
8207
8208 test -z "$AS" && AS=as
8209
8210
8211
8212
8213
8214 test -z "$DLLTOOL" && DLLTOOL=dlltool
8215
8216
8217
8218
8219
8220 test -z "$OBJDUMP" && OBJDUMP=objdump
8221
8222
8223
8224
8225 # Check whether --enable-static was given.
8226 if test "${enable_static+set}" = set; then :
8227   enableval=$enable_static; p=${PACKAGE-default}
8228     case $enableval in
8229     yes) enable_static=yes ;;
8230     no) enable_static=no ;;
8231     *)
8232      enable_static=no
8233       # Look at the argument we got.  We use all the common list separators.
8234       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8235       for pkg in $enableval; do
8236         IFS="$lt_save_ifs"
8237         if test "X$pkg" = "X$p"; then
8238           enable_static=yes
8239         fi
8240       done
8241       IFS="$lt_save_ifs"
8242       ;;
8243     esac
8244 else
8245   enable_static=no
8246 fi
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259             # Check whether --enable-shared was given.
8260 if test "${enable_shared+set}" = set; then :
8261   enableval=$enable_shared; p=${PACKAGE-default}
8262     case $enableval in
8263     yes) enable_shared=yes ;;
8264     no) enable_shared=no ;;
8265     *)
8266       enable_shared=no
8267       # Look at the argument we got.  We use all the common list separators.
8268       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8269       for pkg in $enableval; do
8270         IFS="$lt_save_ifs"
8271         if test "X$pkg" = "X$p"; then
8272           enable_shared=yes
8273         fi
8274       done
8275       IFS="$lt_save_ifs"
8276       ;;
8277     esac
8278 else
8279   enable_shared=yes
8280 fi
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292 # Check whether --with-pic was given.
8293 if test "${with_pic+set}" = set; then :
8294   withval=$with_pic; pic_mode="$withval"
8295 else
8296   pic_mode=default
8297 fi
8298
8299
8300 test -z "$pic_mode" && pic_mode=default
8301
8302
8303
8304
8305
8306
8307
8308   # Check whether --enable-fast-install was given.
8309 if test "${enable_fast_install+set}" = set; then :
8310   enableval=$enable_fast_install; p=${PACKAGE-default}
8311     case $enableval in
8312     yes) enable_fast_install=yes ;;
8313     no) enable_fast_install=no ;;
8314     *)
8315       enable_fast_install=no
8316       # Look at the argument we got.  We use all the common list separators.
8317       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8318       for pkg in $enableval; do
8319         IFS="$lt_save_ifs"
8320         if test "X$pkg" = "X$p"; then
8321           enable_fast_install=yes
8322         fi
8323       done
8324       IFS="$lt_save_ifs"
8325       ;;
8326     esac
8327 else
8328   enable_fast_install=yes
8329 fi
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341 # This can be used to rebuild libtool when needed
8342 LIBTOOL_DEPS="$ltmain"
8343
8344 # Always use our own libtool.
8345 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372 test -z "$LN_S" && LN_S="ln -s"
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387 if test -n "${ZSH_VERSION+set}" ; then
8388    setopt NO_GLOB_SUBST
8389 fi
8390
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8392 $as_echo_n "checking for objdir... " >&6; }
8393 if ${lt_cv_objdir+:} false; then :
8394   $as_echo_n "(cached) " >&6
8395 else
8396   rm -f .libs 2>/dev/null
8397 mkdir .libs 2>/dev/null
8398 if test -d .libs; then
8399   lt_cv_objdir=.libs
8400 else
8401   # MS-DOS does not allow filenames that begin with a dot.
8402   lt_cv_objdir=_libs
8403 fi
8404 rmdir .libs 2>/dev/null
8405 fi
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8407 $as_echo "$lt_cv_objdir" >&6; }
8408 objdir=$lt_cv_objdir
8409
8410
8411
8412
8413
8414 cat >>confdefs.h <<_ACEOF
8415 #define LT_OBJDIR "$lt_cv_objdir/"
8416 _ACEOF
8417
8418
8419
8420
8421 case $host_os in
8422 aix3*)
8423   # AIX sometimes has problems with the GCC collect2 program.  For some
8424   # reason, if we set the COLLECT_NAMES environment variable, the problems
8425   # vanish in a puff of smoke.
8426   if test "X${COLLECT_NAMES+set}" != Xset; then
8427     COLLECT_NAMES=
8428     export COLLECT_NAMES
8429   fi
8430   ;;
8431 esac
8432
8433 # Global variables:
8434 ofile=libtool
8435 can_build_shared=yes
8436
8437 # All known linkers require a `.a' archive for static linking (except MSVC,
8438 # which needs '.lib').
8439 libext=a
8440
8441 with_gnu_ld="$lt_cv_prog_gnu_ld"
8442
8443 old_CC="$CC"
8444 old_CFLAGS="$CFLAGS"
8445
8446 # Set sane defaults for various variables
8447 test -z "$CC" && CC=cc
8448 test -z "$LTCC" && LTCC=$CC
8449 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8450 test -z "$LD" && LD=ld
8451 test -z "$ac_objext" && ac_objext=o
8452
8453 for cc_temp in $compiler""; do
8454   case $cc_temp in
8455     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8456     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8457     \-*) ;;
8458     *) break;;
8459   esac
8460 done
8461 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8462
8463
8464 # Only perform the check for file, if the check method requires it
8465 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8466 case $deplibs_check_method in
8467 file_magic*)
8468   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8469     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8470 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8471 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8472   $as_echo_n "(cached) " >&6
8473 else
8474   case $MAGIC_CMD in
8475 [\\/*] |  ?:[\\/]*)
8476   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8477   ;;
8478 *)
8479   lt_save_MAGIC_CMD="$MAGIC_CMD"
8480   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8481   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8482   for ac_dir in $ac_dummy; do
8483     IFS="$lt_save_ifs"
8484     test -z "$ac_dir" && ac_dir=.
8485     if test -f $ac_dir/${ac_tool_prefix}file; then
8486       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8487       if test -n "$file_magic_test_file"; then
8488         case $deplibs_check_method in
8489         "file_magic "*)
8490           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8491           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8492           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8493             $EGREP "$file_magic_regex" > /dev/null; then
8494             :
8495           else
8496             cat <<_LT_EOF 1>&2
8497
8498 *** Warning: the command libtool uses to detect shared libraries,
8499 *** $file_magic_cmd, produces output that libtool cannot recognize.
8500 *** The result is that libtool may fail to recognize shared libraries
8501 *** as such.  This will affect the creation of libtool libraries that
8502 *** depend on shared libraries, but programs linked with such libtool
8503 *** libraries will work regardless of this problem.  Nevertheless, you
8504 *** may want to report the problem to your system manager and/or to
8505 *** bug-libtool@gnu.org
8506
8507 _LT_EOF
8508           fi ;;
8509         esac
8510       fi
8511       break
8512     fi
8513   done
8514   IFS="$lt_save_ifs"
8515   MAGIC_CMD="$lt_save_MAGIC_CMD"
8516   ;;
8517 esac
8518 fi
8519
8520 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8521 if test -n "$MAGIC_CMD"; then
8522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8523 $as_echo "$MAGIC_CMD" >&6; }
8524 else
8525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8526 $as_echo "no" >&6; }
8527 fi
8528
8529
8530
8531
8532
8533 if test -z "$lt_cv_path_MAGIC_CMD"; then
8534   if test -n "$ac_tool_prefix"; then
8535     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8536 $as_echo_n "checking for file... " >&6; }
8537 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8538   $as_echo_n "(cached) " >&6
8539 else
8540   case $MAGIC_CMD in
8541 [\\/*] |  ?:[\\/]*)
8542   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8543   ;;
8544 *)
8545   lt_save_MAGIC_CMD="$MAGIC_CMD"
8546   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8547   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8548   for ac_dir in $ac_dummy; do
8549     IFS="$lt_save_ifs"
8550     test -z "$ac_dir" && ac_dir=.
8551     if test -f $ac_dir/file; then
8552       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8553       if test -n "$file_magic_test_file"; then
8554         case $deplibs_check_method in
8555         "file_magic "*)
8556           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8557           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8558           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8559             $EGREP "$file_magic_regex" > /dev/null; then
8560             :
8561           else
8562             cat <<_LT_EOF 1>&2
8563
8564 *** Warning: the command libtool uses to detect shared libraries,
8565 *** $file_magic_cmd, produces output that libtool cannot recognize.
8566 *** The result is that libtool may fail to recognize shared libraries
8567 *** as such.  This will affect the creation of libtool libraries that
8568 *** depend on shared libraries, but programs linked with such libtool
8569 *** libraries will work regardless of this problem.  Nevertheless, you
8570 *** may want to report the problem to your system manager and/or to
8571 *** bug-libtool@gnu.org
8572
8573 _LT_EOF
8574           fi ;;
8575         esac
8576       fi
8577       break
8578     fi
8579   done
8580   IFS="$lt_save_ifs"
8581   MAGIC_CMD="$lt_save_MAGIC_CMD"
8582   ;;
8583 esac
8584 fi
8585
8586 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8587 if test -n "$MAGIC_CMD"; then
8588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8589 $as_echo "$MAGIC_CMD" >&6; }
8590 else
8591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8592 $as_echo "no" >&6; }
8593 fi
8594
8595
8596   else
8597     MAGIC_CMD=:
8598   fi
8599 fi
8600
8601   fi
8602   ;;
8603 esac
8604
8605 # Use C for the default configuration in the libtool script
8606
8607 lt_save_CC="$CC"
8608 ac_ext=c
8609 ac_cpp='$CPP $CPPFLAGS'
8610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8613
8614
8615 # Source file extension for C test sources.
8616 ac_ext=c
8617
8618 # Object file extension for compiled C test sources.
8619 objext=o
8620 objext=$objext
8621
8622 # Code to be used in simple compile tests
8623 lt_simple_compile_test_code="int some_variable = 0;"
8624
8625 # Code to be used in simple link tests
8626 lt_simple_link_test_code='int main(){return(0);}'
8627
8628
8629
8630
8631
8632
8633
8634 # If no C compiler was specified, use CC.
8635 LTCC=${LTCC-"$CC"}
8636
8637 # If no C compiler flags were specified, use CFLAGS.
8638 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8639
8640 # Allow CC to be a program name with arguments.
8641 compiler=$CC
8642
8643 # Save the default compiler, since it gets overwritten when the other
8644 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8645 compiler_DEFAULT=$CC
8646
8647 # save warnings/boilerplate of simple test code
8648 ac_outfile=conftest.$ac_objext
8649 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8650 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8651 _lt_compiler_boilerplate=`cat conftest.err`
8652 $RM conftest*
8653
8654 ac_outfile=conftest.$ac_objext
8655 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8656 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8657 _lt_linker_boilerplate=`cat conftest.err`
8658 $RM -r conftest*
8659
8660
8661 ## CAVEAT EMPTOR:
8662 ## There is no encapsulation within the following macros, do not change
8663 ## the running order or otherwise move them around unless you know exactly
8664 ## what you are doing...
8665 if test -n "$compiler"; then
8666
8667 lt_prog_compiler_no_builtin_flag=
8668
8669 if test "$GCC" = yes; then
8670   case $cc_basename in
8671   nvcc*)
8672     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8673   *)
8674     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8675   esac
8676
8677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8678 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8679 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8680   $as_echo_n "(cached) " >&6
8681 else
8682   lt_cv_prog_compiler_rtti_exceptions=no
8683    ac_outfile=conftest.$ac_objext
8684    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8685    lt_compiler_flag="-fno-rtti -fno-exceptions"
8686    # Insert the option either (1) after the last *FLAGS variable, or
8687    # (2) before a word containing "conftest.", or (3) at the end.
8688    # Note that $ac_compile itself does not contain backslashes and begins
8689    # with a dollar sign (not a hyphen), so the echo should work correctly.
8690    # The option is referenced via a variable to avoid confusing sed.
8691    lt_compile=`echo "$ac_compile" | $SED \
8692    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8693    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8694    -e 's:$: $lt_compiler_flag:'`
8695    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8696    (eval "$lt_compile" 2>conftest.err)
8697    ac_status=$?
8698    cat conftest.err >&5
8699    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700    if (exit $ac_status) && test -s "$ac_outfile"; then
8701      # The compiler can only warn and ignore the option if not recognized
8702      # So say no if there are warnings other than the usual output.
8703      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8704      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8705      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8706        lt_cv_prog_compiler_rtti_exceptions=yes
8707      fi
8708    fi
8709    $RM conftest*
8710
8711 fi
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8713 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8714
8715 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8716     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8717 else
8718     :
8719 fi
8720
8721 fi
8722
8723
8724
8725
8726
8727
8728   lt_prog_compiler_wl=
8729 lt_prog_compiler_pic=
8730 lt_prog_compiler_static=
8731
8732
8733   if test "$GCC" = yes; then
8734     lt_prog_compiler_wl='-Wl,'
8735     lt_prog_compiler_static='-static'
8736
8737     case $host_os in
8738       aix*)
8739       # All AIX code is PIC.
8740       if test "$host_cpu" = ia64; then
8741         # AIX 5 now supports IA64 processor
8742         lt_prog_compiler_static='-Bstatic'
8743       fi
8744       ;;
8745
8746     amigaos*)
8747       case $host_cpu in
8748       powerpc)
8749             # see comment about AmigaOS4 .so support
8750             lt_prog_compiler_pic='-fPIC'
8751         ;;
8752       m68k)
8753             # FIXME: we need at least 68020 code to build shared libraries, but
8754             # adding the `-m68020' flag to GCC prevents building anything better,
8755             # like `-m68040'.
8756             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8757         ;;
8758       esac
8759       ;;
8760
8761     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8762       # PIC is the default for these OSes.
8763       ;;
8764
8765     mingw* | cygwin* | pw32* | os2* | cegcc*)
8766       # This hack is so that the source file can tell whether it is being
8767       # built for inclusion in a dll (and should export symbols for example).
8768       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8769       # (--disable-auto-import) libraries
8770       lt_prog_compiler_pic='-DDLL_EXPORT'
8771       ;;
8772
8773     darwin* | rhapsody*)
8774       # PIC is the default on this platform
8775       # Common symbols not allowed in MH_DYLIB files
8776       lt_prog_compiler_pic='-fno-common'
8777       ;;
8778
8779     haiku*)
8780       # PIC is the default for Haiku.
8781       # The "-static" flag exists, but is broken.
8782       lt_prog_compiler_static=
8783       ;;
8784
8785     hpux*)
8786       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8787       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8788       # sets the default TLS model and affects inlining.
8789       case $host_cpu in
8790       hppa*64*)
8791         # +Z the default
8792         ;;
8793       *)
8794         lt_prog_compiler_pic='-fPIC'
8795         ;;
8796       esac
8797       ;;
8798
8799     interix[3-9]*)
8800       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8801       # Instead, we relocate shared libraries at runtime.
8802       ;;
8803
8804     msdosdjgpp*)
8805       # Just because we use GCC doesn't mean we suddenly get shared libraries
8806       # on systems that don't support them.
8807       lt_prog_compiler_can_build_shared=no
8808       enable_shared=no
8809       ;;
8810
8811     *nto* | *qnx*)
8812       # QNX uses GNU C++, but need to define -shared option too, otherwise
8813       # it will coredump.
8814       lt_prog_compiler_pic='-fPIC -shared'
8815       ;;
8816
8817     sysv4*MP*)
8818       if test -d /usr/nec; then
8819         lt_prog_compiler_pic=-Kconform_pic
8820       fi
8821       ;;
8822
8823     *)
8824       lt_prog_compiler_pic='-fPIC'
8825       ;;
8826     esac
8827
8828     case $cc_basename in
8829     nvcc*) # Cuda Compiler Driver 2.2
8830       lt_prog_compiler_wl='-Xlinker '
8831       lt_prog_compiler_pic='-Xcompiler -fPIC'
8832       ;;
8833     esac
8834   else
8835     # PORTME Check for flag to pass linker flags through the system compiler.
8836     case $host_os in
8837     aix*)
8838       lt_prog_compiler_wl='-Wl,'
8839       if test "$host_cpu" = ia64; then
8840         # AIX 5 now supports IA64 processor
8841         lt_prog_compiler_static='-Bstatic'
8842       else
8843         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8844       fi
8845       ;;
8846
8847     mingw* | cygwin* | pw32* | os2* | cegcc*)
8848       # This hack is so that the source file can tell whether it is being
8849       # built for inclusion in a dll (and should export symbols for example).
8850       lt_prog_compiler_pic='-DDLL_EXPORT'
8851       ;;
8852
8853     hpux9* | hpux10* | hpux11*)
8854       lt_prog_compiler_wl='-Wl,'
8855       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8856       # not for PA HP-UX.
8857       case $host_cpu in
8858       hppa*64*|ia64*)
8859         # +Z the default
8860         ;;
8861       *)
8862         lt_prog_compiler_pic='+Z'
8863         ;;
8864       esac
8865       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8866       lt_prog_compiler_static='${wl}-a ${wl}archive'
8867       ;;
8868
8869     irix5* | irix6* | nonstopux*)
8870       lt_prog_compiler_wl='-Wl,'
8871       # PIC (with -KPIC) is the default.
8872       lt_prog_compiler_static='-non_shared'
8873       ;;
8874
8875     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8876       case $cc_basename in
8877       # old Intel for x86_64 which still supported -KPIC.
8878       ecc*)
8879         lt_prog_compiler_wl='-Wl,'
8880         lt_prog_compiler_pic='-KPIC'
8881         lt_prog_compiler_static='-static'
8882         ;;
8883       # icc used to be incompatible with GCC.
8884       # ICC 10 doesn't accept -KPIC any more.
8885       icc* | ifort*)
8886         lt_prog_compiler_wl='-Wl,'
8887         lt_prog_compiler_pic='-fPIC'
8888         lt_prog_compiler_static='-static'
8889         ;;
8890       # Lahey Fortran 8.1.
8891       lf95*)
8892         lt_prog_compiler_wl='-Wl,'
8893         lt_prog_compiler_pic='--shared'
8894         lt_prog_compiler_static='--static'
8895         ;;
8896       nagfor*)
8897         # NAG Fortran compiler
8898         lt_prog_compiler_wl='-Wl,-Wl,,'
8899         lt_prog_compiler_pic='-PIC'
8900         lt_prog_compiler_static='-Bstatic'
8901         ;;
8902       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8903         # Portland Group compilers (*not* the Pentium gcc compiler,
8904         # which looks to be a dead project)
8905         lt_prog_compiler_wl='-Wl,'
8906         lt_prog_compiler_pic='-fpic'
8907         lt_prog_compiler_static='-Bstatic'
8908         ;;
8909       ccc*)
8910         lt_prog_compiler_wl='-Wl,'
8911         # All Alpha code is PIC.
8912         lt_prog_compiler_static='-non_shared'
8913         ;;
8914       xl* | bgxl* | bgf* | mpixl*)
8915         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8916         lt_prog_compiler_wl='-Wl,'
8917         lt_prog_compiler_pic='-qpic'
8918         lt_prog_compiler_static='-qstaticlink'
8919         ;;
8920       *)
8921         case `$CC -V 2>&1 | sed 5q` in
8922         *Sun\ F* | *Sun*Fortran*)
8923           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8924           lt_prog_compiler_pic='-KPIC'
8925           lt_prog_compiler_static='-Bstatic'
8926           lt_prog_compiler_wl=''
8927           ;;
8928         *Sun\ C*)
8929           # Sun C 5.9
8930           lt_prog_compiler_pic='-KPIC'
8931           lt_prog_compiler_static='-Bstatic'
8932           lt_prog_compiler_wl='-Wl,'
8933           ;;
8934         esac
8935         ;;
8936       esac
8937       ;;
8938
8939     newsos6)
8940       lt_prog_compiler_pic='-KPIC'
8941       lt_prog_compiler_static='-Bstatic'
8942       ;;
8943
8944     *nto* | *qnx*)
8945       # QNX uses GNU C++, but need to define -shared option too, otherwise
8946       # it will coredump.
8947       lt_prog_compiler_pic='-fPIC -shared'
8948       ;;
8949
8950     osf3* | osf4* | osf5*)
8951       lt_prog_compiler_wl='-Wl,'
8952       # All OSF/1 code is PIC.
8953       lt_prog_compiler_static='-non_shared'
8954       ;;
8955
8956     rdos*)
8957       lt_prog_compiler_static='-non_shared'
8958       ;;
8959
8960     solaris*)
8961       lt_prog_compiler_pic='-KPIC'
8962       lt_prog_compiler_static='-Bstatic'
8963       case $cc_basename in
8964       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8965         lt_prog_compiler_wl='-Qoption ld ';;
8966       *)
8967         lt_prog_compiler_wl='-Wl,';;
8968       esac
8969       ;;
8970
8971     sunos4*)
8972       lt_prog_compiler_wl='-Qoption ld '
8973       lt_prog_compiler_pic='-PIC'
8974       lt_prog_compiler_static='-Bstatic'
8975       ;;
8976
8977     sysv4 | sysv4.2uw2* | sysv4.3*)
8978       lt_prog_compiler_wl='-Wl,'
8979       lt_prog_compiler_pic='-KPIC'
8980       lt_prog_compiler_static='-Bstatic'
8981       ;;
8982
8983     sysv4*MP*)
8984       if test -d /usr/nec ;then
8985         lt_prog_compiler_pic='-Kconform_pic'
8986         lt_prog_compiler_static='-Bstatic'
8987       fi
8988       ;;
8989
8990     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8991       lt_prog_compiler_wl='-Wl,'
8992       lt_prog_compiler_pic='-KPIC'
8993       lt_prog_compiler_static='-Bstatic'
8994       ;;
8995
8996     unicos*)
8997       lt_prog_compiler_wl='-Wl,'
8998       lt_prog_compiler_can_build_shared=no
8999       ;;
9000
9001     uts4*)
9002       lt_prog_compiler_pic='-pic'
9003       lt_prog_compiler_static='-Bstatic'
9004       ;;
9005
9006     *)
9007       lt_prog_compiler_can_build_shared=no
9008       ;;
9009     esac
9010   fi
9011
9012 case $host_os in
9013   # For platforms which do not support PIC, -DPIC is meaningless:
9014   *djgpp*)
9015     lt_prog_compiler_pic=
9016     ;;
9017   *)
9018     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9019     ;;
9020 esac
9021
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9023 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9024 if ${lt_cv_prog_compiler_pic+:} false; then :
9025   $as_echo_n "(cached) " >&6
9026 else
9027   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9028 fi
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9030 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9031 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9032
9033 #
9034 # Check to make sure the PIC flag actually works.
9035 #
9036 if test -n "$lt_prog_compiler_pic"; then
9037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9038 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9039 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9040   $as_echo_n "(cached) " >&6
9041 else
9042   lt_cv_prog_compiler_pic_works=no
9043    ac_outfile=conftest.$ac_objext
9044    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9045    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9046    # Insert the option either (1) after the last *FLAGS variable, or
9047    # (2) before a word containing "conftest.", or (3) at the end.
9048    # Note that $ac_compile itself does not contain backslashes and begins
9049    # with a dollar sign (not a hyphen), so the echo should work correctly.
9050    # The option is referenced via a variable to avoid confusing sed.
9051    lt_compile=`echo "$ac_compile" | $SED \
9052    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9053    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9054    -e 's:$: $lt_compiler_flag:'`
9055    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9056    (eval "$lt_compile" 2>conftest.err)
9057    ac_status=$?
9058    cat conftest.err >&5
9059    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9060    if (exit $ac_status) && test -s "$ac_outfile"; then
9061      # The compiler can only warn and ignore the option if not recognized
9062      # So say no if there are warnings other than the usual output.
9063      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9064      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9065      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9066        lt_cv_prog_compiler_pic_works=yes
9067      fi
9068    fi
9069    $RM conftest*
9070
9071 fi
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9073 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9074
9075 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9076     case $lt_prog_compiler_pic in
9077      "" | " "*) ;;
9078      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9079      esac
9080 else
9081     lt_prog_compiler_pic=
9082      lt_prog_compiler_can_build_shared=no
9083 fi
9084
9085 fi
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097 #
9098 # Check to make sure the static flag actually works.
9099 #
9100 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9102 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9103 if ${lt_cv_prog_compiler_static_works+:} false; then :
9104   $as_echo_n "(cached) " >&6
9105 else
9106   lt_cv_prog_compiler_static_works=no
9107    save_LDFLAGS="$LDFLAGS"
9108    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9109    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9110    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9111      # The linker can only warn and ignore the option if not recognized
9112      # So say no if there are warnings
9113      if test -s conftest.err; then
9114        # Append any errors to the config.log.
9115        cat conftest.err 1>&5
9116        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9117        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9118        if diff conftest.exp conftest.er2 >/dev/null; then
9119          lt_cv_prog_compiler_static_works=yes
9120        fi
9121      else
9122        lt_cv_prog_compiler_static_works=yes
9123      fi
9124    fi
9125    $RM -r conftest*
9126    LDFLAGS="$save_LDFLAGS"
9127
9128 fi
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9130 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9131
9132 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9133     :
9134 else
9135     lt_prog_compiler_static=
9136 fi
9137
9138
9139
9140
9141
9142
9143
9144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9145 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9146 if ${lt_cv_prog_compiler_c_o+:} false; then :
9147   $as_echo_n "(cached) " >&6
9148 else
9149   lt_cv_prog_compiler_c_o=no
9150    $RM -r conftest 2>/dev/null
9151    mkdir conftest
9152    cd conftest
9153    mkdir out
9154    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9155
9156    lt_compiler_flag="-o out/conftest2.$ac_objext"
9157    # Insert the option either (1) after the last *FLAGS variable, or
9158    # (2) before a word containing "conftest.", or (3) at the end.
9159    # Note that $ac_compile itself does not contain backslashes and begins
9160    # with a dollar sign (not a hyphen), so the echo should work correctly.
9161    lt_compile=`echo "$ac_compile" | $SED \
9162    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9163    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9164    -e 's:$: $lt_compiler_flag:'`
9165    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9166    (eval "$lt_compile" 2>out/conftest.err)
9167    ac_status=$?
9168    cat out/conftest.err >&5
9169    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9170    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9171    then
9172      # The compiler can only warn and ignore the option if not recognized
9173      # So say no if there are warnings
9174      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9175      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9176      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9177        lt_cv_prog_compiler_c_o=yes
9178      fi
9179    fi
9180    chmod u+w . 2>&5
9181    $RM conftest*
9182    # SGI C++ compiler will create directory out/ii_files/ for
9183    # template instantiation
9184    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9185    $RM out/* && rmdir out
9186    cd ..
9187    $RM -r conftest
9188    $RM conftest*
9189
9190 fi
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9192 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9193
9194
9195
9196
9197
9198
9199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9200 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9201 if ${lt_cv_prog_compiler_c_o+:} false; then :
9202   $as_echo_n "(cached) " >&6
9203 else
9204   lt_cv_prog_compiler_c_o=no
9205    $RM -r conftest 2>/dev/null
9206    mkdir conftest
9207    cd conftest
9208    mkdir out
9209    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9210
9211    lt_compiler_flag="-o out/conftest2.$ac_objext"
9212    # Insert the option either (1) after the last *FLAGS variable, or
9213    # (2) before a word containing "conftest.", or (3) at the end.
9214    # Note that $ac_compile itself does not contain backslashes and begins
9215    # with a dollar sign (not a hyphen), so the echo should work correctly.
9216    lt_compile=`echo "$ac_compile" | $SED \
9217    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9218    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9219    -e 's:$: $lt_compiler_flag:'`
9220    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9221    (eval "$lt_compile" 2>out/conftest.err)
9222    ac_status=$?
9223    cat out/conftest.err >&5
9224    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9226    then
9227      # The compiler can only warn and ignore the option if not recognized
9228      # So say no if there are warnings
9229      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9230      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9231      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9232        lt_cv_prog_compiler_c_o=yes
9233      fi
9234    fi
9235    chmod u+w . 2>&5
9236    $RM conftest*
9237    # SGI C++ compiler will create directory out/ii_files/ for
9238    # template instantiation
9239    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9240    $RM out/* && rmdir out
9241    cd ..
9242    $RM -r conftest
9243    $RM conftest*
9244
9245 fi
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9247 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9248
9249
9250
9251
9252 hard_links="nottested"
9253 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9254   # do not overwrite the value of need_locks provided by the user
9255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9256 $as_echo_n "checking if we can lock with hard links... " >&6; }
9257   hard_links=yes
9258   $RM conftest*
9259   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9260   touch conftest.a
9261   ln conftest.a conftest.b 2>&5 || hard_links=no
9262   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9264 $as_echo "$hard_links" >&6; }
9265   if test "$hard_links" = no; then
9266     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9267 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9268     need_locks=warn
9269   fi
9270 else
9271   need_locks=no
9272 fi
9273
9274
9275
9276
9277
9278
9279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9280 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9281
9282   runpath_var=
9283   allow_undefined_flag=
9284   always_export_symbols=no
9285   archive_cmds=
9286   archive_expsym_cmds=
9287   compiler_needs_object=no
9288   enable_shared_with_static_runtimes=no
9289   export_dynamic_flag_spec=
9290   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9291   hardcode_automatic=no
9292   hardcode_direct=no
9293   hardcode_direct_absolute=no
9294   hardcode_libdir_flag_spec=
9295   hardcode_libdir_flag_spec_ld=
9296   hardcode_libdir_separator=
9297   hardcode_minus_L=no
9298   hardcode_shlibpath_var=unsupported
9299   inherit_rpath=no
9300   link_all_deplibs=unknown
9301   module_cmds=
9302   module_expsym_cmds=
9303   old_archive_from_new_cmds=
9304   old_archive_from_expsyms_cmds=
9305   thread_safe_flag_spec=
9306   whole_archive_flag_spec=
9307   # include_expsyms should be a list of space-separated symbols to be *always*
9308   # included in the symbol list
9309   include_expsyms=
9310   # exclude_expsyms can be an extended regexp of symbols to exclude
9311   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9312   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9313   # as well as any symbol that contains `d'.
9314   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9315   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9316   # platforms (ab)use it in PIC code, but their linkers get confused if
9317   # the symbol is explicitly referenced.  Since portable code cannot
9318   # rely on this symbol name, it's probably fine to never include it in
9319   # preloaded symbol tables.
9320   # Exclude shared library initialization/finalization symbols.
9321   extract_expsyms_cmds=
9322
9323   case $host_os in
9324   cygwin* | mingw* | pw32* | cegcc*)
9325     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9326     # When not using gcc, we currently assume that we are using
9327     # Microsoft Visual C++.
9328     if test "$GCC" != yes; then
9329       with_gnu_ld=no
9330     fi
9331     ;;
9332   interix*)
9333     # we just hope/assume this is gcc and not c89 (= MSVC++)
9334     with_gnu_ld=yes
9335     ;;
9336   openbsd*)
9337     with_gnu_ld=no
9338     ;;
9339   esac
9340
9341   ld_shlibs=yes
9342
9343   # On some targets, GNU ld is compatible enough with the native linker
9344   # that we're better off using the native interface for both.
9345   lt_use_gnu_ld_interface=no
9346   if test "$with_gnu_ld" = yes; then
9347     case $host_os in
9348       aix*)
9349         # The AIX port of GNU ld has always aspired to compatibility
9350         # with the native linker.  However, as the warning in the GNU ld
9351         # block says, versions before 2.19.5* couldn't really create working
9352         # shared libraries, regardless of the interface used.
9353         case `$LD -v 2>&1` in
9354           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9355           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9356           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9357           *)
9358             lt_use_gnu_ld_interface=yes
9359             ;;
9360         esac
9361         ;;
9362       *)
9363         lt_use_gnu_ld_interface=yes
9364         ;;
9365     esac
9366   fi
9367
9368   if test "$lt_use_gnu_ld_interface" = yes; then
9369     # If archive_cmds runs LD, not CC, wlarc should be empty
9370     wlarc='${wl}'
9371
9372     # Set some defaults for GNU ld with shared library support. These
9373     # are reset later if shared libraries are not supported. Putting them
9374     # here allows them to be overridden if necessary.
9375     runpath_var=LD_RUN_PATH
9376     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9377     export_dynamic_flag_spec='${wl}--export-dynamic'
9378     # ancient GNU ld didn't support --whole-archive et. al.
9379     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9380       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9381     else
9382       whole_archive_flag_spec=
9383     fi
9384     supports_anon_versioning=no
9385     case `$LD -v 2>&1` in
9386       *GNU\ gold*) supports_anon_versioning=yes ;;
9387       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9388       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9389       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9390       *\ 2.11.*) ;; # other 2.11 versions
9391       *) supports_anon_versioning=yes ;;
9392     esac
9393
9394     # See if GNU ld supports shared libraries.
9395     case $host_os in
9396     aix[3-9]*)
9397       # On AIX/PPC, the GNU linker is very broken
9398       if test "$host_cpu" != ia64; then
9399         ld_shlibs=no
9400         cat <<_LT_EOF 1>&2
9401
9402 *** Warning: the GNU linker, at least up to release 2.19, is reported
9403 *** to be unable to reliably create shared libraries on AIX.
9404 *** Therefore, libtool is disabling shared libraries support.  If you
9405 *** really care for shared libraries, you may want to install binutils
9406 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9407 *** You will then need to restart the configuration process.
9408
9409 _LT_EOF
9410       fi
9411       ;;
9412
9413     amigaos*)
9414       case $host_cpu in
9415       powerpc)
9416             # see comment about AmigaOS4 .so support
9417             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9418             archive_expsym_cmds=''
9419         ;;
9420       m68k)
9421             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)'
9422             hardcode_libdir_flag_spec='-L$libdir'
9423             hardcode_minus_L=yes
9424         ;;
9425       esac
9426       ;;
9427
9428     beos*)
9429       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9430         allow_undefined_flag=unsupported
9431         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9432         # support --undefined.  This deserves some investigation.  FIXME
9433         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9434       else
9435         ld_shlibs=no
9436       fi
9437       ;;
9438
9439     cygwin* | mingw* | pw32* | cegcc*)
9440       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9441       # as there is no search path for DLLs.
9442       hardcode_libdir_flag_spec='-L$libdir'
9443       export_dynamic_flag_spec='${wl}--export-all-symbols'
9444       allow_undefined_flag=unsupported
9445       always_export_symbols=no
9446       enable_shared_with_static_runtimes=yes
9447       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'
9448       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9449
9450       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9451         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9452         # If the export-symbols file already is a .def file (1st line
9453         # is EXPORTS), use it as is; otherwise, prepend...
9454         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9455           cp $export_symbols $output_objdir/$soname.def;
9456         else
9457           echo EXPORTS > $output_objdir/$soname.def;
9458           cat $export_symbols >> $output_objdir/$soname.def;
9459         fi~
9460         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9461       else
9462         ld_shlibs=no
9463       fi
9464       ;;
9465
9466     haiku*)
9467       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9468       link_all_deplibs=yes
9469       ;;
9470
9471     interix[3-9]*)
9472       hardcode_direct=no
9473       hardcode_shlibpath_var=no
9474       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9475       export_dynamic_flag_spec='${wl}-E'
9476       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9477       # Instead, shared libraries are loaded at an image base (0x10000000 by
9478       # default) and relocated if they conflict, which is a slow very memory
9479       # consuming and fragmenting process.  To avoid this, we pick a random,
9480       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9481       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9482       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9483       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'
9484       ;;
9485
9486     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9487       tmp_diet=no
9488       if test "$host_os" = linux-dietlibc; then
9489         case $cc_basename in
9490           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9491         esac
9492       fi
9493       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9494          && test "$tmp_diet" = no
9495       then
9496         tmp_addflag=' $pic_flag'
9497         tmp_sharedflag='-shared'
9498         case $cc_basename,$host_cpu in
9499         pgcc*)                          # Portland Group C compiler
9500           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'
9501           tmp_addflag=' $pic_flag'
9502           ;;
9503         pgf77* | pgf90* | pgf95* | pgfortran*)
9504                                         # Portland Group f77 and f90 compilers
9505           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'
9506           tmp_addflag=' $pic_flag -Mnomain' ;;
9507         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9508           tmp_addflag=' -i_dynamic' ;;
9509         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9510           tmp_addflag=' -i_dynamic -nofor_main' ;;
9511         ifc* | ifort*)                  # Intel Fortran compiler
9512           tmp_addflag=' -nofor_main' ;;
9513         lf95*)                          # Lahey Fortran 8.1
9514           whole_archive_flag_spec=
9515           tmp_sharedflag='--shared' ;;
9516         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9517           tmp_sharedflag='-qmkshrobj'
9518           tmp_addflag= ;;
9519         nvcc*)  # Cuda Compiler Driver 2.2
9520           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'
9521           compiler_needs_object=yes
9522           ;;
9523         esac
9524         case `$CC -V 2>&1 | sed 5q` in
9525         *Sun\ C*)                       # Sun C 5.9
9526           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'
9527           compiler_needs_object=yes
9528           tmp_sharedflag='-G' ;;
9529         *Sun\ F*)                       # Sun Fortran 8.3
9530           tmp_sharedflag='-G' ;;
9531         esac
9532         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9533
9534         if test "x$supports_anon_versioning" = xyes; then
9535           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9536             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9537             echo "local: *; };" >> $output_objdir/$libname.ver~
9538             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9539         fi
9540
9541         case $cc_basename in
9542         xlf* | bgf* | bgxlf* | mpixlf*)
9543           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9544           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9545           hardcode_libdir_flag_spec=
9546           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9547           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9548           if test "x$supports_anon_versioning" = xyes; then
9549             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9550               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9551               echo "local: *; };" >> $output_objdir/$libname.ver~
9552               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9553           fi
9554           ;;
9555         esac
9556       else
9557         ld_shlibs=no
9558       fi
9559       ;;
9560
9561     netbsd*)
9562       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9563         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9564         wlarc=
9565       else
9566         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9567         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9568       fi
9569       ;;
9570
9571     solaris*)
9572       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9573         ld_shlibs=no
9574         cat <<_LT_EOF 1>&2
9575
9576 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9577 *** create shared libraries on Solaris systems.  Therefore, libtool
9578 *** is disabling shared libraries support.  We urge you to upgrade GNU
9579 *** binutils to release 2.9.1 or newer.  Another option is to modify
9580 *** your PATH or compiler configuration so that the native linker is
9581 *** used, and then restart.
9582
9583 _LT_EOF
9584       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9585         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9586         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9587       else
9588         ld_shlibs=no
9589       fi
9590       ;;
9591
9592     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9593       case `$LD -v 2>&1` in
9594         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9595         ld_shlibs=no
9596         cat <<_LT_EOF 1>&2
9597
9598 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9599 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9600 *** is disabling shared libraries support.  We urge you to upgrade GNU
9601 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9602 *** your PATH or compiler configuration so that the native linker is
9603 *** used, and then restart.
9604
9605 _LT_EOF
9606         ;;
9607         *)
9608           # For security reasons, it is highly recommended that you always
9609           # use absolute paths for naming shared libraries, and exclude the
9610           # DT_RUNPATH tag from executables and libraries.  But doing so
9611           # requires that you compile everything twice, which is a pain.
9612           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9613             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9614             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9615             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9616           else
9617             ld_shlibs=no
9618           fi
9619         ;;
9620       esac
9621       ;;
9622
9623     sunos4*)
9624       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9625       wlarc=
9626       hardcode_direct=yes
9627       hardcode_shlibpath_var=no
9628       ;;
9629
9630     *)
9631       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9632         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9633         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9634       else
9635         ld_shlibs=no
9636       fi
9637       ;;
9638     esac
9639
9640     if test "$ld_shlibs" = no; then
9641       runpath_var=
9642       hardcode_libdir_flag_spec=
9643       export_dynamic_flag_spec=
9644       whole_archive_flag_spec=
9645     fi
9646   else
9647     # PORTME fill in a description of your system's linker (not GNU ld)
9648     case $host_os in
9649     aix3*)
9650       allow_undefined_flag=unsupported
9651       always_export_symbols=yes
9652       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'
9653       # Note: this linker hardcodes the directories in LIBPATH if there
9654       # are no directories specified by -L.
9655       hardcode_minus_L=yes
9656       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9657         # Neither direct hardcoding nor static linking is supported with a
9658         # broken collect2.
9659         hardcode_direct=unsupported
9660       fi
9661       ;;
9662
9663     aix[4-9]*)
9664       if test "$host_cpu" = ia64; then
9665         # On IA64, the linker does run time linking by default, so we don't
9666         # have to do anything special.
9667         aix_use_runtimelinking=no
9668         exp_sym_flag='-Bexport'
9669         no_entry_flag=""
9670       else
9671         # If we're using GNU nm, then we don't want the "-C" option.
9672         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9673         # Also, AIX nm treats weak defined symbols like other global
9674         # defined symbols, whereas GNU nm marks them as "W".
9675         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9676           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'
9677         else
9678           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'
9679         fi
9680         aix_use_runtimelinking=no
9681
9682         # Test if we are trying to use run time linking or normal
9683         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9684         # need to do runtime linking.
9685         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9686           for ld_flag in $LDFLAGS; do
9687           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9688             aix_use_runtimelinking=yes
9689             break
9690           fi
9691           done
9692           ;;
9693         esac
9694
9695         exp_sym_flag='-bexport'
9696         no_entry_flag='-bnoentry'
9697       fi
9698
9699       # When large executables or shared objects are built, AIX ld can
9700       # have problems creating the table of contents.  If linking a library
9701       # or program results in "error TOC overflow" add -mminimal-toc to
9702       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9703       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9704
9705       archive_cmds=''
9706       hardcode_direct=yes
9707       hardcode_direct_absolute=yes
9708       hardcode_libdir_separator=':'
9709       link_all_deplibs=yes
9710       file_list_spec='${wl}-f,'
9711
9712       if test "$GCC" = yes; then
9713         case $host_os in aix4.[012]|aix4.[012].*)
9714         # We only want to do this on AIX 4.2 and lower, the check
9715         # below for broken collect2 doesn't work under 4.3+
9716           collect2name=`${CC} -print-prog-name=collect2`
9717           if test -f "$collect2name" &&
9718            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9719           then
9720           # We have reworked collect2
9721           :
9722           else
9723           # We have old collect2
9724           hardcode_direct=unsupported
9725           # It fails to find uninstalled libraries when the uninstalled
9726           # path is not listed in the libpath.  Setting hardcode_minus_L
9727           # to unsupported forces relinking
9728           hardcode_minus_L=yes
9729           hardcode_libdir_flag_spec='-L$libdir'
9730           hardcode_libdir_separator=
9731           fi
9732           ;;
9733         esac
9734         shared_flag='-shared'
9735         if test "$aix_use_runtimelinking" = yes; then
9736           shared_flag="$shared_flag "'${wl}-G'
9737         fi
9738       else
9739         # not using gcc
9740         if test "$host_cpu" = ia64; then
9741         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9742         # chokes on -Wl,-G. The following line is correct:
9743           shared_flag='-G'
9744         else
9745           if test "$aix_use_runtimelinking" = yes; then
9746             shared_flag='${wl}-G'
9747           else
9748             shared_flag='${wl}-bM:SRE'
9749           fi
9750         fi
9751       fi
9752
9753       export_dynamic_flag_spec='${wl}-bexpall'
9754       # It seems that -bexpall does not export symbols beginning with
9755       # underscore (_), so it is better to generate a list of symbols to export.
9756       always_export_symbols=yes
9757       if test "$aix_use_runtimelinking" = yes; then
9758         # Warning - without using the other runtime loading flags (-brtl),
9759         # -berok will link without error, but may produce a broken library.
9760         allow_undefined_flag='-berok'
9761         # Determine the default libpath from the value encoded in an
9762         # empty executable.
9763         if test "${lt_cv_aix_libpath+set}" = set; then
9764   aix_libpath=$lt_cv_aix_libpath
9765 else
9766   if ${lt_cv_aix_libpath_+:} false; then :
9767   $as_echo_n "(cached) " >&6
9768 else
9769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9770 /* end confdefs.h.  */
9771
9772 int
9773 main ()
9774 {
9775
9776   ;
9777   return 0;
9778 }
9779 _ACEOF
9780 if ac_fn_c_try_link "$LINENO"; then :
9781
9782   lt_aix_libpath_sed='
9783       /Import File Strings/,/^$/ {
9784           /^0/ {
9785               s/^0  *\([^ ]*\) *$/\1/
9786               p
9787           }
9788       }'
9789   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9790   # Check for a 64-bit object if we didn't find anything.
9791   if test -z "$lt_cv_aix_libpath_"; then
9792     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9793   fi
9794 fi
9795 rm -f core conftest.err conftest.$ac_objext \
9796     conftest$ac_exeext conftest.$ac_ext
9797   if test -z "$lt_cv_aix_libpath_"; then
9798     lt_cv_aix_libpath_="/usr/lib:/lib"
9799   fi
9800
9801 fi
9802
9803   aix_libpath=$lt_cv_aix_libpath_
9804 fi
9805
9806         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9807         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"
9808       else
9809         if test "$host_cpu" = ia64; then
9810           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9811           allow_undefined_flag="-z nodefs"
9812           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"
9813         else
9814          # Determine the default libpath from the value encoded in an
9815          # empty executable.
9816          if test "${lt_cv_aix_libpath+set}" = set; then
9817   aix_libpath=$lt_cv_aix_libpath
9818 else
9819   if ${lt_cv_aix_libpath_+:} false; then :
9820   $as_echo_n "(cached) " >&6
9821 else
9822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9823 /* end confdefs.h.  */
9824
9825 int
9826 main ()
9827 {
9828
9829   ;
9830   return 0;
9831 }
9832 _ACEOF
9833 if ac_fn_c_try_link "$LINENO"; then :
9834
9835   lt_aix_libpath_sed='
9836       /Import File Strings/,/^$/ {
9837           /^0/ {
9838               s/^0  *\([^ ]*\) *$/\1/
9839               p
9840           }
9841       }'
9842   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9843   # Check for a 64-bit object if we didn't find anything.
9844   if test -z "$lt_cv_aix_libpath_"; then
9845     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9846   fi
9847 fi
9848 rm -f core conftest.err conftest.$ac_objext \
9849     conftest$ac_exeext conftest.$ac_ext
9850   if test -z "$lt_cv_aix_libpath_"; then
9851     lt_cv_aix_libpath_="/usr/lib:/lib"
9852   fi
9853
9854 fi
9855
9856   aix_libpath=$lt_cv_aix_libpath_
9857 fi
9858
9859          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9860           # Warning - without using the other run time loading flags,
9861           # -berok will link without error, but may produce a broken library.
9862           no_undefined_flag=' ${wl}-bernotok'
9863           allow_undefined_flag=' ${wl}-berok'
9864           if test "$with_gnu_ld" = yes; then
9865             # We only use this code for GNU lds that support --whole-archive.
9866             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9867           else
9868             # Exported symbols can be pulled into shared objects from archives
9869             whole_archive_flag_spec='$convenience'
9870           fi
9871           archive_cmds_need_lc=yes
9872           # This is similar to how AIX traditionally builds its shared libraries.
9873           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'
9874         fi
9875       fi
9876       ;;
9877
9878     amigaos*)
9879       case $host_cpu in
9880       powerpc)
9881             # see comment about AmigaOS4 .so support
9882             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9883             archive_expsym_cmds=''
9884         ;;
9885       m68k)
9886             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)'
9887             hardcode_libdir_flag_spec='-L$libdir'
9888             hardcode_minus_L=yes
9889         ;;
9890       esac
9891       ;;
9892
9893     bsdi[45]*)
9894       export_dynamic_flag_spec=-rdynamic
9895       ;;
9896
9897     cygwin* | mingw* | pw32* | cegcc*)
9898       # When not using gcc, we currently assume that we are using
9899       # Microsoft Visual C++.
9900       # hardcode_libdir_flag_spec is actually meaningless, as there is
9901       # no search path for DLLs.
9902       case $cc_basename in
9903       cl*)
9904         # Native MSVC
9905         hardcode_libdir_flag_spec=' '
9906         allow_undefined_flag=unsupported
9907         always_export_symbols=yes
9908         file_list_spec='@'
9909         # Tell ltmain to make .lib files, not .a files.
9910         libext=lib
9911         # Tell ltmain to make .dll files, not .so files.
9912         shrext_cmds=".dll"
9913         # FIXME: Setting linknames here is a bad hack.
9914         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9915         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9916             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9917           else
9918             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9919           fi~
9920           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9921           linknames='
9922         # The linker will not automatically build a static lib if we build a DLL.
9923         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9924         enable_shared_with_static_runtimes=yes
9925         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9926         # Don't use ranlib
9927         old_postinstall_cmds='chmod 644 $oldlib'
9928         postlink_cmds='lt_outputfile="@OUTPUT@"~
9929           lt_tool_outputfile="@TOOL_OUTPUT@"~
9930           case $lt_outputfile in
9931             *.exe|*.EXE) ;;
9932             *)
9933               lt_outputfile="$lt_outputfile.exe"
9934               lt_tool_outputfile="$lt_tool_outputfile.exe"
9935               ;;
9936           esac~
9937           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9938             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9939             $RM "$lt_outputfile.manifest";
9940           fi'
9941         ;;
9942       *)
9943         # Assume MSVC wrapper
9944         hardcode_libdir_flag_spec=' '
9945         allow_undefined_flag=unsupported
9946         # Tell ltmain to make .lib files, not .a files.
9947         libext=lib
9948         # Tell ltmain to make .dll files, not .so files.
9949         shrext_cmds=".dll"
9950         # FIXME: Setting linknames here is a bad hack.
9951         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9952         # The linker will automatically build a .lib file if we build a DLL.
9953         old_archive_from_new_cmds='true'
9954         # FIXME: Should let the user specify the lib program.
9955         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9956         enable_shared_with_static_runtimes=yes
9957         ;;
9958       esac
9959       ;;
9960
9961     darwin* | rhapsody*)
9962
9963
9964   archive_cmds_need_lc=no
9965   hardcode_direct=no
9966   hardcode_automatic=yes
9967   hardcode_shlibpath_var=unsupported
9968   if test "$lt_cv_ld_force_load" = "yes"; then
9969     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\"`'
9970   else
9971     whole_archive_flag_spec=''
9972   fi
9973   link_all_deplibs=yes
9974   allow_undefined_flag="$_lt_dar_allow_undefined"
9975   case $cc_basename in
9976      ifort*) _lt_dar_can_shared=yes ;;
9977      *) _lt_dar_can_shared=$GCC ;;
9978   esac
9979   if test "$_lt_dar_can_shared" = "yes"; then
9980     output_verbose_link_cmd=func_echo_all
9981     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9982     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9983     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}"
9984     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}"
9985
9986   else
9987   ld_shlibs=no
9988   fi
9989
9990       ;;
9991
9992     dgux*)
9993       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9994       hardcode_libdir_flag_spec='-L$libdir'
9995       hardcode_shlibpath_var=no
9996       ;;
9997
9998     freebsd1*)
9999       ld_shlibs=no
10000       ;;
10001
10002     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10003     # support.  Future versions do this automatically, but an explicit c++rt0.o
10004     # does not break anything, and helps significantly (at the cost of a little
10005     # extra space).
10006     freebsd2.2*)
10007       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10008       hardcode_libdir_flag_spec='-R$libdir'
10009       hardcode_direct=yes
10010       hardcode_shlibpath_var=no
10011       ;;
10012
10013     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10014     freebsd2*)
10015       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10016       hardcode_direct=yes
10017       hardcode_minus_L=yes
10018       hardcode_shlibpath_var=no
10019       ;;
10020
10021     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10022     freebsd* | dragonfly*)
10023       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10024       hardcode_libdir_flag_spec='-R$libdir'
10025       hardcode_direct=yes
10026       hardcode_shlibpath_var=no
10027       ;;
10028
10029     hpux9*)
10030       if test "$GCC" = yes; then
10031         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'
10032       else
10033         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'
10034       fi
10035       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10036       hardcode_libdir_separator=:
10037       hardcode_direct=yes
10038
10039       # hardcode_minus_L: Not really in the search PATH,
10040       # but as the default location of the library.
10041       hardcode_minus_L=yes
10042       export_dynamic_flag_spec='${wl}-E'
10043       ;;
10044
10045     hpux10*)
10046       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10047         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10048       else
10049         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10050       fi
10051       if test "$with_gnu_ld" = no; then
10052         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10053         hardcode_libdir_flag_spec_ld='+b $libdir'
10054         hardcode_libdir_separator=:
10055         hardcode_direct=yes
10056         hardcode_direct_absolute=yes
10057         export_dynamic_flag_spec='${wl}-E'
10058         # hardcode_minus_L: Not really in the search PATH,
10059         # but as the default location of the library.
10060         hardcode_minus_L=yes
10061       fi
10062       ;;
10063
10064     hpux11*)
10065       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10066         case $host_cpu in
10067         hppa*64*)
10068           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10069           ;;
10070         ia64*)
10071           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10072           ;;
10073         *)
10074           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10075           ;;
10076         esac
10077       else
10078         case $host_cpu in
10079         hppa*64*)
10080           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10081           ;;
10082         ia64*)
10083           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10084           ;;
10085         *)
10086
10087           # Older versions of the 11.00 compiler do not understand -b yet
10088           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10089           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10090 $as_echo_n "checking if $CC understands -b... " >&6; }
10091 if ${lt_cv_prog_compiler__b+:} false; then :
10092   $as_echo_n "(cached) " >&6
10093 else
10094   lt_cv_prog_compiler__b=no
10095    save_LDFLAGS="$LDFLAGS"
10096    LDFLAGS="$LDFLAGS -b"
10097    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10098    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10099      # The linker can only warn and ignore the option if not recognized
10100      # So say no if there are warnings
10101      if test -s conftest.err; then
10102        # Append any errors to the config.log.
10103        cat conftest.err 1>&5
10104        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10105        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10106        if diff conftest.exp conftest.er2 >/dev/null; then
10107          lt_cv_prog_compiler__b=yes
10108        fi
10109      else
10110        lt_cv_prog_compiler__b=yes
10111      fi
10112    fi
10113    $RM -r conftest*
10114    LDFLAGS="$save_LDFLAGS"
10115
10116 fi
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10118 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10119
10120 if test x"$lt_cv_prog_compiler__b" = xyes; then
10121     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10122 else
10123     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10124 fi
10125
10126           ;;
10127         esac
10128       fi
10129       if test "$with_gnu_ld" = no; then
10130         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10131         hardcode_libdir_separator=:
10132
10133         case $host_cpu in
10134         hppa*64*|ia64*)
10135           hardcode_direct=no
10136           hardcode_shlibpath_var=no
10137           ;;
10138         *)
10139           hardcode_direct=yes
10140           hardcode_direct_absolute=yes
10141           export_dynamic_flag_spec='${wl}-E'
10142
10143           # hardcode_minus_L: Not really in the search PATH,
10144           # but as the default location of the library.
10145           hardcode_minus_L=yes
10146           ;;
10147         esac
10148       fi
10149       ;;
10150
10151     irix5* | irix6* | nonstopux*)
10152       if test "$GCC" = yes; then
10153         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'
10154         # Try to use the -exported_symbol ld option, if it does not
10155         # work, assume that -exports_file does not work either and
10156         # implicitly export all symbols.
10157         # This should be the same for all languages, so no per-tag cache variable.
10158         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10159 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10160 if ${lt_cv_irix_exported_symbol+:} false; then :
10161   $as_echo_n "(cached) " >&6
10162 else
10163   save_LDFLAGS="$LDFLAGS"
10164            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10165            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10166 /* end confdefs.h.  */
10167 int foo (void) { return 0; }
10168 _ACEOF
10169 if ac_fn_c_try_link "$LINENO"; then :
10170   lt_cv_irix_exported_symbol=yes
10171 else
10172   lt_cv_irix_exported_symbol=no
10173 fi
10174 rm -f core conftest.err conftest.$ac_objext \
10175     conftest$ac_exeext conftest.$ac_ext
10176            LDFLAGS="$save_LDFLAGS"
10177 fi
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10179 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10180         if test "$lt_cv_irix_exported_symbol" = yes; then
10181           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'
10182         fi
10183       else
10184         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'
10185         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'
10186       fi
10187       archive_cmds_need_lc='no'
10188       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10189       hardcode_libdir_separator=:
10190       inherit_rpath=yes
10191       link_all_deplibs=yes
10192       ;;
10193
10194     netbsd*)
10195       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10196         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10197       else
10198         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10199       fi
10200       hardcode_libdir_flag_spec='-R$libdir'
10201       hardcode_direct=yes
10202       hardcode_shlibpath_var=no
10203       ;;
10204
10205     newsos6)
10206       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10207       hardcode_direct=yes
10208       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10209       hardcode_libdir_separator=:
10210       hardcode_shlibpath_var=no
10211       ;;
10212
10213     *nto* | *qnx*)
10214       ;;
10215
10216     openbsd*)
10217       if test -f /usr/libexec/ld.so; then
10218         hardcode_direct=yes
10219         hardcode_shlibpath_var=no
10220         hardcode_direct_absolute=yes
10221         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10222           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10223           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10224           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10225           export_dynamic_flag_spec='${wl}-E'
10226         else
10227           case $host_os in
10228            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10229              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10230              hardcode_libdir_flag_spec='-R$libdir'
10231              ;;
10232            *)
10233              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10234              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10235              ;;
10236           esac
10237         fi
10238       else
10239         ld_shlibs=no
10240       fi
10241       ;;
10242
10243     os2*)
10244       hardcode_libdir_flag_spec='-L$libdir'
10245       hardcode_minus_L=yes
10246       allow_undefined_flag=unsupported
10247       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'
10248       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10249       ;;
10250
10251     osf3*)
10252       if test "$GCC" = yes; then
10253         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10254         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'
10255       else
10256         allow_undefined_flag=' -expect_unresolved \*'
10257         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'
10258       fi
10259       archive_cmds_need_lc='no'
10260       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10261       hardcode_libdir_separator=:
10262       ;;
10263
10264     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10265       if test "$GCC" = yes; then
10266         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10267         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'
10268         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10269       else
10270         allow_undefined_flag=' -expect_unresolved \*'
10271         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'
10272         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~
10273         $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'
10274
10275         # Both c and cxx compiler support -rpath directly
10276         hardcode_libdir_flag_spec='-rpath $libdir'
10277       fi
10278       archive_cmds_need_lc='no'
10279       hardcode_libdir_separator=:
10280       ;;
10281
10282     solaris*)
10283       no_undefined_flag=' -z defs'
10284       if test "$GCC" = yes; then
10285         wlarc='${wl}'
10286         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10287         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10288           $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'
10289       else
10290         case `$CC -V 2>&1` in
10291         *"Compilers 5.0"*)
10292           wlarc=''
10293           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10294           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10295           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10296           ;;
10297         *)
10298           wlarc='${wl}'
10299           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10300           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10301           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10302           ;;
10303         esac
10304       fi
10305       hardcode_libdir_flag_spec='-R$libdir'
10306       hardcode_shlibpath_var=no
10307       case $host_os in
10308       solaris2.[0-5] | solaris2.[0-5].*) ;;
10309       *)
10310         # The compiler driver will combine and reorder linker options,
10311         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10312         # but is careful enough not to reorder.
10313         # Supported since Solaris 2.6 (maybe 2.5.1?)
10314         if test "$GCC" = yes; then
10315           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10316         else
10317           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10318         fi
10319         ;;
10320       esac
10321       link_all_deplibs=yes
10322       ;;
10323
10324     sunos4*)
10325       if test "x$host_vendor" = xsequent; then
10326         # Use $CC to link under sequent, because it throws in some extra .o
10327         # files that make .init and .fini sections work.
10328         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10329       else
10330         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10331       fi
10332       hardcode_libdir_flag_spec='-L$libdir'
10333       hardcode_direct=yes
10334       hardcode_minus_L=yes
10335       hardcode_shlibpath_var=no
10336       ;;
10337
10338     sysv4)
10339       case $host_vendor in
10340         sni)
10341           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10342           hardcode_direct=yes # is this really true???
10343         ;;
10344         siemens)
10345           ## LD is ld it makes a PLAMLIB
10346           ## CC just makes a GrossModule.
10347           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10348           reload_cmds='$CC -r -o $output$reload_objs'
10349           hardcode_direct=no
10350         ;;
10351         motorola)
10352           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10353           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10354         ;;
10355       esac
10356       runpath_var='LD_RUN_PATH'
10357       hardcode_shlibpath_var=no
10358       ;;
10359
10360     sysv4.3*)
10361       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10362       hardcode_shlibpath_var=no
10363       export_dynamic_flag_spec='-Bexport'
10364       ;;
10365
10366     sysv4*MP*)
10367       if test -d /usr/nec; then
10368         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10369         hardcode_shlibpath_var=no
10370         runpath_var=LD_RUN_PATH
10371         hardcode_runpath_var=yes
10372         ld_shlibs=yes
10373       fi
10374       ;;
10375
10376     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10377       no_undefined_flag='${wl}-z,text'
10378       archive_cmds_need_lc=no
10379       hardcode_shlibpath_var=no
10380       runpath_var='LD_RUN_PATH'
10381
10382       if test "$GCC" = yes; then
10383         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10384         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10385       else
10386         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10387         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10388       fi
10389       ;;
10390
10391     sysv5* | sco3.2v5* | sco5v6*)
10392       # Note: We can NOT use -z defs as we might desire, because we do not
10393       # link with -lc, and that would cause any symbols used from libc to
10394       # always be unresolved, which means just about no library would
10395       # ever link correctly.  If we're not using GNU ld we use -z text
10396       # though, which does catch some bad symbols but isn't as heavy-handed
10397       # as -z defs.
10398       no_undefined_flag='${wl}-z,text'
10399       allow_undefined_flag='${wl}-z,nodefs'
10400       archive_cmds_need_lc=no
10401       hardcode_shlibpath_var=no
10402       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10403       hardcode_libdir_separator=':'
10404       link_all_deplibs=yes
10405       export_dynamic_flag_spec='${wl}-Bexport'
10406       runpath_var='LD_RUN_PATH'
10407
10408       if test "$GCC" = yes; then
10409         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10410         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10411       else
10412         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10413         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10414       fi
10415       ;;
10416
10417     uts4*)
10418       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10419       hardcode_libdir_flag_spec='-L$libdir'
10420       hardcode_shlibpath_var=no
10421       ;;
10422
10423     *)
10424       ld_shlibs=no
10425       ;;
10426     esac
10427
10428     if test x$host_vendor = xsni; then
10429       case $host in
10430       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10431         export_dynamic_flag_spec='${wl}-Blargedynsym'
10432         ;;
10433       esac
10434     fi
10435   fi
10436
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10438 $as_echo "$ld_shlibs" >&6; }
10439 test "$ld_shlibs" = no && can_build_shared=no
10440
10441 with_gnu_ld=$with_gnu_ld
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457 #
10458 # Do we need to explicitly link libc?
10459 #
10460 case "x$archive_cmds_need_lc" in
10461 x|xyes)
10462   # Assume -lc should be added
10463   archive_cmds_need_lc=yes
10464
10465   if test "$enable_shared" = yes && test "$GCC" = yes; then
10466     case $archive_cmds in
10467     *'~'*)
10468       # FIXME: we may have to deal with multi-command sequences.
10469       ;;
10470     '$CC '*)
10471       # Test whether the compiler implicitly links with -lc since on some
10472       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10473       # to ld, don't add -lc before -lgcc.
10474       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10475 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10476 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10477   $as_echo_n "(cached) " >&6
10478 else
10479   $RM conftest*
10480         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10481
10482         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10483   (eval $ac_compile) 2>&5
10484   ac_status=$?
10485   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10486   test $ac_status = 0; } 2>conftest.err; then
10487           soname=conftest
10488           lib=conftest
10489           libobjs=conftest.$ac_objext
10490           deplibs=
10491           wl=$lt_prog_compiler_wl
10492           pic_flag=$lt_prog_compiler_pic
10493           compiler_flags=-v
10494           linker_flags=-v
10495           verstring=
10496           output_objdir=.
10497           libname=conftest
10498           lt_save_allow_undefined_flag=$allow_undefined_flag
10499           allow_undefined_flag=
10500           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10501   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10502   ac_status=$?
10503   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10504   test $ac_status = 0; }
10505           then
10506             lt_cv_archive_cmds_need_lc=no
10507           else
10508             lt_cv_archive_cmds_need_lc=yes
10509           fi
10510           allow_undefined_flag=$lt_save_allow_undefined_flag
10511         else
10512           cat conftest.err 1>&5
10513         fi
10514         $RM conftest*
10515
10516 fi
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10518 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10519       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10520       ;;
10521     esac
10522   fi
10523   ;;
10524 esac
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10683 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10684
10685 if test "$GCC" = yes; then
10686   case $host_os in
10687     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10688     *) lt_awk_arg="/^libraries:/" ;;
10689   esac
10690   case $host_os in
10691     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10692     *) lt_sed_strip_eq="s,=/,/,g" ;;
10693   esac
10694   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10695   case $lt_search_path_spec in
10696   *\;*)
10697     # if the path contains ";" then we assume it to be the separator
10698     # otherwise default to the standard path separator (i.e. ":") - it is
10699     # assumed that no part of a normal pathname contains ";" but that should
10700     # okay in the real world where ";" in dirpaths is itself problematic.
10701     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10702     ;;
10703   *)
10704     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10705     ;;
10706   esac
10707   # Ok, now we have the path, separated by spaces, we can step through it
10708   # and add multilib dir if necessary.
10709   lt_tmp_lt_search_path_spec=
10710   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10711   for lt_sys_path in $lt_search_path_spec; do
10712     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10713       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10714     else
10715       test -d "$lt_sys_path" && \
10716         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10717     fi
10718   done
10719   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10720 BEGIN {RS=" "; FS="/|\n";} {
10721   lt_foo="";
10722   lt_count=0;
10723   for (lt_i = NF; lt_i > 0; lt_i--) {
10724     if ($lt_i != "" && $lt_i != ".") {
10725       if ($lt_i == "..") {
10726         lt_count++;
10727       } else {
10728         if (lt_count == 0) {
10729           lt_foo="/" $lt_i lt_foo;
10730         } else {
10731           lt_count--;
10732         }
10733       }
10734     }
10735   }
10736   if (lt_foo != "") { lt_freq[lt_foo]++; }
10737   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10738 }'`
10739   # AWK program above erroneously prepends '/' to C:/dos/paths
10740   # for these hosts.
10741   case $host_os in
10742     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10743       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10744   esac
10745   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10746 else
10747   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10748 fi
10749 library_names_spec=
10750 libname_spec='lib$name'
10751 soname_spec=
10752 shrext_cmds=".so"
10753 postinstall_cmds=
10754 postuninstall_cmds=
10755 finish_cmds=
10756 finish_eval=
10757 shlibpath_var=
10758 shlibpath_overrides_runpath=unknown
10759 version_type=none
10760 dynamic_linker="$host_os ld.so"
10761 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10762 need_lib_prefix=unknown
10763 hardcode_into_libs=no
10764
10765 # when you set need_version to no, make sure it does not cause -set_version
10766 # flags to be left without arguments
10767 need_version=unknown
10768
10769 case $host_os in
10770 aix3*)
10771   version_type=linux
10772   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10773   shlibpath_var=LIBPATH
10774
10775   # AIX 3 has no versioning support, so we append a major version to the name.
10776   soname_spec='${libname}${release}${shared_ext}$major'
10777   ;;
10778
10779 aix[4-9]*)
10780   version_type=linux
10781   need_lib_prefix=no
10782   need_version=no
10783   hardcode_into_libs=yes
10784   if test "$host_cpu" = ia64; then
10785     # AIX 5 supports IA64
10786     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10787     shlibpath_var=LD_LIBRARY_PATH
10788   else
10789     # With GCC up to 2.95.x, collect2 would create an import file
10790     # for dependence libraries.  The import file would start with
10791     # the line `#! .'.  This would cause the generated library to
10792     # depend on `.', always an invalid library.  This was fixed in
10793     # development snapshots of GCC prior to 3.0.
10794     case $host_os in
10795       aix4 | aix4.[01] | aix4.[01].*)
10796       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10797            echo ' yes '
10798            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10799         :
10800       else
10801         can_build_shared=no
10802       fi
10803       ;;
10804     esac
10805     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10806     # soname into executable. Probably we can add versioning support to
10807     # collect2, so additional links can be useful in future.
10808     if test "$aix_use_runtimelinking" = yes; then
10809       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10810       # instead of lib<name>.a to let people know that these are not
10811       # typical AIX shared libraries.
10812       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10813     else
10814       # We preserve .a as extension for shared libraries through AIX4.2
10815       # and later when we are not doing run time linking.
10816       library_names_spec='${libname}${release}.a $libname.a'
10817       soname_spec='${libname}${release}${shared_ext}$major'
10818     fi
10819     shlibpath_var=LIBPATH
10820   fi
10821   ;;
10822
10823 amigaos*)
10824   case $host_cpu in
10825   powerpc)
10826     # Since July 2007 AmigaOS4 officially supports .so libraries.
10827     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10828     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10829     ;;
10830   m68k)
10831     library_names_spec='$libname.ixlibrary $libname.a'
10832     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10833     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'
10834     ;;
10835   esac
10836   ;;
10837
10838 beos*)
10839   library_names_spec='${libname}${shared_ext}'
10840   dynamic_linker="$host_os ld.so"
10841   shlibpath_var=LIBRARY_PATH
10842   ;;
10843
10844 bsdi[45]*)
10845   version_type=linux
10846   need_version=no
10847   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10848   soname_spec='${libname}${release}${shared_ext}$major'
10849   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10850   shlibpath_var=LD_LIBRARY_PATH
10851   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10852   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10853   # the default ld.so.conf also contains /usr/contrib/lib and
10854   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10855   # libtool to hard-code these into programs
10856   ;;
10857
10858 cygwin* | mingw* | pw32* | cegcc*)
10859   version_type=windows
10860   shrext_cmds=".dll"
10861   need_version=no
10862   need_lib_prefix=no
10863
10864   case $GCC,$cc_basename in
10865   yes,*)
10866     # gcc
10867     library_names_spec='$libname.dll.a'
10868     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10869     postinstall_cmds='base_file=`basename \${file}`~
10870       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10871       dldir=$destdir/`dirname \$dlpath`~
10872       test -d \$dldir || mkdir -p \$dldir~
10873       $install_prog $dir/$dlname \$dldir/$dlname~
10874       chmod a+x \$dldir/$dlname~
10875       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10876         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10877       fi'
10878     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10879       dlpath=$dir/\$dldll~
10880        $RM \$dlpath'
10881     shlibpath_overrides_runpath=yes
10882
10883     case $host_os in
10884     cygwin*)
10885       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10886       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10887
10888       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10889       ;;
10890     mingw* | cegcc*)
10891       # MinGW DLLs use traditional 'lib' prefix
10892       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10893       ;;
10894     pw32*)
10895       # pw32 DLLs use 'pw' prefix rather than 'lib'
10896       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10897       ;;
10898     esac
10899     dynamic_linker='Win32 ld.exe'
10900     ;;
10901
10902   *,cl*)
10903     # Native MSVC
10904     libname_spec='$name'
10905     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10906     library_names_spec='${libname}.dll.lib'
10907
10908     case $build_os in
10909     mingw*)
10910       sys_lib_search_path_spec=
10911       lt_save_ifs=$IFS
10912       IFS=';'
10913       for lt_path in $LIB
10914       do
10915         IFS=$lt_save_ifs
10916         # Let DOS variable expansion print the short 8.3 style file name.
10917         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10918         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10919       done
10920       IFS=$lt_save_ifs
10921       # Convert to MSYS style.
10922       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10923       ;;
10924     cygwin*)
10925       # Convert to unix form, then to dos form, then back to unix form
10926       # but this time dos style (no spaces!) so that the unix form looks
10927       # like /cygdrive/c/PROGRA~1:/cygdr...
10928       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10929       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10930       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10931       ;;
10932     *)
10933       sys_lib_search_path_spec="$LIB"
10934       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10935         # It is most probably a Windows format PATH.
10936         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10937       else
10938         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10939       fi
10940       # FIXME: find the short name or the path components, as spaces are
10941       # common. (e.g. "Program Files" -> "PROGRA~1")
10942       ;;
10943     esac
10944
10945     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10946     postinstall_cmds='base_file=`basename \${file}`~
10947       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10948       dldir=$destdir/`dirname \$dlpath`~
10949       test -d \$dldir || mkdir -p \$dldir~
10950       $install_prog $dir/$dlname \$dldir/$dlname'
10951     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10952       dlpath=$dir/\$dldll~
10953        $RM \$dlpath'
10954     shlibpath_overrides_runpath=yes
10955     dynamic_linker='Win32 link.exe'
10956     ;;
10957
10958   *)
10959     # Assume MSVC wrapper
10960     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10961     dynamic_linker='Win32 ld.exe'
10962     ;;
10963   esac
10964   # FIXME: first we should search . and the directory the executable is in
10965   shlibpath_var=PATH
10966   ;;
10967
10968 darwin* | rhapsody*)
10969   dynamic_linker="$host_os dyld"
10970   version_type=darwin
10971   need_lib_prefix=no
10972   need_version=no
10973   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10974   soname_spec='${libname}${release}${major}$shared_ext'
10975   shlibpath_overrides_runpath=yes
10976   shlibpath_var=DYLD_LIBRARY_PATH
10977   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10978
10979   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10980   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10981   ;;
10982
10983 dgux*)
10984   version_type=linux
10985   need_lib_prefix=no
10986   need_version=no
10987   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10988   soname_spec='${libname}${release}${shared_ext}$major'
10989   shlibpath_var=LD_LIBRARY_PATH
10990   ;;
10991
10992 freebsd1*)
10993   dynamic_linker=no
10994   ;;
10995
10996 freebsd* | dragonfly*)
10997   # DragonFly does not have aout.  When/if they implement a new
10998   # versioning mechanism, adjust this.
10999   if test -x /usr/bin/objformat; then
11000     objformat=`/usr/bin/objformat`
11001   else
11002     case $host_os in
11003     freebsd[123]*) objformat=aout ;;
11004     *) objformat=elf ;;
11005     esac
11006   fi
11007   version_type=freebsd-$objformat
11008   case $version_type in
11009     freebsd-elf*)
11010       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11011       need_version=no
11012       need_lib_prefix=no
11013       ;;
11014     freebsd-*)
11015       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11016       need_version=yes
11017       ;;
11018   esac
11019   shlibpath_var=LD_LIBRARY_PATH
11020   case $host_os in
11021   freebsd2*)
11022     shlibpath_overrides_runpath=yes
11023     ;;
11024   freebsd3.[01]* | freebsdelf3.[01]*)
11025     shlibpath_overrides_runpath=yes
11026     hardcode_into_libs=yes
11027     ;;
11028   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11029   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11030     shlibpath_overrides_runpath=no
11031     hardcode_into_libs=yes
11032     ;;
11033   *) # from 4.6 on, and DragonFly
11034     shlibpath_overrides_runpath=yes
11035     hardcode_into_libs=yes
11036     ;;
11037   esac
11038   ;;
11039
11040 gnu*)
11041   version_type=linux
11042   need_lib_prefix=no
11043   need_version=no
11044   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11045   soname_spec='${libname}${release}${shared_ext}$major'
11046   shlibpath_var=LD_LIBRARY_PATH
11047   hardcode_into_libs=yes
11048   ;;
11049
11050 haiku*)
11051   version_type=linux
11052   need_lib_prefix=no
11053   need_version=no
11054   dynamic_linker="$host_os runtime_loader"
11055   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11056   soname_spec='${libname}${release}${shared_ext}$major'
11057   shlibpath_var=LIBRARY_PATH
11058   shlibpath_overrides_runpath=yes
11059   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11060   hardcode_into_libs=yes
11061   ;;
11062
11063 hpux9* | hpux10* | hpux11*)
11064   # Give a soname corresponding to the major version so that dld.sl refuses to
11065   # link against other versions.
11066   version_type=sunos
11067   need_lib_prefix=no
11068   need_version=no
11069   case $host_cpu in
11070   ia64*)
11071     shrext_cmds='.so'
11072     hardcode_into_libs=yes
11073     dynamic_linker="$host_os dld.so"
11074     shlibpath_var=LD_LIBRARY_PATH
11075     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11076     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11077     soname_spec='${libname}${release}${shared_ext}$major'
11078     if test "X$HPUX_IA64_MODE" = X32; then
11079       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11080     else
11081       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11082     fi
11083     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11084     ;;
11085   hppa*64*)
11086     shrext_cmds='.sl'
11087     hardcode_into_libs=yes
11088     dynamic_linker="$host_os dld.sl"
11089     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11090     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11091     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11092     soname_spec='${libname}${release}${shared_ext}$major'
11093     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11094     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11095     ;;
11096   *)
11097     shrext_cmds='.sl'
11098     dynamic_linker="$host_os dld.sl"
11099     shlibpath_var=SHLIB_PATH
11100     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11101     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11102     soname_spec='${libname}${release}${shared_ext}$major'
11103     ;;
11104   esac
11105   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11106   postinstall_cmds='chmod 555 $lib'
11107   # or fails outright, so override atomically:
11108   install_override_mode=555
11109   ;;
11110
11111 interix[3-9]*)
11112   version_type=linux
11113   need_lib_prefix=no
11114   need_version=no
11115   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11116   soname_spec='${libname}${release}${shared_ext}$major'
11117   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11118   shlibpath_var=LD_LIBRARY_PATH
11119   shlibpath_overrides_runpath=no
11120   hardcode_into_libs=yes
11121   ;;
11122
11123 irix5* | irix6* | nonstopux*)
11124   case $host_os in
11125     nonstopux*) version_type=nonstopux ;;
11126     *)
11127         if test "$lt_cv_prog_gnu_ld" = yes; then
11128                 version_type=linux
11129         else
11130                 version_type=irix
11131         fi ;;
11132   esac
11133   need_lib_prefix=no
11134   need_version=no
11135   soname_spec='${libname}${release}${shared_ext}$major'
11136   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11137   case $host_os in
11138   irix5* | nonstopux*)
11139     libsuff= shlibsuff=
11140     ;;
11141   *)
11142     case $LD in # libtool.m4 will add one of these switches to LD
11143     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11144       libsuff= shlibsuff= libmagic=32-bit;;
11145     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11146       libsuff=32 shlibsuff=N32 libmagic=N32;;
11147     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11148       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11149     *) libsuff= shlibsuff= libmagic=never-match;;
11150     esac
11151     ;;
11152   esac
11153   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11154   shlibpath_overrides_runpath=no
11155   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11156   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11157   hardcode_into_libs=yes
11158   ;;
11159
11160 # No shared lib support for Linux oldld, aout, or coff.
11161 linux*oldld* | linux*aout* | linux*coff*)
11162   dynamic_linker=no
11163   ;;
11164
11165 # This must be Linux ELF.
11166 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11167   version_type=linux
11168   need_lib_prefix=no
11169   need_version=no
11170   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11171   soname_spec='${libname}${release}${shared_ext}$major'
11172   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11173   shlibpath_var=LD_LIBRARY_PATH
11174   shlibpath_overrides_runpath=no
11175
11176   # Some binutils ld are patched to set DT_RUNPATH
11177   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11178   $as_echo_n "(cached) " >&6
11179 else
11180   lt_cv_shlibpath_overrides_runpath=no
11181     save_LDFLAGS=$LDFLAGS
11182     save_libdir=$libdir
11183     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11184          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11185     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h.  */
11187
11188 int
11189 main ()
11190 {
11191
11192   ;
11193   return 0;
11194 }
11195 _ACEOF
11196 if ac_fn_c_try_link "$LINENO"; then :
11197   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11198   lt_cv_shlibpath_overrides_runpath=yes
11199 fi
11200 fi
11201 rm -f core conftest.err conftest.$ac_objext \
11202     conftest$ac_exeext conftest.$ac_ext
11203     LDFLAGS=$save_LDFLAGS
11204     libdir=$save_libdir
11205
11206 fi
11207
11208   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11209
11210   # This implies no fast_install, which is unacceptable.
11211   # Some rework will be needed to allow for fast_install
11212   # before this can be enabled.
11213   hardcode_into_libs=yes
11214
11215   # Append ld.so.conf contents to the search path
11216   if test -f /etc/ld.so.conf; then
11217     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' ' '`
11218     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11219   fi
11220
11221   # We used to test for /lib/ld.so.1 and disable shared libraries on
11222   # powerpc, because MkLinux only supported shared libraries with the
11223   # GNU dynamic linker.  Since this was broken with cross compilers,
11224   # most powerpc-linux boxes support dynamic linking these days and
11225   # people can always --disable-shared, the test was removed, and we
11226   # assume the GNU/Linux dynamic linker is in use.
11227   dynamic_linker='GNU/Linux ld.so'
11228   ;;
11229
11230 netbsd*)
11231   version_type=sunos
11232   need_lib_prefix=no
11233   need_version=no
11234   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11235     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11236     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11237     dynamic_linker='NetBSD (a.out) ld.so'
11238   else
11239     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11240     soname_spec='${libname}${release}${shared_ext}$major'
11241     dynamic_linker='NetBSD ld.elf_so'
11242   fi
11243   shlibpath_var=LD_LIBRARY_PATH
11244   shlibpath_overrides_runpath=yes
11245   hardcode_into_libs=yes
11246   ;;
11247
11248 newsos6)
11249   version_type=linux
11250   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11251   shlibpath_var=LD_LIBRARY_PATH
11252   shlibpath_overrides_runpath=yes
11253   ;;
11254
11255 *nto* | *qnx*)
11256   version_type=qnx
11257   need_lib_prefix=no
11258   need_version=no
11259   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11260   soname_spec='${libname}${release}${shared_ext}$major'
11261   shlibpath_var=LD_LIBRARY_PATH
11262   shlibpath_overrides_runpath=no
11263   hardcode_into_libs=yes
11264   dynamic_linker='ldqnx.so'
11265   ;;
11266
11267 openbsd*)
11268   version_type=sunos
11269   sys_lib_dlsearch_path_spec="/usr/lib"
11270   need_lib_prefix=no
11271   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11272   case $host_os in
11273     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11274     *)                          need_version=no  ;;
11275   esac
11276   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11277   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11278   shlibpath_var=LD_LIBRARY_PATH
11279   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11280     case $host_os in
11281       openbsd2.[89] | openbsd2.[89].*)
11282         shlibpath_overrides_runpath=no
11283         ;;
11284       *)
11285         shlibpath_overrides_runpath=yes
11286         ;;
11287       esac
11288   else
11289     shlibpath_overrides_runpath=yes
11290   fi
11291   ;;
11292
11293 os2*)
11294   libname_spec='$name'
11295   shrext_cmds=".dll"
11296   need_lib_prefix=no
11297   library_names_spec='$libname${shared_ext} $libname.a'
11298   dynamic_linker='OS/2 ld.exe'
11299   shlibpath_var=LIBPATH
11300   ;;
11301
11302 osf3* | osf4* | osf5*)
11303   version_type=osf
11304   need_lib_prefix=no
11305   need_version=no
11306   soname_spec='${libname}${release}${shared_ext}$major'
11307   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11308   shlibpath_var=LD_LIBRARY_PATH
11309   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11310   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11311   ;;
11312
11313 rdos*)
11314   dynamic_linker=no
11315   ;;
11316
11317 solaris*)
11318   version_type=linux
11319   need_lib_prefix=no
11320   need_version=no
11321   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11322   soname_spec='${libname}${release}${shared_ext}$major'
11323   shlibpath_var=LD_LIBRARY_PATH
11324   shlibpath_overrides_runpath=yes
11325   hardcode_into_libs=yes
11326   # ldd complains unless libraries are executable
11327   postinstall_cmds='chmod +x $lib'
11328   ;;
11329
11330 sunos4*)
11331   version_type=sunos
11332   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11333   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11334   shlibpath_var=LD_LIBRARY_PATH
11335   shlibpath_overrides_runpath=yes
11336   if test "$with_gnu_ld" = yes; then
11337     need_lib_prefix=no
11338   fi
11339   need_version=yes
11340   ;;
11341
11342 sysv4 | sysv4.3*)
11343   version_type=linux
11344   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11345   soname_spec='${libname}${release}${shared_ext}$major'
11346   shlibpath_var=LD_LIBRARY_PATH
11347   case $host_vendor in
11348     sni)
11349       shlibpath_overrides_runpath=no
11350       need_lib_prefix=no
11351       runpath_var=LD_RUN_PATH
11352       ;;
11353     siemens)
11354       need_lib_prefix=no
11355       ;;
11356     motorola)
11357       need_lib_prefix=no
11358       need_version=no
11359       shlibpath_overrides_runpath=no
11360       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11361       ;;
11362   esac
11363   ;;
11364
11365 sysv4*MP*)
11366   if test -d /usr/nec ;then
11367     version_type=linux
11368     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11369     soname_spec='$libname${shared_ext}.$major'
11370     shlibpath_var=LD_LIBRARY_PATH
11371   fi
11372   ;;
11373
11374 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11375   version_type=freebsd-elf
11376   need_lib_prefix=no
11377   need_version=no
11378   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11379   soname_spec='${libname}${release}${shared_ext}$major'
11380   shlibpath_var=LD_LIBRARY_PATH
11381   shlibpath_overrides_runpath=yes
11382   hardcode_into_libs=yes
11383   if test "$with_gnu_ld" = yes; then
11384     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11385   else
11386     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11387     case $host_os in
11388       sco3.2v5*)
11389         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11390         ;;
11391     esac
11392   fi
11393   sys_lib_dlsearch_path_spec='/usr/lib'
11394   ;;
11395
11396 tpf*)
11397   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11398   version_type=linux
11399   need_lib_prefix=no
11400   need_version=no
11401   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11402   shlibpath_var=LD_LIBRARY_PATH
11403   shlibpath_overrides_runpath=no
11404   hardcode_into_libs=yes
11405   ;;
11406
11407 uts4*)
11408   version_type=linux
11409   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11410   soname_spec='${libname}${release}${shared_ext}$major'
11411   shlibpath_var=LD_LIBRARY_PATH
11412   ;;
11413
11414 *)
11415   dynamic_linker=no
11416   ;;
11417 esac
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11419 $as_echo "$dynamic_linker" >&6; }
11420 test "$dynamic_linker" = no && can_build_shared=no
11421
11422 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11423 if test "$GCC" = yes; then
11424   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11425 fi
11426
11427 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11428   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11429 fi
11430 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11431   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11432 fi
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
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
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11526 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11527 hardcode_action=
11528 if test -n "$hardcode_libdir_flag_spec" ||
11529    test -n "$runpath_var" ||
11530    test "X$hardcode_automatic" = "Xyes" ; then
11531
11532   # We can hardcode non-existent directories.
11533   if test "$hardcode_direct" != no &&
11534      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11535      # have to relink, otherwise we might link with an installed library
11536      # when we should be linking with a yet-to-be-installed one
11537      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11538      test "$hardcode_minus_L" != no; then
11539     # Linking always hardcodes the temporary library directory.
11540     hardcode_action=relink
11541   else
11542     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11543     hardcode_action=immediate
11544   fi
11545 else
11546   # We cannot hardcode anything, or else we can only hardcode existing
11547   # directories.
11548   hardcode_action=unsupported
11549 fi
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11551 $as_echo "$hardcode_action" >&6; }
11552
11553 if test "$hardcode_action" = relink ||
11554    test "$inherit_rpath" = yes; then
11555   # Fast installation is not supported
11556   enable_fast_install=no
11557 elif test "$shlibpath_overrides_runpath" = yes ||
11558      test "$enable_shared" = no; then
11559   # Fast installation is not necessary
11560   enable_fast_install=needless
11561 fi
11562
11563
11564
11565
11566
11567
11568   if test "x$enable_dlopen" != xyes; then
11569   enable_dlopen=unknown
11570   enable_dlopen_self=unknown
11571   enable_dlopen_self_static=unknown
11572 else
11573   lt_cv_dlopen=no
11574   lt_cv_dlopen_libs=
11575
11576   case $host_os in
11577   beos*)
11578     lt_cv_dlopen="load_add_on"
11579     lt_cv_dlopen_libs=
11580     lt_cv_dlopen_self=yes
11581     ;;
11582
11583   mingw* | pw32* | cegcc*)
11584     lt_cv_dlopen="LoadLibrary"
11585     lt_cv_dlopen_libs=
11586     ;;
11587
11588   cygwin*)
11589     lt_cv_dlopen="dlopen"
11590     lt_cv_dlopen_libs=
11591     ;;
11592
11593   darwin*)
11594   # if libdl is installed we need to link against it
11595     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11596 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11597 if ${ac_cv_lib_dl_dlopen+:} false; then :
11598   $as_echo_n "(cached) " >&6
11599 else
11600   ac_check_lib_save_LIBS=$LIBS
11601 LIBS="-ldl  $LIBS"
11602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11603 /* end confdefs.h.  */
11604
11605 /* Override any GCC internal prototype to avoid an error.
11606    Use char because int might match the return type of a GCC
11607    builtin and then its argument prototype would still apply.  */
11608 #ifdef __cplusplus
11609 extern "C"
11610 #endif
11611 char dlopen ();
11612 int
11613 main ()
11614 {
11615 return dlopen ();
11616   ;
11617   return 0;
11618 }
11619 _ACEOF
11620 if ac_fn_c_try_link "$LINENO"; then :
11621   ac_cv_lib_dl_dlopen=yes
11622 else
11623   ac_cv_lib_dl_dlopen=no
11624 fi
11625 rm -f core conftest.err conftest.$ac_objext \
11626     conftest$ac_exeext conftest.$ac_ext
11627 LIBS=$ac_check_lib_save_LIBS
11628 fi
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11630 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11631 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11632   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11633 else
11634
11635     lt_cv_dlopen="dyld"
11636     lt_cv_dlopen_libs=
11637     lt_cv_dlopen_self=yes
11638
11639 fi
11640
11641     ;;
11642
11643   *)
11644     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11645 if test "x$ac_cv_func_shl_load" = xyes; then :
11646   lt_cv_dlopen="shl_load"
11647 else
11648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11649 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11650 if ${ac_cv_lib_dld_shl_load+:} false; then :
11651   $as_echo_n "(cached) " >&6
11652 else
11653   ac_check_lib_save_LIBS=$LIBS
11654 LIBS="-ldld  $LIBS"
11655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11656 /* end confdefs.h.  */
11657
11658 /* Override any GCC internal prototype to avoid an error.
11659    Use char because int might match the return type of a GCC
11660    builtin and then its argument prototype would still apply.  */
11661 #ifdef __cplusplus
11662 extern "C"
11663 #endif
11664 char shl_load ();
11665 int
11666 main ()
11667 {
11668 return shl_load ();
11669   ;
11670   return 0;
11671 }
11672 _ACEOF
11673 if ac_fn_c_try_link "$LINENO"; then :
11674   ac_cv_lib_dld_shl_load=yes
11675 else
11676   ac_cv_lib_dld_shl_load=no
11677 fi
11678 rm -f core conftest.err conftest.$ac_objext \
11679     conftest$ac_exeext conftest.$ac_ext
11680 LIBS=$ac_check_lib_save_LIBS
11681 fi
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11683 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11684 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11685   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11686 else
11687   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11688 if test "x$ac_cv_func_dlopen" = xyes; then :
11689   lt_cv_dlopen="dlopen"
11690 else
11691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11692 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11693 if ${ac_cv_lib_dl_dlopen+:} false; then :
11694   $as_echo_n "(cached) " >&6
11695 else
11696   ac_check_lib_save_LIBS=$LIBS
11697 LIBS="-ldl  $LIBS"
11698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11699 /* end confdefs.h.  */
11700
11701 /* Override any GCC internal prototype to avoid an error.
11702    Use char because int might match the return type of a GCC
11703    builtin and then its argument prototype would still apply.  */
11704 #ifdef __cplusplus
11705 extern "C"
11706 #endif
11707 char dlopen ();
11708 int
11709 main ()
11710 {
11711 return dlopen ();
11712   ;
11713   return 0;
11714 }
11715 _ACEOF
11716 if ac_fn_c_try_link "$LINENO"; then :
11717   ac_cv_lib_dl_dlopen=yes
11718 else
11719   ac_cv_lib_dl_dlopen=no
11720 fi
11721 rm -f core conftest.err conftest.$ac_objext \
11722     conftest$ac_exeext conftest.$ac_ext
11723 LIBS=$ac_check_lib_save_LIBS
11724 fi
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11726 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11727 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11728   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11729 else
11730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11731 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11732 if ${ac_cv_lib_svld_dlopen+:} false; then :
11733   $as_echo_n "(cached) " >&6
11734 else
11735   ac_check_lib_save_LIBS=$LIBS
11736 LIBS="-lsvld  $LIBS"
11737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11738 /* end confdefs.h.  */
11739
11740 /* Override any GCC internal prototype to avoid an error.
11741    Use char because int might match the return type of a GCC
11742    builtin and then its argument prototype would still apply.  */
11743 #ifdef __cplusplus
11744 extern "C"
11745 #endif
11746 char dlopen ();
11747 int
11748 main ()
11749 {
11750 return dlopen ();
11751   ;
11752   return 0;
11753 }
11754 _ACEOF
11755 if ac_fn_c_try_link "$LINENO"; then :
11756   ac_cv_lib_svld_dlopen=yes
11757 else
11758   ac_cv_lib_svld_dlopen=no
11759 fi
11760 rm -f core conftest.err conftest.$ac_objext \
11761     conftest$ac_exeext conftest.$ac_ext
11762 LIBS=$ac_check_lib_save_LIBS
11763 fi
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11765 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11766 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11767   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11768 else
11769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11770 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11771 if ${ac_cv_lib_dld_dld_link+:} false; then :
11772   $as_echo_n "(cached) " >&6
11773 else
11774   ac_check_lib_save_LIBS=$LIBS
11775 LIBS="-ldld  $LIBS"
11776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11777 /* end confdefs.h.  */
11778
11779 /* Override any GCC internal prototype to avoid an error.
11780    Use char because int might match the return type of a GCC
11781    builtin and then its argument prototype would still apply.  */
11782 #ifdef __cplusplus
11783 extern "C"
11784 #endif
11785 char dld_link ();
11786 int
11787 main ()
11788 {
11789 return dld_link ();
11790   ;
11791   return 0;
11792 }
11793 _ACEOF
11794 if ac_fn_c_try_link "$LINENO"; then :
11795   ac_cv_lib_dld_dld_link=yes
11796 else
11797   ac_cv_lib_dld_dld_link=no
11798 fi
11799 rm -f core conftest.err conftest.$ac_objext \
11800     conftest$ac_exeext conftest.$ac_ext
11801 LIBS=$ac_check_lib_save_LIBS
11802 fi
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11804 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11805 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11806   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11807 fi
11808
11809
11810 fi
11811
11812
11813 fi
11814
11815
11816 fi
11817
11818
11819 fi
11820
11821
11822 fi
11823
11824     ;;
11825   esac
11826
11827   if test "x$lt_cv_dlopen" != xno; then
11828     enable_dlopen=yes
11829   else
11830     enable_dlopen=no
11831   fi
11832
11833   case $lt_cv_dlopen in
11834   dlopen)
11835     save_CPPFLAGS="$CPPFLAGS"
11836     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11837
11838     save_LDFLAGS="$LDFLAGS"
11839     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11840
11841     save_LIBS="$LIBS"
11842     LIBS="$lt_cv_dlopen_libs $LIBS"
11843
11844     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11845 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11846 if ${lt_cv_dlopen_self+:} false; then :
11847   $as_echo_n "(cached) " >&6
11848 else
11849           if test "$cross_compiling" = yes; then :
11850   lt_cv_dlopen_self=cross
11851 else
11852   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11853   lt_status=$lt_dlunknown
11854   cat > conftest.$ac_ext <<_LT_EOF
11855 #line $LINENO "configure"
11856 #include "confdefs.h"
11857
11858 #if HAVE_DLFCN_H
11859 #include <dlfcn.h>
11860 #endif
11861
11862 #include <stdio.h>
11863
11864 #ifdef RTLD_GLOBAL
11865 #  define LT_DLGLOBAL           RTLD_GLOBAL
11866 #else
11867 #  ifdef DL_GLOBAL
11868 #    define LT_DLGLOBAL         DL_GLOBAL
11869 #  else
11870 #    define LT_DLGLOBAL         0
11871 #  endif
11872 #endif
11873
11874 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11875    find out it does not work in some platform. */
11876 #ifndef LT_DLLAZY_OR_NOW
11877 #  ifdef RTLD_LAZY
11878 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11879 #  else
11880 #    ifdef DL_LAZY
11881 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11882 #    else
11883 #      ifdef RTLD_NOW
11884 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11885 #      else
11886 #        ifdef DL_NOW
11887 #          define LT_DLLAZY_OR_NOW      DL_NOW
11888 #        else
11889 #          define LT_DLLAZY_OR_NOW      0
11890 #        endif
11891 #      endif
11892 #    endif
11893 #  endif
11894 #endif
11895
11896 /* When -fvisbility=hidden is used, assume the code has been annotated
11897    correspondingly for the symbols needed.  */
11898 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11899 int fnord () __attribute__((visibility("default")));
11900 #endif
11901
11902 int fnord () { return 42; }
11903 int main ()
11904 {
11905   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11906   int status = $lt_dlunknown;
11907
11908   if (self)
11909     {
11910       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11911       else
11912         {
11913           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11914           else puts (dlerror ());
11915         }
11916       /* dlclose (self); */
11917     }
11918   else
11919     puts (dlerror ());
11920
11921   return status;
11922 }
11923 _LT_EOF
11924   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11925   (eval $ac_link) 2>&5
11926   ac_status=$?
11927   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11928   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11929     (./conftest; exit; ) >&5 2>/dev/null
11930     lt_status=$?
11931     case x$lt_status in
11932       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11933       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11934       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11935     esac
11936   else :
11937     # compilation failed
11938     lt_cv_dlopen_self=no
11939   fi
11940 fi
11941 rm -fr conftest*
11942
11943
11944 fi
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11946 $as_echo "$lt_cv_dlopen_self" >&6; }
11947
11948     if test "x$lt_cv_dlopen_self" = xyes; then
11949       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11950       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11951 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11952 if ${lt_cv_dlopen_self_static+:} false; then :
11953   $as_echo_n "(cached) " >&6
11954 else
11955           if test "$cross_compiling" = yes; then :
11956   lt_cv_dlopen_self_static=cross
11957 else
11958   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11959   lt_status=$lt_dlunknown
11960   cat > conftest.$ac_ext <<_LT_EOF
11961 #line $LINENO "configure"
11962 #include "confdefs.h"
11963
11964 #if HAVE_DLFCN_H
11965 #include <dlfcn.h>
11966 #endif
11967
11968 #include <stdio.h>
11969
11970 #ifdef RTLD_GLOBAL
11971 #  define LT_DLGLOBAL           RTLD_GLOBAL
11972 #else
11973 #  ifdef DL_GLOBAL
11974 #    define LT_DLGLOBAL         DL_GLOBAL
11975 #  else
11976 #    define LT_DLGLOBAL         0
11977 #  endif
11978 #endif
11979
11980 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11981    find out it does not work in some platform. */
11982 #ifndef LT_DLLAZY_OR_NOW
11983 #  ifdef RTLD_LAZY
11984 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11985 #  else
11986 #    ifdef DL_LAZY
11987 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11988 #    else
11989 #      ifdef RTLD_NOW
11990 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11991 #      else
11992 #        ifdef DL_NOW
11993 #          define LT_DLLAZY_OR_NOW      DL_NOW
11994 #        else
11995 #          define LT_DLLAZY_OR_NOW      0
11996 #        endif
11997 #      endif
11998 #    endif
11999 #  endif
12000 #endif
12001
12002 /* When -fvisbility=hidden is used, assume the code has been annotated
12003    correspondingly for the symbols needed.  */
12004 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12005 int fnord () __attribute__((visibility("default")));
12006 #endif
12007
12008 int fnord () { return 42; }
12009 int main ()
12010 {
12011   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12012   int status = $lt_dlunknown;
12013
12014   if (self)
12015     {
12016       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12017       else
12018         {
12019           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12020           else puts (dlerror ());
12021         }
12022       /* dlclose (self); */
12023     }
12024   else
12025     puts (dlerror ());
12026
12027   return status;
12028 }
12029 _LT_EOF
12030   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12031   (eval $ac_link) 2>&5
12032   ac_status=$?
12033   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12034   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12035     (./conftest; exit; ) >&5 2>/dev/null
12036     lt_status=$?
12037     case x$lt_status in
12038       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12039       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12040       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12041     esac
12042   else :
12043     # compilation failed
12044     lt_cv_dlopen_self_static=no
12045   fi
12046 fi
12047 rm -fr conftest*
12048
12049
12050 fi
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12052 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12053     fi
12054
12055     CPPFLAGS="$save_CPPFLAGS"
12056     LDFLAGS="$save_LDFLAGS"
12057     LIBS="$save_LIBS"
12058     ;;
12059   esac
12060
12061   case $lt_cv_dlopen_self in
12062   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12063   *) enable_dlopen_self=unknown ;;
12064   esac
12065
12066   case $lt_cv_dlopen_self_static in
12067   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12068   *) enable_dlopen_self_static=unknown ;;
12069   esac
12070 fi
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088 striplib=
12089 old_striplib=
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12091 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12092 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12093   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12094   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12096 $as_echo "yes" >&6; }
12097 else
12098 # FIXME - insert some real tests, host_os isn't really good enough
12099   case $host_os in
12100   darwin*)
12101     if test -n "$STRIP" ; then
12102       striplib="$STRIP -x"
12103       old_striplib="$STRIP -S"
12104       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12105 $as_echo "yes" >&6; }
12106     else
12107       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12108 $as_echo "no" >&6; }
12109     fi
12110     ;;
12111   *)
12112     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12113 $as_echo "no" >&6; }
12114     ;;
12115   esac
12116 fi
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129   # Report which library types will actually be built
12130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12131 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12133 $as_echo "$can_build_shared" >&6; }
12134
12135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12136 $as_echo_n "checking whether to build shared libraries... " >&6; }
12137   test "$can_build_shared" = "no" && enable_shared=no
12138
12139   # On AIX, shared libraries and static libraries use the same namespace, and
12140   # are all built from PIC.
12141   case $host_os in
12142   aix3*)
12143     test "$enable_shared" = yes && enable_static=no
12144     if test -n "$RANLIB"; then
12145       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12146       postinstall_cmds='$RANLIB $lib'
12147     fi
12148     ;;
12149
12150   aix[4-9]*)
12151     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12152       test "$enable_shared" = yes && enable_static=no
12153     fi
12154     ;;
12155   esac
12156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12157 $as_echo "$enable_shared" >&6; }
12158
12159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12160 $as_echo_n "checking whether to build static libraries... " >&6; }
12161   # Make sure either enable_shared or enable_static is yes.
12162   test "$enable_shared" = yes || enable_static=yes
12163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12164 $as_echo "$enable_static" >&6; }
12165
12166
12167
12168
12169 fi
12170 ac_ext=c
12171 ac_cpp='$CPP $CPPFLAGS'
12172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12175
12176 CC="$lt_save_CC"
12177
12178       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12179     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12180     (test "X$CXX" != "Xg++"))) ; then
12181   ac_ext=cpp
12182 ac_cpp='$CXXCPP $CPPFLAGS'
12183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12187 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12188 if test -z "$CXXCPP"; then
12189   if ${ac_cv_prog_CXXCPP+:} false; then :
12190   $as_echo_n "(cached) " >&6
12191 else
12192       # Double quotes because CXXCPP needs to be expanded
12193     for CXXCPP in "$CXX -E" "/lib/cpp"
12194     do
12195       ac_preproc_ok=false
12196 for ac_cxx_preproc_warn_flag in '' yes
12197 do
12198   # Use a header file that comes with gcc, so configuring glibc
12199   # with a fresh cross-compiler works.
12200   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12201   # <limits.h> exists even on freestanding compilers.
12202   # On the NeXT, cc -E runs the code through the compiler's parser,
12203   # not just through cpp. "Syntax error" is here to catch this case.
12204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12205 /* end confdefs.h.  */
12206 #ifdef __STDC__
12207 # include <limits.h>
12208 #else
12209 # include <assert.h>
12210 #endif
12211                      Syntax error
12212 _ACEOF
12213 if ac_fn_cxx_try_cpp "$LINENO"; then :
12214
12215 else
12216   # Broken: fails on valid input.
12217 continue
12218 fi
12219 rm -f conftest.err conftest.i conftest.$ac_ext
12220
12221   # OK, works on sane cases.  Now check whether nonexistent headers
12222   # can be detected and how.
12223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12224 /* end confdefs.h.  */
12225 #include <ac_nonexistent.h>
12226 _ACEOF
12227 if ac_fn_cxx_try_cpp "$LINENO"; then :
12228   # Broken: success on invalid input.
12229 continue
12230 else
12231   # Passes both tests.
12232 ac_preproc_ok=:
12233 break
12234 fi
12235 rm -f conftest.err conftest.i conftest.$ac_ext
12236
12237 done
12238 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12239 rm -f conftest.i conftest.err conftest.$ac_ext
12240 if $ac_preproc_ok; then :
12241   break
12242 fi
12243
12244     done
12245     ac_cv_prog_CXXCPP=$CXXCPP
12246
12247 fi
12248   CXXCPP=$ac_cv_prog_CXXCPP
12249 else
12250   ac_cv_prog_CXXCPP=$CXXCPP
12251 fi
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12253 $as_echo "$CXXCPP" >&6; }
12254 ac_preproc_ok=false
12255 for ac_cxx_preproc_warn_flag in '' yes
12256 do
12257   # Use a header file that comes with gcc, so configuring glibc
12258   # with a fresh cross-compiler works.
12259   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12260   # <limits.h> exists even on freestanding compilers.
12261   # On the NeXT, cc -E runs the code through the compiler's parser,
12262   # not just through cpp. "Syntax error" is here to catch this case.
12263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h.  */
12265 #ifdef __STDC__
12266 # include <limits.h>
12267 #else
12268 # include <assert.h>
12269 #endif
12270                      Syntax error
12271 _ACEOF
12272 if ac_fn_cxx_try_cpp "$LINENO"; then :
12273
12274 else
12275   # Broken: fails on valid input.
12276 continue
12277 fi
12278 rm -f conftest.err conftest.i conftest.$ac_ext
12279
12280   # OK, works on sane cases.  Now check whether nonexistent headers
12281   # can be detected and how.
12282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h.  */
12284 #include <ac_nonexistent.h>
12285 _ACEOF
12286 if ac_fn_cxx_try_cpp "$LINENO"; then :
12287   # Broken: success on invalid input.
12288 continue
12289 else
12290   # Passes both tests.
12291 ac_preproc_ok=:
12292 break
12293 fi
12294 rm -f conftest.err conftest.i conftest.$ac_ext
12295
12296 done
12297 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12298 rm -f conftest.i conftest.err conftest.$ac_ext
12299 if $ac_preproc_ok; then :
12300
12301 else
12302   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12304 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12305 See \`config.log' for more details" "$LINENO" 5; }
12306 fi
12307
12308 ac_ext=c
12309 ac_cpp='$CPP $CPPFLAGS'
12310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12313
12314 else
12315   _lt_caught_CXX_error=yes
12316 fi
12317
12318 ac_ext=cpp
12319 ac_cpp='$CXXCPP $CPPFLAGS'
12320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12323
12324 archive_cmds_need_lc_CXX=no
12325 allow_undefined_flag_CXX=
12326 always_export_symbols_CXX=no
12327 archive_expsym_cmds_CXX=
12328 compiler_needs_object_CXX=no
12329 export_dynamic_flag_spec_CXX=
12330 hardcode_direct_CXX=no
12331 hardcode_direct_absolute_CXX=no
12332 hardcode_libdir_flag_spec_CXX=
12333 hardcode_libdir_flag_spec_ld_CXX=
12334 hardcode_libdir_separator_CXX=
12335 hardcode_minus_L_CXX=no
12336 hardcode_shlibpath_var_CXX=unsupported
12337 hardcode_automatic_CXX=no
12338 inherit_rpath_CXX=no
12339 module_cmds_CXX=
12340 module_expsym_cmds_CXX=
12341 link_all_deplibs_CXX=unknown
12342 old_archive_cmds_CXX=$old_archive_cmds
12343 reload_flag_CXX=$reload_flag
12344 reload_cmds_CXX=$reload_cmds
12345 no_undefined_flag_CXX=
12346 whole_archive_flag_spec_CXX=
12347 enable_shared_with_static_runtimes_CXX=no
12348
12349 # Source file extension for C++ test sources.
12350 ac_ext=cpp
12351
12352 # Object file extension for compiled C++ test sources.
12353 objext=o
12354 objext_CXX=$objext
12355
12356 # No sense in running all these tests if we already determined that
12357 # the CXX compiler isn't working.  Some variables (like enable_shared)
12358 # are currently assumed to apply to all compilers on this platform,
12359 # and will be corrupted by setting them based on a non-working compiler.
12360 if test "$_lt_caught_CXX_error" != yes; then
12361   # Code to be used in simple compile tests
12362   lt_simple_compile_test_code="int some_variable = 0;"
12363
12364   # Code to be used in simple link tests
12365   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12366
12367   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12368
12369
12370
12371
12372
12373
12374 # If no C compiler was specified, use CC.
12375 LTCC=${LTCC-"$CC"}
12376
12377 # If no C compiler flags were specified, use CFLAGS.
12378 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12379
12380 # Allow CC to be a program name with arguments.
12381 compiler=$CC
12382
12383
12384   # save warnings/boilerplate of simple test code
12385   ac_outfile=conftest.$ac_objext
12386 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12387 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12388 _lt_compiler_boilerplate=`cat conftest.err`
12389 $RM conftest*
12390
12391   ac_outfile=conftest.$ac_objext
12392 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12393 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12394 _lt_linker_boilerplate=`cat conftest.err`
12395 $RM -r conftest*
12396
12397
12398   # Allow CC to be a program name with arguments.
12399   lt_save_CC=$CC
12400   lt_save_CFLAGS=$CFLAGS
12401   lt_save_LD=$LD
12402   lt_save_GCC=$GCC
12403   GCC=$GXX
12404   lt_save_with_gnu_ld=$with_gnu_ld
12405   lt_save_path_LD=$lt_cv_path_LD
12406   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12407     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12408   else
12409     $as_unset lt_cv_prog_gnu_ld
12410   fi
12411   if test -n "${lt_cv_path_LDCXX+set}"; then
12412     lt_cv_path_LD=$lt_cv_path_LDCXX
12413   else
12414     $as_unset lt_cv_path_LD
12415   fi
12416   test -z "${LDCXX+set}" || LD=$LDCXX
12417   CC=${CXX-"c++"}
12418   CFLAGS=$CXXFLAGS
12419   compiler=$CC
12420   compiler_CXX=$CC
12421   for cc_temp in $compiler""; do
12422   case $cc_temp in
12423     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12424     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12425     \-*) ;;
12426     *) break;;
12427   esac
12428 done
12429 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12430
12431
12432   if test -n "$compiler"; then
12433     # We don't want -fno-exception when compiling C++ code, so set the
12434     # no_builtin_flag separately
12435     if test "$GXX" = yes; then
12436       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12437     else
12438       lt_prog_compiler_no_builtin_flag_CXX=
12439     fi
12440
12441     if test "$GXX" = yes; then
12442       # Set up default GNU C++ configuration
12443
12444
12445
12446 # Check whether --with-gnu-ld was given.
12447 if test "${with_gnu_ld+set}" = set; then :
12448   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12449 else
12450   with_gnu_ld=no
12451 fi
12452
12453 ac_prog=ld
12454 if test "$GCC" = yes; then
12455   # Check if gcc -print-prog-name=ld gives a path.
12456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12457 $as_echo_n "checking for ld used by $CC... " >&6; }
12458   case $host in
12459   *-*-mingw*)
12460     # gcc leaves a trailing carriage return which upsets mingw
12461     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12462   *)
12463     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12464   esac
12465   case $ac_prog in
12466     # Accept absolute paths.
12467     [\\/]* | ?:[\\/]*)
12468       re_direlt='/[^/][^/]*/\.\./'
12469       # Canonicalize the pathname of ld
12470       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12471       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12472         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12473       done
12474       test -z "$LD" && LD="$ac_prog"
12475       ;;
12476   "")
12477     # If it fails, then pretend we aren't using GCC.
12478     ac_prog=ld
12479     ;;
12480   *)
12481     # If it is relative, then search for the first ld in PATH.
12482     with_gnu_ld=unknown
12483     ;;
12484   esac
12485 elif test "$with_gnu_ld" = yes; then
12486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12487 $as_echo_n "checking for GNU ld... " >&6; }
12488 else
12489   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12490 $as_echo_n "checking for non-GNU ld... " >&6; }
12491 fi
12492 if ${lt_cv_path_LD+:} false; then :
12493   $as_echo_n "(cached) " >&6
12494 else
12495   if test -z "$LD"; then
12496   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12497   for ac_dir in $PATH; do
12498     IFS="$lt_save_ifs"
12499     test -z "$ac_dir" && ac_dir=.
12500     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12501       lt_cv_path_LD="$ac_dir/$ac_prog"
12502       # Check to see if the program is GNU ld.  I'd rather use --version,
12503       # but apparently some variants of GNU ld only accept -v.
12504       # Break only if it was the GNU/non-GNU ld that we prefer.
12505       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12506       *GNU* | *'with BFD'*)
12507         test "$with_gnu_ld" != no && break
12508         ;;
12509       *)
12510         test "$with_gnu_ld" != yes && break
12511         ;;
12512       esac
12513     fi
12514   done
12515   IFS="$lt_save_ifs"
12516 else
12517   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12518 fi
12519 fi
12520
12521 LD="$lt_cv_path_LD"
12522 if test -n "$LD"; then
12523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12524 $as_echo "$LD" >&6; }
12525 else
12526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12527 $as_echo "no" >&6; }
12528 fi
12529 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12531 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12532 if ${lt_cv_prog_gnu_ld+:} false; then :
12533   $as_echo_n "(cached) " >&6
12534 else
12535   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12536 case `$LD -v 2>&1 </dev/null` in
12537 *GNU* | *'with BFD'*)
12538   lt_cv_prog_gnu_ld=yes
12539   ;;
12540 *)
12541   lt_cv_prog_gnu_ld=no
12542   ;;
12543 esac
12544 fi
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12546 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12547 with_gnu_ld=$lt_cv_prog_gnu_ld
12548
12549
12550
12551
12552
12553
12554
12555       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12556       # archiving commands below assume that GNU ld is being used.
12557       if test "$with_gnu_ld" = yes; then
12558         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12559         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'
12560
12561         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12562         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12563
12564         # If archive_cmds runs LD, not CC, wlarc should be empty
12565         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12566         #     investigate it a little bit more. (MM)
12567         wlarc='${wl}'
12568
12569         # ancient GNU ld didn't support --whole-archive et. al.
12570         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12571           $GREP 'no-whole-archive' > /dev/null; then
12572           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12573         else
12574           whole_archive_flag_spec_CXX=
12575         fi
12576       else
12577         with_gnu_ld=no
12578         wlarc=
12579
12580         # A generic and very simple default shared library creation
12581         # command for GNU C++ for the case where it uses the native
12582         # linker, instead of GNU ld.  If possible, this setting should
12583         # overridden to take advantage of the native linker features on
12584         # the platform it is being used on.
12585         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12586       fi
12587
12588       # Commands to make compiler produce verbose output that lists
12589       # what "hidden" libraries, object files and flags are used when
12590       # linking a shared library.
12591       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12592
12593     else
12594       GXX=no
12595       with_gnu_ld=no
12596       wlarc=
12597     fi
12598
12599     # PORTME: fill in a description of your system's C++ link characteristics
12600     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12601 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12602     ld_shlibs_CXX=yes
12603     case $host_os in
12604       aix3*)
12605         # FIXME: insert proper C++ library support
12606         ld_shlibs_CXX=no
12607         ;;
12608       aix[4-9]*)
12609         if test "$host_cpu" = ia64; then
12610           # On IA64, the linker does run time linking by default, so we don't
12611           # have to do anything special.
12612           aix_use_runtimelinking=no
12613           exp_sym_flag='-Bexport'
12614           no_entry_flag=""
12615         else
12616           aix_use_runtimelinking=no
12617
12618           # Test if we are trying to use run time linking or normal
12619           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12620           # need to do runtime linking.
12621           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12622             for ld_flag in $LDFLAGS; do
12623               case $ld_flag in
12624               *-brtl*)
12625                 aix_use_runtimelinking=yes
12626                 break
12627                 ;;
12628               esac
12629             done
12630             ;;
12631           esac
12632
12633           exp_sym_flag='-bexport'
12634           no_entry_flag='-bnoentry'
12635         fi
12636
12637         # When large executables or shared objects are built, AIX ld can
12638         # have problems creating the table of contents.  If linking a library
12639         # or program results in "error TOC overflow" add -mminimal-toc to
12640         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12641         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12642
12643         archive_cmds_CXX=''
12644         hardcode_direct_CXX=yes
12645         hardcode_direct_absolute_CXX=yes
12646         hardcode_libdir_separator_CXX=':'
12647         link_all_deplibs_CXX=yes
12648         file_list_spec_CXX='${wl}-f,'
12649
12650         if test "$GXX" = yes; then
12651           case $host_os in aix4.[012]|aix4.[012].*)
12652           # We only want to do this on AIX 4.2 and lower, the check
12653           # below for broken collect2 doesn't work under 4.3+
12654           collect2name=`${CC} -print-prog-name=collect2`
12655           if test -f "$collect2name" &&
12656              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12657           then
12658             # We have reworked collect2
12659             :
12660           else
12661             # We have old collect2
12662             hardcode_direct_CXX=unsupported
12663             # It fails to find uninstalled libraries when the uninstalled
12664             # path is not listed in the libpath.  Setting hardcode_minus_L
12665             # to unsupported forces relinking
12666             hardcode_minus_L_CXX=yes
12667             hardcode_libdir_flag_spec_CXX='-L$libdir'
12668             hardcode_libdir_separator_CXX=
12669           fi
12670           esac
12671           shared_flag='-shared'
12672           if test "$aix_use_runtimelinking" = yes; then
12673             shared_flag="$shared_flag "'${wl}-G'
12674           fi
12675         else
12676           # not using gcc
12677           if test "$host_cpu" = ia64; then
12678           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12679           # chokes on -Wl,-G. The following line is correct:
12680           shared_flag='-G'
12681           else
12682             if test "$aix_use_runtimelinking" = yes; then
12683               shared_flag='${wl}-G'
12684             else
12685               shared_flag='${wl}-bM:SRE'
12686             fi
12687           fi
12688         fi
12689
12690         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12691         # It seems that -bexpall does not export symbols beginning with
12692         # underscore (_), so it is better to generate a list of symbols to
12693         # export.
12694         always_export_symbols_CXX=yes
12695         if test "$aix_use_runtimelinking" = yes; then
12696           # Warning - without using the other runtime loading flags (-brtl),
12697           # -berok will link without error, but may produce a broken library.
12698           allow_undefined_flag_CXX='-berok'
12699           # Determine the default libpath from the value encoded in an empty
12700           # executable.
12701           if test "${lt_cv_aix_libpath+set}" = set; then
12702   aix_libpath=$lt_cv_aix_libpath
12703 else
12704   if ${lt_cv_aix_libpath__CXX+:} false; then :
12705   $as_echo_n "(cached) " >&6
12706 else
12707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12708 /* end confdefs.h.  */
12709
12710 int
12711 main ()
12712 {
12713
12714   ;
12715   return 0;
12716 }
12717 _ACEOF
12718 if ac_fn_cxx_try_link "$LINENO"; then :
12719
12720   lt_aix_libpath_sed='
12721       /Import File Strings/,/^$/ {
12722           /^0/ {
12723               s/^0  *\([^ ]*\) *$/\1/
12724               p
12725           }
12726       }'
12727   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12728   # Check for a 64-bit object if we didn't find anything.
12729   if test -z "$lt_cv_aix_libpath__CXX"; then
12730     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12731   fi
12732 fi
12733 rm -f core conftest.err conftest.$ac_objext \
12734     conftest$ac_exeext conftest.$ac_ext
12735   if test -z "$lt_cv_aix_libpath__CXX"; then
12736     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12737   fi
12738
12739 fi
12740
12741   aix_libpath=$lt_cv_aix_libpath__CXX
12742 fi
12743
12744           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12745
12746           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"
12747         else
12748           if test "$host_cpu" = ia64; then
12749             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12750             allow_undefined_flag_CXX="-z nodefs"
12751             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"
12752           else
12753             # Determine the default libpath from the value encoded in an
12754             # empty executable.
12755             if test "${lt_cv_aix_libpath+set}" = set; then
12756   aix_libpath=$lt_cv_aix_libpath
12757 else
12758   if ${lt_cv_aix_libpath__CXX+:} false; then :
12759   $as_echo_n "(cached) " >&6
12760 else
12761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12762 /* end confdefs.h.  */
12763
12764 int
12765 main ()
12766 {
12767
12768   ;
12769   return 0;
12770 }
12771 _ACEOF
12772 if ac_fn_cxx_try_link "$LINENO"; then :
12773
12774   lt_aix_libpath_sed='
12775       /Import File Strings/,/^$/ {
12776           /^0/ {
12777               s/^0  *\([^ ]*\) *$/\1/
12778               p
12779           }
12780       }'
12781   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12782   # Check for a 64-bit object if we didn't find anything.
12783   if test -z "$lt_cv_aix_libpath__CXX"; then
12784     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12785   fi
12786 fi
12787 rm -f core conftest.err conftest.$ac_objext \
12788     conftest$ac_exeext conftest.$ac_ext
12789   if test -z "$lt_cv_aix_libpath__CXX"; then
12790     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12791   fi
12792
12793 fi
12794
12795   aix_libpath=$lt_cv_aix_libpath__CXX
12796 fi
12797
12798             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12799             # Warning - without using the other run time loading flags,
12800             # -berok will link without error, but may produce a broken library.
12801             no_undefined_flag_CXX=' ${wl}-bernotok'
12802             allow_undefined_flag_CXX=' ${wl}-berok'
12803             if test "$with_gnu_ld" = yes; then
12804               # We only use this code for GNU lds that support --whole-archive.
12805               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12806             else
12807               # Exported symbols can be pulled into shared objects from archives
12808               whole_archive_flag_spec_CXX='$convenience'
12809             fi
12810             archive_cmds_need_lc_CXX=yes
12811             # This is similar to how AIX traditionally builds its shared
12812             # libraries.
12813             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'
12814           fi
12815         fi
12816         ;;
12817
12818       beos*)
12819         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12820           allow_undefined_flag_CXX=unsupported
12821           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12822           # support --undefined.  This deserves some investigation.  FIXME
12823           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12824         else
12825           ld_shlibs_CXX=no
12826         fi
12827         ;;
12828
12829       chorus*)
12830         case $cc_basename in
12831           *)
12832           # FIXME: insert proper C++ library support
12833           ld_shlibs_CXX=no
12834           ;;
12835         esac
12836         ;;
12837
12838       cygwin* | mingw* | pw32* | cegcc*)
12839         case $GXX,$cc_basename in
12840         ,cl* | no,cl*)
12841           # Native MSVC
12842           # hardcode_libdir_flag_spec is actually meaningless, as there is
12843           # no search path for DLLs.
12844           hardcode_libdir_flag_spec_CXX=' '
12845           allow_undefined_flag_CXX=unsupported
12846           always_export_symbols_CXX=yes
12847           file_list_spec_CXX='@'
12848           # Tell ltmain to make .lib files, not .a files.
12849           libext=lib
12850           # Tell ltmain to make .dll files, not .so files.
12851           shrext_cmds=".dll"
12852           # FIXME: Setting linknames here is a bad hack.
12853           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12854           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12855               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12856             else
12857               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12858             fi~
12859             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12860             linknames='
12861           # The linker will not automatically build a static lib if we build a DLL.
12862           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12863           enable_shared_with_static_runtimes_CXX=yes
12864           # Don't use ranlib
12865           old_postinstall_cmds_CXX='chmod 644 $oldlib'
12866           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12867             lt_tool_outputfile="@TOOL_OUTPUT@"~
12868             case $lt_outputfile in
12869               *.exe|*.EXE) ;;
12870               *)
12871                 lt_outputfile="$lt_outputfile.exe"
12872                 lt_tool_outputfile="$lt_tool_outputfile.exe"
12873                 ;;
12874             esac~
12875             func_to_tool_file "$lt_outputfile"~
12876             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12877               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12878               $RM "$lt_outputfile.manifest";
12879             fi'
12880           ;;
12881         *)
12882           # g++
12883           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12884           # as there is no search path for DLLs.
12885           hardcode_libdir_flag_spec_CXX='-L$libdir'
12886           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12887           allow_undefined_flag_CXX=unsupported
12888           always_export_symbols_CXX=no
12889           enable_shared_with_static_runtimes_CXX=yes
12890
12891           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12892             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'
12893             # If the export-symbols file already is a .def file (1st line
12894             # is EXPORTS), use it as is; otherwise, prepend...
12895             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12896               cp $export_symbols $output_objdir/$soname.def;
12897             else
12898               echo EXPORTS > $output_objdir/$soname.def;
12899               cat $export_symbols >> $output_objdir/$soname.def;
12900             fi~
12901             $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'
12902           else
12903             ld_shlibs_CXX=no
12904           fi
12905           ;;
12906         esac
12907         ;;
12908       darwin* | rhapsody*)
12909
12910
12911   archive_cmds_need_lc_CXX=no
12912   hardcode_direct_CXX=no
12913   hardcode_automatic_CXX=yes
12914   hardcode_shlibpath_var_CXX=unsupported
12915   if test "$lt_cv_ld_force_load" = "yes"; then
12916     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\"`'
12917   else
12918     whole_archive_flag_spec_CXX=''
12919   fi
12920   link_all_deplibs_CXX=yes
12921   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12922   case $cc_basename in
12923      ifort*) _lt_dar_can_shared=yes ;;
12924      *) _lt_dar_can_shared=$GCC ;;
12925   esac
12926   if test "$_lt_dar_can_shared" = "yes"; then
12927     output_verbose_link_cmd=func_echo_all
12928     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}"
12929     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12930     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}"
12931     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}"
12932        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12933       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}"
12934       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}"
12935     fi
12936
12937   else
12938   ld_shlibs_CXX=no
12939   fi
12940
12941         ;;
12942
12943       dgux*)
12944         case $cc_basename in
12945           ec++*)
12946             # FIXME: insert proper C++ library support
12947             ld_shlibs_CXX=no
12948             ;;
12949           ghcx*)
12950             # Green Hills C++ Compiler
12951             # FIXME: insert proper C++ library support
12952             ld_shlibs_CXX=no
12953             ;;
12954           *)
12955             # FIXME: insert proper C++ library support
12956             ld_shlibs_CXX=no
12957             ;;
12958         esac
12959         ;;
12960
12961       freebsd[12]*)
12962         # C++ shared libraries reported to be fairly broken before
12963         # switch to ELF
12964         ld_shlibs_CXX=no
12965         ;;
12966
12967       freebsd-elf*)
12968         archive_cmds_need_lc_CXX=no
12969         ;;
12970
12971       freebsd* | dragonfly*)
12972         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12973         # conventions
12974         ld_shlibs_CXX=yes
12975         ;;
12976
12977       gnu*)
12978         ;;
12979
12980       haiku*)
12981         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12982         link_all_deplibs_CXX=yes
12983         ;;
12984
12985       hpux9*)
12986         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12987         hardcode_libdir_separator_CXX=:
12988         export_dynamic_flag_spec_CXX='${wl}-E'
12989         hardcode_direct_CXX=yes
12990         hardcode_minus_L_CXX=yes # Not in the search PATH,
12991                                              # but as the default
12992                                              # location of the library.
12993
12994         case $cc_basename in
12995           CC*)
12996             # FIXME: insert proper C++ library support
12997             ld_shlibs_CXX=no
12998             ;;
12999           aCC*)
13000             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'
13001             # Commands to make compiler produce verbose output that lists
13002             # what "hidden" libraries, object files and flags are used when
13003             # linking a shared library.
13004             #
13005             # There doesn't appear to be a way to prevent this compiler from
13006             # explicitly linking system object files so we need to strip them
13007             # from the output so that they don't get included in the library
13008             # dependencies.
13009             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"'
13010             ;;
13011           *)
13012             if test "$GXX" = yes; then
13013               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'
13014             else
13015               # FIXME: insert proper C++ library support
13016               ld_shlibs_CXX=no
13017             fi
13018             ;;
13019         esac
13020         ;;
13021
13022       hpux10*|hpux11*)
13023         if test $with_gnu_ld = no; then
13024           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13025           hardcode_libdir_separator_CXX=:
13026
13027           case $host_cpu in
13028             hppa*64*|ia64*)
13029               ;;
13030             *)
13031               export_dynamic_flag_spec_CXX='${wl}-E'
13032               ;;
13033           esac
13034         fi
13035         case $host_cpu in
13036           hppa*64*|ia64*)
13037             hardcode_direct_CXX=no
13038             hardcode_shlibpath_var_CXX=no
13039             ;;
13040           *)
13041             hardcode_direct_CXX=yes
13042             hardcode_direct_absolute_CXX=yes
13043             hardcode_minus_L_CXX=yes # Not in the search PATH,
13044                                                  # but as the default
13045                                                  # location of the library.
13046             ;;
13047         esac
13048
13049         case $cc_basename in
13050           CC*)
13051             # FIXME: insert proper C++ library support
13052             ld_shlibs_CXX=no
13053             ;;
13054           aCC*)
13055             case $host_cpu in
13056               hppa*64*)
13057                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13058                 ;;
13059               ia64*)
13060                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13061                 ;;
13062               *)
13063                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13064                 ;;
13065             esac
13066             # Commands to make compiler produce verbose output that lists
13067             # what "hidden" libraries, object files and flags are used when
13068             # linking a shared library.
13069             #
13070             # There doesn't appear to be a way to prevent this compiler from
13071             # explicitly linking system object files so we need to strip them
13072             # from the output so that they don't get included in the library
13073             # dependencies.
13074             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"'
13075             ;;
13076           *)
13077             if test "$GXX" = yes; then
13078               if test $with_gnu_ld = no; then
13079                 case $host_cpu in
13080                   hppa*64*)
13081                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13082                     ;;
13083                   ia64*)
13084                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13085                     ;;
13086                   *)
13087                     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'
13088                     ;;
13089                 esac
13090               fi
13091             else
13092               # FIXME: insert proper C++ library support
13093               ld_shlibs_CXX=no
13094             fi
13095             ;;
13096         esac
13097         ;;
13098
13099       interix[3-9]*)
13100         hardcode_direct_CXX=no
13101         hardcode_shlibpath_var_CXX=no
13102         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13103         export_dynamic_flag_spec_CXX='${wl}-E'
13104         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13105         # Instead, shared libraries are loaded at an image base (0x10000000 by
13106         # default) and relocated if they conflict, which is a slow very memory
13107         # consuming and fragmenting process.  To avoid this, we pick a random,
13108         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13109         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13110         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'
13111         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'
13112         ;;
13113       irix5* | irix6*)
13114         case $cc_basename in
13115           CC*)
13116             # SGI C++
13117             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'
13118
13119             # Archives containing C++ object files must be created using
13120             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13121             # necessary to make sure instantiated templates are included
13122             # in the archive.
13123             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13124             ;;
13125           *)
13126             if test "$GXX" = yes; then
13127               if test "$with_gnu_ld" = no; then
13128                 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'
13129               else
13130                 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'
13131               fi
13132             fi
13133             link_all_deplibs_CXX=yes
13134             ;;
13135         esac
13136         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13137         hardcode_libdir_separator_CXX=:
13138         inherit_rpath_CXX=yes
13139         ;;
13140
13141       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13142         case $cc_basename in
13143           KCC*)
13144             # Kuck and Associates, Inc. (KAI) C++ Compiler
13145
13146             # KCC will only create a shared library if the output file
13147             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13148             # to its proper name (with version) after linking.
13149             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'
13150             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'
13151             # Commands to make compiler produce verbose output that lists
13152             # what "hidden" libraries, object files and flags are used when
13153             # linking a shared library.
13154             #
13155             # There doesn't appear to be a way to prevent this compiler from
13156             # explicitly linking system object files so we need to strip them
13157             # from the output so that they don't get included in the library
13158             # dependencies.
13159             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"'
13160
13161             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13162             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13163
13164             # Archives containing C++ object files must be created using
13165             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13166             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13167             ;;
13168           icpc* | ecpc* )
13169             # Intel C++
13170             with_gnu_ld=yes
13171             # version 8.0 and above of icpc choke on multiply defined symbols
13172             # if we add $predep_objects and $postdep_objects, however 7.1 and
13173             # earlier do not add the objects themselves.
13174             case `$CC -V 2>&1` in
13175               *"Version 7."*)
13176                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13177                 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'
13178                 ;;
13179               *)  # Version 8.0 or newer
13180                 tmp_idyn=
13181                 case $host_cpu in
13182                   ia64*) tmp_idyn=' -i_dynamic';;
13183                 esac
13184                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13185                 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'
13186                 ;;
13187             esac
13188             archive_cmds_need_lc_CXX=no
13189             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13190             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13191             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13192             ;;
13193           pgCC* | pgcpp*)
13194             # Portland Group C++ compiler
13195             case `$CC -V` in
13196             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13197               prelink_cmds_CXX='tpldir=Template.dir~
13198                 rm -rf $tpldir~
13199                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13200                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13201               old_archive_cmds_CXX='tpldir=Template.dir~
13202                 rm -rf $tpldir~
13203                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13204                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13205                 $RANLIB $oldlib'
13206               archive_cmds_CXX='tpldir=Template.dir~
13207                 rm -rf $tpldir~
13208                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13209                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13210               archive_expsym_cmds_CXX='tpldir=Template.dir~
13211                 rm -rf $tpldir~
13212                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13213                 $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'
13214               ;;
13215             *) # Version 6 and above use weak symbols
13216               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13217               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'
13218               ;;
13219             esac
13220
13221             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13222             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13223             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'
13224             ;;
13225           cxx*)
13226             # Compaq C++
13227             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13228             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'
13229
13230             runpath_var=LD_RUN_PATH
13231             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13232             hardcode_libdir_separator_CXX=:
13233
13234             # Commands to make compiler produce verbose output that lists
13235             # what "hidden" libraries, object files and flags are used when
13236             # linking a shared library.
13237             #
13238             # There doesn't appear to be a way to prevent this compiler from
13239             # explicitly linking system object files so we need to strip them
13240             # from the output so that they don't get included in the library
13241             # dependencies.
13242             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'
13243             ;;
13244           xl* | mpixl* | bgxl*)
13245             # IBM XL 8.0 on PPC, with GNU ld
13246             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13247             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13248             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13249             if test "x$supports_anon_versioning" = xyes; then
13250               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13251                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13252                 echo "local: *; };" >> $output_objdir/$libname.ver~
13253                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13254             fi
13255             ;;
13256           *)
13257             case `$CC -V 2>&1 | sed 5q` in
13258             *Sun\ C*)
13259               # Sun C++ 5.9
13260               no_undefined_flag_CXX=' -zdefs'
13261               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13262               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'
13263               hardcode_libdir_flag_spec_CXX='-R$libdir'
13264               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'
13265               compiler_needs_object_CXX=yes
13266
13267               # Not sure whether something based on
13268               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13269               # would be better.
13270               output_verbose_link_cmd='func_echo_all'
13271
13272               # Archives containing C++ object files must be created using
13273               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13274               # necessary to make sure instantiated templates are included
13275               # in the archive.
13276               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13277               ;;
13278             esac
13279             ;;
13280         esac
13281         ;;
13282
13283       lynxos*)
13284         # FIXME: insert proper C++ library support
13285         ld_shlibs_CXX=no
13286         ;;
13287
13288       m88k*)
13289         # FIXME: insert proper C++ library support
13290         ld_shlibs_CXX=no
13291         ;;
13292
13293       mvs*)
13294         case $cc_basename in
13295           cxx*)
13296             # FIXME: insert proper C++ library support
13297             ld_shlibs_CXX=no
13298             ;;
13299           *)
13300             # FIXME: insert proper C++ library support
13301             ld_shlibs_CXX=no
13302             ;;
13303         esac
13304         ;;
13305
13306       netbsd*)
13307         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13308           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13309           wlarc=
13310           hardcode_libdir_flag_spec_CXX='-R$libdir'
13311           hardcode_direct_CXX=yes
13312           hardcode_shlibpath_var_CXX=no
13313         fi
13314         # Workaround some broken pre-1.5 toolchains
13315         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13316         ;;
13317
13318       *nto* | *qnx*)
13319         ld_shlibs_CXX=yes
13320         ;;
13321
13322       openbsd2*)
13323         # C++ shared libraries are fairly broken
13324         ld_shlibs_CXX=no
13325         ;;
13326
13327       openbsd*)
13328         if test -f /usr/libexec/ld.so; then
13329           hardcode_direct_CXX=yes
13330           hardcode_shlibpath_var_CXX=no
13331           hardcode_direct_absolute_CXX=yes
13332           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13333           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13334           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13335             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13336             export_dynamic_flag_spec_CXX='${wl}-E'
13337             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13338           fi
13339           output_verbose_link_cmd=func_echo_all
13340         else
13341           ld_shlibs_CXX=no
13342         fi
13343         ;;
13344
13345       osf3* | osf4* | osf5*)
13346         case $cc_basename in
13347           KCC*)
13348             # Kuck and Associates, Inc. (KAI) C++ Compiler
13349
13350             # KCC will only create a shared library if the output file
13351             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13352             # to its proper name (with version) after linking.
13353             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'
13354
13355             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13356             hardcode_libdir_separator_CXX=:
13357
13358             # Archives containing C++ object files must be created using
13359             # the KAI C++ compiler.
13360             case $host in
13361               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13362               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13363             esac
13364             ;;
13365           RCC*)
13366             # Rational C++ 2.4.1
13367             # FIXME: insert proper C++ library support
13368             ld_shlibs_CXX=no
13369             ;;
13370           cxx*)
13371             case $host in
13372               osf3*)
13373                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13374                 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'
13375                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13376                 ;;
13377               *)
13378                 allow_undefined_flag_CXX=' -expect_unresolved \*'
13379                 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'
13380                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13381                   echo "-hidden">> $lib.exp~
13382                   $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~
13383                   $RM $lib.exp'
13384                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13385                 ;;
13386             esac
13387
13388             hardcode_libdir_separator_CXX=:
13389
13390             # Commands to make compiler produce verbose output that lists
13391             # what "hidden" libraries, object files and flags are used when
13392             # linking a shared library.
13393             #
13394             # There doesn't appear to be a way to prevent this compiler from
13395             # explicitly linking system object files so we need to strip them
13396             # from the output so that they don't get included in the library
13397             # dependencies.
13398             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"'
13399             ;;
13400           *)
13401             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13402               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13403               case $host in
13404                 osf3*)
13405                   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'
13406                   ;;
13407                 *)
13408                   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'
13409                   ;;
13410               esac
13411
13412               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13413               hardcode_libdir_separator_CXX=:
13414
13415               # Commands to make compiler produce verbose output that lists
13416               # what "hidden" libraries, object files and flags are used when
13417               # linking a shared library.
13418               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13419
13420             else
13421               # FIXME: insert proper C++ library support
13422               ld_shlibs_CXX=no
13423             fi
13424             ;;
13425         esac
13426         ;;
13427
13428       psos*)
13429         # FIXME: insert proper C++ library support
13430         ld_shlibs_CXX=no
13431         ;;
13432
13433       sunos4*)
13434         case $cc_basename in
13435           CC*)
13436             # Sun C++ 4.x
13437             # FIXME: insert proper C++ library support
13438             ld_shlibs_CXX=no
13439             ;;
13440           lcc*)
13441             # Lucid
13442             # FIXME: insert proper C++ library support
13443             ld_shlibs_CXX=no
13444             ;;
13445           *)
13446             # FIXME: insert proper C++ library support
13447             ld_shlibs_CXX=no
13448             ;;
13449         esac
13450         ;;
13451
13452       solaris*)
13453         case $cc_basename in
13454           CC* | sunCC*)
13455             # Sun C++ 4.2, 5.x and Centerline C++
13456             archive_cmds_need_lc_CXX=yes
13457             no_undefined_flag_CXX=' -zdefs'
13458             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13459             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13460               $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'
13461
13462             hardcode_libdir_flag_spec_CXX='-R$libdir'
13463             hardcode_shlibpath_var_CXX=no
13464             case $host_os in
13465               solaris2.[0-5] | solaris2.[0-5].*) ;;
13466               *)
13467                 # The compiler driver will combine and reorder linker options,
13468                 # but understands `-z linker_flag'.
13469                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13470                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13471                 ;;
13472             esac
13473             link_all_deplibs_CXX=yes
13474
13475             output_verbose_link_cmd='func_echo_all'
13476
13477             # Archives containing C++ object files must be created using
13478             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13479             # necessary to make sure instantiated templates are included
13480             # in the archive.
13481             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13482             ;;
13483           gcx*)
13484             # Green Hills C++ Compiler
13485             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13486
13487             # The C++ compiler must be used to create the archive.
13488             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13489             ;;
13490           *)
13491             # GNU C++ compiler with Solaris linker
13492             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13493               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13494               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13495                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13496                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13497                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13498
13499                 # Commands to make compiler produce verbose output that lists
13500                 # what "hidden" libraries, object files and flags are used when
13501                 # linking a shared library.
13502                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13503               else
13504                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13505                 # platform.
13506                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13507                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13508                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13509
13510                 # Commands to make compiler produce verbose output that lists
13511                 # what "hidden" libraries, object files and flags are used when
13512                 # linking a shared library.
13513                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13514               fi
13515
13516               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13517               case $host_os in
13518                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13519                 *)
13520                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13521                   ;;
13522               esac
13523             fi
13524             ;;
13525         esac
13526         ;;
13527
13528     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13529       no_undefined_flag_CXX='${wl}-z,text'
13530       archive_cmds_need_lc_CXX=no
13531       hardcode_shlibpath_var_CXX=no
13532       runpath_var='LD_RUN_PATH'
13533
13534       case $cc_basename in
13535         CC*)
13536           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13537           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13538           ;;
13539         *)
13540           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13541           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13542           ;;
13543       esac
13544       ;;
13545
13546       sysv5* | sco3.2v5* | sco5v6*)
13547         # Note: We can NOT use -z defs as we might desire, because we do not
13548         # link with -lc, and that would cause any symbols used from libc to
13549         # always be unresolved, which means just about no library would
13550         # ever link correctly.  If we're not using GNU ld we use -z text
13551         # though, which does catch some bad symbols but isn't as heavy-handed
13552         # as -z defs.
13553         no_undefined_flag_CXX='${wl}-z,text'
13554         allow_undefined_flag_CXX='${wl}-z,nodefs'
13555         archive_cmds_need_lc_CXX=no
13556         hardcode_shlibpath_var_CXX=no
13557         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13558         hardcode_libdir_separator_CXX=':'
13559         link_all_deplibs_CXX=yes
13560         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13561         runpath_var='LD_RUN_PATH'
13562
13563         case $cc_basename in
13564           CC*)
13565             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13566             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13567             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13568               '"$old_archive_cmds_CXX"
13569             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13570               '"$reload_cmds_CXX"
13571             ;;
13572           *)
13573             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13574             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13575             ;;
13576         esac
13577       ;;
13578
13579       tandem*)
13580         case $cc_basename in
13581           NCC*)
13582             # NonStop-UX NCC 3.20
13583             # FIXME: insert proper C++ library support
13584             ld_shlibs_CXX=no
13585             ;;
13586           *)
13587             # FIXME: insert proper C++ library support
13588             ld_shlibs_CXX=no
13589             ;;
13590         esac
13591         ;;
13592
13593       vxworks*)
13594         # FIXME: insert proper C++ library support
13595         ld_shlibs_CXX=no
13596         ;;
13597
13598       *)
13599         # FIXME: insert proper C++ library support
13600         ld_shlibs_CXX=no
13601         ;;
13602     esac
13603
13604     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13605 $as_echo "$ld_shlibs_CXX" >&6; }
13606     test "$ld_shlibs_CXX" = no && can_build_shared=no
13607
13608     GCC_CXX="$GXX"
13609     LD_CXX="$LD"
13610
13611     ## CAVEAT EMPTOR:
13612     ## There is no encapsulation within the following macros, do not change
13613     ## the running order or otherwise move them around unless you know exactly
13614     ## what you are doing...
13615     # Dependencies to place before and after the object being linked:
13616 predep_objects_CXX=
13617 postdep_objects_CXX=
13618 predeps_CXX=
13619 postdeps_CXX=
13620 compiler_lib_search_path_CXX=
13621
13622 cat > conftest.$ac_ext <<_LT_EOF
13623 class Foo
13624 {
13625 public:
13626   Foo (void) { a = 0; }
13627 private:
13628   int a;
13629 };
13630 _LT_EOF
13631
13632
13633 _lt_libdeps_save_CFLAGS=$CFLAGS
13634 case "$CC $CFLAGS " in #(
13635 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13636 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13637 esac
13638
13639 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13640   (eval $ac_compile) 2>&5
13641   ac_status=$?
13642   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13643   test $ac_status = 0; }; then
13644   # Parse the compiler output and extract the necessary
13645   # objects, libraries and library flags.
13646
13647   # Sentinel used to keep track of whether or not we are before
13648   # the conftest object file.
13649   pre_test_object_deps_done=no
13650
13651   for p in `eval "$output_verbose_link_cmd"`; do
13652     case ${prev}${p} in
13653
13654     -L* | -R* | -l*)
13655        # Some compilers place space between "-{L,R}" and the path.
13656        # Remove the space.
13657        if test $p = "-L" ||
13658           test $p = "-R"; then
13659          prev=$p
13660          continue
13661        fi
13662
13663        # Expand the sysroot to ease extracting the directories later.
13664        if test -z "$prev"; then
13665          case $p in
13666          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13667          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13668          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13669          esac
13670        fi
13671        case $p in
13672        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13673        esac
13674        if test "$pre_test_object_deps_done" = no; then
13675          case ${prev} in
13676          -L | -R)
13677            # Internal compiler library paths should come after those
13678            # provided the user.  The postdeps already come after the
13679            # user supplied libs so there is no need to process them.
13680            if test -z "$compiler_lib_search_path_CXX"; then
13681              compiler_lib_search_path_CXX="${prev}${p}"
13682            else
13683              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13684            fi
13685            ;;
13686          # The "-l" case would never come before the object being
13687          # linked, so don't bother handling this case.
13688          esac
13689        else
13690          if test -z "$postdeps_CXX"; then
13691            postdeps_CXX="${prev}${p}"
13692          else
13693            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13694          fi
13695        fi
13696        prev=
13697        ;;
13698
13699     *.lto.$objext) ;; # Ignore GCC LTO objects
13700     *.$objext)
13701        # This assumes that the test object file only shows up
13702        # once in the compiler output.
13703        if test "$p" = "conftest.$objext"; then
13704          pre_test_object_deps_done=yes
13705          continue
13706        fi
13707
13708        if test "$pre_test_object_deps_done" = no; then
13709          if test -z "$predep_objects_CXX"; then
13710            predep_objects_CXX="$p"
13711          else
13712            predep_objects_CXX="$predep_objects_CXX $p"
13713          fi
13714        else
13715          if test -z "$postdep_objects_CXX"; then
13716            postdep_objects_CXX="$p"
13717          else
13718            postdep_objects_CXX="$postdep_objects_CXX $p"
13719          fi
13720        fi
13721        ;;
13722
13723     *) ;; # Ignore the rest.
13724
13725     esac
13726   done
13727
13728   # Clean up.
13729   rm -f a.out a.exe
13730 else
13731   echo "libtool.m4: error: problem compiling CXX test program"
13732 fi
13733
13734 $RM -f confest.$objext
13735 CFLAGS=$_lt_libdeps_save_CFLAGS
13736
13737 # PORTME: override above test on systems where it is broken
13738 case $host_os in
13739 interix[3-9]*)
13740   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13741   # hack all around it, let's just trust "g++" to DTRT.
13742   predep_objects_CXX=
13743   postdep_objects_CXX=
13744   postdeps_CXX=
13745   ;;
13746
13747 linux*)
13748   case `$CC -V 2>&1 | sed 5q` in
13749   *Sun\ C*)
13750     # Sun C++ 5.9
13751
13752     # The more standards-conforming stlport4 library is
13753     # incompatible with the Cstd library. Avoid specifying
13754     # it if it's in CXXFLAGS. Ignore libCrun as
13755     # -library=stlport4 depends on it.
13756     case " $CXX $CXXFLAGS " in
13757     *" -library=stlport4 "*)
13758       solaris_use_stlport4=yes
13759       ;;
13760     esac
13761
13762     if test "$solaris_use_stlport4" != yes; then
13763       postdeps_CXX='-library=Cstd -library=Crun'
13764     fi
13765     ;;
13766   esac
13767   ;;
13768
13769 solaris*)
13770   case $cc_basename in
13771   CC* | sunCC*)
13772     # The more standards-conforming stlport4 library is
13773     # incompatible with the Cstd library. Avoid specifying
13774     # it if it's in CXXFLAGS. Ignore libCrun as
13775     # -library=stlport4 depends on it.
13776     case " $CXX $CXXFLAGS " in
13777     *" -library=stlport4 "*)
13778       solaris_use_stlport4=yes
13779       ;;
13780     esac
13781
13782     # Adding this requires a known-good setup of shared libraries for
13783     # Sun compiler versions before 5.6, else PIC objects from an old
13784     # archive will be linked into the output, leading to subtle bugs.
13785     if test "$solaris_use_stlport4" != yes; then
13786       postdeps_CXX='-library=Cstd -library=Crun'
13787     fi
13788     ;;
13789   esac
13790   ;;
13791 esac
13792
13793
13794 case " $postdeps_CXX " in
13795 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13796 esac
13797  compiler_lib_search_dirs_CXX=
13798 if test -n "${compiler_lib_search_path_CXX}"; then
13799  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13800 fi
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832     lt_prog_compiler_wl_CXX=
13833 lt_prog_compiler_pic_CXX=
13834 lt_prog_compiler_static_CXX=
13835
13836
13837   # C++ specific cases for pic, static, wl, etc.
13838   if test "$GXX" = yes; then
13839     lt_prog_compiler_wl_CXX='-Wl,'
13840     lt_prog_compiler_static_CXX='-static'
13841
13842     case $host_os in
13843     aix*)
13844       # All AIX code is PIC.
13845       if test "$host_cpu" = ia64; then
13846         # AIX 5 now supports IA64 processor
13847         lt_prog_compiler_static_CXX='-Bstatic'
13848       fi
13849       ;;
13850
13851     amigaos*)
13852       case $host_cpu in
13853       powerpc)
13854             # see comment about AmigaOS4 .so support
13855             lt_prog_compiler_pic_CXX='-fPIC'
13856         ;;
13857       m68k)
13858             # FIXME: we need at least 68020 code to build shared libraries, but
13859             # adding the `-m68020' flag to GCC prevents building anything better,
13860             # like `-m68040'.
13861             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13862         ;;
13863       esac
13864       ;;
13865
13866     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13867       # PIC is the default for these OSes.
13868       ;;
13869     mingw* | cygwin* | os2* | pw32* | cegcc*)
13870       # This hack is so that the source file can tell whether it is being
13871       # built for inclusion in a dll (and should export symbols for example).
13872       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13873       # (--disable-auto-import) libraries
13874       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13875       ;;
13876     darwin* | rhapsody*)
13877       # PIC is the default on this platform
13878       # Common symbols not allowed in MH_DYLIB files
13879       lt_prog_compiler_pic_CXX='-fno-common'
13880       ;;
13881     *djgpp*)
13882       # DJGPP does not support shared libraries at all
13883       lt_prog_compiler_pic_CXX=
13884       ;;
13885     haiku*)
13886       # PIC is the default for Haiku.
13887       # The "-static" flag exists, but is broken.
13888       lt_prog_compiler_static_CXX=
13889       ;;
13890     interix[3-9]*)
13891       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13892       # Instead, we relocate shared libraries at runtime.
13893       ;;
13894     sysv4*MP*)
13895       if test -d /usr/nec; then
13896         lt_prog_compiler_pic_CXX=-Kconform_pic
13897       fi
13898       ;;
13899     hpux*)
13900       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13901       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13902       # sets the default TLS model and affects inlining.
13903       case $host_cpu in
13904       hppa*64*)
13905         ;;
13906       *)
13907         lt_prog_compiler_pic_CXX='-fPIC'
13908         ;;
13909       esac
13910       ;;
13911     *qnx* | *nto*)
13912       # QNX uses GNU C++, but need to define -shared option too, otherwise
13913       # it will coredump.
13914       lt_prog_compiler_pic_CXX='-fPIC -shared'
13915       ;;
13916     *)
13917       lt_prog_compiler_pic_CXX='-fPIC'
13918       ;;
13919     esac
13920   else
13921     case $host_os in
13922       aix[4-9]*)
13923         # All AIX code is PIC.
13924         if test "$host_cpu" = ia64; then
13925           # AIX 5 now supports IA64 processor
13926           lt_prog_compiler_static_CXX='-Bstatic'
13927         else
13928           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13929         fi
13930         ;;
13931       chorus*)
13932         case $cc_basename in
13933         cxch68*)
13934           # Green Hills C++ Compiler
13935           # _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"
13936           ;;
13937         esac
13938         ;;
13939       mingw* | cygwin* | os2* | pw32* | cegcc*)
13940         # This hack is so that the source file can tell whether it is being
13941         # built for inclusion in a dll (and should export symbols for example).
13942         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13943         ;;
13944       dgux*)
13945         case $cc_basename in
13946           ec++*)
13947             lt_prog_compiler_pic_CXX='-KPIC'
13948             ;;
13949           ghcx*)
13950             # Green Hills C++ Compiler
13951             lt_prog_compiler_pic_CXX='-pic'
13952             ;;
13953           *)
13954             ;;
13955         esac
13956         ;;
13957       freebsd* | dragonfly*)
13958         # FreeBSD uses GNU C++
13959         ;;
13960       hpux9* | hpux10* | hpux11*)
13961         case $cc_basename in
13962           CC*)
13963             lt_prog_compiler_wl_CXX='-Wl,'
13964             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13965             if test "$host_cpu" != ia64; then
13966               lt_prog_compiler_pic_CXX='+Z'
13967             fi
13968             ;;
13969           aCC*)
13970             lt_prog_compiler_wl_CXX='-Wl,'
13971             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13972             case $host_cpu in
13973             hppa*64*|ia64*)
13974               # +Z the default
13975               ;;
13976             *)
13977               lt_prog_compiler_pic_CXX='+Z'
13978               ;;
13979             esac
13980             ;;
13981           *)
13982             ;;
13983         esac
13984         ;;
13985       interix*)
13986         # This is c89, which is MS Visual C++ (no shared libs)
13987         # Anyone wants to do a port?
13988         ;;
13989       irix5* | irix6* | nonstopux*)
13990         case $cc_basename in
13991           CC*)
13992             lt_prog_compiler_wl_CXX='-Wl,'
13993             lt_prog_compiler_static_CXX='-non_shared'
13994             # CC pic flag -KPIC is the default.
13995             ;;
13996           *)
13997             ;;
13998         esac
13999         ;;
14000       linux* | k*bsd*-gnu | kopensolaris*-gnu)
14001         case $cc_basename in
14002           KCC*)
14003             # KAI C++ Compiler
14004             lt_prog_compiler_wl_CXX='--backend -Wl,'
14005             lt_prog_compiler_pic_CXX='-fPIC'
14006             ;;
14007           ecpc* )
14008             # old Intel C++ for x86_64 which still supported -KPIC.
14009             lt_prog_compiler_wl_CXX='-Wl,'
14010             lt_prog_compiler_pic_CXX='-KPIC'
14011             lt_prog_compiler_static_CXX='-static'
14012             ;;
14013           icpc* )
14014             # Intel C++, used to be incompatible with GCC.
14015             # ICC 10 doesn't accept -KPIC any more.
14016             lt_prog_compiler_wl_CXX='-Wl,'
14017             lt_prog_compiler_pic_CXX='-fPIC'
14018             lt_prog_compiler_static_CXX='-static'
14019             ;;
14020           pgCC* | pgcpp*)
14021             # Portland Group C++ compiler
14022             lt_prog_compiler_wl_CXX='-Wl,'
14023             lt_prog_compiler_pic_CXX='-fpic'
14024             lt_prog_compiler_static_CXX='-Bstatic'
14025             ;;
14026           cxx*)
14027             # Compaq C++
14028             # Make sure the PIC flag is empty.  It appears that all Alpha
14029             # Linux and Compaq Tru64 Unix objects are PIC.
14030             lt_prog_compiler_pic_CXX=
14031             lt_prog_compiler_static_CXX='-non_shared'
14032             ;;
14033           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14034             # IBM XL 8.0, 9.0 on PPC and BlueGene
14035             lt_prog_compiler_wl_CXX='-Wl,'
14036             lt_prog_compiler_pic_CXX='-qpic'
14037             lt_prog_compiler_static_CXX='-qstaticlink'
14038             ;;
14039           *)
14040             case `$CC -V 2>&1 | sed 5q` in
14041             *Sun\ C*)
14042               # Sun C++ 5.9
14043               lt_prog_compiler_pic_CXX='-KPIC'
14044               lt_prog_compiler_static_CXX='-Bstatic'
14045               lt_prog_compiler_wl_CXX='-Qoption ld '
14046               ;;
14047             esac
14048             ;;
14049         esac
14050         ;;
14051       lynxos*)
14052         ;;
14053       m88k*)
14054         ;;
14055       mvs*)
14056         case $cc_basename in
14057           cxx*)
14058             lt_prog_compiler_pic_CXX='-W c,exportall'
14059             ;;
14060           *)
14061             ;;
14062         esac
14063         ;;
14064       netbsd*)
14065         ;;
14066       *qnx* | *nto*)
14067         # QNX uses GNU C++, but need to define -shared option too, otherwise
14068         # it will coredump.
14069         lt_prog_compiler_pic_CXX='-fPIC -shared'
14070         ;;
14071       osf3* | osf4* | osf5*)
14072         case $cc_basename in
14073           KCC*)
14074             lt_prog_compiler_wl_CXX='--backend -Wl,'
14075             ;;
14076           RCC*)
14077             # Rational C++ 2.4.1
14078             lt_prog_compiler_pic_CXX='-pic'
14079             ;;
14080           cxx*)
14081             # Digital/Compaq C++
14082             lt_prog_compiler_wl_CXX='-Wl,'
14083             # Make sure the PIC flag is empty.  It appears that all Alpha
14084             # Linux and Compaq Tru64 Unix objects are PIC.
14085             lt_prog_compiler_pic_CXX=
14086             lt_prog_compiler_static_CXX='-non_shared'
14087             ;;
14088           *)
14089             ;;
14090         esac
14091         ;;
14092       psos*)
14093         ;;
14094       solaris*)
14095         case $cc_basename in
14096           CC* | sunCC*)
14097             # Sun C++ 4.2, 5.x and Centerline C++
14098             lt_prog_compiler_pic_CXX='-KPIC'
14099             lt_prog_compiler_static_CXX='-Bstatic'
14100             lt_prog_compiler_wl_CXX='-Qoption ld '
14101             ;;
14102           gcx*)
14103             # Green Hills C++ Compiler
14104             lt_prog_compiler_pic_CXX='-PIC'
14105             ;;
14106           *)
14107             ;;
14108         esac
14109         ;;
14110       sunos4*)
14111         case $cc_basename in
14112           CC*)
14113             # Sun C++ 4.x
14114             lt_prog_compiler_pic_CXX='-pic'
14115             lt_prog_compiler_static_CXX='-Bstatic'
14116             ;;
14117           lcc*)
14118             # Lucid
14119             lt_prog_compiler_pic_CXX='-pic'
14120             ;;
14121           *)
14122             ;;
14123         esac
14124         ;;
14125       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14126         case $cc_basename in
14127           CC*)
14128             lt_prog_compiler_wl_CXX='-Wl,'
14129             lt_prog_compiler_pic_CXX='-KPIC'
14130             lt_prog_compiler_static_CXX='-Bstatic'
14131             ;;
14132         esac
14133         ;;
14134       tandem*)
14135         case $cc_basename in
14136           NCC*)
14137             # NonStop-UX NCC 3.20
14138             lt_prog_compiler_pic_CXX='-KPIC'
14139             ;;
14140           *)
14141             ;;
14142         esac
14143         ;;
14144       vxworks*)
14145         ;;
14146       *)
14147         lt_prog_compiler_can_build_shared_CXX=no
14148         ;;
14149     esac
14150   fi
14151
14152 case $host_os in
14153   # For platforms which do not support PIC, -DPIC is meaningless:
14154   *djgpp*)
14155     lt_prog_compiler_pic_CXX=
14156     ;;
14157   *)
14158     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14159     ;;
14160 esac
14161
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14163 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14164 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14165   $as_echo_n "(cached) " >&6
14166 else
14167   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14168 fi
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14170 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14171 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14172
14173 #
14174 # Check to make sure the PIC flag actually works.
14175 #
14176 if test -n "$lt_prog_compiler_pic_CXX"; then
14177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14178 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14179 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14180   $as_echo_n "(cached) " >&6
14181 else
14182   lt_cv_prog_compiler_pic_works_CXX=no
14183    ac_outfile=conftest.$ac_objext
14184    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14185    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14186    # Insert the option either (1) after the last *FLAGS variable, or
14187    # (2) before a word containing "conftest.", or (3) at the end.
14188    # Note that $ac_compile itself does not contain backslashes and begins
14189    # with a dollar sign (not a hyphen), so the echo should work correctly.
14190    # The option is referenced via a variable to avoid confusing sed.
14191    lt_compile=`echo "$ac_compile" | $SED \
14192    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14193    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14194    -e 's:$: $lt_compiler_flag:'`
14195    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14196    (eval "$lt_compile" 2>conftest.err)
14197    ac_status=$?
14198    cat conftest.err >&5
14199    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200    if (exit $ac_status) && test -s "$ac_outfile"; then
14201      # The compiler can only warn and ignore the option if not recognized
14202      # So say no if there are warnings other than the usual output.
14203      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14204      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14205      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14206        lt_cv_prog_compiler_pic_works_CXX=yes
14207      fi
14208    fi
14209    $RM conftest*
14210
14211 fi
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14213 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14214
14215 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14216     case $lt_prog_compiler_pic_CXX in
14217      "" | " "*) ;;
14218      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14219      esac
14220 else
14221     lt_prog_compiler_pic_CXX=
14222      lt_prog_compiler_can_build_shared_CXX=no
14223 fi
14224
14225 fi
14226
14227
14228
14229
14230
14231 #
14232 # Check to make sure the static flag actually works.
14233 #
14234 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14236 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14237 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14238   $as_echo_n "(cached) " >&6
14239 else
14240   lt_cv_prog_compiler_static_works_CXX=no
14241    save_LDFLAGS="$LDFLAGS"
14242    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14243    echo "$lt_simple_link_test_code" > conftest.$ac_ext
14244    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14245      # The linker can only warn and ignore the option if not recognized
14246      # So say no if there are warnings
14247      if test -s conftest.err; then
14248        # Append any errors to the config.log.
14249        cat conftest.err 1>&5
14250        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14251        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14252        if diff conftest.exp conftest.er2 >/dev/null; then
14253          lt_cv_prog_compiler_static_works_CXX=yes
14254        fi
14255      else
14256        lt_cv_prog_compiler_static_works_CXX=yes
14257      fi
14258    fi
14259    $RM -r conftest*
14260    LDFLAGS="$save_LDFLAGS"
14261
14262 fi
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14264 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14265
14266 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14267     :
14268 else
14269     lt_prog_compiler_static_CXX=
14270 fi
14271
14272
14273
14274
14275     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14276 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14277 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14278   $as_echo_n "(cached) " >&6
14279 else
14280   lt_cv_prog_compiler_c_o_CXX=no
14281    $RM -r conftest 2>/dev/null
14282    mkdir conftest
14283    cd conftest
14284    mkdir out
14285    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14286
14287    lt_compiler_flag="-o out/conftest2.$ac_objext"
14288    # Insert the option either (1) after the last *FLAGS variable, or
14289    # (2) before a word containing "conftest.", or (3) at the end.
14290    # Note that $ac_compile itself does not contain backslashes and begins
14291    # with a dollar sign (not a hyphen), so the echo should work correctly.
14292    lt_compile=`echo "$ac_compile" | $SED \
14293    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14294    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14295    -e 's:$: $lt_compiler_flag:'`
14296    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14297    (eval "$lt_compile" 2>out/conftest.err)
14298    ac_status=$?
14299    cat out/conftest.err >&5
14300    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14302    then
14303      # The compiler can only warn and ignore the option if not recognized
14304      # So say no if there are warnings
14305      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14306      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14307      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14308        lt_cv_prog_compiler_c_o_CXX=yes
14309      fi
14310    fi
14311    chmod u+w . 2>&5
14312    $RM conftest*
14313    # SGI C++ compiler will create directory out/ii_files/ for
14314    # template instantiation
14315    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14316    $RM out/* && rmdir out
14317    cd ..
14318    $RM -r conftest
14319    $RM conftest*
14320
14321 fi
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14323 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14324
14325
14326
14327     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14328 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14329 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14330   $as_echo_n "(cached) " >&6
14331 else
14332   lt_cv_prog_compiler_c_o_CXX=no
14333    $RM -r conftest 2>/dev/null
14334    mkdir conftest
14335    cd conftest
14336    mkdir out
14337    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14338
14339    lt_compiler_flag="-o out/conftest2.$ac_objext"
14340    # Insert the option either (1) after the last *FLAGS variable, or
14341    # (2) before a word containing "conftest.", or (3) at the end.
14342    # Note that $ac_compile itself does not contain backslashes and begins
14343    # with a dollar sign (not a hyphen), so the echo should work correctly.
14344    lt_compile=`echo "$ac_compile" | $SED \
14345    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14346    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14347    -e 's:$: $lt_compiler_flag:'`
14348    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14349    (eval "$lt_compile" 2>out/conftest.err)
14350    ac_status=$?
14351    cat out/conftest.err >&5
14352    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14354    then
14355      # The compiler can only warn and ignore the option if not recognized
14356      # So say no if there are warnings
14357      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14358      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14359      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14360        lt_cv_prog_compiler_c_o_CXX=yes
14361      fi
14362    fi
14363    chmod u+w . 2>&5
14364    $RM conftest*
14365    # SGI C++ compiler will create directory out/ii_files/ for
14366    # template instantiation
14367    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14368    $RM out/* && rmdir out
14369    cd ..
14370    $RM -r conftest
14371    $RM conftest*
14372
14373 fi
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14375 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14376
14377
14378
14379
14380 hard_links="nottested"
14381 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14382   # do not overwrite the value of need_locks provided by the user
14383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14384 $as_echo_n "checking if we can lock with hard links... " >&6; }
14385   hard_links=yes
14386   $RM conftest*
14387   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14388   touch conftest.a
14389   ln conftest.a conftest.b 2>&5 || hard_links=no
14390   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14392 $as_echo "$hard_links" >&6; }
14393   if test "$hard_links" = no; then
14394     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14395 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14396     need_locks=warn
14397   fi
14398 else
14399   need_locks=no
14400 fi
14401
14402
14403
14404     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14405 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14406
14407   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14408   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14409   case $host_os in
14410   aix[4-9]*)
14411     # If we're using GNU nm, then we don't want the "-C" option.
14412     # -C means demangle to AIX nm, but means don't demangle with GNU nm
14413     # Also, AIX nm treats weak defined symbols like other global defined
14414     # symbols, whereas GNU nm marks them as "W".
14415     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14416       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'
14417     else
14418       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'
14419     fi
14420     ;;
14421   pw32*)
14422     export_symbols_cmds_CXX="$ltdll_cmds"
14423     ;;
14424   cygwin* | mingw* | cegcc*)
14425     case $cc_basename in
14426     cl*) ;;
14427     *)
14428       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'
14429       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14430       ;;
14431     esac
14432     ;;
14433   *)
14434     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14435     ;;
14436   esac
14437
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14439 $as_echo "$ld_shlibs_CXX" >&6; }
14440 test "$ld_shlibs_CXX" = no && can_build_shared=no
14441
14442 with_gnu_ld_CXX=$with_gnu_ld
14443
14444
14445
14446
14447
14448
14449 #
14450 # Do we need to explicitly link libc?
14451 #
14452 case "x$archive_cmds_need_lc_CXX" in
14453 x|xyes)
14454   # Assume -lc should be added
14455   archive_cmds_need_lc_CXX=yes
14456
14457   if test "$enable_shared" = yes && test "$GCC" = yes; then
14458     case $archive_cmds_CXX in
14459     *'~'*)
14460       # FIXME: we may have to deal with multi-command sequences.
14461       ;;
14462     '$CC '*)
14463       # Test whether the compiler implicitly links with -lc since on some
14464       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14465       # to ld, don't add -lc before -lgcc.
14466       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14467 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14468 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14469   $as_echo_n "(cached) " >&6
14470 else
14471   $RM conftest*
14472         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14473
14474         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14475   (eval $ac_compile) 2>&5
14476   ac_status=$?
14477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14478   test $ac_status = 0; } 2>conftest.err; then
14479           soname=conftest
14480           lib=conftest
14481           libobjs=conftest.$ac_objext
14482           deplibs=
14483           wl=$lt_prog_compiler_wl_CXX
14484           pic_flag=$lt_prog_compiler_pic_CXX
14485           compiler_flags=-v
14486           linker_flags=-v
14487           verstring=
14488           output_objdir=.
14489           libname=conftest
14490           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14491           allow_undefined_flag_CXX=
14492           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14493   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14494   ac_status=$?
14495   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14496   test $ac_status = 0; }
14497           then
14498             lt_cv_archive_cmds_need_lc_CXX=no
14499           else
14500             lt_cv_archive_cmds_need_lc_CXX=yes
14501           fi
14502           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14503         else
14504           cat conftest.err 1>&5
14505         fi
14506         $RM conftest*
14507
14508 fi
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14510 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14511       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14512       ;;
14513     esac
14514   fi
14515   ;;
14516 esac
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14582 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14583
14584 library_names_spec=
14585 libname_spec='lib$name'
14586 soname_spec=
14587 shrext_cmds=".so"
14588 postinstall_cmds=
14589 postuninstall_cmds=
14590 finish_cmds=
14591 finish_eval=
14592 shlibpath_var=
14593 shlibpath_overrides_runpath=unknown
14594 version_type=none
14595 dynamic_linker="$host_os ld.so"
14596 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14597 need_lib_prefix=unknown
14598 hardcode_into_libs=no
14599
14600 # when you set need_version to no, make sure it does not cause -set_version
14601 # flags to be left without arguments
14602 need_version=unknown
14603
14604 case $host_os in
14605 aix3*)
14606   version_type=linux
14607   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14608   shlibpath_var=LIBPATH
14609
14610   # AIX 3 has no versioning support, so we append a major version to the name.
14611   soname_spec='${libname}${release}${shared_ext}$major'
14612   ;;
14613
14614 aix[4-9]*)
14615   version_type=linux
14616   need_lib_prefix=no
14617   need_version=no
14618   hardcode_into_libs=yes
14619   if test "$host_cpu" = ia64; then
14620     # AIX 5 supports IA64
14621     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14622     shlibpath_var=LD_LIBRARY_PATH
14623   else
14624     # With GCC up to 2.95.x, collect2 would create an import file
14625     # for dependence libraries.  The import file would start with
14626     # the line `#! .'.  This would cause the generated library to
14627     # depend on `.', always an invalid library.  This was fixed in
14628     # development snapshots of GCC prior to 3.0.
14629     case $host_os in
14630       aix4 | aix4.[01] | aix4.[01].*)
14631       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14632            echo ' yes '
14633            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14634         :
14635       else
14636         can_build_shared=no
14637       fi
14638       ;;
14639     esac
14640     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14641     # soname into executable. Probably we can add versioning support to
14642     # collect2, so additional links can be useful in future.
14643     if test "$aix_use_runtimelinking" = yes; then
14644       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14645       # instead of lib<name>.a to let people know that these are not
14646       # typical AIX shared libraries.
14647       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14648     else
14649       # We preserve .a as extension for shared libraries through AIX4.2
14650       # and later when we are not doing run time linking.
14651       library_names_spec='${libname}${release}.a $libname.a'
14652       soname_spec='${libname}${release}${shared_ext}$major'
14653     fi
14654     shlibpath_var=LIBPATH
14655   fi
14656   ;;
14657
14658 amigaos*)
14659   case $host_cpu in
14660   powerpc)
14661     # Since July 2007 AmigaOS4 officially supports .so libraries.
14662     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14663     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14664     ;;
14665   m68k)
14666     library_names_spec='$libname.ixlibrary $libname.a'
14667     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14668     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'
14669     ;;
14670   esac
14671   ;;
14672
14673 beos*)
14674   library_names_spec='${libname}${shared_ext}'
14675   dynamic_linker="$host_os ld.so"
14676   shlibpath_var=LIBRARY_PATH
14677   ;;
14678
14679 bsdi[45]*)
14680   version_type=linux
14681   need_version=no
14682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14683   soname_spec='${libname}${release}${shared_ext}$major'
14684   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14685   shlibpath_var=LD_LIBRARY_PATH
14686   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14687   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14688   # the default ld.so.conf also contains /usr/contrib/lib and
14689   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14690   # libtool to hard-code these into programs
14691   ;;
14692
14693 cygwin* | mingw* | pw32* | cegcc*)
14694   version_type=windows
14695   shrext_cmds=".dll"
14696   need_version=no
14697   need_lib_prefix=no
14698
14699   case $GCC,$cc_basename in
14700   yes,*)
14701     # gcc
14702     library_names_spec='$libname.dll.a'
14703     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14704     postinstall_cmds='base_file=`basename \${file}`~
14705       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14706       dldir=$destdir/`dirname \$dlpath`~
14707       test -d \$dldir || mkdir -p \$dldir~
14708       $install_prog $dir/$dlname \$dldir/$dlname~
14709       chmod a+x \$dldir/$dlname~
14710       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14711         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14712       fi'
14713     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14714       dlpath=$dir/\$dldll~
14715        $RM \$dlpath'
14716     shlibpath_overrides_runpath=yes
14717
14718     case $host_os in
14719     cygwin*)
14720       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14721       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14722
14723       ;;
14724     mingw* | cegcc*)
14725       # MinGW DLLs use traditional 'lib' prefix
14726       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14727       ;;
14728     pw32*)
14729       # pw32 DLLs use 'pw' prefix rather than 'lib'
14730       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14731       ;;
14732     esac
14733     dynamic_linker='Win32 ld.exe'
14734     ;;
14735
14736   *,cl*)
14737     # Native MSVC
14738     libname_spec='$name'
14739     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14740     library_names_spec='${libname}.dll.lib'
14741
14742     case $build_os in
14743     mingw*)
14744       sys_lib_search_path_spec=
14745       lt_save_ifs=$IFS
14746       IFS=';'
14747       for lt_path in $LIB
14748       do
14749         IFS=$lt_save_ifs
14750         # Let DOS variable expansion print the short 8.3 style file name.
14751         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14752         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14753       done
14754       IFS=$lt_save_ifs
14755       # Convert to MSYS style.
14756       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14757       ;;
14758     cygwin*)
14759       # Convert to unix form, then to dos form, then back to unix form
14760       # but this time dos style (no spaces!) so that the unix form looks
14761       # like /cygdrive/c/PROGRA~1:/cygdr...
14762       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14763       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14764       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14765       ;;
14766     *)
14767       sys_lib_search_path_spec="$LIB"
14768       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14769         # It is most probably a Windows format PATH.
14770         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14771       else
14772         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14773       fi
14774       # FIXME: find the short name or the path components, as spaces are
14775       # common. (e.g. "Program Files" -> "PROGRA~1")
14776       ;;
14777     esac
14778
14779     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14780     postinstall_cmds='base_file=`basename \${file}`~
14781       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14782       dldir=$destdir/`dirname \$dlpath`~
14783       test -d \$dldir || mkdir -p \$dldir~
14784       $install_prog $dir/$dlname \$dldir/$dlname'
14785     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14786       dlpath=$dir/\$dldll~
14787        $RM \$dlpath'
14788     shlibpath_overrides_runpath=yes
14789     dynamic_linker='Win32 link.exe'
14790     ;;
14791
14792   *)
14793     # Assume MSVC wrapper
14794     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14795     dynamic_linker='Win32 ld.exe'
14796     ;;
14797   esac
14798   # FIXME: first we should search . and the directory the executable is in
14799   shlibpath_var=PATH
14800   ;;
14801
14802 darwin* | rhapsody*)
14803   dynamic_linker="$host_os dyld"
14804   version_type=darwin
14805   need_lib_prefix=no
14806   need_version=no
14807   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14808   soname_spec='${libname}${release}${major}$shared_ext'
14809   shlibpath_overrides_runpath=yes
14810   shlibpath_var=DYLD_LIBRARY_PATH
14811   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14812
14813   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14814   ;;
14815
14816 dgux*)
14817   version_type=linux
14818   need_lib_prefix=no
14819   need_version=no
14820   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14821   soname_spec='${libname}${release}${shared_ext}$major'
14822   shlibpath_var=LD_LIBRARY_PATH
14823   ;;
14824
14825 freebsd1*)
14826   dynamic_linker=no
14827   ;;
14828
14829 freebsd* | dragonfly*)
14830   # DragonFly does not have aout.  When/if they implement a new
14831   # versioning mechanism, adjust this.
14832   if test -x /usr/bin/objformat; then
14833     objformat=`/usr/bin/objformat`
14834   else
14835     case $host_os in
14836     freebsd[123]*) objformat=aout ;;
14837     *) objformat=elf ;;
14838     esac
14839   fi
14840   version_type=freebsd-$objformat
14841   case $version_type in
14842     freebsd-elf*)
14843       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14844       need_version=no
14845       need_lib_prefix=no
14846       ;;
14847     freebsd-*)
14848       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14849       need_version=yes
14850       ;;
14851   esac
14852   shlibpath_var=LD_LIBRARY_PATH
14853   case $host_os in
14854   freebsd2*)
14855     shlibpath_overrides_runpath=yes
14856     ;;
14857   freebsd3.[01]* | freebsdelf3.[01]*)
14858     shlibpath_overrides_runpath=yes
14859     hardcode_into_libs=yes
14860     ;;
14861   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14862   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14863     shlibpath_overrides_runpath=no
14864     hardcode_into_libs=yes
14865     ;;
14866   *) # from 4.6 on, and DragonFly
14867     shlibpath_overrides_runpath=yes
14868     hardcode_into_libs=yes
14869     ;;
14870   esac
14871   ;;
14872
14873 gnu*)
14874   version_type=linux
14875   need_lib_prefix=no
14876   need_version=no
14877   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14878   soname_spec='${libname}${release}${shared_ext}$major'
14879   shlibpath_var=LD_LIBRARY_PATH
14880   hardcode_into_libs=yes
14881   ;;
14882
14883 haiku*)
14884   version_type=linux
14885   need_lib_prefix=no
14886   need_version=no
14887   dynamic_linker="$host_os runtime_loader"
14888   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14889   soname_spec='${libname}${release}${shared_ext}$major'
14890   shlibpath_var=LIBRARY_PATH
14891   shlibpath_overrides_runpath=yes
14892   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14893   hardcode_into_libs=yes
14894   ;;
14895
14896 hpux9* | hpux10* | hpux11*)
14897   # Give a soname corresponding to the major version so that dld.sl refuses to
14898   # link against other versions.
14899   version_type=sunos
14900   need_lib_prefix=no
14901   need_version=no
14902   case $host_cpu in
14903   ia64*)
14904     shrext_cmds='.so'
14905     hardcode_into_libs=yes
14906     dynamic_linker="$host_os dld.so"
14907     shlibpath_var=LD_LIBRARY_PATH
14908     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14909     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14910     soname_spec='${libname}${release}${shared_ext}$major'
14911     if test "X$HPUX_IA64_MODE" = X32; then
14912       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14913     else
14914       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14915     fi
14916     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14917     ;;
14918   hppa*64*)
14919     shrext_cmds='.sl'
14920     hardcode_into_libs=yes
14921     dynamic_linker="$host_os dld.sl"
14922     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14923     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14924     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14925     soname_spec='${libname}${release}${shared_ext}$major'
14926     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14927     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14928     ;;
14929   *)
14930     shrext_cmds='.sl'
14931     dynamic_linker="$host_os dld.sl"
14932     shlibpath_var=SHLIB_PATH
14933     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14934     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14935     soname_spec='${libname}${release}${shared_ext}$major'
14936     ;;
14937   esac
14938   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14939   postinstall_cmds='chmod 555 $lib'
14940   # or fails outright, so override atomically:
14941   install_override_mode=555
14942   ;;
14943
14944 interix[3-9]*)
14945   version_type=linux
14946   need_lib_prefix=no
14947   need_version=no
14948   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14949   soname_spec='${libname}${release}${shared_ext}$major'
14950   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14951   shlibpath_var=LD_LIBRARY_PATH
14952   shlibpath_overrides_runpath=no
14953   hardcode_into_libs=yes
14954   ;;
14955
14956 irix5* | irix6* | nonstopux*)
14957   case $host_os in
14958     nonstopux*) version_type=nonstopux ;;
14959     *)
14960         if test "$lt_cv_prog_gnu_ld" = yes; then
14961                 version_type=linux
14962         else
14963                 version_type=irix
14964         fi ;;
14965   esac
14966   need_lib_prefix=no
14967   need_version=no
14968   soname_spec='${libname}${release}${shared_ext}$major'
14969   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14970   case $host_os in
14971   irix5* | nonstopux*)
14972     libsuff= shlibsuff=
14973     ;;
14974   *)
14975     case $LD in # libtool.m4 will add one of these switches to LD
14976     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14977       libsuff= shlibsuff= libmagic=32-bit;;
14978     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14979       libsuff=32 shlibsuff=N32 libmagic=N32;;
14980     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14981       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14982     *) libsuff= shlibsuff= libmagic=never-match;;
14983     esac
14984     ;;
14985   esac
14986   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14987   shlibpath_overrides_runpath=no
14988   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14989   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14990   hardcode_into_libs=yes
14991   ;;
14992
14993 # No shared lib support for Linux oldld, aout, or coff.
14994 linux*oldld* | linux*aout* | linux*coff*)
14995   dynamic_linker=no
14996   ;;
14997
14998 # This must be Linux ELF.
14999 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15000   version_type=linux
15001   need_lib_prefix=no
15002   need_version=no
15003   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15004   soname_spec='${libname}${release}${shared_ext}$major'
15005   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15006   shlibpath_var=LD_LIBRARY_PATH
15007   shlibpath_overrides_runpath=no
15008
15009   # Some binutils ld are patched to set DT_RUNPATH
15010   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15011   $as_echo_n "(cached) " >&6
15012 else
15013   lt_cv_shlibpath_overrides_runpath=no
15014     save_LDFLAGS=$LDFLAGS
15015     save_libdir=$libdir
15016     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15017          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15018     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h.  */
15020
15021 int
15022 main ()
15023 {
15024
15025   ;
15026   return 0;
15027 }
15028 _ACEOF
15029 if ac_fn_cxx_try_link "$LINENO"; then :
15030   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15031   lt_cv_shlibpath_overrides_runpath=yes
15032 fi
15033 fi
15034 rm -f core conftest.err conftest.$ac_objext \
15035     conftest$ac_exeext conftest.$ac_ext
15036     LDFLAGS=$save_LDFLAGS
15037     libdir=$save_libdir
15038
15039 fi
15040
15041   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15042
15043   # This implies no fast_install, which is unacceptable.
15044   # Some rework will be needed to allow for fast_install
15045   # before this can be enabled.
15046   hardcode_into_libs=yes
15047
15048   # Append ld.so.conf contents to the search path
15049   if test -f /etc/ld.so.conf; then
15050     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' ' '`
15051     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15052   fi
15053
15054   # We used to test for /lib/ld.so.1 and disable shared libraries on
15055   # powerpc, because MkLinux only supported shared libraries with the
15056   # GNU dynamic linker.  Since this was broken with cross compilers,
15057   # most powerpc-linux boxes support dynamic linking these days and
15058   # people can always --disable-shared, the test was removed, and we
15059   # assume the GNU/Linux dynamic linker is in use.
15060   dynamic_linker='GNU/Linux ld.so'
15061   ;;
15062
15063 netbsd*)
15064   version_type=sunos
15065   need_lib_prefix=no
15066   need_version=no
15067   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15068     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15069     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15070     dynamic_linker='NetBSD (a.out) ld.so'
15071   else
15072     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15073     soname_spec='${libname}${release}${shared_ext}$major'
15074     dynamic_linker='NetBSD ld.elf_so'
15075   fi
15076   shlibpath_var=LD_LIBRARY_PATH
15077   shlibpath_overrides_runpath=yes
15078   hardcode_into_libs=yes
15079   ;;
15080
15081 newsos6)
15082   version_type=linux
15083   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15084   shlibpath_var=LD_LIBRARY_PATH
15085   shlibpath_overrides_runpath=yes
15086   ;;
15087
15088 *nto* | *qnx*)
15089   version_type=qnx
15090   need_lib_prefix=no
15091   need_version=no
15092   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15093   soname_spec='${libname}${release}${shared_ext}$major'
15094   shlibpath_var=LD_LIBRARY_PATH
15095   shlibpath_overrides_runpath=no
15096   hardcode_into_libs=yes
15097   dynamic_linker='ldqnx.so'
15098   ;;
15099
15100 openbsd*)
15101   version_type=sunos
15102   sys_lib_dlsearch_path_spec="/usr/lib"
15103   need_lib_prefix=no
15104   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15105   case $host_os in
15106     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
15107     *)                          need_version=no  ;;
15108   esac
15109   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15110   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15111   shlibpath_var=LD_LIBRARY_PATH
15112   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15113     case $host_os in
15114       openbsd2.[89] | openbsd2.[89].*)
15115         shlibpath_overrides_runpath=no
15116         ;;
15117       *)
15118         shlibpath_overrides_runpath=yes
15119         ;;
15120       esac
15121   else
15122     shlibpath_overrides_runpath=yes
15123   fi
15124   ;;
15125
15126 os2*)
15127   libname_spec='$name'
15128   shrext_cmds=".dll"
15129   need_lib_prefix=no
15130   library_names_spec='$libname${shared_ext} $libname.a'
15131   dynamic_linker='OS/2 ld.exe'
15132   shlibpath_var=LIBPATH
15133   ;;
15134
15135 osf3* | osf4* | osf5*)
15136   version_type=osf
15137   need_lib_prefix=no
15138   need_version=no
15139   soname_spec='${libname}${release}${shared_ext}$major'
15140   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15141   shlibpath_var=LD_LIBRARY_PATH
15142   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15143   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15144   ;;
15145
15146 rdos*)
15147   dynamic_linker=no
15148   ;;
15149
15150 solaris*)
15151   version_type=linux
15152   need_lib_prefix=no
15153   need_version=no
15154   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15155   soname_spec='${libname}${release}${shared_ext}$major'
15156   shlibpath_var=LD_LIBRARY_PATH
15157   shlibpath_overrides_runpath=yes
15158   hardcode_into_libs=yes
15159   # ldd complains unless libraries are executable
15160   postinstall_cmds='chmod +x $lib'
15161   ;;
15162
15163 sunos4*)
15164   version_type=sunos
15165   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15166   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15167   shlibpath_var=LD_LIBRARY_PATH
15168   shlibpath_overrides_runpath=yes
15169   if test "$with_gnu_ld" = yes; then
15170     need_lib_prefix=no
15171   fi
15172   need_version=yes
15173   ;;
15174
15175 sysv4 | sysv4.3*)
15176   version_type=linux
15177   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15178   soname_spec='${libname}${release}${shared_ext}$major'
15179   shlibpath_var=LD_LIBRARY_PATH
15180   case $host_vendor in
15181     sni)
15182       shlibpath_overrides_runpath=no
15183       need_lib_prefix=no
15184       runpath_var=LD_RUN_PATH
15185       ;;
15186     siemens)
15187       need_lib_prefix=no
15188       ;;
15189     motorola)
15190       need_lib_prefix=no
15191       need_version=no
15192       shlibpath_overrides_runpath=no
15193       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15194       ;;
15195   esac
15196   ;;
15197
15198 sysv4*MP*)
15199   if test -d /usr/nec ;then
15200     version_type=linux
15201     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15202     soname_spec='$libname${shared_ext}.$major'
15203     shlibpath_var=LD_LIBRARY_PATH
15204   fi
15205   ;;
15206
15207 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15208   version_type=freebsd-elf
15209   need_lib_prefix=no
15210   need_version=no
15211   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15212   soname_spec='${libname}${release}${shared_ext}$major'
15213   shlibpath_var=LD_LIBRARY_PATH
15214   shlibpath_overrides_runpath=yes
15215   hardcode_into_libs=yes
15216   if test "$with_gnu_ld" = yes; then
15217     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15218   else
15219     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15220     case $host_os in
15221       sco3.2v5*)
15222         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15223         ;;
15224     esac
15225   fi
15226   sys_lib_dlsearch_path_spec='/usr/lib'
15227   ;;
15228
15229 tpf*)
15230   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15231   version_type=linux
15232   need_lib_prefix=no
15233   need_version=no
15234   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15235   shlibpath_var=LD_LIBRARY_PATH
15236   shlibpath_overrides_runpath=no
15237   hardcode_into_libs=yes
15238   ;;
15239
15240 uts4*)
15241   version_type=linux
15242   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15243   soname_spec='${libname}${release}${shared_ext}$major'
15244   shlibpath_var=LD_LIBRARY_PATH
15245   ;;
15246
15247 *)
15248   dynamic_linker=no
15249   ;;
15250 esac
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15252 $as_echo "$dynamic_linker" >&6; }
15253 test "$dynamic_linker" = no && can_build_shared=no
15254
15255 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15256 if test "$GCC" = yes; then
15257   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15258 fi
15259
15260 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15261   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15262 fi
15263 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15264   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15265 fi
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15305 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15306 hardcode_action_CXX=
15307 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15308    test -n "$runpath_var_CXX" ||
15309    test "X$hardcode_automatic_CXX" = "Xyes" ; then
15310
15311   # We can hardcode non-existent directories.
15312   if test "$hardcode_direct_CXX" != no &&
15313      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15314      # have to relink, otherwise we might link with an installed library
15315      # when we should be linking with a yet-to-be-installed one
15316      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15317      test "$hardcode_minus_L_CXX" != no; then
15318     # Linking always hardcodes the temporary library directory.
15319     hardcode_action_CXX=relink
15320   else
15321     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15322     hardcode_action_CXX=immediate
15323   fi
15324 else
15325   # We cannot hardcode anything, or else we can only hardcode existing
15326   # directories.
15327   hardcode_action_CXX=unsupported
15328 fi
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15330 $as_echo "$hardcode_action_CXX" >&6; }
15331
15332 if test "$hardcode_action_CXX" = relink ||
15333    test "$inherit_rpath_CXX" = yes; then
15334   # Fast installation is not supported
15335   enable_fast_install=no
15336 elif test "$shlibpath_overrides_runpath" = yes ||
15337      test "$enable_shared" = no; then
15338   # Fast installation is not necessary
15339   enable_fast_install=needless
15340 fi
15341
15342
15343
15344
15345
15346
15347
15348   fi # test -n "$compiler"
15349
15350   CC=$lt_save_CC
15351   CFLAGS=$lt_save_CFLAGS
15352   LDCXX=$LD
15353   LD=$lt_save_LD
15354   GCC=$lt_save_GCC
15355   with_gnu_ld=$lt_save_with_gnu_ld
15356   lt_cv_path_LDCXX=$lt_cv_path_LD
15357   lt_cv_path_LD=$lt_save_path_LD
15358   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15359   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15360 fi # test "$_lt_caught_CXX_error" != yes
15361
15362 ac_ext=c
15363 ac_cpp='$CPP $CPPFLAGS'
15364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380         ac_config_commands="$ac_config_commands libtool"
15381
15382
15383
15384
15385 # Only expand once:
15386
15387
15388
15389 LIBXMLXX_MODULES='libxml-2.0 >= 2.6.1 glibmm-2.4 >= 2.4.0'
15390
15391
15392
15393
15394
15395
15396
15397
15398 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15399         if test -n "$ac_tool_prefix"; then
15400   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15401 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15403 $as_echo_n "checking for $ac_word... " >&6; }
15404 if ${ac_cv_path_PKG_CONFIG+:} false; then :
15405   $as_echo_n "(cached) " >&6
15406 else
15407   case $PKG_CONFIG in
15408   [\\/]* | ?:[\\/]*)
15409   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15410   ;;
15411   *)
15412   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15413 for as_dir in $PATH
15414 do
15415   IFS=$as_save_IFS
15416   test -z "$as_dir" && as_dir=.
15417     for ac_exec_ext in '' $ac_executable_extensions; do
15418   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15419     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15421     break 2
15422   fi
15423 done
15424   done
15425 IFS=$as_save_IFS
15426
15427   ;;
15428 esac
15429 fi
15430 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15431 if test -n "$PKG_CONFIG"; then
15432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15433 $as_echo "$PKG_CONFIG" >&6; }
15434 else
15435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15436 $as_echo "no" >&6; }
15437 fi
15438
15439
15440 fi
15441 if test -z "$ac_cv_path_PKG_CONFIG"; then
15442   ac_pt_PKG_CONFIG=$PKG_CONFIG
15443   # Extract the first word of "pkg-config", so it can be a program name with args.
15444 set dummy pkg-config; ac_word=$2
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15446 $as_echo_n "checking for $ac_word... " >&6; }
15447 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15448   $as_echo_n "(cached) " >&6
15449 else
15450   case $ac_pt_PKG_CONFIG in
15451   [\\/]* | ?:[\\/]*)
15452   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15453   ;;
15454   *)
15455   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15456 for as_dir in $PATH
15457 do
15458   IFS=$as_save_IFS
15459   test -z "$as_dir" && as_dir=.
15460     for ac_exec_ext in '' $ac_executable_extensions; do
15461   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15462     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15463     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15464     break 2
15465   fi
15466 done
15467   done
15468 IFS=$as_save_IFS
15469
15470   ;;
15471 esac
15472 fi
15473 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15474 if test -n "$ac_pt_PKG_CONFIG"; then
15475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15476 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15477 else
15478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15479 $as_echo "no" >&6; }
15480 fi
15481
15482   if test "x$ac_pt_PKG_CONFIG" = x; then
15483     PKG_CONFIG=""
15484   else
15485     case $cross_compiling:$ac_tool_warned in
15486 yes:)
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15489 ac_tool_warned=yes ;;
15490 esac
15491     PKG_CONFIG=$ac_pt_PKG_CONFIG
15492   fi
15493 else
15494   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15495 fi
15496
15497 fi
15498 if test -n "$PKG_CONFIG"; then
15499         _pkg_min_version=0.9.0
15500         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15501 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15502         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15503                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15504 $as_echo "yes" >&6; }
15505         else
15506                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15507 $as_echo "no" >&6; }
15508                 PKG_CONFIG=""
15509         fi
15510 fi
15511
15512 pkg_failed=no
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXMLXX" >&5
15514 $as_echo_n "checking for LIBXMLXX... " >&6; }
15515
15516 if test -n "$LIBXMLXX_CFLAGS"; then
15517     pkg_cv_LIBXMLXX_CFLAGS="$LIBXMLXX_CFLAGS"
15518  elif test -n "$PKG_CONFIG"; then
15519     if test -n "$PKG_CONFIG" && \
15520     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXMLXX_MODULES\""; } >&5
15521   ($PKG_CONFIG --exists --print-errors "$LIBXMLXX_MODULES") 2>&5
15522   ac_status=$?
15523   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15524   test $ac_status = 0; }; then
15525   pkg_cv_LIBXMLXX_CFLAGS=`$PKG_CONFIG --cflags "$LIBXMLXX_MODULES" 2>/dev/null`
15526                       test "x$?" != "x0" && pkg_failed=yes
15527 else
15528   pkg_failed=yes
15529 fi
15530  else
15531     pkg_failed=untried
15532 fi
15533 if test -n "$LIBXMLXX_LIBS"; then
15534     pkg_cv_LIBXMLXX_LIBS="$LIBXMLXX_LIBS"
15535  elif test -n "$PKG_CONFIG"; then
15536     if test -n "$PKG_CONFIG" && \
15537     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXMLXX_MODULES\""; } >&5
15538   ($PKG_CONFIG --exists --print-errors "$LIBXMLXX_MODULES") 2>&5
15539   ac_status=$?
15540   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15541   test $ac_status = 0; }; then
15542   pkg_cv_LIBXMLXX_LIBS=`$PKG_CONFIG --libs "$LIBXMLXX_MODULES" 2>/dev/null`
15543                       test "x$?" != "x0" && pkg_failed=yes
15544 else
15545   pkg_failed=yes
15546 fi
15547  else
15548     pkg_failed=untried
15549 fi
15550
15551
15552
15553 if test $pkg_failed = yes; then
15554         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15555 $as_echo "no" >&6; }
15556
15557 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15558         _pkg_short_errors_supported=yes
15559 else
15560         _pkg_short_errors_supported=no
15561 fi
15562         if test $_pkg_short_errors_supported = yes; then
15563                 LIBXMLXX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$LIBXMLXX_MODULES" 2>&1`
15564         else
15565                 LIBXMLXX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$LIBXMLXX_MODULES" 2>&1`
15566         fi
15567         # Put the nasty error message in config.log where it belongs
15568         echo "$LIBXMLXX_PKG_ERRORS" >&5
15569
15570         as_fn_error $? "Package requirements ($LIBXMLXX_MODULES) were not met:
15571
15572 $LIBXMLXX_PKG_ERRORS
15573
15574 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15575 installed software in a non-standard prefix.
15576
15577 Alternatively, you may set the environment variables LIBXMLXX_CFLAGS
15578 and LIBXMLXX_LIBS to avoid the need to call pkg-config.
15579 See the pkg-config man page for more details." "$LINENO" 5
15580 elif test $pkg_failed = untried; then
15581         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15582 $as_echo "no" >&6; }
15583         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15585 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15586 is in your PATH or set the PKG_CONFIG environment variable to the full
15587 path to pkg-config.
15588
15589 Alternatively, you may set the environment variables LIBXMLXX_CFLAGS
15590 and LIBXMLXX_LIBS to avoid the need to call pkg-config.
15591 See the pkg-config man page for more details.
15592
15593 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15594 See \`config.log' for more details" "$LINENO" 5; }
15595 else
15596         LIBXMLXX_CFLAGS=$pkg_cv_LIBXMLXX_CFLAGS
15597         LIBXMLXX_LIBS=$pkg_cv_LIBXMLXX_LIBS
15598         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15599 $as_echo "yes" >&6; }
15600
15601 fi
15602
15603 ac_ext=cpp
15604 ac_cpp='$CXXCPP $CPPFLAGS'
15605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15608
15609
15610 for ac_header in string list map
15611 do :
15612   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15613 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15614 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15615   cat >>confdefs.h <<_ACEOF
15616 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15617 _ACEOF
15618
15619 else
15620   as_fn_error $? "required headers not found" "$LINENO" 5
15621 fi
15622
15623 done
15624
15625
15626 # Check whether --enable-examples was given.
15627 if test "${enable_examples+set}" = set; then :
15628   enableval=$enable_examples; enable_examples=$enableval
15629 else
15630   enable_examples=yes
15631 fi
15632
15633
15634  if test "x$enable_examples" = xyes; then
15635   ENABLE_EXAMPLES_TRUE=
15636   ENABLE_EXAMPLES_FALSE='#'
15637 else
15638   ENABLE_EXAMPLES_TRUE='#'
15639   ENABLE_EXAMPLES_FALSE=
15640 fi
15641
15642
15643 # Offer the ability to omit some API from the library, to reduce the code size:
15644
15645   # Check whether --enable-api-exceptions was given.
15646 if test "${enable_api_exceptions+set}" = set; then :
15647   enableval=$enable_api_exceptions; libxmlcpp_enable_api_exceptions="$enableval"
15648 else
15649   libxmlcpp_enable_api_exceptions='yes'
15650 fi
15651
15652
15653   if test "x$libxmlcpp_enable_api_exceptions" = "xyes"; then
15654   {
15655
15656 $as_echo "#define LIBXMLCPP_EXCEPTIONS_ENABLED 1" >>confdefs.h
15657
15658   }
15659   fi
15660
15661
15662 # Extract the first word of "perl", so it can be a program name with args.
15663 set dummy perl; ac_word=$2
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15665 $as_echo_n "checking for $ac_word... " >&6; }
15666 if ${ac_cv_path_PERL+:} false; then :
15667   $as_echo_n "(cached) " >&6
15668 else
15669   case $PERL in
15670   [\\/]* | ?:[\\/]*)
15671   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
15672   ;;
15673   *)
15674   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15675 for as_dir in $PATH
15676 do
15677   IFS=$as_save_IFS
15678   test -z "$as_dir" && as_dir=.
15679     for ac_exec_ext in '' $ac_executable_extensions; do
15680   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15681     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
15682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15683     break 2
15684   fi
15685 done
15686   done
15687 IFS=$as_save_IFS
15688
15689   test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
15690   ;;
15691 esac
15692 fi
15693 PERL=$ac_cv_path_PERL
15694 if test -n "$PERL"; then
15695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
15696 $as_echo "$PERL" >&6; }
15697 else
15698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15699 $as_echo "no" >&6; }
15700 fi
15701
15702
15703
15704 # Extract the first word of "dot", so it can be a program name with args.
15705 set dummy dot; ac_word=$2
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15707 $as_echo_n "checking for $ac_word... " >&6; }
15708 if ${ac_cv_path_DOT+:} false; then :
15709   $as_echo_n "(cached) " >&6
15710 else
15711   case $DOT in
15712   [\\/]* | ?:[\\/]*)
15713   ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
15714   ;;
15715   *)
15716   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15717 for as_dir in $PATH
15718 do
15719   IFS=$as_save_IFS
15720   test -z "$as_dir" && as_dir=.
15721     for ac_exec_ext in '' $ac_executable_extensions; do
15722   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15723     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
15724     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15725     break 2
15726   fi
15727 done
15728   done
15729 IFS=$as_save_IFS
15730
15731   test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="dot"
15732   ;;
15733 esac
15734 fi
15735 DOT=$ac_cv_path_DOT
15736 if test -n "$DOT"; then
15737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
15738 $as_echo "$DOT" >&6; }
15739 else
15740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15741 $as_echo "no" >&6; }
15742 fi
15743
15744
15745 # Extract the first word of "doxygen", so it can be a program name with args.
15746 set dummy doxygen; ac_word=$2
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15748 $as_echo_n "checking for $ac_word... " >&6; }
15749 if ${ac_cv_path_DOXYGEN+:} false; then :
15750   $as_echo_n "(cached) " >&6
15751 else
15752   case $DOXYGEN in
15753   [\\/]* | ?:[\\/]*)
15754   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
15755   ;;
15756   *)
15757   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15758 for as_dir in $PATH
15759 do
15760   IFS=$as_save_IFS
15761   test -z "$as_dir" && as_dir=.
15762     for ac_exec_ext in '' $ac_executable_extensions; do
15763   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15764     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
15765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15766     break 2
15767   fi
15768 done
15769   done
15770 IFS=$as_save_IFS
15771
15772   test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="doxygen"
15773   ;;
15774 esac
15775 fi
15776 DOXYGEN=$ac_cv_path_DOXYGEN
15777 if test -n "$DOXYGEN"; then
15778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
15779 $as_echo "$DOXYGEN" >&6; }
15780 else
15781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15782 $as_echo "no" >&6; }
15783 fi
15784
15785
15786 # Extract the first word of "xsltproc", so it can be a program name with args.
15787 set dummy xsltproc; ac_word=$2
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15789 $as_echo_n "checking for $ac_word... " >&6; }
15790 if ${ac_cv_path_XSLTPROC+:} false; then :
15791   $as_echo_n "(cached) " >&6
15792 else
15793   case $XSLTPROC in
15794   [\\/]* | ?:[\\/]*)
15795   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
15796   ;;
15797   *)
15798   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15799 for as_dir in $PATH
15800 do
15801   IFS=$as_save_IFS
15802   test -z "$as_dir" && as_dir=.
15803     for ac_exec_ext in '' $ac_executable_extensions; do
15804   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15805     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
15806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15807     break 2
15808   fi
15809 done
15810   done
15811 IFS=$as_save_IFS
15812
15813   test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="xsltproc"
15814   ;;
15815 esac
15816 fi
15817 XSLTPROC=$ac_cv_path_XSLTPROC
15818 if test -n "$XSLTPROC"; then
15819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
15820 $as_echo "$XSLTPROC" >&6; }
15821 else
15822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15823 $as_echo "no" >&6; }
15824 fi
15825
15826
15827 # Check whether --enable-documentation was given.
15828 if test "${enable_documentation+set}" = set; then :
15829   enableval=$enable_documentation; ENABLE_DOCUMENTATION=$enableval
15830 else
15831   ENABLE_DOCUMENTATION=auto
15832 fi
15833
15834 if test "x$ENABLE_DOCUMENTATION" != xno; then :
15835
15836   mm_err=
15837   if test "x$MMDOCTOOLDIR" = x; then :
15838   mm_err='The mm-common-util module is available, but the installation of mm-common on this
15839 machine is missing the shared documentation utilities of the GNOME C++
15840 bindings.  It may be necessary to upgrade to a more recent release of
15841 mm-common in order to build '$PACKAGE_NAME' and install the documentation.'
15842 elif test "x$PERL" = xperl; then :
15843   mm_err='Perl is required for installing the documentation.'
15844 elif test "x$USE_MAINTAINER_MODE" != xno; then :
15845
15846     test "x$DOT" != xdot || mm_err=' dot'
15847     test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen"
15848     test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc"
15849     test -z "$mm_err" || mm_err='The documentation cannot be generated because
15850 not all of the required tools are available:'$mm_err
15851
15852 fi
15853   if test -z "$mm_err"; then :
15854   ENABLE_DOCUMENTATION=yes
15855 elif test "x$ENABLE_DOCUMENTATION" = xyes; then :
15856   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15858 as_fn_error $? "$mm_err
15859 See \`config.log' for more details" "$LINENO" 5; }
15860 else
15861   ENABLE_DOCUMENTATION=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $mm_err" >&5
15862 $as_echo "$as_me: WARNING: $mm_err" >&2;}
15863 fi
15864
15865 fi
15866  if test "x$ENABLE_DOCUMENTATION" = xyes; then
15867   ENABLE_DOCUMENTATION_TRUE=
15868   ENABLE_DOCUMENTATION_FALSE='#'
15869 else
15870   ENABLE_DOCUMENTATION_TRUE='#'
15871   ENABLE_DOCUMENTATION_FALSE=
15872 fi
15873
15874 DOXYGEN_TAGFILES=
15875
15876 DOCINSTALL_FLAGS=
15877
15878
15879 if test "x$ENABLE_DOCUMENTATION" != xno; then :
15880     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibmm documentation" >&5
15881 $as_echo_n "checking for glibmm documentation... " >&6; }
15882
15883 # Check whether --with-glibmm-doc was given.
15884 if test "${with_glibmm_doc+set}" = set; then :
15885   withval=$with_glibmm_doc;
15886     mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
15887     mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
15888     mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
15889     test "x$mm_tagname" != x || mm_tagname="glibmm-2.4.tag"
15890     test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
15891 else
15892
15893     mm_htmlrefdir=
15894     mm_tagname="glibmm-2.4.tag"
15895     mm_tagpath=$mm_tagname
15896 fi
15897
15898   # Prepend working direcory if the tag file path starts with ./ or ../
15899   case $mm_tagpath in #(
15900   .[\\/]*|..[\\/]*) :
15901     mm_tagpath=`pwd`/$mm_tagpath ;; #(
15902   *) :
15903      ;;
15904 esac
15905
15906   # If no local directory was specified, get the default from the .pc file
15907   if test "x$mm_htmlrefdir" = x; then :
15908
15909     mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "glibmm-2.4" 2>&5`
15910 fi
15911   # If the user specified a Web URL, allow it to override the public location
15912   case $mm_htmlrefdir in #(
15913   http://*|https://*) :
15914     mm_htmlrefpub=$mm_htmlrefdir ;; #(
15915   *) :
15916
15917     mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "glibmm-2.4" 2>&5`
15918     test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
15919     test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
15920    ;;
15921 esac
15922   # The user-supplied tag-file name takes precedence if it includes the path
15923   case $mm_tagpath in #(
15924   *[\\/]*) :
15925      ;; #(
15926   *) :
15927
15928     mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "glibmm-2.4" 2>&5`
15929     test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
15930    ;;
15931 esac
15932   # Remove trailing slashes and translate to URI
15933   mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
15934   mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
15935
15936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
15937 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
15938
15939   if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
15940   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&5
15941 $as_echo "$as_me: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&2;}
15942 fi
15943   if test "x$mm_htmlrefdir" = x; then :
15944   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external glibmm documentation not set" >&5
15945 $as_echo "$as_me: WARNING: Location of external glibmm documentation not set" >&2;}
15946 else
15947   if test "x$DOCINSTALL_FLAGS" = x; then :
15948   DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
15949 else
15950   DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
15951 fi
15952 fi
15953
15954   if test "x$mm_htmlrefpub" = x; then :
15955   mm_val=$mm_tagpath
15956 else
15957   mm_val="$mm_tagpath=$mm_htmlrefpub"
15958 fi
15959   if test "x$DOXYGEN_TAGFILES" = x; then :
15960   DOXYGEN_TAGFILES=\"$mm_val\"
15961 else
15962   DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
15963 fi
15964 fi
15965
15966 # Check whether --enable-warnings was given.
15967 if test "${enable_warnings+set}" = set; then :
15968   enableval=$enable_warnings; mm_enable_warnings=$enableval
15969 else
15970   mm_enable_warnings=min
15971 fi
15972
15973 case $ac_compile in #(
15974   *'$CXXFLAGS '*) :
15975     mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.${ac_ext-cc}" ;; #(
15976   *'$CFLAGS '*) :
15977     mm_lang=C mm_cc=$CC mm_conftest="conftest.${ac_ext-c}" ;; #(
15978   *) :
15979     as_fn_error $? "current language is neither C nor C++" "$LINENO" 5 ;;
15980 esac
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which $mm_lang compiler warning flags to use" >&5
15982 $as_echo_n "checking which $mm_lang compiler warning flags to use... " >&6; }
15983 mm_tested_flags=
15984 case $mm_enable_warnings in #(
15985   no) :
15986     mm_warning_flags= ;; #(
15987   max) :
15988     mm_warning_flags="-pedantic -Wall -Wextra -Wno-long-long" ;; #(
15989   fatal) :
15990     mm_warning_flags="-pedantic -Wall -Wextra -Wno-long-long -Werror" ;; #(
15991   *) :
15992     mm_warning_flags="-Wall" ;;
15993 esac
15994 if test "x$mm_warning_flags" != x; then :
15995
15996   # Keep in mind that the dummy source must be devoid of any
15997   # problems that might cause diagnostics.
15998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15999 /* end confdefs.h.  */
16000
16001 int main(int argc, char** argv) { return (argv != 0) ? argc : 0; }
16002
16003 _ACEOF
16004   for mm_flag in $mm_warning_flags
16005   do
16006     # Test whether the compiler accepts the flag.  Look at standard output,
16007     # since GCC only shows a warning message if an option is not supported.
16008     mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed`
16009     rm -f "conftest.${OBJEXT-o}"
16010
16011     if test "x$mm_cc_out" = x; then :
16012   if test "x$mm_tested_flags" = x; then :
16013   mm_tested_flags=$mm_flag
16014 else
16015   mm_tested_flags="$mm_tested_flags $mm_flag"
16016 fi
16017 else
16018   cat <<_MMEOF >&5
16019 $mm_cc: $mm_cc_out
16020 _MMEOF
16021
16022 fi
16023   done
16024   rm -f "$mm_conftest"
16025
16026 fi
16027 mm_all_flags=$mm_tested_flags
16028 LIBXMLXX_WXXFLAGS=$mm_all_flags
16029
16030 test "x$mm_all_flags" != x || mm_all_flags=none
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_all_flags" >&5
16032 $as_echo "$mm_all_flags" >&6; }
16033
16034 # Extract the first word of "xmllint", so it can be a program name with args.
16035 set dummy xmllint; ac_word=$2
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16037 $as_echo_n "checking for $ac_word... " >&6; }
16038 if ${ac_cv_path_XMLLINT+:} false; then :
16039   $as_echo_n "(cached) " >&6
16040 else
16041   case $XMLLINT in
16042   [\\/]* | ?:[\\/]*)
16043   ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
16044   ;;
16045   *)
16046   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16047 for as_dir in $PATH
16048 do
16049   IFS=$as_save_IFS
16050   test -z "$as_dir" && as_dir=.
16051     for ac_exec_ext in '' $ac_executable_extensions; do
16052   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16053     ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
16054     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16055     break 2
16056   fi
16057 done
16058   done
16059 IFS=$as_save_IFS
16060
16061   test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="xmllint"
16062   ;;
16063 esac
16064 fi
16065 XMLLINT=$ac_cv_path_XMLLINT
16066 if test -n "$XMLLINT"; then
16067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
16068 $as_echo "$XMLLINT" >&6; }
16069 else
16070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16071 $as_echo "no" >&6; }
16072 fi
16073
16074
16075
16076 for ac_prog in db2latex docbook2latex
16077 do
16078   # Extract the first word of "$ac_prog", so it can be a program name with args.
16079 set dummy $ac_prog; ac_word=$2
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16081 $as_echo_n "checking for $ac_word... " >&6; }
16082 if ${ac_cv_path_DB2LATEX+:} false; then :
16083   $as_echo_n "(cached) " >&6
16084 else
16085   case $DB2LATEX in
16086   [\\/]* | ?:[\\/]*)
16087   ac_cv_path_DB2LATEX="$DB2LATEX" # Let the user override the test with a path.
16088   ;;
16089   *)
16090   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16091 for as_dir in $PATH
16092 do
16093   IFS=$as_save_IFS
16094   test -z "$as_dir" && as_dir=.
16095     for ac_exec_ext in '' $ac_executable_extensions; do
16096   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16097     ac_cv_path_DB2LATEX="$as_dir/$ac_word$ac_exec_ext"
16098     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16099     break 2
16100   fi
16101 done
16102   done
16103 IFS=$as_save_IFS
16104
16105   ;;
16106 esac
16107 fi
16108 DB2LATEX=$ac_cv_path_DB2LATEX
16109 if test -n "$DB2LATEX"; then
16110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DB2LATEX" >&5
16111 $as_echo "$DB2LATEX" >&6; }
16112 else
16113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16114 $as_echo "no" >&6; }
16115 fi
16116
16117
16118   test -n "$DB2LATEX" && break
16119 done
16120 test -n "$DB2LATEX" || DB2LATEX="db2latex"
16121
16122
16123 if $PERL -e "require v5.6.0; exit 0;" >&5 2>&5; then :
16124
16125 else
16126   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16128 as_fn_error $? "At least Perl 5.6.0 is required to build $PACKAGE_NAME.
16129 See \`config.log' for more details" "$LINENO" 5; }
16130 fi
16131
16132 ac_config_files="$ac_config_files Makefile docs/reference/Doxyfile MSVC_Net2005/libxml++/libxml++.rc MSVC_Net2008/libxml++/libxml++.rc MSVC_Net2010/libxml++/libxml++.rc libxml++-2.6.pc"
16133
16134
16135 ac_config_commands="$ac_config_commands MSVC_Net2005/libxml++/libxml++config.h"
16136
16137 ac_config_commands="$ac_config_commands MSVC_Net2008/libxml++/libxml++config.h"
16138
16139 ac_config_commands="$ac_config_commands MSVC_Net2010/libxml++/libxml++config.h"
16140
16141
16142 cat >confcache <<\_ACEOF
16143 # This file is a shell script that caches the results of configure
16144 # tests run on this system so they can be shared between configure
16145 # scripts and configure runs, see configure's option --config-cache.
16146 # It is not useful on other systems.  If it contains results you don't
16147 # want to keep, you may remove or edit it.
16148 #
16149 # config.status only pays attention to the cache file if you give it
16150 # the --recheck option to rerun configure.
16151 #
16152 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16153 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16154 # following values.
16155
16156 _ACEOF
16157
16158 # The following way of writing the cache mishandles newlines in values,
16159 # but we know of no workaround that is simple, portable, and efficient.
16160 # So, we kill variables containing newlines.
16161 # Ultrix sh set writes to stderr and can't be redirected directly,
16162 # and sets the high bit in the cache file unless we assign to the vars.
16163 (
16164   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16165     eval ac_val=\$$ac_var
16166     case $ac_val in #(
16167     *${as_nl}*)
16168       case $ac_var in #(
16169       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16170 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16171       esac
16172       case $ac_var in #(
16173       _ | IFS | as_nl) ;; #(
16174       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16175       *) { eval $ac_var=; unset $ac_var;} ;;
16176       esac ;;
16177     esac
16178   done
16179
16180   (set) 2>&1 |
16181     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16182     *${as_nl}ac_space=\ *)
16183       # `set' does not quote correctly, so add quotes: double-quote
16184       # substitution turns \\\\ into \\, and sed turns \\ into \.
16185       sed -n \
16186         "s/'/'\\\\''/g;
16187           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16188       ;; #(
16189     *)
16190       # `set' quotes correctly as required by POSIX, so do not add quotes.
16191       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16192       ;;
16193     esac |
16194     sort
16195 ) |
16196   sed '
16197      /^ac_cv_env_/b end
16198      t clear
16199      :clear
16200      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16201      t end
16202      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16203      :end' >>confcache
16204 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16205   if test -w "$cache_file"; then
16206     if test "x$cache_file" != "x/dev/null"; then
16207       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16208 $as_echo "$as_me: updating cache $cache_file" >&6;}
16209       if test ! -f "$cache_file" || test -h "$cache_file"; then
16210         cat confcache >"$cache_file"
16211       else
16212         case $cache_file in #(
16213         */* | ?:*)
16214           mv -f confcache "$cache_file"$$ &&
16215           mv -f "$cache_file"$$ "$cache_file" ;; #(
16216         *)
16217           mv -f confcache "$cache_file" ;;
16218         esac
16219       fi
16220     fi
16221   else
16222     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16223 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16224   fi
16225 fi
16226 rm -f confcache
16227
16228 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16229 # Let make expand exec_prefix.
16230 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16231
16232 DEFS=-DHAVE_CONFIG_H
16233
16234 ac_libobjs=
16235 ac_ltlibobjs=
16236 U=
16237 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16238   # 1. Remove the extension, and $U if already installed.
16239   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16240   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16241   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16242   #    will be set to the directory where LIBOBJS objects are built.
16243   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16244   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16245 done
16246 LIBOBJS=$ac_libobjs
16247
16248 LTLIBOBJS=$ac_ltlibobjs
16249
16250
16251  if test -n "$EXEEXT"; then
16252   am__EXEEXT_TRUE=
16253   am__EXEEXT_FALSE='#'
16254 else
16255   am__EXEEXT_TRUE='#'
16256   am__EXEEXT_FALSE=
16257 fi
16258
16259 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16260   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16262 fi
16263 if test -z "${DIST_DOCTOOLS_TRUE}" && test -z "${DIST_DOCTOOLS_FALSE}"; then
16264   as_fn_error $? "conditional \"DIST_DOCTOOLS\" was never defined.
16265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16266 fi
16267 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16268   as_fn_error $? "conditional \"AMDEP\" was never defined.
16269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16270 fi
16271 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16272   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16274 fi
16275 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16276   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16278 fi
16279 if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
16280   as_fn_error $? "conditional \"ENABLE_EXAMPLES\" was never defined.
16281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16282 fi
16283 if test -z "${ENABLE_DOCUMENTATION_TRUE}" && test -z "${ENABLE_DOCUMENTATION_FALSE}"; then
16284   as_fn_error $? "conditional \"ENABLE_DOCUMENTATION\" was never defined.
16285 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16286 fi
16287
16288 : "${CONFIG_STATUS=./config.status}"
16289 ac_write_fail=0
16290 ac_clean_files_save=$ac_clean_files
16291 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16293 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16294 as_write_fail=0
16295 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16296 #! $SHELL
16297 # Generated by $as_me.
16298 # Run this file to recreate the current configuration.
16299 # Compiler output produced by configure, useful for debugging
16300 # configure, is in config.log if it exists.
16301
16302 debug=false
16303 ac_cs_recheck=false
16304 ac_cs_silent=false
16305
16306 SHELL=\${CONFIG_SHELL-$SHELL}
16307 export SHELL
16308 _ASEOF
16309 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16310 ## -------------------- ##
16311 ## M4sh Initialization. ##
16312 ## -------------------- ##
16313
16314 # Be more Bourne compatible
16315 DUALCASE=1; export DUALCASE # for MKS sh
16316 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16317   emulate sh
16318   NULLCMD=:
16319   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16320   # is contrary to our usage.  Disable this feature.
16321   alias -g '${1+"$@"}'='"$@"'
16322   setopt NO_GLOB_SUBST
16323 else
16324   case `(set -o) 2>/dev/null` in #(
16325   *posix*) :
16326     set -o posix ;; #(
16327   *) :
16328      ;;
16329 esac
16330 fi
16331
16332
16333 as_nl='
16334 '
16335 export as_nl
16336 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16337 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16338 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16339 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16340 # Prefer a ksh shell builtin over an external printf program on Solaris,
16341 # but without wasting forks for bash or zsh.
16342 if test -z "$BASH_VERSION$ZSH_VERSION" \
16343     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16344   as_echo='print -r --'
16345   as_echo_n='print -rn --'
16346 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16347   as_echo='printf %s\n'
16348   as_echo_n='printf %s'
16349 else
16350   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16351     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16352     as_echo_n='/usr/ucb/echo -n'
16353   else
16354     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16355     as_echo_n_body='eval
16356       arg=$1;
16357       case $arg in #(
16358       *"$as_nl"*)
16359         expr "X$arg" : "X\\(.*\\)$as_nl";
16360         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16361       esac;
16362       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16363     '
16364     export as_echo_n_body
16365     as_echo_n='sh -c $as_echo_n_body as_echo'
16366   fi
16367   export as_echo_body
16368   as_echo='sh -c $as_echo_body as_echo'
16369 fi
16370
16371 # The user is always right.
16372 if test "${PATH_SEPARATOR+set}" != set; then
16373   PATH_SEPARATOR=:
16374   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16375     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16376       PATH_SEPARATOR=';'
16377   }
16378 fi
16379
16380
16381 # IFS
16382 # We need space, tab and new line, in precisely that order.  Quoting is
16383 # there to prevent editors from complaining about space-tab.
16384 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16385 # splitting by setting IFS to empty value.)
16386 IFS=" ""        $as_nl"
16387
16388 # Find who we are.  Look in the path if we contain no directory separator.
16389 as_myself=
16390 case $0 in #((
16391   *[\\/]* ) as_myself=$0 ;;
16392   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16393 for as_dir in $PATH
16394 do
16395   IFS=$as_save_IFS
16396   test -z "$as_dir" && as_dir=.
16397     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16398   done
16399 IFS=$as_save_IFS
16400
16401      ;;
16402 esac
16403 # We did not find ourselves, most probably we were run as `sh COMMAND'
16404 # in which case we are not to be found in the path.
16405 if test "x$as_myself" = x; then
16406   as_myself=$0
16407 fi
16408 if test ! -f "$as_myself"; then
16409   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16410   exit 1
16411 fi
16412
16413 # Unset variables that we do not need and which cause bugs (e.g. in
16414 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16415 # suppresses any "Segmentation fault" message there.  '((' could
16416 # trigger a bug in pdksh 5.2.14.
16417 for as_var in BASH_ENV ENV MAIL MAILPATH
16418 do eval test x\${$as_var+set} = xset \
16419   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16420 done
16421 PS1='$ '
16422 PS2='> '
16423 PS4='+ '
16424
16425 # NLS nuisances.
16426 LC_ALL=C
16427 export LC_ALL
16428 LANGUAGE=C
16429 export LANGUAGE
16430
16431 # CDPATH.
16432 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16433
16434
16435 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16436 # ----------------------------------------
16437 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16438 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16439 # script with STATUS, using 1 if that was 0.
16440 as_fn_error ()
16441 {
16442   as_status=$1; test $as_status -eq 0 && as_status=1
16443   if test "$4"; then
16444     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16445     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16446   fi
16447   $as_echo "$as_me: error: $2" >&2
16448   as_fn_exit $as_status
16449 } # as_fn_error
16450
16451
16452 # as_fn_set_status STATUS
16453 # -----------------------
16454 # Set $? to STATUS, without forking.
16455 as_fn_set_status ()
16456 {
16457   return $1
16458 } # as_fn_set_status
16459
16460 # as_fn_exit STATUS
16461 # -----------------
16462 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16463 as_fn_exit ()
16464 {
16465   set +e
16466   as_fn_set_status $1
16467   exit $1
16468 } # as_fn_exit
16469
16470 # as_fn_unset VAR
16471 # ---------------
16472 # Portably unset VAR.
16473 as_fn_unset ()
16474 {
16475   { eval $1=; unset $1;}
16476 }
16477 as_unset=as_fn_unset
16478 # as_fn_append VAR VALUE
16479 # ----------------------
16480 # Append the text in VALUE to the end of the definition contained in VAR. Take
16481 # advantage of any shell optimizations that allow amortized linear growth over
16482 # repeated appends, instead of the typical quadratic growth present in naive
16483 # implementations.
16484 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16485   eval 'as_fn_append ()
16486   {
16487     eval $1+=\$2
16488   }'
16489 else
16490   as_fn_append ()
16491   {
16492     eval $1=\$$1\$2
16493   }
16494 fi # as_fn_append
16495
16496 # as_fn_arith ARG...
16497 # ------------------
16498 # Perform arithmetic evaluation on the ARGs, and store the result in the
16499 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16500 # must be portable across $(()) and expr.
16501 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16502   eval 'as_fn_arith ()
16503   {
16504     as_val=$(( $* ))
16505   }'
16506 else
16507   as_fn_arith ()
16508   {
16509     as_val=`expr "$@" || test $? -eq 1`
16510   }
16511 fi # as_fn_arith
16512
16513
16514 if expr a : '\(a\)' >/dev/null 2>&1 &&
16515    test "X`expr 00001 : '.*\(...\)'`" = X001; then
16516   as_expr=expr
16517 else
16518   as_expr=false
16519 fi
16520
16521 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16522   as_basename=basename
16523 else
16524   as_basename=false
16525 fi
16526
16527 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16528   as_dirname=dirname
16529 else
16530   as_dirname=false
16531 fi
16532
16533 as_me=`$as_basename -- "$0" ||
16534 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16535          X"$0" : 'X\(//\)$' \| \
16536          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16537 $as_echo X/"$0" |
16538     sed '/^.*\/\([^/][^/]*\)\/*$/{
16539             s//\1/
16540             q
16541           }
16542           /^X\/\(\/\/\)$/{
16543             s//\1/
16544             q
16545           }
16546           /^X\/\(\/\).*/{
16547             s//\1/
16548             q
16549           }
16550           s/.*/./; q'`
16551
16552 # Avoid depending upon Character Ranges.
16553 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16554 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16555 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16556 as_cr_digits='0123456789'
16557 as_cr_alnum=$as_cr_Letters$as_cr_digits
16558
16559 ECHO_C= ECHO_N= ECHO_T=
16560 case `echo -n x` in #(((((
16561 -n*)
16562   case `echo 'xy\c'` in
16563   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16564   xy)  ECHO_C='\c';;
16565   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16566        ECHO_T=' ';;
16567   esac;;
16568 *)
16569   ECHO_N='-n';;
16570 esac
16571
16572 rm -f conf$$ conf$$.exe conf$$.file
16573 if test -d conf$$.dir; then
16574   rm -f conf$$.dir/conf$$.file
16575 else
16576   rm -f conf$$.dir
16577   mkdir conf$$.dir 2>/dev/null
16578 fi
16579 if (echo >conf$$.file) 2>/dev/null; then
16580   if ln -s conf$$.file conf$$ 2>/dev/null; then
16581     as_ln_s='ln -s'
16582     # ... but there are two gotchas:
16583     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16584     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16585     # In both cases, we have to default to `cp -p'.
16586     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16587       as_ln_s='cp -p'
16588   elif ln conf$$.file conf$$ 2>/dev/null; then
16589     as_ln_s=ln
16590   else
16591     as_ln_s='cp -p'
16592   fi
16593 else
16594   as_ln_s='cp -p'
16595 fi
16596 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16597 rmdir conf$$.dir 2>/dev/null
16598
16599
16600 # as_fn_mkdir_p
16601 # -------------
16602 # Create "$as_dir" as a directory, including parents if necessary.
16603 as_fn_mkdir_p ()
16604 {
16605
16606   case $as_dir in #(
16607   -*) as_dir=./$as_dir;;
16608   esac
16609   test -d "$as_dir" || eval $as_mkdir_p || {
16610     as_dirs=
16611     while :; do
16612       case $as_dir in #(
16613       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16614       *) as_qdir=$as_dir;;
16615       esac
16616       as_dirs="'$as_qdir' $as_dirs"
16617       as_dir=`$as_dirname -- "$as_dir" ||
16618 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16619          X"$as_dir" : 'X\(//\)[^/]' \| \
16620          X"$as_dir" : 'X\(//\)$' \| \
16621          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16622 $as_echo X"$as_dir" |
16623     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16624             s//\1/
16625             q
16626           }
16627           /^X\(\/\/\)[^/].*/{
16628             s//\1/
16629             q
16630           }
16631           /^X\(\/\/\)$/{
16632             s//\1/
16633             q
16634           }
16635           /^X\(\/\).*/{
16636             s//\1/
16637             q
16638           }
16639           s/.*/./; q'`
16640       test -d "$as_dir" && break
16641     done
16642     test -z "$as_dirs" || eval "mkdir $as_dirs"
16643   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16644
16645
16646 } # as_fn_mkdir_p
16647 if mkdir -p . 2>/dev/null; then
16648   as_mkdir_p='mkdir -p "$as_dir"'
16649 else
16650   test -d ./-p && rmdir ./-p
16651   as_mkdir_p=false
16652 fi
16653
16654 if test -x / >/dev/null 2>&1; then
16655   as_test_x='test -x'
16656 else
16657   if ls -dL / >/dev/null 2>&1; then
16658     as_ls_L_option=L
16659   else
16660     as_ls_L_option=
16661   fi
16662   as_test_x='
16663     eval sh -c '\''
16664       if test -d "$1"; then
16665         test -d "$1/.";
16666       else
16667         case $1 in #(
16668         -*)set "./$1";;
16669         esac;
16670         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16671         ???[sx]*):;;*)false;;esac;fi
16672     '\'' sh
16673   '
16674 fi
16675 as_executable_p=$as_test_x
16676
16677 # Sed expression to map a string onto a valid CPP name.
16678 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16679
16680 # Sed expression to map a string onto a valid variable name.
16681 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16682
16683
16684 exec 6>&1
16685 ## ----------------------------------- ##
16686 ## Main body of $CONFIG_STATUS script. ##
16687 ## ----------------------------------- ##
16688 _ASEOF
16689 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16690
16691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16692 # Save the log message, to keep $0 and so on meaningful, and to
16693 # report actual input values of CONFIG_FILES etc. instead of their
16694 # values after options handling.
16695 ac_log="
16696 This file was extended by libxml++ $as_me 2.34.2, which was
16697 generated by GNU Autoconf 2.68.  Invocation command line was
16698
16699   CONFIG_FILES    = $CONFIG_FILES
16700   CONFIG_HEADERS  = $CONFIG_HEADERS
16701   CONFIG_LINKS    = $CONFIG_LINKS
16702   CONFIG_COMMANDS = $CONFIG_COMMANDS
16703   $ $0 $@
16704
16705 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16706 "
16707
16708 _ACEOF
16709
16710 case $ac_config_files in *"
16711 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16712 esac
16713
16714 case $ac_config_headers in *"
16715 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16716 esac
16717
16718
16719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16720 # Files that config.status was made for.
16721 config_files="$ac_config_files"
16722 config_headers="$ac_config_headers"
16723 config_commands="$ac_config_commands"
16724
16725 _ACEOF
16726
16727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16728 ac_cs_usage="\
16729 \`$as_me' instantiates files and other configuration actions
16730 from templates according to the current configuration.  Unless the files
16731 and actions are specified as TAGs, all are instantiated by default.
16732
16733 Usage: $0 [OPTION]... [TAG]...
16734
16735   -h, --help       print this help, then exit
16736   -V, --version    print version number and configuration settings, then exit
16737       --config     print configuration, then exit
16738   -q, --quiet, --silent
16739                    do not print progress messages
16740   -d, --debug      don't remove temporary files
16741       --recheck    update $as_me by reconfiguring in the same conditions
16742       --file=FILE[:TEMPLATE]
16743                    instantiate the configuration file FILE
16744       --header=FILE[:TEMPLATE]
16745                    instantiate the configuration header FILE
16746
16747 Configuration files:
16748 $config_files
16749
16750 Configuration headers:
16751 $config_headers
16752
16753 Configuration commands:
16754 $config_commands
16755
16756 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B>.
16757 libxml++ home page: <http://libxmlplusplus.sourceforge.net/>."
16758
16759 _ACEOF
16760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16761 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16762 ac_cs_version="\\
16763 libxml++ config.status 2.34.2
16764 configured by $0, generated by GNU Autoconf 2.68,
16765   with options \\"\$ac_cs_config\\"
16766
16767 Copyright (C) 2010 Free Software Foundation, Inc.
16768 This config.status script is free software; the Free Software Foundation
16769 gives unlimited permission to copy, distribute and modify it."
16770
16771 ac_pwd='$ac_pwd'
16772 srcdir='$srcdir'
16773 INSTALL='$INSTALL'
16774 MKDIR_P='$MKDIR_P'
16775 AWK='$AWK'
16776 test -n "\$AWK" || AWK=awk
16777 _ACEOF
16778
16779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16780 # The default lists apply if the user does not specify any file.
16781 ac_need_defaults=:
16782 while test $# != 0
16783 do
16784   case $1 in
16785   --*=?*)
16786     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16787     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16788     ac_shift=:
16789     ;;
16790   --*=)
16791     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16792     ac_optarg=
16793     ac_shift=:
16794     ;;
16795   *)
16796     ac_option=$1
16797     ac_optarg=$2
16798     ac_shift=shift
16799     ;;
16800   esac
16801
16802   case $ac_option in
16803   # Handling of the options.
16804   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16805     ac_cs_recheck=: ;;
16806   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16807     $as_echo "$ac_cs_version"; exit ;;
16808   --config | --confi | --conf | --con | --co | --c )
16809     $as_echo "$ac_cs_config"; exit ;;
16810   --debug | --debu | --deb | --de | --d | -d )
16811     debug=: ;;
16812   --file | --fil | --fi | --f )
16813     $ac_shift
16814     case $ac_optarg in
16815     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16816     '') as_fn_error $? "missing file argument" ;;
16817     esac
16818     as_fn_append CONFIG_FILES " '$ac_optarg'"
16819     ac_need_defaults=false;;
16820   --header | --heade | --head | --hea )
16821     $ac_shift
16822     case $ac_optarg in
16823     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16824     esac
16825     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16826     ac_need_defaults=false;;
16827   --he | --h)
16828     # Conflict between --help and --header
16829     as_fn_error $? "ambiguous option: \`$1'
16830 Try \`$0 --help' for more information.";;
16831   --help | --hel | -h )
16832     $as_echo "$ac_cs_usage"; exit ;;
16833   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16834   | -silent | --silent | --silen | --sile | --sil | --si | --s)
16835     ac_cs_silent=: ;;
16836
16837   # This is an error.
16838   -*) as_fn_error $? "unrecognized option: \`$1'
16839 Try \`$0 --help' for more information." ;;
16840
16841   *) as_fn_append ac_config_targets " $1"
16842      ac_need_defaults=false ;;
16843
16844   esac
16845   shift
16846 done
16847
16848 ac_configure_extra_args=
16849
16850 if $ac_cs_silent; then
16851   exec 6>/dev/null
16852   ac_configure_extra_args="$ac_configure_extra_args --silent"
16853 fi
16854
16855 _ACEOF
16856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16857 if \$ac_cs_recheck; then
16858   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16859   shift
16860   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16861   CONFIG_SHELL='$SHELL'
16862   export CONFIG_SHELL
16863   exec "\$@"
16864 fi
16865
16866 _ACEOF
16867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16868 exec 5>>config.log
16869 {
16870   echo
16871   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16872 ## Running $as_me. ##
16873 _ASBOX
16874   $as_echo "$ac_log"
16875 } >&5
16876
16877 _ACEOF
16878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16879 #
16880 # INIT-COMMANDS
16881 #
16882 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16883
16884
16885 # The HP-UX ksh and POSIX shell print the target directory to stdout
16886 # if CDPATH is set.
16887 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16888
16889 sed_quote_subst='$sed_quote_subst'
16890 double_quote_subst='$double_quote_subst'
16891 delay_variable_subst='$delay_variable_subst'
16892 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16893 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16894 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16895 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16896 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16897 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16898 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16899 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16900 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16901 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16902 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16903 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16904 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16905 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16906 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16907 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16908 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16909 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16910 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16911 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16912 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16913 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16914 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16915 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16916 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16917 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16918 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16919 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16920 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16921 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16922 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16923 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16924 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16925 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16926 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16927 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16928 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16929 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16930 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16931 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16932 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16933 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16934 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16935 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16936 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16937 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16938 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16939 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16940 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16941 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16942 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16943 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16944 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16945 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16946 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16947 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16948 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"`'
16949 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16950 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16951 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16952 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16953 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16954 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16955 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16956 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16957 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16958 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16959 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16960 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16961 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16962 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16963 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16964 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16965 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16966 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16967 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16968 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16969 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16970 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16971 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16972 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16973 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16974 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16975 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16976 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16977 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16978 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16979 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16980 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16981 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16982 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16983 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16984 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16985 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16986 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16987 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16988 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16989 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16990 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16991 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16992 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16993 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16994 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16995 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16996 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16997 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16998 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16999 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17000 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17001 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17002 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17003 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17004 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17005 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17006 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17007 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17008 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17009 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17010 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17011 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17012 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17013 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17014 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17015 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17016 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17017 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17018 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17019 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17020 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17021 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17022 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17023 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17024 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17025 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17026 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17027 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17028 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17029 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17030 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17031 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17032 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17033 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17034 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17035 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17036 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17037 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17038 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17039 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17040 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17041 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17042 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17043 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17044 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17045 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17046 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17047 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17048 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17049 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17050 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17051 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17052 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17053 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17054 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17055 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
17056 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17057 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17058 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17059 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17060 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17061 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17062 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17063 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17064 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17065 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17066 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17067 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17068 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17069 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17070 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17071 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17072 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17073 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17074 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17075 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17076 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17077 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17078
17079 LTCC='$LTCC'
17080 LTCFLAGS='$LTCFLAGS'
17081 compiler='$compiler_DEFAULT'
17082
17083 # A function that is used when there is no print builtin or printf.
17084 func_fallback_echo ()
17085 {
17086   eval 'cat <<_LTECHO_EOF
17087 \$1
17088 _LTECHO_EOF'
17089 }
17090
17091 # Quote evaled strings.
17092 for var in AS \
17093 DLLTOOL \
17094 OBJDUMP \
17095 SHELL \
17096 ECHO \
17097 SED \
17098 GREP \
17099 EGREP \
17100 FGREP \
17101 LD \
17102 NM \
17103 LN_S \
17104 lt_SP2NL \
17105 lt_NL2SP \
17106 reload_flag \
17107 deplibs_check_method \
17108 file_magic_cmd \
17109 file_magic_glob \
17110 want_nocaseglob \
17111 sharedlib_from_linklib_cmd \
17112 AR \
17113 AR_FLAGS \
17114 archiver_list_spec \
17115 STRIP \
17116 RANLIB \
17117 CC \
17118 CFLAGS \
17119 compiler \
17120 lt_cv_sys_global_symbol_pipe \
17121 lt_cv_sys_global_symbol_to_cdecl \
17122 lt_cv_sys_global_symbol_to_c_name_address \
17123 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17124 nm_file_list_spec \
17125 lt_prog_compiler_no_builtin_flag \
17126 lt_prog_compiler_pic \
17127 lt_prog_compiler_wl \
17128 lt_prog_compiler_static \
17129 lt_cv_prog_compiler_c_o \
17130 need_locks \
17131 MANIFEST_TOOL \
17132 DSYMUTIL \
17133 NMEDIT \
17134 LIPO \
17135 OTOOL \
17136 OTOOL64 \
17137 shrext_cmds \
17138 export_dynamic_flag_spec \
17139 whole_archive_flag_spec \
17140 compiler_needs_object \
17141 with_gnu_ld \
17142 allow_undefined_flag \
17143 no_undefined_flag \
17144 hardcode_libdir_flag_spec \
17145 hardcode_libdir_flag_spec_ld \
17146 hardcode_libdir_separator \
17147 exclude_expsyms \
17148 include_expsyms \
17149 file_list_spec \
17150 variables_saved_for_relink \
17151 libname_spec \
17152 library_names_spec \
17153 soname_spec \
17154 install_override_mode \
17155 finish_eval \
17156 old_striplib \
17157 striplib \
17158 compiler_lib_search_dirs \
17159 predep_objects \
17160 postdep_objects \
17161 predeps \
17162 postdeps \
17163 compiler_lib_search_path \
17164 LD_CXX \
17165 reload_flag_CXX \
17166 compiler_CXX \
17167 lt_prog_compiler_no_builtin_flag_CXX \
17168 lt_prog_compiler_pic_CXX \
17169 lt_prog_compiler_wl_CXX \
17170 lt_prog_compiler_static_CXX \
17171 lt_cv_prog_compiler_c_o_CXX \
17172 export_dynamic_flag_spec_CXX \
17173 whole_archive_flag_spec_CXX \
17174 compiler_needs_object_CXX \
17175 with_gnu_ld_CXX \
17176 allow_undefined_flag_CXX \
17177 no_undefined_flag_CXX \
17178 hardcode_libdir_flag_spec_CXX \
17179 hardcode_libdir_flag_spec_ld_CXX \
17180 hardcode_libdir_separator_CXX \
17181 exclude_expsyms_CXX \
17182 include_expsyms_CXX \
17183 file_list_spec_CXX \
17184 compiler_lib_search_dirs_CXX \
17185 predep_objects_CXX \
17186 postdep_objects_CXX \
17187 predeps_CXX \
17188 postdeps_CXX \
17189 compiler_lib_search_path_CXX; do
17190     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17191     *[\\\\\\\`\\"\\\$]*)
17192       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17193       ;;
17194     *)
17195       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17196       ;;
17197     esac
17198 done
17199
17200 # Double-quote double-evaled strings.
17201 for var in reload_cmds \
17202 old_postinstall_cmds \
17203 old_postuninstall_cmds \
17204 old_archive_cmds \
17205 extract_expsyms_cmds \
17206 old_archive_from_new_cmds \
17207 old_archive_from_expsyms_cmds \
17208 archive_cmds \
17209 archive_expsym_cmds \
17210 module_cmds \
17211 module_expsym_cmds \
17212 export_symbols_cmds \
17213 prelink_cmds \
17214 postlink_cmds \
17215 postinstall_cmds \
17216 postuninstall_cmds \
17217 finish_cmds \
17218 sys_lib_search_path_spec \
17219 sys_lib_dlsearch_path_spec \
17220 reload_cmds_CXX \
17221 old_archive_cmds_CXX \
17222 old_archive_from_new_cmds_CXX \
17223 old_archive_from_expsyms_cmds_CXX \
17224 archive_cmds_CXX \
17225 archive_expsym_cmds_CXX \
17226 module_cmds_CXX \
17227 module_expsym_cmds_CXX \
17228 export_symbols_cmds_CXX \
17229 prelink_cmds_CXX \
17230 postlink_cmds_CXX; do
17231     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17232     *[\\\\\\\`\\"\\\$]*)
17233       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17234       ;;
17235     *)
17236       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17237       ;;
17238     esac
17239 done
17240
17241 ac_aux_dir='$ac_aux_dir'
17242 xsi_shell='$xsi_shell'
17243 lt_shell_append='$lt_shell_append'
17244
17245 # See if we are running on zsh, and set the options which allow our
17246 # commands through without removal of \ escapes INIT.
17247 if test -n "\${ZSH_VERSION+set}" ; then
17248    setopt NO_GLOB_SUBST
17249 fi
17250
17251
17252     PACKAGE='$PACKAGE'
17253     VERSION='$VERSION'
17254     TIMESTAMP='$TIMESTAMP'
17255     RM='$RM'
17256     ofile='$ofile'
17257
17258
17259
17260
17261
17262
17263 _ACEOF
17264
17265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17266
17267 # Handling of arguments.
17268 for ac_config_target in $ac_config_targets
17269 do
17270   case $ac_config_target in
17271     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17272     "libxml++config.h") CONFIG_HEADERS="$CONFIG_HEADERS libxml++config.h" ;;
17273     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17274     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17275     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17276     "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;;
17277     "MSVC_Net2005/libxml++/libxml++.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/libxml++/libxml++.rc" ;;
17278     "MSVC_Net2008/libxml++/libxml++.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2008/libxml++/libxml++.rc" ;;
17279     "MSVC_Net2010/libxml++/libxml++.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2010/libxml++/libxml++.rc" ;;
17280     "libxml++-2.6.pc") CONFIG_FILES="$CONFIG_FILES libxml++-2.6.pc" ;;
17281     "MSVC_Net2005/libxml++/libxml++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2005/libxml++/libxml++config.h" ;;
17282     "MSVC_Net2008/libxml++/libxml++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2008/libxml++/libxml++config.h" ;;
17283     "MSVC_Net2010/libxml++/libxml++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2010/libxml++/libxml++config.h" ;;
17284
17285   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17286   esac
17287 done
17288
17289
17290 # If the user did not use the arguments to specify the items to instantiate,
17291 # then the envvar interface is used.  Set only those that are not.
17292 # We use the long form for the default assignment because of an extremely
17293 # bizarre bug on SunOS 4.1.3.
17294 if $ac_need_defaults; then
17295   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17296   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17297   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17298 fi
17299
17300 # Have a temporary directory for convenience.  Make it in the build tree
17301 # simply because there is no reason against having it here, and in addition,
17302 # creating and moving files from /tmp can sometimes cause problems.
17303 # Hook for its removal unless debugging.
17304 # Note that there is a small window in which the directory will not be cleaned:
17305 # after its creation but before its name has been assigned to `$tmp'.
17306 $debug ||
17307 {
17308   tmp= ac_tmp=
17309   trap 'exit_status=$?
17310   : "${ac_tmp:=$tmp}"
17311   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17312 ' 0
17313   trap 'as_fn_exit 1' 1 2 13 15
17314 }
17315 # Create a (secure) tmp directory for tmp files.
17316
17317 {
17318   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17319   test -d "$tmp"
17320 }  ||
17321 {
17322   tmp=./conf$$-$RANDOM
17323   (umask 077 && mkdir "$tmp")
17324 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17325 ac_tmp=$tmp
17326
17327 # Set up the scripts for CONFIG_FILES section.
17328 # No need to generate them if there are no CONFIG_FILES.
17329 # This happens for instance with `./config.status config.h'.
17330 if test -n "$CONFIG_FILES"; then
17331
17332
17333 ac_cr=`echo X | tr X '\015'`
17334 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17335 # But we know of no other shell where ac_cr would be empty at this
17336 # point, so we can use a bashism as a fallback.
17337 if test "x$ac_cr" = x; then
17338   eval ac_cr=\$\'\\r\'
17339 fi
17340 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17341 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17342   ac_cs_awk_cr='\\r'
17343 else
17344   ac_cs_awk_cr=$ac_cr
17345 fi
17346
17347 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17348 _ACEOF
17349
17350
17351 {
17352   echo "cat >conf$$subs.awk <<_ACEOF" &&
17353   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17354   echo "_ACEOF"
17355 } >conf$$subs.sh ||
17356   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17357 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17358 ac_delim='%!_!# '
17359 for ac_last_try in false false false false false :; do
17360   . ./conf$$subs.sh ||
17361     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17362
17363   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17364   if test $ac_delim_n = $ac_delim_num; then
17365     break
17366   elif $ac_last_try; then
17367     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17368   else
17369     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17370   fi
17371 done
17372 rm -f conf$$subs.sh
17373
17374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17375 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17376 _ACEOF
17377 sed -n '
17378 h
17379 s/^/S["/; s/!.*/"]=/
17380 p
17381 g
17382 s/^[^!]*!//
17383 :repl
17384 t repl
17385 s/'"$ac_delim"'$//
17386 t delim
17387 :nl
17388 h
17389 s/\(.\{148\}\)..*/\1/
17390 t more1
17391 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17392 p
17393 n
17394 b repl
17395 :more1
17396 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17397 p
17398 g
17399 s/.\{148\}//
17400 t nl
17401 :delim
17402 h
17403 s/\(.\{148\}\)..*/\1/
17404 t more2
17405 s/["\\]/\\&/g; s/^/"/; s/$/"/
17406 p
17407 b
17408 :more2
17409 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17410 p
17411 g
17412 s/.\{148\}//
17413 t delim
17414 ' <conf$$subs.awk | sed '
17415 /^[^""]/{
17416   N
17417   s/\n//
17418 }
17419 ' >>$CONFIG_STATUS || ac_write_fail=1
17420 rm -f conf$$subs.awk
17421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17422 _ACAWK
17423 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17424   for (key in S) S_is_set[key] = 1
17425   FS = "\a"
17426
17427 }
17428 {
17429   line = $ 0
17430   nfields = split(line, field, "@")
17431   substed = 0
17432   len = length(field[1])
17433   for (i = 2; i < nfields; i++) {
17434     key = field[i]
17435     keylen = length(key)
17436     if (S_is_set[key]) {
17437       value = S[key]
17438       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17439       len += length(value) + length(field[++i])
17440       substed = 1
17441     } else
17442       len += 1 + keylen
17443   }
17444
17445   print line
17446 }
17447
17448 _ACAWK
17449 _ACEOF
17450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17451 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17452   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17453 else
17454   cat
17455 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17456   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17457 _ACEOF
17458
17459 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17460 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17461 # trailing colons and then remove the whole line if VPATH becomes empty
17462 # (actually we leave an empty line to preserve line numbers).
17463 if test "x$srcdir" = x.; then
17464   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17465 h
17466 s///
17467 s/^/:/
17468 s/[      ]*$/:/
17469 s/:\$(srcdir):/:/g
17470 s/:\${srcdir}:/:/g
17471 s/:@srcdir@:/:/g
17472 s/^:*//
17473 s/:*$//
17474 x
17475 s/\(=[   ]*\).*/\1/
17476 G
17477 s/\n//
17478 s/^[^=]*=[       ]*$//
17479 }'
17480 fi
17481
17482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17483 fi # test -n "$CONFIG_FILES"
17484
17485 # Set up the scripts for CONFIG_HEADERS section.
17486 # No need to generate them if there are no CONFIG_HEADERS.
17487 # This happens for instance with `./config.status Makefile'.
17488 if test -n "$CONFIG_HEADERS"; then
17489 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17490 BEGIN {
17491 _ACEOF
17492
17493 # Transform confdefs.h into an awk script `defines.awk', embedded as
17494 # here-document in config.status, that substitutes the proper values into
17495 # config.h.in to produce config.h.
17496
17497 # Create a delimiter string that does not exist in confdefs.h, to ease
17498 # handling of long lines.
17499 ac_delim='%!_!# '
17500 for ac_last_try in false false :; do
17501   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17502   if test -z "$ac_tt"; then
17503     break
17504   elif $ac_last_try; then
17505     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17506   else
17507     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17508   fi
17509 done
17510
17511 # For the awk script, D is an array of macro values keyed by name,
17512 # likewise P contains macro parameters if any.  Preserve backslash
17513 # newline sequences.
17514
17515 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17516 sed -n '
17517 s/.\{148\}/&'"$ac_delim"'/g
17518 t rset
17519 :rset
17520 s/^[     ]*#[    ]*define[       ][      ]*/ /
17521 t def
17522 d
17523 :def
17524 s/\\$//
17525 t bsnl
17526 s/["\\]/\\&/g
17527 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17528 D["\1"]=" \3"/p
17529 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
17530 d
17531 :bsnl
17532 s/["\\]/\\&/g
17533 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17534 D["\1"]=" \3\\\\\\n"\\/p
17535 t cont
17536 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17537 t cont
17538 d
17539 :cont
17540 n
17541 s/.\{148\}/&'"$ac_delim"'/g
17542 t clear
17543 :clear
17544 s/\\$//
17545 t bsnlc
17546 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17547 d
17548 :bsnlc
17549 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17550 b cont
17551 ' <confdefs.h | sed '
17552 s/'"$ac_delim"'/"\\\
17553 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17554
17555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17556   for (key in D) D_is_set[key] = 1
17557   FS = "\a"
17558 }
17559 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17560   line = \$ 0
17561   split(line, arg, " ")
17562   if (arg[1] == "#") {
17563     defundef = arg[2]
17564     mac1 = arg[3]
17565   } else {
17566     defundef = substr(arg[1], 2)
17567     mac1 = arg[2]
17568   }
17569   split(mac1, mac2, "(") #)
17570   macro = mac2[1]
17571   prefix = substr(line, 1, index(line, defundef) - 1)
17572   if (D_is_set[macro]) {
17573     # Preserve the white space surrounding the "#".
17574     print prefix "define", macro P[macro] D[macro]
17575     next
17576   } else {
17577     # Replace #undef with comments.  This is necessary, for example,
17578     # in the case of _POSIX_SOURCE, which is predefined and required
17579     # on some systems where configure will not decide to define it.
17580     if (defundef == "undef") {
17581       print "/*", prefix defundef, macro, "*/"
17582       next
17583     }
17584   }
17585 }
17586 { print }
17587 _ACAWK
17588 _ACEOF
17589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17590   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17591 fi # test -n "$CONFIG_HEADERS"
17592
17593
17594 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17595 shift
17596 for ac_tag
17597 do
17598   case $ac_tag in
17599   :[FHLC]) ac_mode=$ac_tag; continue;;
17600   esac
17601   case $ac_mode$ac_tag in
17602   :[FHL]*:*);;
17603   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17604   :[FH]-) ac_tag=-:-;;
17605   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17606   esac
17607   ac_save_IFS=$IFS
17608   IFS=:
17609   set x $ac_tag
17610   IFS=$ac_save_IFS
17611   shift
17612   ac_file=$1
17613   shift
17614
17615   case $ac_mode in
17616   :L) ac_source=$1;;
17617   :[FH])
17618     ac_file_inputs=
17619     for ac_f
17620     do
17621       case $ac_f in
17622       -) ac_f="$ac_tmp/stdin";;
17623       *) # Look for the file first in the build tree, then in the source tree
17624          # (if the path is not absolute).  The absolute path cannot be DOS-style,
17625          # because $ac_f cannot contain `:'.
17626          test -f "$ac_f" ||
17627            case $ac_f in
17628            [\\/$]*) false;;
17629            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17630            esac ||
17631            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17632       esac
17633       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17634       as_fn_append ac_file_inputs " '$ac_f'"
17635     done
17636
17637     # Let's still pretend it is `configure' which instantiates (i.e., don't
17638     # use $as_me), people would be surprised to read:
17639     #    /* config.h.  Generated by config.status.  */
17640     configure_input='Generated from '`
17641           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17642         `' by configure.'
17643     if test x"$ac_file" != x-; then
17644       configure_input="$ac_file.  $configure_input"
17645       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17646 $as_echo "$as_me: creating $ac_file" >&6;}
17647     fi
17648     # Neutralize special characters interpreted by sed in replacement strings.
17649     case $configure_input in #(
17650     *\&* | *\|* | *\\* )
17651        ac_sed_conf_input=`$as_echo "$configure_input" |
17652        sed 's/[\\\\&|]/\\\\&/g'`;; #(
17653     *) ac_sed_conf_input=$configure_input;;
17654     esac
17655
17656     case $ac_tag in
17657     *:-:* | *:-) cat >"$ac_tmp/stdin" \
17658       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17659     esac
17660     ;;
17661   esac
17662
17663   ac_dir=`$as_dirname -- "$ac_file" ||
17664 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17665          X"$ac_file" : 'X\(//\)[^/]' \| \
17666          X"$ac_file" : 'X\(//\)$' \| \
17667          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17668 $as_echo X"$ac_file" |
17669     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17670             s//\1/
17671             q
17672           }
17673           /^X\(\/\/\)[^/].*/{
17674             s//\1/
17675             q
17676           }
17677           /^X\(\/\/\)$/{
17678             s//\1/
17679             q
17680           }
17681           /^X\(\/\).*/{
17682             s//\1/
17683             q
17684           }
17685           s/.*/./; q'`
17686   as_dir="$ac_dir"; as_fn_mkdir_p
17687   ac_builddir=.
17688
17689 case "$ac_dir" in
17690 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17691 *)
17692   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17693   # A ".." for each directory in $ac_dir_suffix.
17694   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17695   case $ac_top_builddir_sub in
17696   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17697   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17698   esac ;;
17699 esac
17700 ac_abs_top_builddir=$ac_pwd
17701 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17702 # for backward compatibility:
17703 ac_top_builddir=$ac_top_build_prefix
17704
17705 case $srcdir in
17706   .)  # We are building in place.
17707     ac_srcdir=.
17708     ac_top_srcdir=$ac_top_builddir_sub
17709     ac_abs_top_srcdir=$ac_pwd ;;
17710   [\\/]* | ?:[\\/]* )  # Absolute name.
17711     ac_srcdir=$srcdir$ac_dir_suffix;
17712     ac_top_srcdir=$srcdir
17713     ac_abs_top_srcdir=$srcdir ;;
17714   *) # Relative name.
17715     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17716     ac_top_srcdir=$ac_top_build_prefix$srcdir
17717     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17718 esac
17719 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17720
17721
17722   case $ac_mode in
17723   :F)
17724   #
17725   # CONFIG_FILE
17726   #
17727
17728   case $INSTALL in
17729   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17730   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17731   esac
17732   ac_MKDIR_P=$MKDIR_P
17733   case $MKDIR_P in
17734   [\\/$]* | ?:[\\/]* ) ;;
17735   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17736   esac
17737 _ACEOF
17738
17739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17740 # If the template does not know about datarootdir, expand it.
17741 # FIXME: This hack should be removed a few years after 2.60.
17742 ac_datarootdir_hack=; ac_datarootdir_seen=
17743 ac_sed_dataroot='
17744 /datarootdir/ {
17745   p
17746   q
17747 }
17748 /@datadir@/p
17749 /@docdir@/p
17750 /@infodir@/p
17751 /@localedir@/p
17752 /@mandir@/p'
17753 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17754 *datarootdir*) ac_datarootdir_seen=yes;;
17755 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17756   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17757 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17758 _ACEOF
17759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17760   ac_datarootdir_hack='
17761   s&@datadir@&$datadir&g
17762   s&@docdir@&$docdir&g
17763   s&@infodir@&$infodir&g
17764   s&@localedir@&$localedir&g
17765   s&@mandir@&$mandir&g
17766   s&\\\${datarootdir}&$datarootdir&g' ;;
17767 esac
17768 _ACEOF
17769
17770 # Neutralize VPATH when `$srcdir' = `.'.
17771 # Shell code in configure.ac might set extrasub.
17772 # FIXME: do we really want to maintain this feature?
17773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17774 ac_sed_extra="$ac_vpsub
17775 $extrasub
17776 _ACEOF
17777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17778 :t
17779 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17780 s|@configure_input@|$ac_sed_conf_input|;t t
17781 s&@top_builddir@&$ac_top_builddir_sub&;t t
17782 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17783 s&@srcdir@&$ac_srcdir&;t t
17784 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17785 s&@top_srcdir@&$ac_top_srcdir&;t t
17786 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17787 s&@builddir@&$ac_builddir&;t t
17788 s&@abs_builddir@&$ac_abs_builddir&;t t
17789 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17790 s&@INSTALL@&$ac_INSTALL&;t t
17791 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17792 $ac_datarootdir_hack
17793 "
17794 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17795   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17796
17797 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17798   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17799   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17800       "$ac_tmp/out"`; test -z "$ac_out"; } &&
17801   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17802 which seems to be undefined.  Please make sure it is defined" >&5
17803 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17804 which seems to be undefined.  Please make sure it is defined" >&2;}
17805
17806   rm -f "$ac_tmp/stdin"
17807   case $ac_file in
17808   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17809   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17810   esac \
17811   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17812  ;;
17813   :H)
17814   #
17815   # CONFIG_HEADER
17816   #
17817   if test x"$ac_file" != x-; then
17818     {
17819       $as_echo "/* $configure_input  */" \
17820       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17821     } >"$ac_tmp/config.h" \
17822       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17823     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17824       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17825 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17826     else
17827       rm -f "$ac_file"
17828       mv "$ac_tmp/config.h" "$ac_file" \
17829         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17830     fi
17831   else
17832     $as_echo "/* $configure_input  */" \
17833       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17834       || as_fn_error $? "could not create -" "$LINENO" 5
17835   fi
17836 # Compute "$ac_file"'s index in $config_headers.
17837 _am_arg="$ac_file"
17838 _am_stamp_count=1
17839 for _am_header in $config_headers :; do
17840   case $_am_header in
17841     $_am_arg | $_am_arg:* )
17842       break ;;
17843     * )
17844       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17845   esac
17846 done
17847 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17848 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17849          X"$_am_arg" : 'X\(//\)[^/]' \| \
17850          X"$_am_arg" : 'X\(//\)$' \| \
17851          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17852 $as_echo X"$_am_arg" |
17853     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17854             s//\1/
17855             q
17856           }
17857           /^X\(\/\/\)[^/].*/{
17858             s//\1/
17859             q
17860           }
17861           /^X\(\/\/\)$/{
17862             s//\1/
17863             q
17864           }
17865           /^X\(\/\).*/{
17866             s//\1/
17867             q
17868           }
17869           s/.*/./; q'`/stamp-h$_am_stamp_count
17870  ;;
17871
17872   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17873 $as_echo "$as_me: executing $ac_file commands" >&6;}
17874  ;;
17875   esac
17876
17877
17878   case $ac_file$ac_mode in
17879     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17880   # Autoconf 2.62 quotes --file arguments for eval, but not when files
17881   # are listed without --file.  Let's play safe and only enable the eval
17882   # if we detect the quoting.
17883   case $CONFIG_FILES in
17884   *\'*) eval set x "$CONFIG_FILES" ;;
17885   *)   set x $CONFIG_FILES ;;
17886   esac
17887   shift
17888   for mf
17889   do
17890     # Strip MF so we end up with the name of the file.
17891     mf=`echo "$mf" | sed -e 's/:.*$//'`
17892     # Check whether this is an Automake generated Makefile or not.
17893     # We used to match only the files named `Makefile.in', but
17894     # some people rename them; so instead we look at the file content.
17895     # Grep'ing the first line is not enough: some people post-process
17896     # each Makefile.in and add a new line on top of each file to say so.
17897     # Grep'ing the whole file is not good either: AIX grep has a line
17898     # limit of 2048, but all sed's we know have understand at least 4000.
17899     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17900       dirpart=`$as_dirname -- "$mf" ||
17901 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17902          X"$mf" : 'X\(//\)[^/]' \| \
17903          X"$mf" : 'X\(//\)$' \| \
17904          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17905 $as_echo X"$mf" |
17906     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17907             s//\1/
17908             q
17909           }
17910           /^X\(\/\/\)[^/].*/{
17911             s//\1/
17912             q
17913           }
17914           /^X\(\/\/\)$/{
17915             s//\1/
17916             q
17917           }
17918           /^X\(\/\).*/{
17919             s//\1/
17920             q
17921           }
17922           s/.*/./; q'`
17923     else
17924       continue
17925     fi
17926     # Extract the definition of DEPDIR, am__include, and am__quote
17927     # from the Makefile without running `make'.
17928     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17929     test -z "$DEPDIR" && continue
17930     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17931     test -z "am__include" && continue
17932     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17933     # When using ansi2knr, U may be empty or an underscore; expand it
17934     U=`sed -n 's/^U = //p' < "$mf"`
17935     # Find all dependency output files, they are included files with
17936     # $(DEPDIR) in their names.  We invoke sed twice because it is the
17937     # simplest approach to changing $(DEPDIR) to its actual value in the
17938     # expansion.
17939     for file in `sed -n "
17940       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17941          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17942       # Make sure the directory exists.
17943       test -f "$dirpart/$file" && continue
17944       fdir=`$as_dirname -- "$file" ||
17945 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17946          X"$file" : 'X\(//\)[^/]' \| \
17947          X"$file" : 'X\(//\)$' \| \
17948          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17949 $as_echo X"$file" |
17950     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17951             s//\1/
17952             q
17953           }
17954           /^X\(\/\/\)[^/].*/{
17955             s//\1/
17956             q
17957           }
17958           /^X\(\/\/\)$/{
17959             s//\1/
17960             q
17961           }
17962           /^X\(\/\).*/{
17963             s//\1/
17964             q
17965           }
17966           s/.*/./; q'`
17967       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17968       # echo "creating $dirpart/$file"
17969       echo '# dummy' > "$dirpart/$file"
17970     done
17971   done
17972 }
17973  ;;
17974     "libtool":C)
17975
17976     # See if we are running on zsh, and set the options which allow our
17977     # commands through without removal of \ escapes.
17978     if test -n "${ZSH_VERSION+set}" ; then
17979       setopt NO_GLOB_SUBST
17980     fi
17981
17982     cfgfile="${ofile}T"
17983     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17984     $RM "$cfgfile"
17985
17986     cat <<_LT_EOF >> "$cfgfile"
17987 #! $SHELL
17988
17989 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17990 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17991 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17992 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17993 #
17994 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17995 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17996 #                 Inc.
17997 #   Written by Gordon Matzigkeit, 1996
17998 #
17999 #   This file is part of GNU Libtool.
18000 #
18001 # GNU Libtool is free software; you can redistribute it and/or
18002 # modify it under the terms of the GNU General Public License as
18003 # published by the Free Software Foundation; either version 2 of
18004 # the License, or (at your option) any later version.
18005 #
18006 # As a special exception to the GNU General Public License,
18007 # if you distribute this file as part of a program or library that
18008 # is built using GNU Libtool, you may include this file under the
18009 # same distribution terms that you use for the rest of that program.
18010 #
18011 # GNU Libtool is distributed in the hope that it will be useful,
18012 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18013 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18014 # GNU General Public License for more details.
18015 #
18016 # You should have received a copy of the GNU General Public License
18017 # along with GNU Libtool; see the file COPYING.  If not, a copy
18018 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18019 # obtained by writing to the Free Software Foundation, Inc.,
18020 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18021
18022
18023 # The names of the tagged configurations supported by this script.
18024 available_tags="CXX "
18025
18026 # ### BEGIN LIBTOOL CONFIG
18027
18028 # Which release of libtool.m4 was used?
18029 macro_version=$macro_version
18030 macro_revision=$macro_revision
18031
18032 # Assembler program.
18033 AS=$lt_AS
18034
18035 # DLL creation program.
18036 DLLTOOL=$lt_DLLTOOL
18037
18038 # Object dumper program.
18039 OBJDUMP=$lt_OBJDUMP
18040
18041 # Whether or not to build static libraries.
18042 build_old_libs=$enable_static
18043
18044 # Whether or not to build shared libraries.
18045 build_libtool_libs=$enable_shared
18046
18047 # What type of objects to build.
18048 pic_mode=$pic_mode
18049
18050 # Whether or not to optimize for fast installation.
18051 fast_install=$enable_fast_install
18052
18053 # Shell to use when invoking shell scripts.
18054 SHELL=$lt_SHELL
18055
18056 # An echo program that protects backslashes.
18057 ECHO=$lt_ECHO
18058
18059 # The host system.
18060 host_alias=$host_alias
18061 host=$host
18062 host_os=$host_os
18063
18064 # The build system.
18065 build_alias=$build_alias
18066 build=$build
18067 build_os=$build_os
18068
18069 # A sed program that does not truncate output.
18070 SED=$lt_SED
18071
18072 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18073 Xsed="\$SED -e 1s/^X//"
18074
18075 # A grep program that handles long lines.
18076 GREP=$lt_GREP
18077
18078 # An ERE matcher.
18079 EGREP=$lt_EGREP
18080
18081 # A literal string matcher.
18082 FGREP=$lt_FGREP
18083
18084 # A BSD- or MS-compatible name lister.
18085 NM=$lt_NM
18086
18087 # Whether we need soft or hard links.
18088 LN_S=$lt_LN_S
18089
18090 # What is the maximum length of a command?
18091 max_cmd_len=$max_cmd_len
18092
18093 # Object file suffix (normally "o").
18094 objext=$ac_objext
18095
18096 # Executable file suffix (normally "").
18097 exeext=$exeext
18098
18099 # whether the shell understands "unset".
18100 lt_unset=$lt_unset
18101
18102 # turn spaces into newlines.
18103 SP2NL=$lt_lt_SP2NL
18104
18105 # turn newlines into spaces.
18106 NL2SP=$lt_lt_NL2SP
18107
18108 # convert \$build file names to \$host format.
18109 to_host_file_cmd=$lt_cv_to_host_file_cmd
18110
18111 # convert \$build files to toolchain format.
18112 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18113
18114 # Method to check whether dependent libraries are shared objects.
18115 deplibs_check_method=$lt_deplibs_check_method
18116
18117 # Command to use when deplibs_check_method = "file_magic".
18118 file_magic_cmd=$lt_file_magic_cmd
18119
18120 # How to find potential files when deplibs_check_method = "file_magic".
18121 file_magic_glob=$lt_file_magic_glob
18122
18123 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18124 want_nocaseglob=$lt_want_nocaseglob
18125
18126 # Command to associate shared and link libraries.
18127 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18128
18129 # The archiver.
18130 AR=$lt_AR
18131
18132 # Flags to create an archive.
18133 AR_FLAGS=$lt_AR_FLAGS
18134
18135 # How to feed a file listing to the archiver.
18136 archiver_list_spec=$lt_archiver_list_spec
18137
18138 # A symbol stripping program.
18139 STRIP=$lt_STRIP
18140
18141 # Commands used to install an old-style archive.
18142 RANLIB=$lt_RANLIB
18143 old_postinstall_cmds=$lt_old_postinstall_cmds
18144 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18145
18146 # Whether to use a lock for old archive extraction.
18147 lock_old_archive_extraction=$lock_old_archive_extraction
18148
18149 # A C compiler.
18150 LTCC=$lt_CC
18151
18152 # LTCC compiler flags.
18153 LTCFLAGS=$lt_CFLAGS
18154
18155 # Take the output of nm and produce a listing of raw symbols and C names.
18156 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18157
18158 # Transform the output of nm in a proper C declaration.
18159 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18160
18161 # Transform the output of nm in a C name address pair.
18162 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18163
18164 # Transform the output of nm in a C name address pair when lib prefix is needed.
18165 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18166
18167 # Specify filename containing input files for \$NM.
18168 nm_file_list_spec=$lt_nm_file_list_spec
18169
18170 # The root where to search for dependent libraries,and in which our libraries should be installed.
18171 lt_sysroot=$lt_sysroot
18172
18173 # The name of the directory that contains temporary libtool files.
18174 objdir=$objdir
18175
18176 # Used to examine libraries when file_magic_cmd begins with "file".
18177 MAGIC_CMD=$MAGIC_CMD
18178
18179 # Must we lock files when doing compilation?
18180 need_locks=$lt_need_locks
18181
18182 # Manifest tool.
18183 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18184
18185 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18186 DSYMUTIL=$lt_DSYMUTIL
18187
18188 # Tool to change global to local symbols on Mac OS X.
18189 NMEDIT=$lt_NMEDIT
18190
18191 # Tool to manipulate fat objects and archives on Mac OS X.
18192 LIPO=$lt_LIPO
18193
18194 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18195 OTOOL=$lt_OTOOL
18196
18197 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18198 OTOOL64=$lt_OTOOL64
18199
18200 # Old archive suffix (normally "a").
18201 libext=$libext
18202
18203 # Shared library suffix (normally ".so").
18204 shrext_cmds=$lt_shrext_cmds
18205
18206 # The commands to extract the exported symbol list from a shared archive.
18207 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18208
18209 # Variables whose values should be saved in libtool wrapper scripts and
18210 # restored at link time.
18211 variables_saved_for_relink=$lt_variables_saved_for_relink
18212
18213 # Do we need the "lib" prefix for modules?
18214 need_lib_prefix=$need_lib_prefix
18215
18216 # Do we need a version for libraries?
18217 need_version=$need_version
18218
18219 # Library versioning type.
18220 version_type=$version_type
18221
18222 # Shared library runtime path variable.
18223 runpath_var=$runpath_var
18224
18225 # Shared library path variable.
18226 shlibpath_var=$shlibpath_var
18227
18228 # Is shlibpath searched before the hard-coded library search path?
18229 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18230
18231 # Format of library name prefix.
18232 libname_spec=$lt_libname_spec
18233
18234 # List of archive names.  First name is the real one, the rest are links.
18235 # The last name is the one that the linker finds with -lNAME
18236 library_names_spec=$lt_library_names_spec
18237
18238 # The coded name of the library, if different from the real name.
18239 soname_spec=$lt_soname_spec
18240
18241 # Permission mode override for installation of shared libraries.
18242 install_override_mode=$lt_install_override_mode
18243
18244 # Command to use after installation of a shared archive.
18245 postinstall_cmds=$lt_postinstall_cmds
18246
18247 # Command to use after uninstallation of a shared archive.
18248 postuninstall_cmds=$lt_postuninstall_cmds
18249
18250 # Commands used to finish a libtool library installation in a directory.
18251 finish_cmds=$lt_finish_cmds
18252
18253 # As "finish_cmds", except a single script fragment to be evaled but
18254 # not shown.
18255 finish_eval=$lt_finish_eval
18256
18257 # Whether we should hardcode library paths into libraries.
18258 hardcode_into_libs=$hardcode_into_libs
18259
18260 # Compile-time system search path for libraries.
18261 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18262
18263 # Run-time system search path for libraries.
18264 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18265
18266 # Whether dlopen is supported.
18267 dlopen_support=$enable_dlopen
18268
18269 # Whether dlopen of programs is supported.
18270 dlopen_self=$enable_dlopen_self
18271
18272 # Whether dlopen of statically linked programs is supported.
18273 dlopen_self_static=$enable_dlopen_self_static
18274
18275 # Commands to strip libraries.
18276 old_striplib=$lt_old_striplib
18277 striplib=$lt_striplib
18278
18279
18280 # The linker used to build libraries.
18281 LD=$lt_LD
18282
18283 # How to create reloadable object files.
18284 reload_flag=$lt_reload_flag
18285 reload_cmds=$lt_reload_cmds
18286
18287 # Commands used to build an old-style archive.
18288 old_archive_cmds=$lt_old_archive_cmds
18289
18290 # A language specific compiler.
18291 CC=$lt_compiler
18292
18293 # Is the compiler the GNU compiler?
18294 with_gcc=$GCC
18295
18296 # Compiler flag to turn off builtin functions.
18297 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18298
18299 # Additional compiler flags for building library objects.
18300 pic_flag=$lt_lt_prog_compiler_pic
18301
18302 # How to pass a linker flag through the compiler.
18303 wl=$lt_lt_prog_compiler_wl
18304
18305 # Compiler flag to prevent dynamic linking.
18306 link_static_flag=$lt_lt_prog_compiler_static
18307
18308 # Does compiler simultaneously support -c and -o options?
18309 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18310
18311 # Whether or not to add -lc for building shared libraries.
18312 build_libtool_need_lc=$archive_cmds_need_lc
18313
18314 # Whether or not to disallow shared libs when runtime libs are static.
18315 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18316
18317 # Compiler flag to allow reflexive dlopens.
18318 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18319
18320 # Compiler flag to generate shared objects directly from archives.
18321 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18322
18323 # Whether the compiler copes with passing no objects directly.
18324 compiler_needs_object=$lt_compiler_needs_object
18325
18326 # Create an old-style archive from a shared archive.
18327 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18328
18329 # Create a temporary old-style archive to link instead of a shared archive.
18330 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18331
18332 # Commands used to build a shared archive.
18333 archive_cmds=$lt_archive_cmds
18334 archive_expsym_cmds=$lt_archive_expsym_cmds
18335
18336 # Commands used to build a loadable module if different from building
18337 # a shared archive.
18338 module_cmds=$lt_module_cmds
18339 module_expsym_cmds=$lt_module_expsym_cmds
18340
18341 # Whether we are building with GNU ld or not.
18342 with_gnu_ld=$lt_with_gnu_ld
18343
18344 # Flag that allows shared libraries with undefined symbols to be built.
18345 allow_undefined_flag=$lt_allow_undefined_flag
18346
18347 # Flag that enforces no undefined symbols.
18348 no_undefined_flag=$lt_no_undefined_flag
18349
18350 # Flag to hardcode \$libdir into a binary during linking.
18351 # This must work even if \$libdir does not exist
18352 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18353
18354 # If ld is used when linking, flag to hardcode \$libdir into a binary
18355 # during linking.  This must work even if \$libdir does not exist.
18356 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18357
18358 # Whether we need a single "-rpath" flag with a separated argument.
18359 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18360
18361 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18362 # DIR into the resulting binary.
18363 hardcode_direct=$hardcode_direct
18364
18365 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18366 # DIR into the resulting binary and the resulting library dependency is
18367 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18368 # library is relocated.
18369 hardcode_direct_absolute=$hardcode_direct_absolute
18370
18371 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18372 # into the resulting binary.
18373 hardcode_minus_L=$hardcode_minus_L
18374
18375 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18376 # into the resulting binary.
18377 hardcode_shlibpath_var=$hardcode_shlibpath_var
18378
18379 # Set to "yes" if building a shared library automatically hardcodes DIR
18380 # into the library and all subsequent libraries and executables linked
18381 # against it.
18382 hardcode_automatic=$hardcode_automatic
18383
18384 # Set to yes if linker adds runtime paths of dependent libraries
18385 # to runtime path list.
18386 inherit_rpath=$inherit_rpath
18387
18388 # Whether libtool must link a program against all its dependency libraries.
18389 link_all_deplibs=$link_all_deplibs
18390
18391 # Set to "yes" if exported symbols are required.
18392 always_export_symbols=$always_export_symbols
18393
18394 # The commands to list exported symbols.
18395 export_symbols_cmds=$lt_export_symbols_cmds
18396
18397 # Symbols that should not be listed in the preloaded symbols.
18398 exclude_expsyms=$lt_exclude_expsyms
18399
18400 # Symbols that must always be exported.
18401 include_expsyms=$lt_include_expsyms
18402
18403 # Commands necessary for linking programs (against libraries) with templates.
18404 prelink_cmds=$lt_prelink_cmds
18405
18406 # Commands necessary for finishing linking programs.
18407 postlink_cmds=$lt_postlink_cmds
18408
18409 # Specify filename containing input files.
18410 file_list_spec=$lt_file_list_spec
18411
18412 # How to hardcode a shared library path into an executable.
18413 hardcode_action=$hardcode_action
18414
18415 # The directories searched by this compiler when creating a shared library.
18416 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18417
18418 # Dependencies to place before and after the objects being linked to
18419 # create a shared library.
18420 predep_objects=$lt_predep_objects
18421 postdep_objects=$lt_postdep_objects
18422 predeps=$lt_predeps
18423 postdeps=$lt_postdeps
18424
18425 # The library search path used internally by the compiler when linking
18426 # a shared library.
18427 compiler_lib_search_path=$lt_compiler_lib_search_path
18428
18429 # ### END LIBTOOL CONFIG
18430
18431 _LT_EOF
18432
18433   case $host_os in
18434   aix3*)
18435     cat <<\_LT_EOF >> "$cfgfile"
18436 # AIX sometimes has problems with the GCC collect2 program.  For some
18437 # reason, if we set the COLLECT_NAMES environment variable, the problems
18438 # vanish in a puff of smoke.
18439 if test "X${COLLECT_NAMES+set}" != Xset; then
18440   COLLECT_NAMES=
18441   export COLLECT_NAMES
18442 fi
18443 _LT_EOF
18444     ;;
18445   esac
18446
18447
18448 ltmain="$ac_aux_dir/ltmain.sh"
18449
18450
18451   # We use sed instead of cat because bash on DJGPP gets confused if
18452   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18453   # text mode, it properly converts lines to CR/LF.  This bash problem
18454   # is reportedly fixed, but why not run on old versions too?
18455   sed '$q' "$ltmain" >> "$cfgfile" \
18456      || (rm -f "$cfgfile"; exit 1)
18457
18458   if test x"$xsi_shell" = xyes; then
18459   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18460 func_dirname ()\
18461 {\
18462 \    case ${1} in\
18463 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18464 \      *  ) func_dirname_result="${3}" ;;\
18465 \    esac\
18466 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18467   && mv -f "$cfgfile.tmp" "$cfgfile" \
18468     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18469 test 0 -eq $? || _lt_function_replace_fail=:
18470
18471
18472   sed -e '/^func_basename ()$/,/^} # func_basename /c\
18473 func_basename ()\
18474 {\
18475 \    func_basename_result="${1##*/}"\
18476 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18477   && mv -f "$cfgfile.tmp" "$cfgfile" \
18478     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18479 test 0 -eq $? || _lt_function_replace_fail=:
18480
18481
18482   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18483 func_dirname_and_basename ()\
18484 {\
18485 \    case ${1} in\
18486 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18487 \      *  ) func_dirname_result="${3}" ;;\
18488 \    esac\
18489 \    func_basename_result="${1##*/}"\
18490 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18491   && mv -f "$cfgfile.tmp" "$cfgfile" \
18492     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18493 test 0 -eq $? || _lt_function_replace_fail=:
18494
18495
18496   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18497 func_stripname ()\
18498 {\
18499 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18500 \    # positional parameters, so assign one to ordinary parameter first.\
18501 \    func_stripname_result=${3}\
18502 \    func_stripname_result=${func_stripname_result#"${1}"}\
18503 \    func_stripname_result=${func_stripname_result%"${2}"}\
18504 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18505   && mv -f "$cfgfile.tmp" "$cfgfile" \
18506     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18507 test 0 -eq $? || _lt_function_replace_fail=:
18508
18509
18510   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18511 func_split_long_opt ()\
18512 {\
18513 \    func_split_long_opt_name=${1%%=*}\
18514 \    func_split_long_opt_arg=${1#*=}\
18515 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18516   && mv -f "$cfgfile.tmp" "$cfgfile" \
18517     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18518 test 0 -eq $? || _lt_function_replace_fail=:
18519
18520
18521   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18522 func_split_short_opt ()\
18523 {\
18524 \    func_split_short_opt_arg=${1#??}\
18525 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18526 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18527   && mv -f "$cfgfile.tmp" "$cfgfile" \
18528     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18529 test 0 -eq $? || _lt_function_replace_fail=:
18530
18531
18532   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18533 func_lo2o ()\
18534 {\
18535 \    case ${1} in\
18536 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18537 \      *)    func_lo2o_result=${1} ;;\
18538 \    esac\
18539 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18540   && mv -f "$cfgfile.tmp" "$cfgfile" \
18541     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18542 test 0 -eq $? || _lt_function_replace_fail=:
18543
18544
18545   sed -e '/^func_xform ()$/,/^} # func_xform /c\
18546 func_xform ()\
18547 {\
18548     func_xform_result=${1%.*}.lo\
18549 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18550   && mv -f "$cfgfile.tmp" "$cfgfile" \
18551     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18552 test 0 -eq $? || _lt_function_replace_fail=:
18553
18554
18555   sed -e '/^func_arith ()$/,/^} # func_arith /c\
18556 func_arith ()\
18557 {\
18558     func_arith_result=$(( $* ))\
18559 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18560   && mv -f "$cfgfile.tmp" "$cfgfile" \
18561     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18562 test 0 -eq $? || _lt_function_replace_fail=:
18563
18564
18565   sed -e '/^func_len ()$/,/^} # func_len /c\
18566 func_len ()\
18567 {\
18568     func_len_result=${#1}\
18569 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18570   && mv -f "$cfgfile.tmp" "$cfgfile" \
18571     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18572 test 0 -eq $? || _lt_function_replace_fail=:
18573
18574 fi
18575
18576 if test x"$lt_shell_append" = xyes; then
18577   sed -e '/^func_append ()$/,/^} # func_append /c\
18578 func_append ()\
18579 {\
18580     eval "${1}+=\\${2}"\
18581 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18582   && mv -f "$cfgfile.tmp" "$cfgfile" \
18583     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18584 test 0 -eq $? || _lt_function_replace_fail=:
18585
18586
18587   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18588 func_append_quoted ()\
18589 {\
18590 \    func_quote_for_eval "${2}"\
18591 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18592 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18593   && mv -f "$cfgfile.tmp" "$cfgfile" \
18594     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18595 test 0 -eq $? || _lt_function_replace_fail=:
18596
18597
18598   # Save a `func_append' function call where possible by direct use of '+='
18599   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18600     && mv -f "$cfgfile.tmp" "$cfgfile" \
18601       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18602   test 0 -eq $? || _lt_function_replace_fail=:
18603 else
18604   # Save a `func_append' function call even when '+=' is not available
18605   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18606     && mv -f "$cfgfile.tmp" "$cfgfile" \
18607       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18608   test 0 -eq $? || _lt_function_replace_fail=:
18609 fi
18610
18611 if test x"$_lt_function_replace_fail" = x":"; then
18612   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18613 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18614 fi
18615
18616
18617    mv -f "$cfgfile" "$ofile" ||
18618     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18619   chmod +x "$ofile"
18620
18621
18622     cat <<_LT_EOF >> "$ofile"
18623
18624 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18625
18626 # The linker used to build libraries.
18627 LD=$lt_LD_CXX
18628
18629 # How to create reloadable object files.
18630 reload_flag=$lt_reload_flag_CXX
18631 reload_cmds=$lt_reload_cmds_CXX
18632
18633 # Commands used to build an old-style archive.
18634 old_archive_cmds=$lt_old_archive_cmds_CXX
18635
18636 # A language specific compiler.
18637 CC=$lt_compiler_CXX
18638
18639 # Is the compiler the GNU compiler?
18640 with_gcc=$GCC_CXX
18641
18642 # Compiler flag to turn off builtin functions.
18643 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18644
18645 # Additional compiler flags for building library objects.
18646 pic_flag=$lt_lt_prog_compiler_pic_CXX
18647
18648 # How to pass a linker flag through the compiler.
18649 wl=$lt_lt_prog_compiler_wl_CXX
18650
18651 # Compiler flag to prevent dynamic linking.
18652 link_static_flag=$lt_lt_prog_compiler_static_CXX
18653
18654 # Does compiler simultaneously support -c and -o options?
18655 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18656
18657 # Whether or not to add -lc for building shared libraries.
18658 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18659
18660 # Whether or not to disallow shared libs when runtime libs are static.
18661 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18662
18663 # Compiler flag to allow reflexive dlopens.
18664 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18665
18666 # Compiler flag to generate shared objects directly from archives.
18667 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18668
18669 # Whether the compiler copes with passing no objects directly.
18670 compiler_needs_object=$lt_compiler_needs_object_CXX
18671
18672 # Create an old-style archive from a shared archive.
18673 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18674
18675 # Create a temporary old-style archive to link instead of a shared archive.
18676 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18677
18678 # Commands used to build a shared archive.
18679 archive_cmds=$lt_archive_cmds_CXX
18680 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18681
18682 # Commands used to build a loadable module if different from building
18683 # a shared archive.
18684 module_cmds=$lt_module_cmds_CXX
18685 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18686
18687 # Whether we are building with GNU ld or not.
18688 with_gnu_ld=$lt_with_gnu_ld_CXX
18689
18690 # Flag that allows shared libraries with undefined symbols to be built.
18691 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18692
18693 # Flag that enforces no undefined symbols.
18694 no_undefined_flag=$lt_no_undefined_flag_CXX
18695
18696 # Flag to hardcode \$libdir into a binary during linking.
18697 # This must work even if \$libdir does not exist
18698 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18699
18700 # If ld is used when linking, flag to hardcode \$libdir into a binary
18701 # during linking.  This must work even if \$libdir does not exist.
18702 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18703
18704 # Whether we need a single "-rpath" flag with a separated argument.
18705 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18706
18707 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18708 # DIR into the resulting binary.
18709 hardcode_direct=$hardcode_direct_CXX
18710
18711 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18712 # DIR into the resulting binary and the resulting library dependency is
18713 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18714 # library is relocated.
18715 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18716
18717 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18718 # into the resulting binary.
18719 hardcode_minus_L=$hardcode_minus_L_CXX
18720
18721 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18722 # into the resulting binary.
18723 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18724
18725 # Set to "yes" if building a shared library automatically hardcodes DIR
18726 # into the library and all subsequent libraries and executables linked
18727 # against it.
18728 hardcode_automatic=$hardcode_automatic_CXX
18729
18730 # Set to yes if linker adds runtime paths of dependent libraries
18731 # to runtime path list.
18732 inherit_rpath=$inherit_rpath_CXX
18733
18734 # Whether libtool must link a program against all its dependency libraries.
18735 link_all_deplibs=$link_all_deplibs_CXX
18736
18737 # Set to "yes" if exported symbols are required.
18738 always_export_symbols=$always_export_symbols_CXX
18739
18740 # The commands to list exported symbols.
18741 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18742
18743 # Symbols that should not be listed in the preloaded symbols.
18744 exclude_expsyms=$lt_exclude_expsyms_CXX
18745
18746 # Symbols that must always be exported.
18747 include_expsyms=$lt_include_expsyms_CXX
18748
18749 # Commands necessary for linking programs (against libraries) with templates.
18750 prelink_cmds=$lt_prelink_cmds_CXX
18751
18752 # Commands necessary for finishing linking programs.
18753 postlink_cmds=$lt_postlink_cmds_CXX
18754
18755 # Specify filename containing input files.
18756 file_list_spec=$lt_file_list_spec_CXX
18757
18758 # How to hardcode a shared library path into an executable.
18759 hardcode_action=$hardcode_action_CXX
18760
18761 # The directories searched by this compiler when creating a shared library.
18762 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18763
18764 # Dependencies to place before and after the objects being linked to
18765 # create a shared library.
18766 predep_objects=$lt_predep_objects_CXX
18767 postdep_objects=$lt_postdep_objects_CXX
18768 predeps=$lt_predeps_CXX
18769 postdeps=$lt_postdeps_CXX
18770
18771 # The library search path used internally by the compiler when linking
18772 # a shared library.
18773 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18774
18775 # ### END LIBTOOL TAG CONFIG: CXX
18776 _LT_EOF
18777
18778  ;;
18779     "MSVC_Net2005/libxml++/libxml++config.h":C) cp -f libxml++config.h MSVC_Net2005/libxml++/libxml++config.h ;;
18780     "MSVC_Net2008/libxml++/libxml++config.h":C) cp -f libxml++config.h MSVC_Net2008/libxml++/libxml++config.h ;;
18781     "MSVC_Net2010/libxml++/libxml++config.h":C) cp -f libxml++config.h MSVC_Net2010/libxml++/libxml++config.h ;;
18782
18783   esac
18784 done # for ac_tag
18785
18786
18787 as_fn_exit 0
18788 _ACEOF
18789 ac_clean_files=$ac_clean_files_save
18790
18791 test $ac_write_fail = 0 ||
18792   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18793
18794
18795 # configure is writing to config.log, and then calls config.status.
18796 # config.status does its own redirection, appending to config.log.
18797 # Unfortunately, on DOS this fails, as config.log is still kept open
18798 # by configure, so config.status won't be able to write to it; its
18799 # output is simply discarded.  So we exec the FD to /dev/null,
18800 # effectively closing config.log, so it can be properly (re)opened and
18801 # appended to by config.status.  When coming back to configure, we
18802 # need to make the FD available again.
18803 if test "$no_create" != yes; then
18804   ac_cs_success=:
18805   ac_config_status_args=
18806   test "$silent" = yes &&
18807     ac_config_status_args="$ac_config_status_args --quiet"
18808   exec 5>/dev/null
18809   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18810   exec 5>>config.log
18811   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18812   # would make configure fail if this is the last instruction.
18813   $ac_cs_success || as_fn_exit 1
18814 fi
18815 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18816   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18817 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18818 fi
18819