Imported Upstream version 2.91.2
[platform/upstream/libxml++.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libxml++ 2.91.2.
4 #
5 # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283   fi
284   exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302   { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
309 as_fn_set_status ()
310 {
311   return $1
312 } # as_fn_set_status
313
314 # as_fn_exit STATUS
315 # -----------------
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 as_fn_exit ()
318 {
319   set +e
320   as_fn_set_status $1
321   exit $1
322 } # as_fn_exit
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330   case $as_dir in #(
331   -*) as_dir=./$as_dir;;
332   esac
333   test -d "$as_dir" || eval $as_mkdir_p || {
334     as_dirs=
335     while :; do
336       case $as_dir in #(
337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338       *) as_qdir=$as_dir;;
339       esac
340       as_dirs="'$as_qdir' $as_dirs"
341       as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343          X"$as_dir" : 'X\(//\)[^/]' \| \
344          X"$as_dir" : 'X\(//\)$' \| \
345          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)[^/].*/{
352             s//\1/
353             q
354           }
355           /^X\(\/\/\)$/{
356             s//\1/
357             q
358           }
359           /^X\(\/\).*/{
360             s//\1/
361             q
362           }
363           s/.*/./; q'`
364       test -d "$as_dir" && break
365     done
366     test -z "$as_dirs" || eval "mkdir $as_dirs"
367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377   test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386   eval 'as_fn_append ()
387   {
388     eval $1+=\$2
389   }'
390 else
391   as_fn_append ()
392   {
393     eval $1=\$$1\$2
394   }
395 fi # as_fn_append
396
397 # as_fn_arith ARG...
398 # ------------------
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403   eval 'as_fn_arith ()
404   {
405     as_val=$(( $* ))
406   }'
407 else
408   as_fn_arith ()
409   {
410     as_val=`expr "$@" || test $? -eq 1`
411   }
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422   as_status=$1; test $as_status -eq 0 && as_status=1
423   if test "$4"; then
424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426   fi
427   $as_echo "$as_me: error: $2" >&2
428   as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
433   as_expr=expr
434 else
435   as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439   as_basename=basename
440 else
441   as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445   as_dirname=dirname
446 else
447   as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452          X"$0" : 'X\(//\)$' \| \
453          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 $as_echo X/"$0" |
455     sed '/^.*\/\([^/][^/]*\)\/*$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\/\)$/{
460             s//\1/
461             q
462           }
463           /^X\/\(\/\).*/{
464             s//\1/
465             q
466           }
467           s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
482   sed -n '
483     p
484     /[$]LINENO/=
485   ' <$as_myself |
486     sed '
487       s/[$]LINENO.*/&-/
488       t lineno
489       b
490       :lineno
491       N
492       :loop
493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494       t loop
495       s/-\n.*//
496     ' >$as_me.lineno &&
497   chmod +x "$as_me.lineno" ||
498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501   # already done that, so ensure we don't try to do so again and fall
502   # in an infinite loop.  This has already happened in practice.
503   _as_can_reexec=no; export _as_can_reexec
504   # Don't try to exec as it changes $[0], causing all sort of problems
505   # (the dirname of $[0] is not the place where we might find the
506   # original and so on.  Autoconf is especially sensitive to this).
507   . "./$as_me.lineno"
508   # Exit status is that of the last command.
509   exit
510 }
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
514 -n*)
515   case `echo 'xy\c'` in
516   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
517   xy)  ECHO_C='\c';;
518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
519        ECHO_T=' ';;
520   esac;;
521 *)
522   ECHO_N='-n';;
523 esac
524
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527   rm -f conf$$.dir/conf$$.file
528 else
529   rm -f conf$$.dir
530   mkdir conf$$.dir 2>/dev/null
531 fi
532 if (echo >conf$$.file) 2>/dev/null; then
533   if ln -s conf$$.file conf$$ 2>/dev/null; then
534     as_ln_s='ln -s'
535     # ... but there are two gotchas:
536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538     # In both cases, we have to default to `cp -pR'.
539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540       as_ln_s='cp -pR'
541   elif ln conf$$.file conf$$ 2>/dev/null; then
542     as_ln_s=ln
543   else
544     as_ln_s='cp -pR'
545   fi
546 else
547   as_ln_s='cp -pR'
548 fi
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
551
552 if mkdir -p . 2>/dev/null; then
553   as_mkdir_p='mkdir -p "$as_dir"'
554 else
555   test -d ./-p && rmdir ./-p
556   as_mkdir_p=false
557 fi
558
559 as_test_x='test -x'
560 as_executable_p=as_fn_executable_p
561
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568 SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571 test -n "$DJDIR" || exec 7<&0 </dev/null
572 exec 6>&1
573
574 # Name of the host.
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579 #
580 # Initializations.
581 #
582 ac_default_prefix=/usr/local
583 ac_clean_files=
584 ac_config_libobj_dir=.
585 LIBOBJS=
586 cross_compiling=no
587 subdirs=
588 MFLAGS=
589 MAKEFLAGS=
590
591 # Identity of this package.
592 PACKAGE_NAME='libxml++'
593 PACKAGE_TARNAME='libxml++'
594 PACKAGE_VERSION='2.91.2'
595 PACKAGE_STRING='libxml++ 2.91.2'
596 PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B'
597 PACKAGE_URL='http://libxmlplusplus.sourceforge.net/'
598
599 ac_unique_file="libxml++/libxml++.h"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
602 #include <stdio.h>
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
605 #endif
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
608 #endif
609 #ifdef STDC_HEADERS
610 # include <stdlib.h>
611 # include <stddef.h>
612 #else
613 # ifdef HAVE_STDLIB_H
614 #  include <stdlib.h>
615 # endif
616 #endif
617 #ifdef HAVE_STRING_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #  include <memory.h>
620 # endif
621 # include <string.h>
622 #endif
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
625 #endif
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
628 #endif
629 #ifdef HAVE_STDINT_H
630 # include <stdint.h>
631 #endif
632 #ifdef HAVE_UNISTD_H
633 # include <unistd.h>
634 #endif"
635
636 ac_subst_vars='am__EXEEXT_FALSE
637 am__EXEEXT_TRUE
638 LTLIBOBJS
639 LIBOBJS
640 DB2LATEX
641 XMLLINT
642 DISABLE_DEPRECATED_API_FALSE
643 DISABLE_DEPRECATED_API_TRUE
644 LIBXMLXX_WXXFLAGS
645 DOCINSTALL_FLAGS
646 DOXYGEN_TAGFILES
647 ENABLE_DOCUMENTATION_FALSE
648 ENABLE_DOCUMENTATION_TRUE
649 XSLTPROC
650 DOXYGEN
651 DOT
652 PERL
653 LIBXMLXX_LIBS
654 LIBXMLXX_CFLAGS
655 PKG_CONFIG_LIBDIR
656 PKG_CONFIG_PATH
657 PKG_CONFIG
658 LIBXMLXX_MODULES
659 CXXCPP
660 CPP
661 OTOOL64
662 OTOOL
663 LIPO
664 NMEDIT
665 DSYMUTIL
666 MANIFEST_TOOL
667 RANLIB
668 ac_ct_AR
669 AR
670 LN_S
671 NM
672 ac_ct_DUMPBIN
673 DUMPBIN
674 LD
675 FGREP
676 EGREP
677 GREP
678 SED
679 am__fastdepCC_FALSE
680 am__fastdepCC_TRUE
681 CCDEPMODE
682 ac_ct_CC
683 CFLAGS
684 CC
685 host_os
686 host_vendor
687 host_cpu
688 host
689 build_os
690 build_vendor
691 build_cpu
692 build
693 LIBTOOL
694 OBJDUMP
695 DLLTOOL
696 AS
697 HAVE_CXX11
698 am__fastdepCXX_FALSE
699 am__fastdepCXX_TRUE
700 CXXDEPMODE
701 am__nodep
702 AMDEPBACKSLASH
703 AMDEP_FALSE
704 AMDEP_TRUE
705 am__quote
706 am__include
707 DEPDIR
708 OBJEXT
709 EXEEXT
710 ac_ct_CXX
711 CPPFLAGS
712 LDFLAGS
713 CXXFLAGS
714 CXX
715 LIBXMLXX_SO_VERSION
716 MMDOCTOOLDIR
717 DIST_DOCTOOLS_FALSE
718 DIST_DOCTOOLS_TRUE
719 LIBXMLXX_MICRO_VERSION
720 LIBXMLXX_MINOR_VERSION
721 LIBXMLXX_MAJOR_VERSION
722 LIBXMLXX_API_VERSION
723 LIBXMLXX_VERSION
724 LIBXMLXX_MODULE_NAME
725 ACLOCAL_FLAGS
726 MAINT
727 MAINTAINER_MODE_FALSE
728 MAINTAINER_MODE_TRUE
729 AM_BACKSLASH
730 AM_DEFAULT_VERBOSITY
731 AM_DEFAULT_V
732 AM_V
733 am__untar
734 am__tar
735 AMTAR
736 am__leading_dot
737 SET_MAKE
738 AWK
739 mkdir_p
740 MKDIR_P
741 INSTALL_STRIP_PROGRAM
742 STRIP
743 install_sh
744 MAKEINFO
745 AUTOHEADER
746 AUTOMAKE
747 AUTOCONF
748 ACLOCAL
749 VERSION
750 PACKAGE
751 CYGPATH_W
752 am__isrc
753 INSTALL_DATA
754 INSTALL_SCRIPT
755 INSTALL_PROGRAM
756 target_alias
757 host_alias
758 build_alias
759 LIBS
760 ECHO_T
761 ECHO_N
762 ECHO_C
763 DEFS
764 mandir
765 localedir
766 libdir
767 psdir
768 pdfdir
769 dvidir
770 htmldir
771 infodir
772 docdir
773 oldincludedir
774 includedir
775 localstatedir
776 sharedstatedir
777 sysconfdir
778 datadir
779 datarootdir
780 libexecdir
781 sbindir
782 bindir
783 program_transform_name
784 prefix
785 exec_prefix
786 PACKAGE_URL
787 PACKAGE_BUGREPORT
788 PACKAGE_STRING
789 PACKAGE_VERSION
790 PACKAGE_TARNAME
791 PACKAGE_NAME
792 PATH_SEPARATOR
793 SHELL'
794 ac_subst_files=''
795 ac_user_opts='
796 enable_option_checking
797 enable_silent_rules
798 enable_maintainer_mode
799 enable_dependency_tracking
800 enable_static
801 enable_shared
802 with_pic
803 enable_fast_install
804 with_gnu_ld
805 with_sysroot
806 enable_libtool_lock
807 enable_documentation
808 with_libstdc_doc
809 with_libsigc_doc
810 with_glibmm_doc
811 enable_warnings
812 enable_deprecated_api
813 '
814       ac_precious_vars='build_alias
815 host_alias
816 target_alias
817 ACLOCAL_FLAGS
818 CXX
819 CXXFLAGS
820 LDFLAGS
821 LIBS
822 CPPFLAGS
823 CCC
824 CC
825 CFLAGS
826 CPP
827 CXXCPP
828 PKG_CONFIG
829 PKG_CONFIG_PATH
830 PKG_CONFIG_LIBDIR
831 LIBXMLXX_CFLAGS
832 LIBXMLXX_LIBS
833 PERL
834 DOT
835 DOXYGEN
836 XSLTPROC
837 XMLLINT
838 DB2LATEX'
839
840
841 # Initialize some variables set by options.
842 ac_init_help=
843 ac_init_version=false
844 ac_unrecognized_opts=
845 ac_unrecognized_sep=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
848 cache_file=/dev/null
849 exec_prefix=NONE
850 no_create=
851 no_recursion=
852 prefix=NONE
853 program_prefix=NONE
854 program_suffix=NONE
855 program_transform_name=s,x,x,
856 silent=
857 site=
858 srcdir=
859 verbose=
860 x_includes=NONE
861 x_libraries=NONE
862
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir='${exec_prefix}/bin'
870 sbindir='${exec_prefix}/sbin'
871 libexecdir='${exec_prefix}/libexec'
872 datarootdir='${prefix}/share'
873 datadir='${datarootdir}'
874 sysconfdir='${prefix}/etc'
875 sharedstatedir='${prefix}/com'
876 localstatedir='${prefix}/var'
877 includedir='${prefix}/include'
878 oldincludedir='/usr/include'
879 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
880 infodir='${datarootdir}/info'
881 htmldir='${docdir}'
882 dvidir='${docdir}'
883 pdfdir='${docdir}'
884 psdir='${docdir}'
885 libdir='${exec_prefix}/lib'
886 localedir='${datarootdir}/locale'
887 mandir='${datarootdir}/man'
888
889 ac_prev=
890 ac_dashdash=
891 for ac_option
892 do
893   # If the previous option needs an argument, assign it.
894   if test -n "$ac_prev"; then
895     eval $ac_prev=\$ac_option
896     ac_prev=
897     continue
898   fi
899
900   case $ac_option in
901   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
902   *=)   ac_optarg= ;;
903   *)    ac_optarg=yes ;;
904   esac
905
906   # Accept the important Cygnus configure options, so we can diagnose typos.
907
908   case $ac_dashdash$ac_option in
909   --)
910     ac_dashdash=yes ;;
911
912   -bindir | --bindir | --bindi | --bind | --bin | --bi)
913     ac_prev=bindir ;;
914   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
915     bindir=$ac_optarg ;;
916
917   -build | --build | --buil | --bui | --bu)
918     ac_prev=build_alias ;;
919   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
920     build_alias=$ac_optarg ;;
921
922   -cache-file | --cache-file | --cache-fil | --cache-fi \
923   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
924     ac_prev=cache_file ;;
925   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
926   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
927     cache_file=$ac_optarg ;;
928
929   --config-cache | -C)
930     cache_file=config.cache ;;
931
932   -datadir | --datadir | --datadi | --datad)
933     ac_prev=datadir ;;
934   -datadir=* | --datadir=* | --datadi=* | --datad=*)
935     datadir=$ac_optarg ;;
936
937   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
938   | --dataroo | --dataro | --datar)
939     ac_prev=datarootdir ;;
940   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
941   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
942     datarootdir=$ac_optarg ;;
943
944   -disable-* | --disable-*)
945     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946     # Reject names that are not valid shell variable names.
947     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
948       as_fn_error $? "invalid feature name: $ac_useropt"
949     ac_useropt_orig=$ac_useropt
950     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951     case $ac_user_opts in
952       *"
953 "enable_$ac_useropt"
954 "*) ;;
955       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956          ac_unrecognized_sep=', ';;
957     esac
958     eval enable_$ac_useropt=no ;;
959
960   -docdir | --docdir | --docdi | --doc | --do)
961     ac_prev=docdir ;;
962   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
963     docdir=$ac_optarg ;;
964
965   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
966     ac_prev=dvidir ;;
967   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
968     dvidir=$ac_optarg ;;
969
970   -enable-* | --enable-*)
971     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972     # Reject names that are not valid shell variable names.
973     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974       as_fn_error $? "invalid feature name: $ac_useropt"
975     ac_useropt_orig=$ac_useropt
976     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977     case $ac_user_opts in
978       *"
979 "enable_$ac_useropt"
980 "*) ;;
981       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982          ac_unrecognized_sep=', ';;
983     esac
984     eval enable_$ac_useropt=\$ac_optarg ;;
985
986   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
987   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
988   | --exec | --exe | --ex)
989     ac_prev=exec_prefix ;;
990   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
991   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
992   | --exec=* | --exe=* | --ex=*)
993     exec_prefix=$ac_optarg ;;
994
995   -gas | --gas | --ga | --g)
996     # Obsolete; use --with-gas.
997     with_gas=yes ;;
998
999   -help | --help | --hel | --he | -h)
1000     ac_init_help=long ;;
1001   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1002     ac_init_help=recursive ;;
1003   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1004     ac_init_help=short ;;
1005
1006   -host | --host | --hos | --ho)
1007     ac_prev=host_alias ;;
1008   -host=* | --host=* | --hos=* | --ho=*)
1009     host_alias=$ac_optarg ;;
1010
1011   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1012     ac_prev=htmldir ;;
1013   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1014   | --ht=*)
1015     htmldir=$ac_optarg ;;
1016
1017   -includedir | --includedir | --includedi | --included | --include \
1018   | --includ | --inclu | --incl | --inc)
1019     ac_prev=includedir ;;
1020   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1021   | --includ=* | --inclu=* | --incl=* | --inc=*)
1022     includedir=$ac_optarg ;;
1023
1024   -infodir | --infodir | --infodi | --infod | --info | --inf)
1025     ac_prev=infodir ;;
1026   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1027     infodir=$ac_optarg ;;
1028
1029   -libdir | --libdir | --libdi | --libd)
1030     ac_prev=libdir ;;
1031   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1032     libdir=$ac_optarg ;;
1033
1034   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1035   | --libexe | --libex | --libe)
1036     ac_prev=libexecdir ;;
1037   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1038   | --libexe=* | --libex=* | --libe=*)
1039     libexecdir=$ac_optarg ;;
1040
1041   -localedir | --localedir | --localedi | --localed | --locale)
1042     ac_prev=localedir ;;
1043   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1044     localedir=$ac_optarg ;;
1045
1046   -localstatedir | --localstatedir | --localstatedi | --localstated \
1047   | --localstate | --localstat | --localsta | --localst | --locals)
1048     ac_prev=localstatedir ;;
1049   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1050   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1051     localstatedir=$ac_optarg ;;
1052
1053   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1054     ac_prev=mandir ;;
1055   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1056     mandir=$ac_optarg ;;
1057
1058   -nfp | --nfp | --nf)
1059     # Obsolete; use --without-fp.
1060     with_fp=no ;;
1061
1062   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1063   | --no-cr | --no-c | -n)
1064     no_create=yes ;;
1065
1066   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1067   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1068     no_recursion=yes ;;
1069
1070   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1071   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1072   | --oldin | --oldi | --old | --ol | --o)
1073     ac_prev=oldincludedir ;;
1074   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1075   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1076   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1077     oldincludedir=$ac_optarg ;;
1078
1079   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1080     ac_prev=prefix ;;
1081   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1082     prefix=$ac_optarg ;;
1083
1084   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1085   | --program-pre | --program-pr | --program-p)
1086     ac_prev=program_prefix ;;
1087   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1088   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1089     program_prefix=$ac_optarg ;;
1090
1091   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1092   | --program-suf | --program-su | --program-s)
1093     ac_prev=program_suffix ;;
1094   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1095   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1096     program_suffix=$ac_optarg ;;
1097
1098   -program-transform-name | --program-transform-name \
1099   | --program-transform-nam | --program-transform-na \
1100   | --program-transform-n | --program-transform- \
1101   | --program-transform | --program-transfor \
1102   | --program-transfo | --program-transf \
1103   | --program-trans | --program-tran \
1104   | --progr-tra | --program-tr | --program-t)
1105     ac_prev=program_transform_name ;;
1106   -program-transform-name=* | --program-transform-name=* \
1107   | --program-transform-nam=* | --program-transform-na=* \
1108   | --program-transform-n=* | --program-transform-=* \
1109   | --program-transform=* | --program-transfor=* \
1110   | --program-transfo=* | --program-transf=* \
1111   | --program-trans=* | --program-tran=* \
1112   | --progr-tra=* | --program-tr=* | --program-t=*)
1113     program_transform_name=$ac_optarg ;;
1114
1115   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1116     ac_prev=pdfdir ;;
1117   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1118     pdfdir=$ac_optarg ;;
1119
1120   -psdir | --psdir | --psdi | --psd | --ps)
1121     ac_prev=psdir ;;
1122   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1123     psdir=$ac_optarg ;;
1124
1125   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1126   | -silent | --silent | --silen | --sile | --sil)
1127     silent=yes ;;
1128
1129   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1130     ac_prev=sbindir ;;
1131   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1132   | --sbi=* | --sb=*)
1133     sbindir=$ac_optarg ;;
1134
1135   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1136   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1137   | --sharedst | --shareds | --shared | --share | --shar \
1138   | --sha | --sh)
1139     ac_prev=sharedstatedir ;;
1140   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1141   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1142   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1143   | --sha=* | --sh=*)
1144     sharedstatedir=$ac_optarg ;;
1145
1146   -site | --site | --sit)
1147     ac_prev=site ;;
1148   -site=* | --site=* | --sit=*)
1149     site=$ac_optarg ;;
1150
1151   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1152     ac_prev=srcdir ;;
1153   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1154     srcdir=$ac_optarg ;;
1155
1156   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1157   | --syscon | --sysco | --sysc | --sys | --sy)
1158     ac_prev=sysconfdir ;;
1159   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1160   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1161     sysconfdir=$ac_optarg ;;
1162
1163   -target | --target | --targe | --targ | --tar | --ta | --t)
1164     ac_prev=target_alias ;;
1165   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1166     target_alias=$ac_optarg ;;
1167
1168   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1169     verbose=yes ;;
1170
1171   -version | --version | --versio | --versi | --vers | -V)
1172     ac_init_version=: ;;
1173
1174   -with-* | --with-*)
1175     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176     # Reject names that are not valid shell variable names.
1177     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1178       as_fn_error $? "invalid package name: $ac_useropt"
1179     ac_useropt_orig=$ac_useropt
1180     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181     case $ac_user_opts in
1182       *"
1183 "with_$ac_useropt"
1184 "*) ;;
1185       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1186          ac_unrecognized_sep=', ';;
1187     esac
1188     eval with_$ac_useropt=\$ac_optarg ;;
1189
1190   -without-* | --without-*)
1191     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1192     # Reject names that are not valid shell variable names.
1193     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194       as_fn_error $? "invalid package name: $ac_useropt"
1195     ac_useropt_orig=$ac_useropt
1196     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197     case $ac_user_opts in
1198       *"
1199 "with_$ac_useropt"
1200 "*) ;;
1201       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1202          ac_unrecognized_sep=', ';;
1203     esac
1204     eval with_$ac_useropt=no ;;
1205
1206   --x)
1207     # Obsolete; use --with-x.
1208     with_x=yes ;;
1209
1210   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1211   | --x-incl | --x-inc | --x-in | --x-i)
1212     ac_prev=x_includes ;;
1213   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1214   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1215     x_includes=$ac_optarg ;;
1216
1217   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1218   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1219     ac_prev=x_libraries ;;
1220   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1221   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1222     x_libraries=$ac_optarg ;;
1223
1224   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1225 Try \`$0 --help' for more information"
1226     ;;
1227
1228   *=*)
1229     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1230     # Reject names that are not valid shell variable names.
1231     case $ac_envvar in #(
1232       '' | [0-9]* | *[!_$as_cr_alnum]* )
1233       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1234     esac
1235     eval $ac_envvar=\$ac_optarg
1236     export $ac_envvar ;;
1237
1238   *)
1239     # FIXME: should be removed in autoconf 3.0.
1240     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1241     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1242       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1243     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1244     ;;
1245
1246   esac
1247 done
1248
1249 if test -n "$ac_prev"; then
1250   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1251   as_fn_error $? "missing argument to $ac_option"
1252 fi
1253
1254 if test -n "$ac_unrecognized_opts"; then
1255   case $enable_option_checking in
1256     no) ;;
1257     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1258     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1259   esac
1260 fi
1261
1262 # Check all directory arguments for consistency.
1263 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264                 datadir sysconfdir sharedstatedir localstatedir includedir \
1265                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266                 libdir localedir mandir
1267 do
1268   eval ac_val=\$$ac_var
1269   # Remove trailing slashes.
1270   case $ac_val in
1271     */ )
1272       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273       eval $ac_var=\$ac_val;;
1274   esac
1275   # Be sure to have absolute directory names.
1276   case $ac_val in
1277     [\\/$]* | ?:[\\/]* )  continue;;
1278     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1279   esac
1280   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1281 done
1282
1283 # There might be people who depend on the old broken behavior: `$host'
1284 # used to hold the argument of --host etc.
1285 # FIXME: To remove some day.
1286 build=$build_alias
1287 host=$host_alias
1288 target=$target_alias
1289
1290 # FIXME: To remove some day.
1291 if test "x$host_alias" != x; then
1292   if test "x$build_alias" = x; then
1293     cross_compiling=maybe
1294   elif test "x$build_alias" != "x$host_alias"; then
1295     cross_compiling=yes
1296   fi
1297 fi
1298
1299 ac_tool_prefix=
1300 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1301
1302 test "$silent" = yes && exec 6>/dev/null
1303
1304
1305 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1306 ac_ls_di=`ls -di .` &&
1307 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1308   as_fn_error $? "working directory cannot be determined"
1309 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1310   as_fn_error $? "pwd does not report name of working directory"
1311
1312
1313 # Find the source files, if location was not specified.
1314 if test -z "$srcdir"; then
1315   ac_srcdir_defaulted=yes
1316   # Try the directory containing this script, then the parent directory.
1317   ac_confdir=`$as_dirname -- "$as_myself" ||
1318 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1319          X"$as_myself" : 'X\(//\)[^/]' \| \
1320          X"$as_myself" : 'X\(//\)$' \| \
1321          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1322 $as_echo X"$as_myself" |
1323     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1324             s//\1/
1325             q
1326           }
1327           /^X\(\/\/\)[^/].*/{
1328             s//\1/
1329             q
1330           }
1331           /^X\(\/\/\)$/{
1332             s//\1/
1333             q
1334           }
1335           /^X\(\/\).*/{
1336             s//\1/
1337             q
1338           }
1339           s/.*/./; q'`
1340   srcdir=$ac_confdir
1341   if test ! -r "$srcdir/$ac_unique_file"; then
1342     srcdir=..
1343   fi
1344 else
1345   ac_srcdir_defaulted=no
1346 fi
1347 if test ! -r "$srcdir/$ac_unique_file"; then
1348   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1349   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1350 fi
1351 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1352 ac_abs_confdir=`(
1353         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1354         pwd)`
1355 # When building in place, set srcdir=.
1356 if test "$ac_abs_confdir" = "$ac_pwd"; then
1357   srcdir=.
1358 fi
1359 # Remove unnecessary trailing slashes from srcdir.
1360 # Double slashes in file names in object file debugging info
1361 # mess up M-x gdb in Emacs.
1362 case $srcdir in
1363 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1364 esac
1365 for ac_var in $ac_precious_vars; do
1366   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1367   eval ac_env_${ac_var}_value=\$${ac_var}
1368   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1369   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1370 done
1371
1372 #
1373 # Report the --help message.
1374 #
1375 if test "$ac_init_help" = "long"; then
1376   # Omit some internal or obsolete options to make the list less imposing.
1377   # This message is too long to be a string in the A/UX 3.1 sh.
1378   cat <<_ACEOF
1379 \`configure' configures libxml++ 2.91.2 to adapt to many kinds of systems.
1380
1381 Usage: $0 [OPTION]... [VAR=VALUE]...
1382
1383 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1384 VAR=VALUE.  See below for descriptions of some of the useful variables.
1385
1386 Defaults for the options are specified in brackets.
1387
1388 Configuration:
1389   -h, --help              display this help and exit
1390       --help=short        display options specific to this package
1391       --help=recursive    display the short help of all the included packages
1392   -V, --version           display version information and exit
1393   -q, --quiet, --silent   do not print \`checking ...' messages
1394       --cache-file=FILE   cache test results in FILE [disabled]
1395   -C, --config-cache      alias for \`--cache-file=config.cache'
1396   -n, --no-create         do not create output files
1397       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1398
1399 Installation directories:
1400   --prefix=PREFIX         install architecture-independent files in PREFIX
1401                           [$ac_default_prefix]
1402   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1403                           [PREFIX]
1404
1405 By default, \`make install' will install all the files in
1406 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1407 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1408 for instance \`--prefix=\$HOME'.
1409
1410 For better control, use the options below.
1411
1412 Fine tuning of the installation directories:
1413   --bindir=DIR            user executables [EPREFIX/bin]
1414   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1415   --libexecdir=DIR        program executables [EPREFIX/libexec]
1416   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1417   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1418   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1419   --libdir=DIR            object code libraries [EPREFIX/lib]
1420   --includedir=DIR        C header files [PREFIX/include]
1421   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1422   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1423   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1424   --infodir=DIR           info documentation [DATAROOTDIR/info]
1425   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1426   --mandir=DIR            man documentation [DATAROOTDIR/man]
1427   --docdir=DIR            documentation root [DATAROOTDIR/doc/libxml++]
1428   --htmldir=DIR           html documentation [DOCDIR]
1429   --dvidir=DIR            dvi documentation [DOCDIR]
1430   --pdfdir=DIR            pdf documentation [DOCDIR]
1431   --psdir=DIR             ps documentation [DOCDIR]
1432 _ACEOF
1433
1434   cat <<\_ACEOF
1435
1436 Program names:
1437   --program-prefix=PREFIX            prepend PREFIX to installed program names
1438   --program-suffix=SUFFIX            append SUFFIX to installed program names
1439   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1440
1441 System types:
1442   --build=BUILD     configure for building on BUILD [guessed]
1443   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1444 _ACEOF
1445 fi
1446
1447 if test -n "$ac_init_help"; then
1448   case $ac_init_help in
1449      short | recursive ) echo "Configuration of libxml++ 2.91.2:";;
1450    esac
1451   cat <<\_ACEOF
1452
1453 Optional Features:
1454   --disable-option-checking  ignore unrecognized --enable/--with options
1455   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1456   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1457   --enable-silent-rules   less verbose build output (undo: "make V=1")
1458   --disable-silent-rules  verbose build output (undo: "make V=0")
1459   --enable-maintainer-mode
1460                           enable make rules and dependencies not useful (and
1461                           sometimes confusing) to the casual installer
1462   --enable-dependency-tracking
1463                           do not reject slow dependency extractors
1464   --disable-dependency-tracking
1465                           speeds up one-time build
1466   --enable-static[=PKGS]  build static libraries [default=no]
1467   --enable-shared[=PKGS]  build shared libraries [default=yes]
1468   --enable-fast-install[=PKGS]
1469                           optimize for fast installation [default=yes]
1470   --disable-libtool-lock  avoid locking (might break parallel builds)
1471   --disable-documentation do not build or install the documentation
1472   --enable-warnings[=min|max|fatal|no]
1473                           set compiler pedantry level [default=min]
1474   --disable-deprecated-api
1475                           omit deprecated API from the library
1476
1477 Optional Packages:
1478   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1479   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1480   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1481                           both]
1482   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1483   --with-sysroot=DIR Search for dependent libraries within DIR
1484                         (or the compiler's sysroot if not specified).
1485   --with-libstdc-doc=[TAGFILE@]HTMLREFDIR
1486                           Link to external libstdc documentation [auto]
1487   --with-libsigc-doc=[TAGFILE@]HTMLREFDIR
1488                           Link to external libsigc documentation [auto]
1489   --with-glibmm-doc=[TAGFILE@]HTMLREFDIR
1490                           Link to external glibmm documentation [auto]
1491
1492 Some influential environment variables:
1493   ACLOCAL_FLAGS
1494               aclocal flags, e.g. -I <macro dir>
1495   CXX         C++ compiler command
1496   CXXFLAGS    C++ compiler flags
1497   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1498               nonstandard directory <lib dir>
1499   LIBS        libraries to pass to the linker, e.g. -l<library>
1500   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1501               you have headers in a nonstandard directory <include dir>
1502   CC          C compiler command
1503   CFLAGS      C compiler flags
1504   CPP         C preprocessor
1505   CXXCPP      C++ preprocessor
1506   PKG_CONFIG  path to pkg-config utility
1507   PKG_CONFIG_PATH
1508               directories to add to pkg-config's search path
1509   PKG_CONFIG_LIBDIR
1510               path overriding pkg-config's built-in search path
1511   LIBXMLXX_CFLAGS
1512               C compiler flags for LIBXMLXX, overriding pkg-config
1513   LIBXMLXX_LIBS
1514               linker flags for LIBXMLXX, overriding pkg-config
1515   PERL        path to Perl interpreter
1516   DOT         path to dot utility
1517   DOXYGEN     path to Doxygen utility
1518   XSLTPROC    path to xsltproc utility
1519   XMLLINT     path to xmllint utility
1520   DB2LATEX    path to db2latex utility
1521
1522 Use these variables to override the choices made by `configure' or to help
1523 it to find libraries and programs with nonstandard names/locations.
1524
1525 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B>.
1526 libxml++ home page: <http://libxmlplusplus.sourceforge.net/>.
1527 _ACEOF
1528 ac_status=$?
1529 fi
1530
1531 if test "$ac_init_help" = "recursive"; then
1532   # If there are subdirs, report their specific --help.
1533   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1534     test -d "$ac_dir" ||
1535       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1536       continue
1537     ac_builddir=.
1538
1539 case "$ac_dir" in
1540 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1541 *)
1542   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1543   # A ".." for each directory in $ac_dir_suffix.
1544   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1545   case $ac_top_builddir_sub in
1546   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1547   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1548   esac ;;
1549 esac
1550 ac_abs_top_builddir=$ac_pwd
1551 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1552 # for backward compatibility:
1553 ac_top_builddir=$ac_top_build_prefix
1554
1555 case $srcdir in
1556   .)  # We are building in place.
1557     ac_srcdir=.
1558     ac_top_srcdir=$ac_top_builddir_sub
1559     ac_abs_top_srcdir=$ac_pwd ;;
1560   [\\/]* | ?:[\\/]* )  # Absolute name.
1561     ac_srcdir=$srcdir$ac_dir_suffix;
1562     ac_top_srcdir=$srcdir
1563     ac_abs_top_srcdir=$srcdir ;;
1564   *) # Relative name.
1565     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1566     ac_top_srcdir=$ac_top_build_prefix$srcdir
1567     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1568 esac
1569 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1570
1571     cd "$ac_dir" || { ac_status=$?; continue; }
1572     # Check for guested configure.
1573     if test -f "$ac_srcdir/configure.gnu"; then
1574       echo &&
1575       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1576     elif test -f "$ac_srcdir/configure"; then
1577       echo &&
1578       $SHELL "$ac_srcdir/configure" --help=recursive
1579     else
1580       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1581     fi || ac_status=$?
1582     cd "$ac_pwd" || { ac_status=$?; break; }
1583   done
1584 fi
1585
1586 test -n "$ac_init_help" && exit $ac_status
1587 if $ac_init_version; then
1588   cat <<\_ACEOF
1589 libxml++ configure 2.91.2
1590 generated by GNU Autoconf 2.69
1591
1592 Copyright (C) 2012 Free Software Foundation, Inc.
1593 This configure script is free software; the Free Software Foundation
1594 gives unlimited permission to copy, distribute and modify it.
1595 _ACEOF
1596   exit
1597 fi
1598
1599 ## ------------------------ ##
1600 ## Autoconf initialization. ##
1601 ## ------------------------ ##
1602
1603 # ac_fn_cxx_try_compile LINENO
1604 # ----------------------------
1605 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1606 ac_fn_cxx_try_compile ()
1607 {
1608   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609   rm -f conftest.$ac_objext
1610   if { { ac_try="$ac_compile"
1611 case "(($ac_try" in
1612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1613   *) ac_try_echo=$ac_try;;
1614 esac
1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616 $as_echo "$ac_try_echo"; } >&5
1617   (eval "$ac_compile") 2>conftest.err
1618   ac_status=$?
1619   if test -s conftest.err; then
1620     grep -v '^ *+' conftest.err >conftest.er1
1621     cat conftest.er1 >&5
1622     mv -f conftest.er1 conftest.err
1623   fi
1624   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625   test $ac_status = 0; } && {
1626          test -z "$ac_cxx_werror_flag" ||
1627          test ! -s conftest.err
1628        } && test -s conftest.$ac_objext; then :
1629   ac_retval=0
1630 else
1631   $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1633
1634         ac_retval=1
1635 fi
1636   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637   as_fn_set_status $ac_retval
1638
1639 } # ac_fn_cxx_try_compile
1640
1641 # ac_fn_c_try_compile LINENO
1642 # --------------------------
1643 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1644 ac_fn_c_try_compile ()
1645 {
1646   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647   rm -f conftest.$ac_objext
1648   if { { ac_try="$ac_compile"
1649 case "(($ac_try" in
1650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1651   *) ac_try_echo=$ac_try;;
1652 esac
1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655   (eval "$ac_compile") 2>conftest.err
1656   ac_status=$?
1657   if test -s conftest.err; then
1658     grep -v '^ *+' conftest.err >conftest.er1
1659     cat conftest.er1 >&5
1660     mv -f conftest.er1 conftest.err
1661   fi
1662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663   test $ac_status = 0; } && {
1664          test -z "$ac_c_werror_flag" ||
1665          test ! -s conftest.err
1666        } && test -s conftest.$ac_objext; then :
1667   ac_retval=0
1668 else
1669   $as_echo "$as_me: failed program was:" >&5
1670 sed 's/^/| /' conftest.$ac_ext >&5
1671
1672         ac_retval=1
1673 fi
1674   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1675   as_fn_set_status $ac_retval
1676
1677 } # ac_fn_c_try_compile
1678
1679 # ac_fn_c_try_link LINENO
1680 # -----------------------
1681 # Try to link conftest.$ac_ext, and return whether this succeeded.
1682 ac_fn_c_try_link ()
1683 {
1684   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685   rm -f conftest.$ac_objext conftest$ac_exeext
1686   if { { ac_try="$ac_link"
1687 case "(($ac_try" in
1688   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689   *) ac_try_echo=$ac_try;;
1690 esac
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693   (eval "$ac_link") 2>conftest.err
1694   ac_status=$?
1695   if test -s conftest.err; then
1696     grep -v '^ *+' conftest.err >conftest.er1
1697     cat conftest.er1 >&5
1698     mv -f conftest.er1 conftest.err
1699   fi
1700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701   test $ac_status = 0; } && {
1702          test -z "$ac_c_werror_flag" ||
1703          test ! -s conftest.err
1704        } && test -s conftest$ac_exeext && {
1705          test "$cross_compiling" = yes ||
1706          test -x conftest$ac_exeext
1707        }; then :
1708   ac_retval=0
1709 else
1710   $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.$ac_ext >&5
1712
1713         ac_retval=1
1714 fi
1715   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1716   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1717   # interfere with the next link command; also delete a directory that is
1718   # left behind by Apple's compiler.  We do this before executing the actions.
1719   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1720   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721   as_fn_set_status $ac_retval
1722
1723 } # ac_fn_c_try_link
1724
1725 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1726 # -------------------------------------------------------
1727 # Tests whether HEADER exists and can be compiled using the include files in
1728 # INCLUDES, setting the cache variable VAR accordingly.
1729 ac_fn_c_check_header_compile ()
1730 {
1731   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1733 $as_echo_n "checking for $2... " >&6; }
1734 if eval \${$3+:} false; then :
1735   $as_echo_n "(cached) " >&6
1736 else
1737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1738 /* end confdefs.h.  */
1739 $4
1740 #include <$2>
1741 _ACEOF
1742 if ac_fn_c_try_compile "$LINENO"; then :
1743   eval "$3=yes"
1744 else
1745   eval "$3=no"
1746 fi
1747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1748 fi
1749 eval ac_res=\$$3
1750                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751 $as_echo "$ac_res" >&6; }
1752   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753
1754 } # ac_fn_c_check_header_compile
1755
1756 # ac_fn_c_try_cpp LINENO
1757 # ----------------------
1758 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1759 ac_fn_c_try_cpp ()
1760 {
1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762   if { { ac_try="$ac_cpp conftest.$ac_ext"
1763 case "(($ac_try" in
1764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765   *) ac_try_echo=$ac_try;;
1766 esac
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1770   ac_status=$?
1771   if test -s conftest.err; then
1772     grep -v '^ *+' conftest.err >conftest.er1
1773     cat conftest.er1 >&5
1774     mv -f conftest.er1 conftest.err
1775   fi
1776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777   test $ac_status = 0; } > conftest.i && {
1778          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1779          test ! -s conftest.err
1780        }; then :
1781   ac_retval=0
1782 else
1783   $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1785
1786     ac_retval=1
1787 fi
1788   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1789   as_fn_set_status $ac_retval
1790
1791 } # ac_fn_c_try_cpp
1792
1793 # ac_fn_c_try_run LINENO
1794 # ----------------------
1795 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1796 # that executables *can* be run.
1797 ac_fn_c_try_run ()
1798 {
1799   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1800   if { { ac_try="$ac_link"
1801 case "(($ac_try" in
1802   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1803   *) ac_try_echo=$ac_try;;
1804 esac
1805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1806 $as_echo "$ac_try_echo"; } >&5
1807   (eval "$ac_link") 2>&5
1808   ac_status=$?
1809   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1810   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1811   { { case "(($ac_try" in
1812   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1813   *) ac_try_echo=$ac_try;;
1814 esac
1815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817   (eval "$ac_try") 2>&5
1818   ac_status=$?
1819   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820   test $ac_status = 0; }; }; then :
1821   ac_retval=0
1822 else
1823   $as_echo "$as_me: program exited with status $ac_status" >&5
1824        $as_echo "$as_me: failed program was:" >&5
1825 sed 's/^/| /' conftest.$ac_ext >&5
1826
1827        ac_retval=$ac_status
1828 fi
1829   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1830   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831   as_fn_set_status $ac_retval
1832
1833 } # ac_fn_c_try_run
1834
1835 # ac_fn_c_check_func LINENO FUNC VAR
1836 # ----------------------------------
1837 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1838 ac_fn_c_check_func ()
1839 {
1840   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1842 $as_echo_n "checking for $2... " >&6; }
1843 if eval \${$3+:} false; then :
1844   $as_echo_n "(cached) " >&6
1845 else
1846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h.  */
1848 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1849    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1850 #define $2 innocuous_$2
1851
1852 /* System header to define __stub macros and hopefully few prototypes,
1853     which can conflict with char $2 (); below.
1854     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1855     <limits.h> exists even on freestanding compilers.  */
1856
1857 #ifdef __STDC__
1858 # include <limits.h>
1859 #else
1860 # include <assert.h>
1861 #endif
1862
1863 #undef $2
1864
1865 /* Override any GCC internal prototype to avoid an error.
1866    Use char because int might match the return type of a GCC
1867    builtin and then its argument prototype would still apply.  */
1868 #ifdef __cplusplus
1869 extern "C"
1870 #endif
1871 char $2 ();
1872 /* The GNU C library defines this for functions which it implements
1873     to always fail with ENOSYS.  Some functions are actually named
1874     something starting with __ and the normal name is an alias.  */
1875 #if defined __stub_$2 || defined __stub___$2
1876 choke me
1877 #endif
1878
1879 int
1880 main ()
1881 {
1882 return $2 ();
1883   ;
1884   return 0;
1885 }
1886 _ACEOF
1887 if ac_fn_c_try_link "$LINENO"; then :
1888   eval "$3=yes"
1889 else
1890   eval "$3=no"
1891 fi
1892 rm -f core conftest.err conftest.$ac_objext \
1893     conftest$ac_exeext conftest.$ac_ext
1894 fi
1895 eval ac_res=\$$3
1896                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897 $as_echo "$ac_res" >&6; }
1898   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1899
1900 } # ac_fn_c_check_func
1901
1902 # ac_fn_cxx_try_cpp LINENO
1903 # ------------------------
1904 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1905 ac_fn_cxx_try_cpp ()
1906 {
1907   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1908   if { { ac_try="$ac_cpp conftest.$ac_ext"
1909 case "(($ac_try" in
1910   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1911   *) ac_try_echo=$ac_try;;
1912 esac
1913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1914 $as_echo "$ac_try_echo"; } >&5
1915   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1916   ac_status=$?
1917   if test -s conftest.err; then
1918     grep -v '^ *+' conftest.err >conftest.er1
1919     cat conftest.er1 >&5
1920     mv -f conftest.er1 conftest.err
1921   fi
1922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1923   test $ac_status = 0; } > conftest.i && {
1924          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1925          test ! -s conftest.err
1926        }; then :
1927   ac_retval=0
1928 else
1929   $as_echo "$as_me: failed program was:" >&5
1930 sed 's/^/| /' conftest.$ac_ext >&5
1931
1932     ac_retval=1
1933 fi
1934   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935   as_fn_set_status $ac_retval
1936
1937 } # ac_fn_cxx_try_cpp
1938
1939 # ac_fn_cxx_try_link LINENO
1940 # -------------------------
1941 # Try to link conftest.$ac_ext, and return whether this succeeded.
1942 ac_fn_cxx_try_link ()
1943 {
1944   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1945   rm -f conftest.$ac_objext conftest$ac_exeext
1946   if { { ac_try="$ac_link"
1947 case "(($ac_try" in
1948   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1949   *) ac_try_echo=$ac_try;;
1950 esac
1951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1952 $as_echo "$ac_try_echo"; } >&5
1953   (eval "$ac_link") 2>conftest.err
1954   ac_status=$?
1955   if test -s conftest.err; then
1956     grep -v '^ *+' conftest.err >conftest.er1
1957     cat conftest.er1 >&5
1958     mv -f conftest.er1 conftest.err
1959   fi
1960   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1961   test $ac_status = 0; } && {
1962          test -z "$ac_cxx_werror_flag" ||
1963          test ! -s conftest.err
1964        } && test -s conftest$ac_exeext && {
1965          test "$cross_compiling" = yes ||
1966          test -x conftest$ac_exeext
1967        }; then :
1968   ac_retval=0
1969 else
1970   $as_echo "$as_me: failed program was:" >&5
1971 sed 's/^/| /' conftest.$ac_ext >&5
1972
1973         ac_retval=1
1974 fi
1975   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1976   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1977   # interfere with the next link command; also delete a directory that is
1978   # left behind by Apple's compiler.  We do this before executing the actions.
1979   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1980   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1981   as_fn_set_status $ac_retval
1982
1983 } # ac_fn_cxx_try_link
1984
1985 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1986 # ---------------------------------------------------------
1987 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1988 # the include files in INCLUDES and setting the cache variable VAR
1989 # accordingly.
1990 ac_fn_cxx_check_header_mongrel ()
1991 {
1992   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1993   if eval \${$3+:} false; then :
1994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1995 $as_echo_n "checking for $2... " >&6; }
1996 if eval \${$3+:} false; then :
1997   $as_echo_n "(cached) " >&6
1998 fi
1999 eval ac_res=\$$3
2000                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2001 $as_echo "$ac_res" >&6; }
2002 else
2003   # Is the header compilable?
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2005 $as_echo_n "checking $2 usability... " >&6; }
2006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2007 /* end confdefs.h.  */
2008 $4
2009 #include <$2>
2010 _ACEOF
2011 if ac_fn_cxx_try_compile "$LINENO"; then :
2012   ac_header_compiler=yes
2013 else
2014   ac_header_compiler=no
2015 fi
2016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2018 $as_echo "$ac_header_compiler" >&6; }
2019
2020 # Is the header present?
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2022 $as_echo_n "checking $2 presence... " >&6; }
2023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2024 /* end confdefs.h.  */
2025 #include <$2>
2026 _ACEOF
2027 if ac_fn_cxx_try_cpp "$LINENO"; then :
2028   ac_header_preproc=yes
2029 else
2030   ac_header_preproc=no
2031 fi
2032 rm -f conftest.err conftest.i conftest.$ac_ext
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2034 $as_echo "$ac_header_preproc" >&6; }
2035
2036 # So?  What about this header?
2037 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2038   yes:no: )
2039     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2040 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2041     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2042 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2043     ;;
2044   no:yes:* )
2045     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2046 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2047     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2048 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2049     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2050 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2051     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2052 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2053     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2054 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2055 ( $as_echo "## ---------------------------------------------------------------------------- ##
2056 ## Report this to https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B ##
2057 ## ---------------------------------------------------------------------------- ##"
2058      ) | sed "s/^/$as_me: WARNING:     /" >&2
2059     ;;
2060 esac
2061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2062 $as_echo_n "checking for $2... " >&6; }
2063 if eval \${$3+:} false; then :
2064   $as_echo_n "(cached) " >&6
2065 else
2066   eval "$3=\$ac_header_compiler"
2067 fi
2068 eval ac_res=\$$3
2069                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2070 $as_echo "$ac_res" >&6; }
2071 fi
2072   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2073
2074 } # ac_fn_cxx_check_header_mongrel
2075 cat >config.log <<_ACEOF
2076 This file contains any messages produced by compilers while
2077 running configure, to aid debugging if configure makes a mistake.
2078
2079 It was created by libxml++ $as_me 2.91.2, which was
2080 generated by GNU Autoconf 2.69.  Invocation command line was
2081
2082   $ $0 $@
2083
2084 _ACEOF
2085 exec 5>>config.log
2086 {
2087 cat <<_ASUNAME
2088 ## --------- ##
2089 ## Platform. ##
2090 ## --------- ##
2091
2092 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2093 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2094 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2095 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2096 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2097
2098 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2099 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2100
2101 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2102 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2103 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2104 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2105 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2106 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2107 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2108
2109 _ASUNAME
2110
2111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2112 for as_dir in $PATH
2113 do
2114   IFS=$as_save_IFS
2115   test -z "$as_dir" && as_dir=.
2116     $as_echo "PATH: $as_dir"
2117   done
2118 IFS=$as_save_IFS
2119
2120 } >&5
2121
2122 cat >&5 <<_ACEOF
2123
2124
2125 ## ----------- ##
2126 ## Core tests. ##
2127 ## ----------- ##
2128
2129 _ACEOF
2130
2131
2132 # Keep a trace of the command line.
2133 # Strip out --no-create and --no-recursion so they do not pile up.
2134 # Strip out --silent because we don't want to record it for future runs.
2135 # Also quote any args containing shell meta-characters.
2136 # Make two passes to allow for proper duplicate-argument suppression.
2137 ac_configure_args=
2138 ac_configure_args0=
2139 ac_configure_args1=
2140 ac_must_keep_next=false
2141 for ac_pass in 1 2
2142 do
2143   for ac_arg
2144   do
2145     case $ac_arg in
2146     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2147     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2148     | -silent | --silent | --silen | --sile | --sil)
2149       continue ;;
2150     *\'*)
2151       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2152     esac
2153     case $ac_pass in
2154     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2155     2)
2156       as_fn_append ac_configure_args1 " '$ac_arg'"
2157       if test $ac_must_keep_next = true; then
2158         ac_must_keep_next=false # Got value, back to normal.
2159       else
2160         case $ac_arg in
2161           *=* | --config-cache | -C | -disable-* | --disable-* \
2162           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2163           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2164           | -with-* | --with-* | -without-* | --without-* | --x)
2165             case "$ac_configure_args0 " in
2166               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2167             esac
2168             ;;
2169           -* ) ac_must_keep_next=true ;;
2170         esac
2171       fi
2172       as_fn_append ac_configure_args " '$ac_arg'"
2173       ;;
2174     esac
2175   done
2176 done
2177 { ac_configure_args0=; unset ac_configure_args0;}
2178 { ac_configure_args1=; unset ac_configure_args1;}
2179
2180 # When interrupted or exit'd, cleanup temporary files, and complete
2181 # config.log.  We remove comments because anyway the quotes in there
2182 # would cause problems or look ugly.
2183 # WARNING: Use '\'' to represent an apostrophe within the trap.
2184 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2185 trap 'exit_status=$?
2186   # Save into config.log some information that might help in debugging.
2187   {
2188     echo
2189
2190     $as_echo "## ---------------- ##
2191 ## Cache variables. ##
2192 ## ---------------- ##"
2193     echo
2194     # The following way of writing the cache mishandles newlines in values,
2195 (
2196   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2197     eval ac_val=\$$ac_var
2198     case $ac_val in #(
2199     *${as_nl}*)
2200       case $ac_var in #(
2201       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2202 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2203       esac
2204       case $ac_var in #(
2205       _ | IFS | as_nl) ;; #(
2206       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2207       *) { eval $ac_var=; unset $ac_var;} ;;
2208       esac ;;
2209     esac
2210   done
2211   (set) 2>&1 |
2212     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2213     *${as_nl}ac_space=\ *)
2214       sed -n \
2215         "s/'\''/'\''\\\\'\'''\''/g;
2216           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2217       ;; #(
2218     *)
2219       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2220       ;;
2221     esac |
2222     sort
2223 )
2224     echo
2225
2226     $as_echo "## ----------------- ##
2227 ## Output variables. ##
2228 ## ----------------- ##"
2229     echo
2230     for ac_var in $ac_subst_vars
2231     do
2232       eval ac_val=\$$ac_var
2233       case $ac_val in
2234       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2235       esac
2236       $as_echo "$ac_var='\''$ac_val'\''"
2237     done | sort
2238     echo
2239
2240     if test -n "$ac_subst_files"; then
2241       $as_echo "## ------------------- ##
2242 ## File substitutions. ##
2243 ## ------------------- ##"
2244       echo
2245       for ac_var in $ac_subst_files
2246       do
2247         eval ac_val=\$$ac_var
2248         case $ac_val in
2249         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2250         esac
2251         $as_echo "$ac_var='\''$ac_val'\''"
2252       done | sort
2253       echo
2254     fi
2255
2256     if test -s confdefs.h; then
2257       $as_echo "## ----------- ##
2258 ## confdefs.h. ##
2259 ## ----------- ##"
2260       echo
2261       cat confdefs.h
2262       echo
2263     fi
2264     test "$ac_signal" != 0 &&
2265       $as_echo "$as_me: caught signal $ac_signal"
2266     $as_echo "$as_me: exit $exit_status"
2267   } >&5
2268   rm -f core *.core core.conftest.* &&
2269     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2270     exit $exit_status
2271 ' 0
2272 for ac_signal in 1 2 13 15; do
2273   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2274 done
2275 ac_signal=0
2276
2277 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2278 rm -f -r conftest* confdefs.h
2279
2280 $as_echo "/* confdefs.h */" > confdefs.h
2281
2282 # Predefined preprocessor variables.
2283
2284 cat >>confdefs.h <<_ACEOF
2285 #define PACKAGE_NAME "$PACKAGE_NAME"
2286 _ACEOF
2287
2288 cat >>confdefs.h <<_ACEOF
2289 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2290 _ACEOF
2291
2292 cat >>confdefs.h <<_ACEOF
2293 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2294 _ACEOF
2295
2296 cat >>confdefs.h <<_ACEOF
2297 #define PACKAGE_STRING "$PACKAGE_STRING"
2298 _ACEOF
2299
2300 cat >>confdefs.h <<_ACEOF
2301 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2302 _ACEOF
2303
2304 cat >>confdefs.h <<_ACEOF
2305 #define PACKAGE_URL "$PACKAGE_URL"
2306 _ACEOF
2307
2308
2309 # Let the site file select an alternate cache file if it wants to.
2310 # Prefer an explicitly selected file to automatically selected ones.
2311 ac_site_file1=NONE
2312 ac_site_file2=NONE
2313 if test -n "$CONFIG_SITE"; then
2314   # We do not want a PATH search for config.site.
2315   case $CONFIG_SITE in #((
2316     -*)  ac_site_file1=./$CONFIG_SITE;;
2317     */*) ac_site_file1=$CONFIG_SITE;;
2318     *)   ac_site_file1=./$CONFIG_SITE;;
2319   esac
2320 elif test "x$prefix" != xNONE; then
2321   ac_site_file1=$prefix/share/config.site
2322   ac_site_file2=$prefix/etc/config.site
2323 else
2324   ac_site_file1=$ac_default_prefix/share/config.site
2325   ac_site_file2=$ac_default_prefix/etc/config.site
2326 fi
2327 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2328 do
2329   test "x$ac_site_file" = xNONE && continue
2330   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2331     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2332 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2333     sed 's/^/| /' "$ac_site_file" >&5
2334     . "$ac_site_file" \
2335       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2337 as_fn_error $? "failed to load site script $ac_site_file
2338 See \`config.log' for more details" "$LINENO" 5; }
2339   fi
2340 done
2341
2342 if test -r "$cache_file"; then
2343   # Some versions of bash will fail to source /dev/null (special files
2344   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2345   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2346     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2347 $as_echo "$as_me: loading cache $cache_file" >&6;}
2348     case $cache_file in
2349       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2350       *)                      . "./$cache_file";;
2351     esac
2352   fi
2353 else
2354   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2355 $as_echo "$as_me: creating cache $cache_file" >&6;}
2356   >$cache_file
2357 fi
2358
2359 # Check that the precious variables saved in the cache have kept the same
2360 # value.
2361 ac_cache_corrupted=false
2362 for ac_var in $ac_precious_vars; do
2363   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2364   eval ac_new_set=\$ac_env_${ac_var}_set
2365   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2366   eval ac_new_val=\$ac_env_${ac_var}_value
2367   case $ac_old_set,$ac_new_set in
2368     set,)
2369       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2370 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2371       ac_cache_corrupted=: ;;
2372     ,set)
2373       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2374 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2375       ac_cache_corrupted=: ;;
2376     ,);;
2377     *)
2378       if test "x$ac_old_val" != "x$ac_new_val"; then
2379         # differences in whitespace do not lead to failure.
2380         ac_old_val_w=`echo x $ac_old_val`
2381         ac_new_val_w=`echo x $ac_new_val`
2382         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2383           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2384 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2385           ac_cache_corrupted=:
2386         else
2387           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2388 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2389           eval $ac_var=\$ac_old_val
2390         fi
2391         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2392 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2393         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2394 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2395       fi;;
2396   esac
2397   # Pass precious variables to config.status.
2398   if test "$ac_new_set" = set; then
2399     case $ac_new_val in
2400     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2401     *) ac_arg=$ac_var=$ac_new_val ;;
2402     esac
2403     case " $ac_configure_args " in
2404       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2405       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2406     esac
2407   fi
2408 done
2409 if $ac_cache_corrupted; then
2410   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2412   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2413 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2414   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2415 fi
2416 ## -------------------- ##
2417 ## Main body of script. ##
2418 ## -------------------- ##
2419
2420 ac_ext=c
2421 ac_cpp='$CPP $CPPFLAGS'
2422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2425
2426
2427
2428
2429
2430 ac_aux_dir=
2431 for ac_dir in build "$srcdir"/build; do
2432   if test -f "$ac_dir/install-sh"; then
2433     ac_aux_dir=$ac_dir
2434     ac_install_sh="$ac_aux_dir/install-sh -c"
2435     break
2436   elif test -f "$ac_dir/install.sh"; then
2437     ac_aux_dir=$ac_dir
2438     ac_install_sh="$ac_aux_dir/install.sh -c"
2439     break
2440   elif test -f "$ac_dir/shtool"; then
2441     ac_aux_dir=$ac_dir
2442     ac_install_sh="$ac_aux_dir/shtool install -c"
2443     break
2444   fi
2445 done
2446 if test -z "$ac_aux_dir"; then
2447   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2448 fi
2449
2450 # These three variables are undocumented and unsupported,
2451 # and are intended to be withdrawn in a future Autoconf release.
2452 # They can cause serious problems if a builder's source tree is in a directory
2453 # whose full name contains unusual characters.
2454 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2455 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2456 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2457
2458
2459
2460 ac_config_headers="$ac_config_headers config.h libxml++config.h"
2461
2462
2463 am__api_version='1.14'
2464
2465 # Find a good install program.  We prefer a C program (faster),
2466 # so one script is as good as another.  But avoid the broken or
2467 # incompatible versions:
2468 # SysV /etc/install, /usr/sbin/install
2469 # SunOS /usr/etc/install
2470 # IRIX /sbin/install
2471 # AIX /bin/install
2472 # AmigaOS /C/install, which installs bootblocks on floppy discs
2473 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2474 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2475 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2476 # OS/2's system install, which has a completely different semantic
2477 # ./install, which can be erroneously created by make from ./install.sh.
2478 # Reject install programs that cannot install multiple files.
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2480 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2481 if test -z "$INSTALL"; then
2482 if ${ac_cv_path_install+:} false; then :
2483   $as_echo_n "(cached) " >&6
2484 else
2485   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2486 for as_dir in $PATH
2487 do
2488   IFS=$as_save_IFS
2489   test -z "$as_dir" && as_dir=.
2490     # Account for people who put trailing slashes in PATH elements.
2491 case $as_dir/ in #((
2492   ./ | .// | /[cC]/* | \
2493   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2494   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2495   /usr/ucb/* ) ;;
2496   *)
2497     # OSF1 and SCO ODT 3.0 have their own names for install.
2498     # Don't use installbsd from OSF since it installs stuff as root
2499     # by default.
2500     for ac_prog in ginstall scoinst install; do
2501       for ac_exec_ext in '' $ac_executable_extensions; do
2502         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2503           if test $ac_prog = install &&
2504             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2505             # AIX install.  It has an incompatible calling convention.
2506             :
2507           elif test $ac_prog = install &&
2508             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2509             # program-specific install script used by HP pwplus--don't use.
2510             :
2511           else
2512             rm -rf conftest.one conftest.two conftest.dir
2513             echo one > conftest.one
2514             echo two > conftest.two
2515             mkdir conftest.dir
2516             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2517               test -s conftest.one && test -s conftest.two &&
2518               test -s conftest.dir/conftest.one &&
2519               test -s conftest.dir/conftest.two
2520             then
2521               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2522               break 3
2523             fi
2524           fi
2525         fi
2526       done
2527     done
2528     ;;
2529 esac
2530
2531   done
2532 IFS=$as_save_IFS
2533
2534 rm -rf conftest.one conftest.two conftest.dir
2535
2536 fi
2537   if test "${ac_cv_path_install+set}" = set; then
2538     INSTALL=$ac_cv_path_install
2539   else
2540     # As a last resort, use the slow shell script.  Don't cache a
2541     # value for INSTALL within a source directory, because that will
2542     # break other packages using the cache if that directory is
2543     # removed, or if the value is a relative name.
2544     INSTALL=$ac_install_sh
2545   fi
2546 fi
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2548 $as_echo "$INSTALL" >&6; }
2549
2550 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2551 # It thinks the first close brace ends the variable substitution.
2552 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2553
2554 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2555
2556 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2557
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2559 $as_echo_n "checking whether build environment is sane... " >&6; }
2560 # Reject unsafe characters in $srcdir or the absolute working directory
2561 # name.  Accept space and tab only in the latter.
2562 am_lf='
2563 '
2564 case `pwd` in
2565   *[\\\"\#\$\&\'\`$am_lf]*)
2566     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2567 esac
2568 case $srcdir in
2569   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2570     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2571 esac
2572
2573 # Do 'set' in a subshell so we don't clobber the current shell's
2574 # arguments.  Must try -L first in case configure is actually a
2575 # symlink; some systems play weird games with the mod time of symlinks
2576 # (eg FreeBSD returns the mod time of the symlink's containing
2577 # directory).
2578 if (
2579    am_has_slept=no
2580    for am_try in 1 2; do
2581      echo "timestamp, slept: $am_has_slept" > conftest.file
2582      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2583      if test "$*" = "X"; then
2584         # -L didn't work.
2585         set X `ls -t "$srcdir/configure" conftest.file`
2586      fi
2587      if test "$*" != "X $srcdir/configure conftest.file" \
2588         && test "$*" != "X conftest.file $srcdir/configure"; then
2589
2590         # If neither matched, then we have a broken ls.  This can happen
2591         # if, for instance, CONFIG_SHELL is bash and it inherits a
2592         # broken ls alias from the environment.  This has actually
2593         # happened.  Such a system could not be considered "sane".
2594         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2595   alias in your environment" "$LINENO" 5
2596      fi
2597      if test "$2" = conftest.file || test $am_try -eq 2; then
2598        break
2599      fi
2600      # Just in case.
2601      sleep 1
2602      am_has_slept=yes
2603    done
2604    test "$2" = conftest.file
2605    )
2606 then
2607    # Ok.
2608    :
2609 else
2610    as_fn_error $? "newly created file is older than distributed files!
2611 Check your system clock" "$LINENO" 5
2612 fi
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2614 $as_echo "yes" >&6; }
2615 # If we didn't sleep, we still need to ensure time stamps of config.status and
2616 # generated files are strictly newer.
2617 am_sleep_pid=
2618 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2619   ( sleep 1 ) &
2620   am_sleep_pid=$!
2621 fi
2622
2623 rm -f conftest.file
2624
2625 test "$program_prefix" != NONE &&
2626   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2627 # Use a double $ so make ignores it.
2628 test "$program_suffix" != NONE &&
2629   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2630 # Double any \ or $.
2631 # By default was `s,x,x', remove it if useless.
2632 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2633 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2634
2635 # expand $ac_aux_dir to an absolute path
2636 am_aux_dir=`cd $ac_aux_dir && pwd`
2637
2638 if test x"${MISSING+set}" != xset; then
2639   case $am_aux_dir in
2640   *\ * | *\     *)
2641     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2642   *)
2643     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2644   esac
2645 fi
2646 # Use eval to expand $SHELL
2647 if eval "$MISSING --is-lightweight"; then
2648   am_missing_run="$MISSING "
2649 else
2650   am_missing_run=
2651   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2652 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2653 fi
2654
2655 if test x"${install_sh}" != xset; then
2656   case $am_aux_dir in
2657   *\ * | *\     *)
2658     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2659   *)
2660     install_sh="\${SHELL} $am_aux_dir/install-sh"
2661   esac
2662 fi
2663
2664 # Installed binaries are usually stripped using 'strip' when the user
2665 # run "make install-strip".  However 'strip' might not be the right
2666 # tool to use in cross-compilation environments, therefore Automake
2667 # will honor the 'STRIP' environment variable to overrule this program.
2668 if test "$cross_compiling" != no; then
2669   if test -n "$ac_tool_prefix"; then
2670   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2671 set dummy ${ac_tool_prefix}strip; ac_word=$2
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2673 $as_echo_n "checking for $ac_word... " >&6; }
2674 if ${ac_cv_prog_STRIP+:} false; then :
2675   $as_echo_n "(cached) " >&6
2676 else
2677   if test -n "$STRIP"; then
2678   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2679 else
2680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2681 for as_dir in $PATH
2682 do
2683   IFS=$as_save_IFS
2684   test -z "$as_dir" && as_dir=.
2685     for ac_exec_ext in '' $ac_executable_extensions; do
2686   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2687     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2688     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2689     break 2
2690   fi
2691 done
2692   done
2693 IFS=$as_save_IFS
2694
2695 fi
2696 fi
2697 STRIP=$ac_cv_prog_STRIP
2698 if test -n "$STRIP"; then
2699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2700 $as_echo "$STRIP" >&6; }
2701 else
2702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2703 $as_echo "no" >&6; }
2704 fi
2705
2706
2707 fi
2708 if test -z "$ac_cv_prog_STRIP"; then
2709   ac_ct_STRIP=$STRIP
2710   # Extract the first word of "strip", so it can be a program name with args.
2711 set dummy strip; ac_word=$2
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2713 $as_echo_n "checking for $ac_word... " >&6; }
2714 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2715   $as_echo_n "(cached) " >&6
2716 else
2717   if test -n "$ac_ct_STRIP"; then
2718   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2719 else
2720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2721 for as_dir in $PATH
2722 do
2723   IFS=$as_save_IFS
2724   test -z "$as_dir" && as_dir=.
2725     for ac_exec_ext in '' $ac_executable_extensions; do
2726   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2727     ac_cv_prog_ac_ct_STRIP="strip"
2728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2729     break 2
2730   fi
2731 done
2732   done
2733 IFS=$as_save_IFS
2734
2735 fi
2736 fi
2737 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2738 if test -n "$ac_ct_STRIP"; then
2739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2740 $as_echo "$ac_ct_STRIP" >&6; }
2741 else
2742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2743 $as_echo "no" >&6; }
2744 fi
2745
2746   if test "x$ac_ct_STRIP" = x; then
2747     STRIP=":"
2748   else
2749     case $cross_compiling:$ac_tool_warned in
2750 yes:)
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2753 ac_tool_warned=yes ;;
2754 esac
2755     STRIP=$ac_ct_STRIP
2756   fi
2757 else
2758   STRIP="$ac_cv_prog_STRIP"
2759 fi
2760
2761 fi
2762 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2763
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2765 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2766 if test -z "$MKDIR_P"; then
2767   if ${ac_cv_path_mkdir+:} false; then :
2768   $as_echo_n "(cached) " >&6
2769 else
2770   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2771 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2772 do
2773   IFS=$as_save_IFS
2774   test -z "$as_dir" && as_dir=.
2775     for ac_prog in mkdir gmkdir; do
2776          for ac_exec_ext in '' $ac_executable_extensions; do
2777            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2778            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2779              'mkdir (GNU coreutils) '* | \
2780              'mkdir (coreutils) '* | \
2781              'mkdir (fileutils) '4.1*)
2782                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2783                break 3;;
2784            esac
2785          done
2786        done
2787   done
2788 IFS=$as_save_IFS
2789
2790 fi
2791
2792   test -d ./--version && rmdir ./--version
2793   if test "${ac_cv_path_mkdir+set}" = set; then
2794     MKDIR_P="$ac_cv_path_mkdir -p"
2795   else
2796     # As a last resort, use the slow shell script.  Don't cache a
2797     # value for MKDIR_P within a source directory, because that will
2798     # break other packages using the cache if that directory is
2799     # removed, or if the value is a relative name.
2800     MKDIR_P="$ac_install_sh -d"
2801   fi
2802 fi
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2804 $as_echo "$MKDIR_P" >&6; }
2805
2806 for ac_prog in gawk mawk nawk awk
2807 do
2808   # Extract the first word of "$ac_prog", so it can be a program name with args.
2809 set dummy $ac_prog; ac_word=$2
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2811 $as_echo_n "checking for $ac_word... " >&6; }
2812 if ${ac_cv_prog_AWK+:} false; then :
2813   $as_echo_n "(cached) " >&6
2814 else
2815   if test -n "$AWK"; then
2816   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2817 else
2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2819 for as_dir in $PATH
2820 do
2821   IFS=$as_save_IFS
2822   test -z "$as_dir" && as_dir=.
2823     for ac_exec_ext in '' $ac_executable_extensions; do
2824   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2825     ac_cv_prog_AWK="$ac_prog"
2826     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2827     break 2
2828   fi
2829 done
2830   done
2831 IFS=$as_save_IFS
2832
2833 fi
2834 fi
2835 AWK=$ac_cv_prog_AWK
2836 if test -n "$AWK"; then
2837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2838 $as_echo "$AWK" >&6; }
2839 else
2840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2841 $as_echo "no" >&6; }
2842 fi
2843
2844
2845   test -n "$AWK" && break
2846 done
2847
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2849 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2850 set x ${MAKE-make}
2851 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2852 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2853   $as_echo_n "(cached) " >&6
2854 else
2855   cat >conftest.make <<\_ACEOF
2856 SHELL = /bin/sh
2857 all:
2858         @echo '@@@%%%=$(MAKE)=@@@%%%'
2859 _ACEOF
2860 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2861 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2862   *@@@%%%=?*=@@@%%%*)
2863     eval ac_cv_prog_make_${ac_make}_set=yes;;
2864   *)
2865     eval ac_cv_prog_make_${ac_make}_set=no;;
2866 esac
2867 rm -f conftest.make
2868 fi
2869 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2871 $as_echo "yes" >&6; }
2872   SET_MAKE=
2873 else
2874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2875 $as_echo "no" >&6; }
2876   SET_MAKE="MAKE=${MAKE-make}"
2877 fi
2878
2879 rm -rf .tst 2>/dev/null
2880 mkdir .tst 2>/dev/null
2881 if test -d .tst; then
2882   am__leading_dot=.
2883 else
2884   am__leading_dot=_
2885 fi
2886 rmdir .tst 2>/dev/null
2887
2888 # Check whether --enable-silent-rules was given.
2889 if test "${enable_silent_rules+set}" = set; then :
2890   enableval=$enable_silent_rules;
2891 fi
2892
2893 case $enable_silent_rules in # (((
2894   yes) AM_DEFAULT_VERBOSITY=0;;
2895    no) AM_DEFAULT_VERBOSITY=1;;
2896     *) AM_DEFAULT_VERBOSITY=1;;
2897 esac
2898 am_make=${MAKE-make}
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2900 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2901 if ${am_cv_make_support_nested_variables+:} false; then :
2902   $as_echo_n "(cached) " >&6
2903 else
2904   if $as_echo 'TRUE=$(BAR$(V))
2905 BAR0=false
2906 BAR1=true
2907 V=1
2908 am__doit:
2909         @$(TRUE)
2910 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2911   am_cv_make_support_nested_variables=yes
2912 else
2913   am_cv_make_support_nested_variables=no
2914 fi
2915 fi
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2917 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2918 if test $am_cv_make_support_nested_variables = yes; then
2919     AM_V='$(V)'
2920   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2921 else
2922   AM_V=$AM_DEFAULT_VERBOSITY
2923   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2924 fi
2925 AM_BACKSLASH='\'
2926
2927 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2928   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2929   # is not polluted with repeated "-I."
2930   am__isrc=' -I$(srcdir)'
2931   # test to see if srcdir already configured
2932   if test -f $srcdir/config.status; then
2933     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2934   fi
2935 fi
2936
2937 # test whether we have cygpath
2938 if test -z "$CYGPATH_W"; then
2939   if (cygpath --version) >/dev/null 2>/dev/null; then
2940     CYGPATH_W='cygpath -w'
2941   else
2942     CYGPATH_W=echo
2943   fi
2944 fi
2945
2946
2947 # Define the identity of the package.
2948  PACKAGE='libxml++'
2949  VERSION='2.91.2'
2950
2951
2952 # Some tools Automake needs.
2953
2954 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2955
2956
2957 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2958
2959
2960 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2961
2962
2963 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2964
2965
2966 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2967
2968 # For better backward compatibility.  To be removed once Automake 1.9.x
2969 # dies out for good.  For more background, see:
2970 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2971 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2972 mkdir_p='$(MKDIR_P)'
2973
2974 # We need awk for the "check" target.  The system "awk" is bad on
2975 # some platforms.
2976 # Always define AMTAR for backward compatibility.  Yes, it's still used
2977 # in the wild :-(  We should find a proper way to deprecate it ...
2978 AMTAR='$${TAR-tar}'
2979
2980
2981 # We'll loop over all known methods to create a tar archive until one works.
2982 _am_tools='gnutar  pax cpio none'
2983
2984 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2985
2986
2987
2988
2989
2990
2991 # POSIX will say in a future version that running "rm -f" with no argument
2992 # is OK; and we want to be able to make that assumption in our Makefile
2993 # recipes.  So use an aggressive probe to check that the usage we want is
2994 # actually supported "in the wild" to an acceptable degree.
2995 # See automake bug#10828.
2996 # To make any issue more visible, cause the running configure to be aborted
2997 # by default if the 'rm' program in use doesn't match our expectations; the
2998 # user can still override this though.
2999 if rm -f && rm -fr && rm -rf; then : OK; else
3000   cat >&2 <<'END'
3001 Oops!
3002
3003 Your 'rm' program seems unable to run without file operands specified
3004 on the command line, even when the '-f' option is present.  This is contrary
3005 to the behaviour of most rm programs out there, and not conforming with
3006 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3007
3008 Please tell bug-automake@gnu.org about your system, including the value
3009 of your $PATH and any error possibly output before this message.  This
3010 can help us improve future automake versions.
3011
3012 END
3013   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3014     echo 'Configuration will proceed anyway, since you have set the' >&2
3015     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3016     echo >&2
3017   else
3018     cat >&2 <<'END'
3019 Aborting the configuration process, to ensure you take notice of the issue.
3020
3021 You can download and install GNU coreutils to get an 'rm' implementation
3022 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3023
3024 If you want to complete the configuration process using your problematic
3025 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3026 to "yes", and re-run configure.
3027
3028 END
3029     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3030   fi
3031 fi
3032
3033 # Check whether --enable-silent-rules was given.
3034 if test "${enable_silent_rules+set}" = set; then :
3035   enableval=$enable_silent_rules;
3036 fi
3037
3038 case $enable_silent_rules in # (((
3039   yes) AM_DEFAULT_VERBOSITY=0;;
3040    no) AM_DEFAULT_VERBOSITY=1;;
3041     *) AM_DEFAULT_VERBOSITY=1;;
3042 esac
3043 am_make=${MAKE-make}
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3045 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3046 if ${am_cv_make_support_nested_variables+:} false; then :
3047   $as_echo_n "(cached) " >&6
3048 else
3049   if $as_echo 'TRUE=$(BAR$(V))
3050 BAR0=false
3051 BAR1=true
3052 V=1
3053 am__doit:
3054         @$(TRUE)
3055 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3056   am_cv_make_support_nested_variables=yes
3057 else
3058   am_cv_make_support_nested_variables=no
3059 fi
3060 fi
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3062 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3063 if test $am_cv_make_support_nested_variables = yes; then
3064     AM_V='$(V)'
3065   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3066 else
3067   AM_V=$AM_DEFAULT_VERBOSITY
3068   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3069 fi
3070 AM_BACKSLASH='\'
3071
3072
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3074 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3075     # Check whether --enable-maintainer-mode was given.
3076 if test "${enable_maintainer_mode+set}" = set; then :
3077   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3078 else
3079   USE_MAINTAINER_MODE=no
3080 fi
3081
3082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3083 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3084    if test $USE_MAINTAINER_MODE = yes; then
3085   MAINTAINER_MODE_TRUE=
3086   MAINTAINER_MODE_FALSE='#'
3087 else
3088   MAINTAINER_MODE_TRUE='#'
3089   MAINTAINER_MODE_FALSE=
3090 fi
3091
3092   MAINT=$MAINTAINER_MODE_TRUE
3093
3094
3095
3096
3097
3098
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports GNU make features" >&5
3100 $as_echo_n "checking whether ${MAKE-make} supports GNU make features... " >&6; }
3101 cat >conftest.make <<'_MMEOF'
3102 override reverse = $(2)$(subst ,, )$(1)
3103 override result := $(word 2,$(call reverse,success,failure))
3104 all: ; test '$(result)' = success
3105 .PHONY: all
3106 _MMEOF
3107 if ${MAKE-make} -f conftest.make >&5 2>&5; then :
3108   mm_gnu_make=yes
3109 else
3110   mm_gnu_make=no
3111 fi
3112 rm -f conftest.make
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_gnu_make" >&5
3114 $as_echo "$mm_gnu_make" >&6; }
3115 if test "x$mm_gnu_make" != xyes; then :
3116   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3118 as_fn_error $? "The GNU make program is required to build $PACKAGE_NAME.
3119 See \`config.log' for more details" "$LINENO" 5; }
3120 fi
3121
3122 LIBXMLXX_MODULE_NAME='libxml++-3.0'
3123
3124 LIBXMLXX_VERSION='2.91.2'
3125
3126 LIBXMLXX_API_VERSION='3.0'
3127
3128 LIBXMLXX_MAJOR_VERSION=2
3129
3130
3131 $as_echo "#define LIBXMLXX_MAJOR_VERSION 2" >>confdefs.h
3132
3133 LIBXMLXX_MINOR_VERSION=91
3134
3135
3136 $as_echo "#define LIBXMLXX_MINOR_VERSION 91" >>confdefs.h
3137
3138 LIBXMLXX_MICRO_VERSION=2
3139
3140
3141 $as_echo "#define LIBXMLXX_MICRO_VERSION 2" >>confdefs.h
3142
3143
3144
3145 # Tell mm-common-prepare to copy the mm-common .pl scripts
3146 # and some other files into docs/, and use them from there,
3147 # so we can dist them to avoid a tarball-build dependency.
3148 MMDOCTOOLDIR='${top_srcdir}/docs'
3149  if test 'xdocs' != 'x'; then
3150   DIST_DOCTOOLS_TRUE=
3151   DIST_DOCTOOLS_FALSE='#'
3152 else
3153   DIST_DOCTOOLS_TRUE='#'
3154   DIST_DOCTOOLS_FALSE=
3155 fi
3156
3157
3158 # libxml++ does not use libtool's versioning system.
3159 # Let LIBXMLXX_SO_VERSION remain equal to 0:0:0.
3160 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
3161 LIBXMLXX_SO_VERSION=0:0:0
3162
3163
3164 ac_ext=cpp
3165 ac_cpp='$CXXCPP $CPPFLAGS'
3166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3169 if test -z "$CXX"; then
3170   if test -n "$CCC"; then
3171     CXX=$CCC
3172   else
3173     if test -n "$ac_tool_prefix"; then
3174   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3175   do
3176     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3177 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3179 $as_echo_n "checking for $ac_word... " >&6; }
3180 if ${ac_cv_prog_CXX+:} false; then :
3181   $as_echo_n "(cached) " >&6
3182 else
3183   if test -n "$CXX"; then
3184   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3185 else
3186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187 for as_dir in $PATH
3188 do
3189   IFS=$as_save_IFS
3190   test -z "$as_dir" && as_dir=.
3191     for ac_exec_ext in '' $ac_executable_extensions; do
3192   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3193     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3195     break 2
3196   fi
3197 done
3198   done
3199 IFS=$as_save_IFS
3200
3201 fi
3202 fi
3203 CXX=$ac_cv_prog_CXX
3204 if test -n "$CXX"; then
3205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3206 $as_echo "$CXX" >&6; }
3207 else
3208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3209 $as_echo "no" >&6; }
3210 fi
3211
3212
3213     test -n "$CXX" && break
3214   done
3215 fi
3216 if test -z "$CXX"; then
3217   ac_ct_CXX=$CXX
3218   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3219 do
3220   # Extract the first word of "$ac_prog", so it can be a program name with args.
3221 set dummy $ac_prog; ac_word=$2
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223 $as_echo_n "checking for $ac_word... " >&6; }
3224 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3225   $as_echo_n "(cached) " >&6
3226 else
3227   if test -n "$ac_ct_CXX"; then
3228   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3229 else
3230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3231 for as_dir in $PATH
3232 do
3233   IFS=$as_save_IFS
3234   test -z "$as_dir" && as_dir=.
3235     for ac_exec_ext in '' $ac_executable_extensions; do
3236   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3237     ac_cv_prog_ac_ct_CXX="$ac_prog"
3238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3239     break 2
3240   fi
3241 done
3242   done
3243 IFS=$as_save_IFS
3244
3245 fi
3246 fi
3247 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3248 if test -n "$ac_ct_CXX"; then
3249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3250 $as_echo "$ac_ct_CXX" >&6; }
3251 else
3252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3254 fi
3255
3256
3257   test -n "$ac_ct_CXX" && break
3258 done
3259
3260   if test "x$ac_ct_CXX" = x; then
3261     CXX="g++"
3262   else
3263     case $cross_compiling:$ac_tool_warned in
3264 yes:)
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3266 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3267 ac_tool_warned=yes ;;
3268 esac
3269     CXX=$ac_ct_CXX
3270   fi
3271 fi
3272
3273   fi
3274 fi
3275 # Provide some information about the compiler.
3276 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3277 set X $ac_compile
3278 ac_compiler=$2
3279 for ac_option in --version -v -V -qversion; do
3280   { { ac_try="$ac_compiler $ac_option >&5"
3281 case "(($ac_try" in
3282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283   *) ac_try_echo=$ac_try;;
3284 esac
3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286 $as_echo "$ac_try_echo"; } >&5
3287   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3288   ac_status=$?
3289   if test -s conftest.err; then
3290     sed '10a\
3291 ... rest of stderr output deleted ...
3292          10q' conftest.err >conftest.er1
3293     cat conftest.er1 >&5
3294   fi
3295   rm -f conftest.er1 conftest.err
3296   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3297   test $ac_status = 0; }
3298 done
3299
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h.  */
3302
3303 int
3304 main ()
3305 {
3306
3307   ;
3308   return 0;
3309 }
3310 _ACEOF
3311 ac_clean_files_save=$ac_clean_files
3312 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3313 # Try to create an executable without -o first, disregard a.out.
3314 # It will help us diagnose broken compilers, and finding out an intuition
3315 # of exeext.
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3317 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3318 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3319
3320 # The possible output files:
3321 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3322
3323 ac_rmfiles=
3324 for ac_file in $ac_files
3325 do
3326   case $ac_file in
3327     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3328     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3329   esac
3330 done
3331 rm -f $ac_rmfiles
3332
3333 if { { ac_try="$ac_link_default"
3334 case "(($ac_try" in
3335   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336   *) ac_try_echo=$ac_try;;
3337 esac
3338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3339 $as_echo "$ac_try_echo"; } >&5
3340   (eval "$ac_link_default") 2>&5
3341   ac_status=$?
3342   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343   test $ac_status = 0; }; then :
3344   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3345 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3346 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3347 # so that the user can short-circuit this test for compilers unknown to
3348 # Autoconf.
3349 for ac_file in $ac_files ''
3350 do
3351   test -f "$ac_file" || continue
3352   case $ac_file in
3353     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3354         ;;
3355     [ab].out )
3356         # We found the default executable, but exeext='' is most
3357         # certainly right.
3358         break;;
3359     *.* )
3360         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3361         then :; else
3362            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3363         fi
3364         # We set ac_cv_exeext here because the later test for it is not
3365         # safe: cross compilers may not add the suffix if given an `-o'
3366         # argument, so we may need to know it at that point already.
3367         # Even if this section looks crufty: it has the advantage of
3368         # actually working.
3369         break;;
3370     * )
3371         break;;
3372   esac
3373 done
3374 test "$ac_cv_exeext" = no && ac_cv_exeext=
3375
3376 else
3377   ac_file=''
3378 fi
3379 if test -z "$ac_file"; then :
3380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3381 $as_echo "no" >&6; }
3382 $as_echo "$as_me: failed program was:" >&5
3383 sed 's/^/| /' conftest.$ac_ext >&5
3384
3385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3387 as_fn_error 77 "C++ compiler cannot create executables
3388 See \`config.log' for more details" "$LINENO" 5; }
3389 else
3390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3391 $as_echo "yes" >&6; }
3392 fi
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3394 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3396 $as_echo "$ac_file" >&6; }
3397 ac_exeext=$ac_cv_exeext
3398
3399 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3400 ac_clean_files=$ac_clean_files_save
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3402 $as_echo_n "checking for suffix of executables... " >&6; }
3403 if { { ac_try="$ac_link"
3404 case "(($ac_try" in
3405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3406   *) ac_try_echo=$ac_try;;
3407 esac
3408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3409 $as_echo "$ac_try_echo"; } >&5
3410   (eval "$ac_link") 2>&5
3411   ac_status=$?
3412   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3413   test $ac_status = 0; }; then :
3414   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3415 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3416 # work properly (i.e., refer to `conftest.exe'), while it won't with
3417 # `rm'.
3418 for ac_file in conftest.exe conftest conftest.*; do
3419   test -f "$ac_file" || continue
3420   case $ac_file in
3421     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3422     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3423           break;;
3424     * ) break;;
3425   esac
3426 done
3427 else
3428   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3431 See \`config.log' for more details" "$LINENO" 5; }
3432 fi
3433 rm -f conftest conftest$ac_cv_exeext
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3435 $as_echo "$ac_cv_exeext" >&6; }
3436
3437 rm -f conftest.$ac_ext
3438 EXEEXT=$ac_cv_exeext
3439 ac_exeext=$EXEEXT
3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3441 /* end confdefs.h.  */
3442 #include <stdio.h>
3443 int
3444 main ()
3445 {
3446 FILE *f = fopen ("conftest.out", "w");
3447  return ferror (f) || fclose (f) != 0;
3448
3449   ;
3450   return 0;
3451 }
3452 _ACEOF
3453 ac_clean_files="$ac_clean_files conftest.out"
3454 # Check that the compiler produces executables we can run.  If not, either
3455 # the compiler is broken, or we cross compile.
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3457 $as_echo_n "checking whether we are cross compiling... " >&6; }
3458 if test "$cross_compiling" != yes; then
3459   { { ac_try="$ac_link"
3460 case "(($ac_try" in
3461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3462   *) ac_try_echo=$ac_try;;
3463 esac
3464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3465 $as_echo "$ac_try_echo"; } >&5
3466   (eval "$ac_link") 2>&5
3467   ac_status=$?
3468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3469   test $ac_status = 0; }
3470   if { ac_try='./conftest$ac_cv_exeext'
3471   { { case "(($ac_try" in
3472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3473   *) ac_try_echo=$ac_try;;
3474 esac
3475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3476 $as_echo "$ac_try_echo"; } >&5
3477   (eval "$ac_try") 2>&5
3478   ac_status=$?
3479   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3480   test $ac_status = 0; }; }; then
3481     cross_compiling=no
3482   else
3483     if test "$cross_compiling" = maybe; then
3484         cross_compiling=yes
3485     else
3486         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3488 as_fn_error $? "cannot run C++ compiled programs.
3489 If you meant to cross compile, use \`--host'.
3490 See \`config.log' for more details" "$LINENO" 5; }
3491     fi
3492   fi
3493 fi
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3495 $as_echo "$cross_compiling" >&6; }
3496
3497 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3498 ac_clean_files=$ac_clean_files_save
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3500 $as_echo_n "checking for suffix of object files... " >&6; }
3501 if ${ac_cv_objext+:} false; then :
3502   $as_echo_n "(cached) " >&6
3503 else
3504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h.  */
3506
3507 int
3508 main ()
3509 {
3510
3511   ;
3512   return 0;
3513 }
3514 _ACEOF
3515 rm -f conftest.o conftest.obj
3516 if { { ac_try="$ac_compile"
3517 case "(($ac_try" in
3518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519   *) ac_try_echo=$ac_try;;
3520 esac
3521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3522 $as_echo "$ac_try_echo"; } >&5
3523   (eval "$ac_compile") 2>&5
3524   ac_status=$?
3525   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526   test $ac_status = 0; }; then :
3527   for ac_file in conftest.o conftest.obj conftest.*; do
3528   test -f "$ac_file" || continue;
3529   case $ac_file in
3530     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3531     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3532        break;;
3533   esac
3534 done
3535 else
3536   $as_echo "$as_me: failed program was:" >&5
3537 sed 's/^/| /' conftest.$ac_ext >&5
3538
3539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3541 as_fn_error $? "cannot compute suffix of object files: cannot compile
3542 See \`config.log' for more details" "$LINENO" 5; }
3543 fi
3544 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3545 fi
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3547 $as_echo "$ac_cv_objext" >&6; }
3548 OBJEXT=$ac_cv_objext
3549 ac_objext=$OBJEXT
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3551 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3552 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3553   $as_echo_n "(cached) " >&6
3554 else
3555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h.  */
3557
3558 int
3559 main ()
3560 {
3561 #ifndef __GNUC__
3562        choke me
3563 #endif
3564
3565   ;
3566   return 0;
3567 }
3568 _ACEOF
3569 if ac_fn_cxx_try_compile "$LINENO"; then :
3570   ac_compiler_gnu=yes
3571 else
3572   ac_compiler_gnu=no
3573 fi
3574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3575 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3576
3577 fi
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3579 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3580 if test $ac_compiler_gnu = yes; then
3581   GXX=yes
3582 else
3583   GXX=
3584 fi
3585 ac_test_CXXFLAGS=${CXXFLAGS+set}
3586 ac_save_CXXFLAGS=$CXXFLAGS
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3588 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3589 if ${ac_cv_prog_cxx_g+:} false; then :
3590   $as_echo_n "(cached) " >&6
3591 else
3592   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3593    ac_cxx_werror_flag=yes
3594    ac_cv_prog_cxx_g=no
3595    CXXFLAGS="-g"
3596    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h.  */
3598
3599 int
3600 main ()
3601 {
3602
3603   ;
3604   return 0;
3605 }
3606 _ACEOF
3607 if ac_fn_cxx_try_compile "$LINENO"; then :
3608   ac_cv_prog_cxx_g=yes
3609 else
3610   CXXFLAGS=""
3611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612 /* end confdefs.h.  */
3613
3614 int
3615 main ()
3616 {
3617
3618   ;
3619   return 0;
3620 }
3621 _ACEOF
3622 if ac_fn_cxx_try_compile "$LINENO"; then :
3623
3624 else
3625   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3626          CXXFLAGS="-g"
3627          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3628 /* end confdefs.h.  */
3629
3630 int
3631 main ()
3632 {
3633
3634   ;
3635   return 0;
3636 }
3637 _ACEOF
3638 if ac_fn_cxx_try_compile "$LINENO"; then :
3639   ac_cv_prog_cxx_g=yes
3640 fi
3641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3642 fi
3643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3644 fi
3645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3646    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3647 fi
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3649 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3650 if test "$ac_test_CXXFLAGS" = set; then
3651   CXXFLAGS=$ac_save_CXXFLAGS
3652 elif test $ac_cv_prog_cxx_g = yes; then
3653   if test "$GXX" = yes; then
3654     CXXFLAGS="-g -O2"
3655   else
3656     CXXFLAGS="-g"
3657   fi
3658 else
3659   if test "$GXX" = yes; then
3660     CXXFLAGS="-O2"
3661   else
3662     CXXFLAGS=
3663   fi
3664 fi
3665 ac_ext=c
3666 ac_cpp='$CPP $CPPFLAGS'
3667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3670 DEPDIR="${am__leading_dot}deps"
3671
3672 ac_config_commands="$ac_config_commands depfiles"
3673
3674
3675 am_make=${MAKE-make}
3676 cat > confinc << 'END'
3677 am__doit:
3678         @echo this is the am__doit target
3679 .PHONY: am__doit
3680 END
3681 # If we don't find an include directive, just comment out the code.
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3683 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3684 am__include="#"
3685 am__quote=
3686 _am_result=none
3687 # First try GNU make style include.
3688 echo "include confinc" > confmf
3689 # Ignore all kinds of additional output from 'make'.
3690 case `$am_make -s -f confmf 2> /dev/null` in #(
3691 *the\ am__doit\ target*)
3692   am__include=include
3693   am__quote=
3694   _am_result=GNU
3695   ;;
3696 esac
3697 # Now try BSD make style include.
3698 if test "$am__include" = "#"; then
3699    echo '.include "confinc"' > confmf
3700    case `$am_make -s -f confmf 2> /dev/null` in #(
3701    *the\ am__doit\ target*)
3702      am__include=.include
3703      am__quote="\""
3704      _am_result=BSD
3705      ;;
3706    esac
3707 fi
3708
3709
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3711 $as_echo "$_am_result" >&6; }
3712 rm -f confinc confmf
3713
3714 # Check whether --enable-dependency-tracking was given.
3715 if test "${enable_dependency_tracking+set}" = set; then :
3716   enableval=$enable_dependency_tracking;
3717 fi
3718
3719 if test "x$enable_dependency_tracking" != xno; then
3720   am_depcomp="$ac_aux_dir/depcomp"
3721   AMDEPBACKSLASH='\'
3722   am__nodep='_no'
3723 fi
3724  if test "x$enable_dependency_tracking" != xno; then
3725   AMDEP_TRUE=
3726   AMDEP_FALSE='#'
3727 else
3728   AMDEP_TRUE='#'
3729   AMDEP_FALSE=
3730 fi
3731
3732
3733
3734 depcc="$CXX"  am_compiler_list=
3735
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3737 $as_echo_n "checking dependency style of $depcc... " >&6; }
3738 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3739   $as_echo_n "(cached) " >&6
3740 else
3741   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3742   # We make a subdir and do the tests there.  Otherwise we can end up
3743   # making bogus files that we don't know about and never remove.  For
3744   # instance it was reported that on HP-UX the gcc test will end up
3745   # making a dummy file named 'D' -- because '-MD' means "put the output
3746   # in D".
3747   rm -rf conftest.dir
3748   mkdir conftest.dir
3749   # Copy depcomp to subdir because otherwise we won't find it if we're
3750   # using a relative directory.
3751   cp "$am_depcomp" conftest.dir
3752   cd conftest.dir
3753   # We will build objects and dependencies in a subdirectory because
3754   # it helps to detect inapplicable dependency modes.  For instance
3755   # both Tru64's cc and ICC support -MD to output dependencies as a
3756   # side effect of compilation, but ICC will put the dependencies in
3757   # the current directory while Tru64 will put them in the object
3758   # directory.
3759   mkdir sub
3760
3761   am_cv_CXX_dependencies_compiler_type=none
3762   if test "$am_compiler_list" = ""; then
3763      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3764   fi
3765   am__universal=false
3766   case " $depcc " in #(
3767      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3768      esac
3769
3770   for depmode in $am_compiler_list; do
3771     # Setup a source with many dependencies, because some compilers
3772     # like to wrap large dependency lists on column 80 (with \), and
3773     # we should not choose a depcomp mode which is confused by this.
3774     #
3775     # We need to recreate these files for each test, as the compiler may
3776     # overwrite some of them when testing with obscure command lines.
3777     # This happens at least with the AIX C compiler.
3778     : > sub/conftest.c
3779     for i in 1 2 3 4 5 6; do
3780       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3781       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3782       # Solaris 10 /bin/sh.
3783       echo '/* dummy */' > sub/conftst$i.h
3784     done
3785     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3786
3787     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3788     # mode.  It turns out that the SunPro C++ compiler does not properly
3789     # handle '-M -o', and we need to detect this.  Also, some Intel
3790     # versions had trouble with output in subdirs.
3791     am__obj=sub/conftest.${OBJEXT-o}
3792     am__minus_obj="-o $am__obj"
3793     case $depmode in
3794     gcc)
3795       # This depmode causes a compiler race in universal mode.
3796       test "$am__universal" = false || continue
3797       ;;
3798     nosideeffect)
3799       # After this tag, mechanisms are not by side-effect, so they'll
3800       # only be used when explicitly requested.
3801       if test "x$enable_dependency_tracking" = xyes; then
3802         continue
3803       else
3804         break
3805       fi
3806       ;;
3807     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3808       # This compiler won't grok '-c -o', but also, the minuso test has
3809       # not run yet.  These depmodes are late enough in the game, and
3810       # so weak that their functioning should not be impacted.
3811       am__obj=conftest.${OBJEXT-o}
3812       am__minus_obj=
3813       ;;
3814     none) break ;;
3815     esac
3816     if depmode=$depmode \
3817        source=sub/conftest.c object=$am__obj \
3818        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3819        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3820          >/dev/null 2>conftest.err &&
3821        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3822        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3823        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3824        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3825       # icc doesn't choke on unknown options, it will just issue warnings
3826       # or remarks (even with -Werror).  So we grep stderr for any message
3827       # that says an option was ignored or not supported.
3828       # When given -MP, icc 7.0 and 7.1 complain thusly:
3829       #   icc: Command line warning: ignoring option '-M'; no argument required
3830       # The diagnosis changed in icc 8.0:
3831       #   icc: Command line remark: option '-MP' not supported
3832       if (grep 'ignoring option' conftest.err ||
3833           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3834         am_cv_CXX_dependencies_compiler_type=$depmode
3835         break
3836       fi
3837     fi
3838   done
3839
3840   cd ..
3841   rm -rf conftest.dir
3842 else
3843   am_cv_CXX_dependencies_compiler_type=none
3844 fi
3845
3846 fi
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3848 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3849 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3850
3851  if
3852   test "x$enable_dependency_tracking" != xno \
3853   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3854   am__fastdepCXX_TRUE=
3855   am__fastdepCXX_FALSE='#'
3856 else
3857   am__fastdepCXX_TRUE='#'
3858   am__fastdepCXX_FALSE=
3859 fi
3860
3861
3862
3863     ax_cxx_compile_cxx11_required=true
3864   ac_ext=cpp
3865 ac_cpp='$CXXCPP $CPPFLAGS'
3866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3869   ac_success=no
3870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
3871 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
3872 if ${ax_cv_cxx_compile_cxx11+:} false; then :
3873   $as_echo_n "(cached) " >&6
3874 else
3875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h.  */
3877
3878   template <typename T>
3879     struct check
3880     {
3881       static_assert(sizeof(int) <= sizeof(T), "not big enough");
3882     };
3883
3884     struct Base {
3885     virtual void f() {}
3886     };
3887     struct Child : public Base {
3888     virtual void f() override {}
3889     };
3890
3891     typedef check<check<bool>> right_angle_brackets;
3892
3893     int a;
3894     decltype(a) b;
3895
3896     typedef check<int> check_type;
3897     check_type c;
3898     check_type&& cr = static_cast<check_type&&>(c);
3899
3900     auto d = a;
3901     auto l = [](){};
3902     // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable]
3903     struct use_l { use_l() { l(); } };
3904
3905     // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
3906     // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this
3907     namespace test_template_alias_sfinae {
3908         struct foo {};
3909
3910         template<typename T>
3911         using member = typename T::member_type;
3912
3913         template<typename T>
3914         void func(...) {}
3915
3916         template<typename T>
3917         void func(member<T>*) {}
3918
3919         void test();
3920
3921         void test() {
3922             func<foo>(0);
3923         }
3924     }
3925
3926 _ACEOF
3927 if ac_fn_cxx_try_compile "$LINENO"; then :
3928   ax_cv_cxx_compile_cxx11=yes
3929 else
3930   ax_cv_cxx_compile_cxx11=no
3931 fi
3932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3933 fi
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
3935 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
3936   if test x$ax_cv_cxx_compile_cxx11 = xyes; then
3937     ac_success=yes
3938   fi
3939
3940
3941
3942     if test x$ac_success = xno; then
3943             for switch in -std=c++11 -std=c++0x +std=c++11; do
3944       cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
3945       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
3946 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
3947 if eval \${$cachevar+:} false; then :
3948   $as_echo_n "(cached) " >&6
3949 else
3950   ac_save_CXXFLAGS="$CXXFLAGS"
3951          CXXFLAGS="$CXXFLAGS $switch"
3952          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 /* end confdefs.h.  */
3954
3955   template <typename T>
3956     struct check
3957     {
3958       static_assert(sizeof(int) <= sizeof(T), "not big enough");
3959     };
3960
3961     struct Base {
3962     virtual void f() {}
3963     };
3964     struct Child : public Base {
3965     virtual void f() override {}
3966     };
3967
3968     typedef check<check<bool>> right_angle_brackets;
3969
3970     int a;
3971     decltype(a) b;
3972
3973     typedef check<int> check_type;
3974     check_type c;
3975     check_type&& cr = static_cast<check_type&&>(c);
3976
3977     auto d = a;
3978     auto l = [](){};
3979     // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable]
3980     struct use_l { use_l() { l(); } };
3981
3982     // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
3983     // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this
3984     namespace test_template_alias_sfinae {
3985         struct foo {};
3986
3987         template<typename T>
3988         using member = typename T::member_type;
3989
3990         template<typename T>
3991         void func(...) {}
3992
3993         template<typename T>
3994         void func(member<T>*) {}
3995
3996         void test();
3997
3998         void test() {
3999             func<foo>(0);
4000         }
4001     }
4002
4003 _ACEOF
4004 if ac_fn_cxx_try_compile "$LINENO"; then :
4005   eval $cachevar=yes
4006 else
4007   eval $cachevar=no
4008 fi
4009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4010          CXXFLAGS="$ac_save_CXXFLAGS"
4011 fi
4012 eval ac_res=\$$cachevar
4013                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4014 $as_echo "$ac_res" >&6; }
4015       if eval test x\$$cachevar = xyes; then
4016         CXXFLAGS="$CXXFLAGS $switch"
4017         ac_success=yes
4018         break
4019       fi
4020     done
4021   fi
4022   ac_ext=c
4023 ac_cpp='$CPP $CPPFLAGS'
4024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4027
4028   if test x$ax_cxx_compile_cxx11_required = xtrue; then
4029     if test x$ac_success = xno; then
4030       as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
4031     fi
4032   else
4033     if test x$ac_success = xno; then
4034       HAVE_CXX11=0
4035       { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
4036 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
4037     else
4038       HAVE_CXX11=1
4039
4040 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
4041
4042     fi
4043
4044
4045   fi
4046
4047
4048
4049 case `pwd` in
4050   *\ * | *\     *)
4051     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4052 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4053 esac
4054
4055
4056
4057 macro_version='2.4.2'
4058 macro_revision='1.3337'
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072 ltmain="$ac_aux_dir/ltmain.sh"
4073
4074 # Make sure we can run config.sub.
4075 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4076   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4077
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4079 $as_echo_n "checking build system type... " >&6; }
4080 if ${ac_cv_build+:} false; then :
4081   $as_echo_n "(cached) " >&6
4082 else
4083   ac_build_alias=$build_alias
4084 test "x$ac_build_alias" = x &&
4085   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4086 test "x$ac_build_alias" = x &&
4087   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4088 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4089   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4090
4091 fi
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4093 $as_echo "$ac_cv_build" >&6; }
4094 case $ac_cv_build in
4095 *-*-*) ;;
4096 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4097 esac
4098 build=$ac_cv_build
4099 ac_save_IFS=$IFS; IFS='-'
4100 set x $ac_cv_build
4101 shift
4102 build_cpu=$1
4103 build_vendor=$2
4104 shift; shift
4105 # Remember, the first character of IFS is used to create $*,
4106 # except with old shells:
4107 build_os=$*
4108 IFS=$ac_save_IFS
4109 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4110
4111
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4113 $as_echo_n "checking host system type... " >&6; }
4114 if ${ac_cv_host+:} false; then :
4115   $as_echo_n "(cached) " >&6
4116 else
4117   if test "x$host_alias" = x; then
4118   ac_cv_host=$ac_cv_build
4119 else
4120   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4121     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4122 fi
4123
4124 fi
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4126 $as_echo "$ac_cv_host" >&6; }
4127 case $ac_cv_host in
4128 *-*-*) ;;
4129 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4130 esac
4131 host=$ac_cv_host
4132 ac_save_IFS=$IFS; IFS='-'
4133 set x $ac_cv_host
4134 shift
4135 host_cpu=$1
4136 host_vendor=$2
4137 shift; shift
4138 # Remember, the first character of IFS is used to create $*,
4139 # except with old shells:
4140 host_os=$*
4141 IFS=$ac_save_IFS
4142 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4143
4144
4145 # Backslashify metacharacters that are still active within
4146 # double-quoted strings.
4147 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4148
4149 # Same as above, but do not quote variable references.
4150 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4151
4152 # Sed substitution to delay expansion of an escaped shell variable in a
4153 # double_quote_subst'ed string.
4154 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4155
4156 # Sed substitution to delay expansion of an escaped single quote.
4157 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4158
4159 # Sed substitution to avoid accidental globbing in evaled expressions
4160 no_glob_subst='s/\*/\\\*/g'
4161
4162 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4163 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4164 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4165
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4167 $as_echo_n "checking how to print strings... " >&6; }
4168 # Test print first, because it will be a builtin if present.
4169 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4170    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4171   ECHO='print -r --'
4172 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4173   ECHO='printf %s\n'
4174 else
4175   # Use this function as a fallback that always works.
4176   func_fallback_echo ()
4177   {
4178     eval 'cat <<_LTECHO_EOF
4179 $1
4180 _LTECHO_EOF'
4181   }
4182   ECHO='func_fallback_echo'
4183 fi
4184
4185 # func_echo_all arg...
4186 # Invoke $ECHO with all args, space-separated.
4187 func_echo_all ()
4188 {
4189     $ECHO ""
4190 }
4191
4192 case "$ECHO" in
4193   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4194 $as_echo "printf" >&6; } ;;
4195   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4196 $as_echo "print -r" >&6; } ;;
4197   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4198 $as_echo "cat" >&6; } ;;
4199 esac
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214 ac_ext=c
4215 ac_cpp='$CPP $CPPFLAGS'
4216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4219 if test -n "$ac_tool_prefix"; then
4220   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4221 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4223 $as_echo_n "checking for $ac_word... " >&6; }
4224 if ${ac_cv_prog_CC+:} false; then :
4225   $as_echo_n "(cached) " >&6
4226 else
4227   if test -n "$CC"; then
4228   ac_cv_prog_CC="$CC" # Let the user override the test.
4229 else
4230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4231 for as_dir in $PATH
4232 do
4233   IFS=$as_save_IFS
4234   test -z "$as_dir" && as_dir=.
4235     for ac_exec_ext in '' $ac_executable_extensions; do
4236   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4237     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4239     break 2
4240   fi
4241 done
4242   done
4243 IFS=$as_save_IFS
4244
4245 fi
4246 fi
4247 CC=$ac_cv_prog_CC
4248 if test -n "$CC"; then
4249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4250 $as_echo "$CC" >&6; }
4251 else
4252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4253 $as_echo "no" >&6; }
4254 fi
4255
4256
4257 fi
4258 if test -z "$ac_cv_prog_CC"; then
4259   ac_ct_CC=$CC
4260   # Extract the first word of "gcc", so it can be a program name with args.
4261 set dummy gcc; ac_word=$2
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4263 $as_echo_n "checking for $ac_word... " >&6; }
4264 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4265   $as_echo_n "(cached) " >&6
4266 else
4267   if test -n "$ac_ct_CC"; then
4268   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4269 else
4270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4271 for as_dir in $PATH
4272 do
4273   IFS=$as_save_IFS
4274   test -z "$as_dir" && as_dir=.
4275     for ac_exec_ext in '' $ac_executable_extensions; do
4276   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4277     ac_cv_prog_ac_ct_CC="gcc"
4278     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4279     break 2
4280   fi
4281 done
4282   done
4283 IFS=$as_save_IFS
4284
4285 fi
4286 fi
4287 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4288 if test -n "$ac_ct_CC"; then
4289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4290 $as_echo "$ac_ct_CC" >&6; }
4291 else
4292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4293 $as_echo "no" >&6; }
4294 fi
4295
4296   if test "x$ac_ct_CC" = x; then
4297     CC=""
4298   else
4299     case $cross_compiling:$ac_tool_warned in
4300 yes:)
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4303 ac_tool_warned=yes ;;
4304 esac
4305     CC=$ac_ct_CC
4306   fi
4307 else
4308   CC="$ac_cv_prog_CC"
4309 fi
4310
4311 if test -z "$CC"; then
4312           if test -n "$ac_tool_prefix"; then
4313     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4314 set dummy ${ac_tool_prefix}cc; ac_word=$2
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4316 $as_echo_n "checking for $ac_word... " >&6; }
4317 if ${ac_cv_prog_CC+:} false; then :
4318   $as_echo_n "(cached) " >&6
4319 else
4320   if test -n "$CC"; then
4321   ac_cv_prog_CC="$CC" # Let the user override the test.
4322 else
4323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4324 for as_dir in $PATH
4325 do
4326   IFS=$as_save_IFS
4327   test -z "$as_dir" && as_dir=.
4328     for ac_exec_ext in '' $ac_executable_extensions; do
4329   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4330     ac_cv_prog_CC="${ac_tool_prefix}cc"
4331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4332     break 2
4333   fi
4334 done
4335   done
4336 IFS=$as_save_IFS
4337
4338 fi
4339 fi
4340 CC=$ac_cv_prog_CC
4341 if test -n "$CC"; then
4342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4343 $as_echo "$CC" >&6; }
4344 else
4345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4346 $as_echo "no" >&6; }
4347 fi
4348
4349
4350   fi
4351 fi
4352 if test -z "$CC"; then
4353   # Extract the first word of "cc", so it can be a program name with args.
4354 set dummy cc; ac_word=$2
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4356 $as_echo_n "checking for $ac_word... " >&6; }
4357 if ${ac_cv_prog_CC+:} false; then :
4358   $as_echo_n "(cached) " >&6
4359 else
4360   if test -n "$CC"; then
4361   ac_cv_prog_CC="$CC" # Let the user override the test.
4362 else
4363   ac_prog_rejected=no
4364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4365 for as_dir in $PATH
4366 do
4367   IFS=$as_save_IFS
4368   test -z "$as_dir" && as_dir=.
4369     for ac_exec_ext in '' $ac_executable_extensions; do
4370   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4371     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4372        ac_prog_rejected=yes
4373        continue
4374      fi
4375     ac_cv_prog_CC="cc"
4376     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377     break 2
4378   fi
4379 done
4380   done
4381 IFS=$as_save_IFS
4382
4383 if test $ac_prog_rejected = yes; then
4384   # We found a bogon in the path, so make sure we never use it.
4385   set dummy $ac_cv_prog_CC
4386   shift
4387   if test $# != 0; then
4388     # We chose a different compiler from the bogus one.
4389     # However, it has the same basename, so the bogon will be chosen
4390     # first if we set CC to just the basename; use the full file name.
4391     shift
4392     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4393   fi
4394 fi
4395 fi
4396 fi
4397 CC=$ac_cv_prog_CC
4398 if test -n "$CC"; then
4399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4400 $as_echo "$CC" >&6; }
4401 else
4402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4403 $as_echo "no" >&6; }
4404 fi
4405
4406
4407 fi
4408 if test -z "$CC"; then
4409   if test -n "$ac_tool_prefix"; then
4410   for ac_prog in cl.exe
4411   do
4412     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4413 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4415 $as_echo_n "checking for $ac_word... " >&6; }
4416 if ${ac_cv_prog_CC+:} false; then :
4417   $as_echo_n "(cached) " >&6
4418 else
4419   if test -n "$CC"; then
4420   ac_cv_prog_CC="$CC" # Let the user override the test.
4421 else
4422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4423 for as_dir in $PATH
4424 do
4425   IFS=$as_save_IFS
4426   test -z "$as_dir" && as_dir=.
4427     for ac_exec_ext in '' $ac_executable_extensions; do
4428   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4429     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4431     break 2
4432   fi
4433 done
4434   done
4435 IFS=$as_save_IFS
4436
4437 fi
4438 fi
4439 CC=$ac_cv_prog_CC
4440 if test -n "$CC"; then
4441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4442 $as_echo "$CC" >&6; }
4443 else
4444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4445 $as_echo "no" >&6; }
4446 fi
4447
4448
4449     test -n "$CC" && break
4450   done
4451 fi
4452 if test -z "$CC"; then
4453   ac_ct_CC=$CC
4454   for ac_prog in cl.exe
4455 do
4456   # Extract the first word of "$ac_prog", so it can be a program name with args.
4457 set dummy $ac_prog; ac_word=$2
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4459 $as_echo_n "checking for $ac_word... " >&6; }
4460 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4461   $as_echo_n "(cached) " >&6
4462 else
4463   if test -n "$ac_ct_CC"; then
4464   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4465 else
4466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4467 for as_dir in $PATH
4468 do
4469   IFS=$as_save_IFS
4470   test -z "$as_dir" && as_dir=.
4471     for ac_exec_ext in '' $ac_executable_extensions; do
4472   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4473     ac_cv_prog_ac_ct_CC="$ac_prog"
4474     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4475     break 2
4476   fi
4477 done
4478   done
4479 IFS=$as_save_IFS
4480
4481 fi
4482 fi
4483 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4484 if test -n "$ac_ct_CC"; then
4485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4486 $as_echo "$ac_ct_CC" >&6; }
4487 else
4488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4489 $as_echo "no" >&6; }
4490 fi
4491
4492
4493   test -n "$ac_ct_CC" && break
4494 done
4495
4496   if test "x$ac_ct_CC" = x; then
4497     CC=""
4498   else
4499     case $cross_compiling:$ac_tool_warned in
4500 yes:)
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4503 ac_tool_warned=yes ;;
4504 esac
4505     CC=$ac_ct_CC
4506   fi
4507 fi
4508
4509 fi
4510
4511
4512 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4514 as_fn_error $? "no acceptable C compiler found in \$PATH
4515 See \`config.log' for more details" "$LINENO" 5; }
4516
4517 # Provide some information about the compiler.
4518 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4519 set X $ac_compile
4520 ac_compiler=$2
4521 for ac_option in --version -v -V -qversion; do
4522   { { ac_try="$ac_compiler $ac_option >&5"
4523 case "(($ac_try" in
4524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4525   *) ac_try_echo=$ac_try;;
4526 esac
4527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4528 $as_echo "$ac_try_echo"; } >&5
4529   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4530   ac_status=$?
4531   if test -s conftest.err; then
4532     sed '10a\
4533 ... rest of stderr output deleted ...
4534          10q' conftest.err >conftest.er1
4535     cat conftest.er1 >&5
4536   fi
4537   rm -f conftest.er1 conftest.err
4538   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4539   test $ac_status = 0; }
4540 done
4541
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4543 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4544 if ${ac_cv_c_compiler_gnu+:} false; then :
4545   $as_echo_n "(cached) " >&6
4546 else
4547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h.  */
4549
4550 int
4551 main ()
4552 {
4553 #ifndef __GNUC__
4554        choke me
4555 #endif
4556
4557   ;
4558   return 0;
4559 }
4560 _ACEOF
4561 if ac_fn_c_try_compile "$LINENO"; then :
4562   ac_compiler_gnu=yes
4563 else
4564   ac_compiler_gnu=no
4565 fi
4566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4567 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4568
4569 fi
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4571 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4572 if test $ac_compiler_gnu = yes; then
4573   GCC=yes
4574 else
4575   GCC=
4576 fi
4577 ac_test_CFLAGS=${CFLAGS+set}
4578 ac_save_CFLAGS=$CFLAGS
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4580 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4581 if ${ac_cv_prog_cc_g+:} false; then :
4582   $as_echo_n "(cached) " >&6
4583 else
4584   ac_save_c_werror_flag=$ac_c_werror_flag
4585    ac_c_werror_flag=yes
4586    ac_cv_prog_cc_g=no
4587    CFLAGS="-g"
4588    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4589 /* end confdefs.h.  */
4590
4591 int
4592 main ()
4593 {
4594
4595   ;
4596   return 0;
4597 }
4598 _ACEOF
4599 if ac_fn_c_try_compile "$LINENO"; then :
4600   ac_cv_prog_cc_g=yes
4601 else
4602   CFLAGS=""
4603       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h.  */
4605
4606 int
4607 main ()
4608 {
4609
4610   ;
4611   return 0;
4612 }
4613 _ACEOF
4614 if ac_fn_c_try_compile "$LINENO"; then :
4615
4616 else
4617   ac_c_werror_flag=$ac_save_c_werror_flag
4618          CFLAGS="-g"
4619          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h.  */
4621
4622 int
4623 main ()
4624 {
4625
4626   ;
4627   return 0;
4628 }
4629 _ACEOF
4630 if ac_fn_c_try_compile "$LINENO"; then :
4631   ac_cv_prog_cc_g=yes
4632 fi
4633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4634 fi
4635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4636 fi
4637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4638    ac_c_werror_flag=$ac_save_c_werror_flag
4639 fi
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4641 $as_echo "$ac_cv_prog_cc_g" >&6; }
4642 if test "$ac_test_CFLAGS" = set; then
4643   CFLAGS=$ac_save_CFLAGS
4644 elif test $ac_cv_prog_cc_g = yes; then
4645   if test "$GCC" = yes; then
4646     CFLAGS="-g -O2"
4647   else
4648     CFLAGS="-g"
4649   fi
4650 else
4651   if test "$GCC" = yes; then
4652     CFLAGS="-O2"
4653   else
4654     CFLAGS=
4655   fi
4656 fi
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4658 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4659 if ${ac_cv_prog_cc_c89+:} false; then :
4660   $as_echo_n "(cached) " >&6
4661 else
4662   ac_cv_prog_cc_c89=no
4663 ac_save_CC=$CC
4664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h.  */
4666 #include <stdarg.h>
4667 #include <stdio.h>
4668 struct stat;
4669 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4670 struct buf { int x; };
4671 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4672 static char *e (p, i)
4673      char **p;
4674      int i;
4675 {
4676   return p[i];
4677 }
4678 static char *f (char * (*g) (char **, int), char **p, ...)
4679 {
4680   char *s;
4681   va_list v;
4682   va_start (v,p);
4683   s = g (p, va_arg (v,int));
4684   va_end (v);
4685   return s;
4686 }
4687
4688 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4689    function prototypes and stuff, but not '\xHH' hex character constants.
4690    These don't provoke an error unfortunately, instead are silently treated
4691    as 'x'.  The following induces an error, until -std is added to get
4692    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4693    array size at least.  It's necessary to write '\x00'==0 to get something
4694    that's true only with -std.  */
4695 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4696
4697 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4698    inside strings and character constants.  */
4699 #define FOO(x) 'x'
4700 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4701
4702 int test (int i, double x);
4703 struct s1 {int (*f) (int a);};
4704 struct s2 {int (*f) (double a);};
4705 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4706 int argc;
4707 char **argv;
4708 int
4709 main ()
4710 {
4711 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4712   ;
4713   return 0;
4714 }
4715 _ACEOF
4716 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4717         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4718 do
4719   CC="$ac_save_CC $ac_arg"
4720   if ac_fn_c_try_compile "$LINENO"; then :
4721   ac_cv_prog_cc_c89=$ac_arg
4722 fi
4723 rm -f core conftest.err conftest.$ac_objext
4724   test "x$ac_cv_prog_cc_c89" != "xno" && break
4725 done
4726 rm -f conftest.$ac_ext
4727 CC=$ac_save_CC
4728
4729 fi
4730 # AC_CACHE_VAL
4731 case "x$ac_cv_prog_cc_c89" in
4732   x)
4733     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4734 $as_echo "none needed" >&6; } ;;
4735   xno)
4736     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4737 $as_echo "unsupported" >&6; } ;;
4738   *)
4739     CC="$CC $ac_cv_prog_cc_c89"
4740     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4741 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4742 esac
4743 if test "x$ac_cv_prog_cc_c89" != xno; then :
4744
4745 fi
4746
4747 ac_ext=c
4748 ac_cpp='$CPP $CPPFLAGS'
4749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4752
4753 ac_ext=c
4754 ac_cpp='$CPP $CPPFLAGS'
4755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4759 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4760 if ${am_cv_prog_cc_c_o+:} false; then :
4761   $as_echo_n "(cached) " >&6
4762 else
4763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h.  */
4765
4766 int
4767 main ()
4768 {
4769
4770   ;
4771   return 0;
4772 }
4773 _ACEOF
4774   # Make sure it works both with $CC and with simple cc.
4775   # Following AC_PROG_CC_C_O, we do the test twice because some
4776   # compilers refuse to overwrite an existing .o file with -o,
4777   # though they will create one.
4778   am_cv_prog_cc_c_o=yes
4779   for am_i in 1 2; do
4780     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4781    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4782    ac_status=$?
4783    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784    (exit $ac_status); } \
4785          && test -f conftest2.$ac_objext; then
4786       : OK
4787     else
4788       am_cv_prog_cc_c_o=no
4789       break
4790     fi
4791   done
4792   rm -f core conftest*
4793   unset am_i
4794 fi
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4796 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4797 if test "$am_cv_prog_cc_c_o" != yes; then
4798    # Losing compiler, so override with the script.
4799    # FIXME: It is wrong to rewrite CC.
4800    # But if we don't then we get into trouble of one sort or another.
4801    # A longer-term fix would be to have automake use am__CC in this case,
4802    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4803    CC="$am_aux_dir/compile $CC"
4804 fi
4805 ac_ext=c
4806 ac_cpp='$CPP $CPPFLAGS'
4807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4810
4811
4812 depcc="$CC"   am_compiler_list=
4813
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4815 $as_echo_n "checking dependency style of $depcc... " >&6; }
4816 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4817   $as_echo_n "(cached) " >&6
4818 else
4819   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4820   # We make a subdir and do the tests there.  Otherwise we can end up
4821   # making bogus files that we don't know about and never remove.  For
4822   # instance it was reported that on HP-UX the gcc test will end up
4823   # making a dummy file named 'D' -- because '-MD' means "put the output
4824   # in D".
4825   rm -rf conftest.dir
4826   mkdir conftest.dir
4827   # Copy depcomp to subdir because otherwise we won't find it if we're
4828   # using a relative directory.
4829   cp "$am_depcomp" conftest.dir
4830   cd conftest.dir
4831   # We will build objects and dependencies in a subdirectory because
4832   # it helps to detect inapplicable dependency modes.  For instance
4833   # both Tru64's cc and ICC support -MD to output dependencies as a
4834   # side effect of compilation, but ICC will put the dependencies in
4835   # the current directory while Tru64 will put them in the object
4836   # directory.
4837   mkdir sub
4838
4839   am_cv_CC_dependencies_compiler_type=none
4840   if test "$am_compiler_list" = ""; then
4841      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4842   fi
4843   am__universal=false
4844   case " $depcc " in #(
4845      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4846      esac
4847
4848   for depmode in $am_compiler_list; do
4849     # Setup a source with many dependencies, because some compilers
4850     # like to wrap large dependency lists on column 80 (with \), and
4851     # we should not choose a depcomp mode which is confused by this.
4852     #
4853     # We need to recreate these files for each test, as the compiler may
4854     # overwrite some of them when testing with obscure command lines.
4855     # This happens at least with the AIX C compiler.
4856     : > sub/conftest.c
4857     for i in 1 2 3 4 5 6; do
4858       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4859       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4860       # Solaris 10 /bin/sh.
4861       echo '/* dummy */' > sub/conftst$i.h
4862     done
4863     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4864
4865     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4866     # mode.  It turns out that the SunPro C++ compiler does not properly
4867     # handle '-M -o', and we need to detect this.  Also, some Intel
4868     # versions had trouble with output in subdirs.
4869     am__obj=sub/conftest.${OBJEXT-o}
4870     am__minus_obj="-o $am__obj"
4871     case $depmode in
4872     gcc)
4873       # This depmode causes a compiler race in universal mode.
4874       test "$am__universal" = false || continue
4875       ;;
4876     nosideeffect)
4877       # After this tag, mechanisms are not by side-effect, so they'll
4878       # only be used when explicitly requested.
4879       if test "x$enable_dependency_tracking" = xyes; then
4880         continue
4881       else
4882         break
4883       fi
4884       ;;
4885     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4886       # This compiler won't grok '-c -o', but also, the minuso test has
4887       # not run yet.  These depmodes are late enough in the game, and
4888       # so weak that their functioning should not be impacted.
4889       am__obj=conftest.${OBJEXT-o}
4890       am__minus_obj=
4891       ;;
4892     none) break ;;
4893     esac
4894     if depmode=$depmode \
4895        source=sub/conftest.c object=$am__obj \
4896        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4897        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4898          >/dev/null 2>conftest.err &&
4899        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4900        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4901        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4902        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4903       # icc doesn't choke on unknown options, it will just issue warnings
4904       # or remarks (even with -Werror).  So we grep stderr for any message
4905       # that says an option was ignored or not supported.
4906       # When given -MP, icc 7.0 and 7.1 complain thusly:
4907       #   icc: Command line warning: ignoring option '-M'; no argument required
4908       # The diagnosis changed in icc 8.0:
4909       #   icc: Command line remark: option '-MP' not supported
4910       if (grep 'ignoring option' conftest.err ||
4911           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4912         am_cv_CC_dependencies_compiler_type=$depmode
4913         break
4914       fi
4915     fi
4916   done
4917
4918   cd ..
4919   rm -rf conftest.dir
4920 else
4921   am_cv_CC_dependencies_compiler_type=none
4922 fi
4923
4924 fi
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4926 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4927 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4928
4929  if
4930   test "x$enable_dependency_tracking" != xno \
4931   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4932   am__fastdepCC_TRUE=
4933   am__fastdepCC_FALSE='#'
4934 else
4935   am__fastdepCC_TRUE='#'
4936   am__fastdepCC_FALSE=
4937 fi
4938
4939
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4941 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4942 if ${ac_cv_path_SED+:} false; then :
4943   $as_echo_n "(cached) " >&6
4944 else
4945             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4946      for ac_i in 1 2 3 4 5 6 7; do
4947        ac_script="$ac_script$as_nl$ac_script"
4948      done
4949      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4950      { ac_script=; unset ac_script;}
4951      if test -z "$SED"; then
4952   ac_path_SED_found=false
4953   # Loop through the user's path and test for each of PROGNAME-LIST
4954   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4955 for as_dir in $PATH
4956 do
4957   IFS=$as_save_IFS
4958   test -z "$as_dir" && as_dir=.
4959     for ac_prog in sed gsed; do
4960     for ac_exec_ext in '' $ac_executable_extensions; do
4961       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4962       as_fn_executable_p "$ac_path_SED" || continue
4963 # Check for GNU ac_path_SED and select it if it is found.
4964   # Check for GNU $ac_path_SED
4965 case `"$ac_path_SED" --version 2>&1` in
4966 *GNU*)
4967   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4968 *)
4969   ac_count=0
4970   $as_echo_n 0123456789 >"conftest.in"
4971   while :
4972   do
4973     cat "conftest.in" "conftest.in" >"conftest.tmp"
4974     mv "conftest.tmp" "conftest.in"
4975     cp "conftest.in" "conftest.nl"
4976     $as_echo '' >> "conftest.nl"
4977     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4978     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4979     as_fn_arith $ac_count + 1 && ac_count=$as_val
4980     if test $ac_count -gt ${ac_path_SED_max-0}; then
4981       # Best one so far, save it but keep looking for a better one
4982       ac_cv_path_SED="$ac_path_SED"
4983       ac_path_SED_max=$ac_count
4984     fi
4985     # 10*(2^10) chars as input seems more than enough
4986     test $ac_count -gt 10 && break
4987   done
4988   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4989 esac
4990
4991       $ac_path_SED_found && break 3
4992     done
4993   done
4994   done
4995 IFS=$as_save_IFS
4996   if test -z "$ac_cv_path_SED"; then
4997     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4998   fi
4999 else
5000   ac_cv_path_SED=$SED
5001 fi
5002
5003 fi
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5005 $as_echo "$ac_cv_path_SED" >&6; }
5006  SED="$ac_cv_path_SED"
5007   rm -f conftest.sed
5008
5009 test -z "$SED" && SED=sed
5010 Xsed="$SED -e 1s/^X//"
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5023 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5024 if ${ac_cv_path_GREP+:} false; then :
5025   $as_echo_n "(cached) " >&6
5026 else
5027   if test -z "$GREP"; then
5028   ac_path_GREP_found=false
5029   # Loop through the user's path and test for each of PROGNAME-LIST
5030   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5031 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5032 do
5033   IFS=$as_save_IFS
5034   test -z "$as_dir" && as_dir=.
5035     for ac_prog in grep ggrep; do
5036     for ac_exec_ext in '' $ac_executable_extensions; do
5037       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5038       as_fn_executable_p "$ac_path_GREP" || continue
5039 # Check for GNU ac_path_GREP and select it if it is found.
5040   # Check for GNU $ac_path_GREP
5041 case `"$ac_path_GREP" --version 2>&1` in
5042 *GNU*)
5043   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5044 *)
5045   ac_count=0
5046   $as_echo_n 0123456789 >"conftest.in"
5047   while :
5048   do
5049     cat "conftest.in" "conftest.in" >"conftest.tmp"
5050     mv "conftest.tmp" "conftest.in"
5051     cp "conftest.in" "conftest.nl"
5052     $as_echo 'GREP' >> "conftest.nl"
5053     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5054     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5055     as_fn_arith $ac_count + 1 && ac_count=$as_val
5056     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5057       # Best one so far, save it but keep looking for a better one
5058       ac_cv_path_GREP="$ac_path_GREP"
5059       ac_path_GREP_max=$ac_count
5060     fi
5061     # 10*(2^10) chars as input seems more than enough
5062     test $ac_count -gt 10 && break
5063   done
5064   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5065 esac
5066
5067       $ac_path_GREP_found && break 3
5068     done
5069   done
5070   done
5071 IFS=$as_save_IFS
5072   if test -z "$ac_cv_path_GREP"; then
5073     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5074   fi
5075 else
5076   ac_cv_path_GREP=$GREP
5077 fi
5078
5079 fi
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5081 $as_echo "$ac_cv_path_GREP" >&6; }
5082  GREP="$ac_cv_path_GREP"
5083
5084
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5086 $as_echo_n "checking for egrep... " >&6; }
5087 if ${ac_cv_path_EGREP+:} false; then :
5088   $as_echo_n "(cached) " >&6
5089 else
5090   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5091    then ac_cv_path_EGREP="$GREP -E"
5092    else
5093      if test -z "$EGREP"; then
5094   ac_path_EGREP_found=false
5095   # Loop through the user's path and test for each of PROGNAME-LIST
5096   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5097 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5098 do
5099   IFS=$as_save_IFS
5100   test -z "$as_dir" && as_dir=.
5101     for ac_prog in egrep; do
5102     for ac_exec_ext in '' $ac_executable_extensions; do
5103       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5104       as_fn_executable_p "$ac_path_EGREP" || continue
5105 # Check for GNU ac_path_EGREP and select it if it is found.
5106   # Check for GNU $ac_path_EGREP
5107 case `"$ac_path_EGREP" --version 2>&1` in
5108 *GNU*)
5109   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5110 *)
5111   ac_count=0
5112   $as_echo_n 0123456789 >"conftest.in"
5113   while :
5114   do
5115     cat "conftest.in" "conftest.in" >"conftest.tmp"
5116     mv "conftest.tmp" "conftest.in"
5117     cp "conftest.in" "conftest.nl"
5118     $as_echo 'EGREP' >> "conftest.nl"
5119     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5120     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5121     as_fn_arith $ac_count + 1 && ac_count=$as_val
5122     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5123       # Best one so far, save it but keep looking for a better one
5124       ac_cv_path_EGREP="$ac_path_EGREP"
5125       ac_path_EGREP_max=$ac_count
5126     fi
5127     # 10*(2^10) chars as input seems more than enough
5128     test $ac_count -gt 10 && break
5129   done
5130   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5131 esac
5132
5133       $ac_path_EGREP_found && break 3
5134     done
5135   done
5136   done
5137 IFS=$as_save_IFS
5138   if test -z "$ac_cv_path_EGREP"; then
5139     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5140   fi
5141 else
5142   ac_cv_path_EGREP=$EGREP
5143 fi
5144
5145    fi
5146 fi
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5148 $as_echo "$ac_cv_path_EGREP" >&6; }
5149  EGREP="$ac_cv_path_EGREP"
5150
5151
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5153 $as_echo_n "checking for fgrep... " >&6; }
5154 if ${ac_cv_path_FGREP+:} false; then :
5155   $as_echo_n "(cached) " >&6
5156 else
5157   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5158    then ac_cv_path_FGREP="$GREP -F"
5159    else
5160      if test -z "$FGREP"; then
5161   ac_path_FGREP_found=false
5162   # Loop through the user's path and test for each of PROGNAME-LIST
5163   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5165 do
5166   IFS=$as_save_IFS
5167   test -z "$as_dir" && as_dir=.
5168     for ac_prog in fgrep; do
5169     for ac_exec_ext in '' $ac_executable_extensions; do
5170       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5171       as_fn_executable_p "$ac_path_FGREP" || continue
5172 # Check for GNU ac_path_FGREP and select it if it is found.
5173   # Check for GNU $ac_path_FGREP
5174 case `"$ac_path_FGREP" --version 2>&1` in
5175 *GNU*)
5176   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5177 *)
5178   ac_count=0
5179   $as_echo_n 0123456789 >"conftest.in"
5180   while :
5181   do
5182     cat "conftest.in" "conftest.in" >"conftest.tmp"
5183     mv "conftest.tmp" "conftest.in"
5184     cp "conftest.in" "conftest.nl"
5185     $as_echo 'FGREP' >> "conftest.nl"
5186     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5187     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5188     as_fn_arith $ac_count + 1 && ac_count=$as_val
5189     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5190       # Best one so far, save it but keep looking for a better one
5191       ac_cv_path_FGREP="$ac_path_FGREP"
5192       ac_path_FGREP_max=$ac_count
5193     fi
5194     # 10*(2^10) chars as input seems more than enough
5195     test $ac_count -gt 10 && break
5196   done
5197   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5198 esac
5199
5200       $ac_path_FGREP_found && break 3
5201     done
5202   done
5203   done
5204 IFS=$as_save_IFS
5205   if test -z "$ac_cv_path_FGREP"; then
5206     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5207   fi
5208 else
5209   ac_cv_path_FGREP=$FGREP
5210 fi
5211
5212    fi
5213 fi
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5215 $as_echo "$ac_cv_path_FGREP" >&6; }
5216  FGREP="$ac_cv_path_FGREP"
5217
5218
5219 test -z "$GREP" && GREP=grep
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239 # Check whether --with-gnu-ld was given.
5240 if test "${with_gnu_ld+set}" = set; then :
5241   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5242 else
5243   with_gnu_ld=no
5244 fi
5245
5246 ac_prog=ld
5247 if test "$GCC" = yes; then
5248   # Check if gcc -print-prog-name=ld gives a path.
5249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5250 $as_echo_n "checking for ld used by $CC... " >&6; }
5251   case $host in
5252   *-*-mingw*)
5253     # gcc leaves a trailing carriage return which upsets mingw
5254     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5255   *)
5256     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5257   esac
5258   case $ac_prog in
5259     # Accept absolute paths.
5260     [\\/]* | ?:[\\/]*)
5261       re_direlt='/[^/][^/]*/\.\./'
5262       # Canonicalize the pathname of ld
5263       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5264       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5265         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5266       done
5267       test -z "$LD" && LD="$ac_prog"
5268       ;;
5269   "")
5270     # If it fails, then pretend we aren't using GCC.
5271     ac_prog=ld
5272     ;;
5273   *)
5274     # If it is relative, then search for the first ld in PATH.
5275     with_gnu_ld=unknown
5276     ;;
5277   esac
5278 elif test "$with_gnu_ld" = yes; then
5279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5280 $as_echo_n "checking for GNU ld... " >&6; }
5281 else
5282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5283 $as_echo_n "checking for non-GNU ld... " >&6; }
5284 fi
5285 if ${lt_cv_path_LD+:} false; then :
5286   $as_echo_n "(cached) " >&6
5287 else
5288   if test -z "$LD"; then
5289   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5290   for ac_dir in $PATH; do
5291     IFS="$lt_save_ifs"
5292     test -z "$ac_dir" && ac_dir=.
5293     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5294       lt_cv_path_LD="$ac_dir/$ac_prog"
5295       # Check to see if the program is GNU ld.  I'd rather use --version,
5296       # but apparently some variants of GNU ld only accept -v.
5297       # Break only if it was the GNU/non-GNU ld that we prefer.
5298       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5299       *GNU* | *'with BFD'*)
5300         test "$with_gnu_ld" != no && break
5301         ;;
5302       *)
5303         test "$with_gnu_ld" != yes && break
5304         ;;
5305       esac
5306     fi
5307   done
5308   IFS="$lt_save_ifs"
5309 else
5310   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5311 fi
5312 fi
5313
5314 LD="$lt_cv_path_LD"
5315 if test -n "$LD"; then
5316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5317 $as_echo "$LD" >&6; }
5318 else
5319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5320 $as_echo "no" >&6; }
5321 fi
5322 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5324 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5325 if ${lt_cv_prog_gnu_ld+:} false; then :
5326   $as_echo_n "(cached) " >&6
5327 else
5328   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5329 case `$LD -v 2>&1 </dev/null` in
5330 *GNU* | *'with BFD'*)
5331   lt_cv_prog_gnu_ld=yes
5332   ;;
5333 *)
5334   lt_cv_prog_gnu_ld=no
5335   ;;
5336 esac
5337 fi
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5339 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5340 with_gnu_ld=$lt_cv_prog_gnu_ld
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5351 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5352 if ${lt_cv_path_NM+:} false; then :
5353   $as_echo_n "(cached) " >&6
5354 else
5355   if test -n "$NM"; then
5356   # Let the user override the test.
5357   lt_cv_path_NM="$NM"
5358 else
5359   lt_nm_to_check="${ac_tool_prefix}nm"
5360   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5361     lt_nm_to_check="$lt_nm_to_check nm"
5362   fi
5363   for lt_tmp_nm in $lt_nm_to_check; do
5364     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5365     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5366       IFS="$lt_save_ifs"
5367       test -z "$ac_dir" && ac_dir=.
5368       tmp_nm="$ac_dir/$lt_tmp_nm"
5369       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5370         # Check to see if the nm accepts a BSD-compat flag.
5371         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5372         #   nm: unknown option "B" ignored
5373         # Tru64's nm complains that /dev/null is an invalid object file
5374         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5375         */dev/null* | *'Invalid file or object type'*)
5376           lt_cv_path_NM="$tmp_nm -B"
5377           break
5378           ;;
5379         *)
5380           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5381           */dev/null*)
5382             lt_cv_path_NM="$tmp_nm -p"
5383             break
5384             ;;
5385           *)
5386             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5387             continue # so that we can try to find one that supports BSD flags
5388             ;;
5389           esac
5390           ;;
5391         esac
5392       fi
5393     done
5394     IFS="$lt_save_ifs"
5395   done
5396   : ${lt_cv_path_NM=no}
5397 fi
5398 fi
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5400 $as_echo "$lt_cv_path_NM" >&6; }
5401 if test "$lt_cv_path_NM" != "no"; then
5402   NM="$lt_cv_path_NM"
5403 else
5404   # Didn't find any BSD compatible name lister, look for dumpbin.
5405   if test -n "$DUMPBIN"; then :
5406     # Let the user override the test.
5407   else
5408     if test -n "$ac_tool_prefix"; then
5409   for ac_prog in dumpbin "link -dump"
5410   do
5411     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5412 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5414 $as_echo_n "checking for $ac_word... " >&6; }
5415 if ${ac_cv_prog_DUMPBIN+:} false; then :
5416   $as_echo_n "(cached) " >&6
5417 else
5418   if test -n "$DUMPBIN"; then
5419   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5420 else
5421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5422 for as_dir in $PATH
5423 do
5424   IFS=$as_save_IFS
5425   test -z "$as_dir" && as_dir=.
5426     for ac_exec_ext in '' $ac_executable_extensions; do
5427   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5428     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5430     break 2
5431   fi
5432 done
5433   done
5434 IFS=$as_save_IFS
5435
5436 fi
5437 fi
5438 DUMPBIN=$ac_cv_prog_DUMPBIN
5439 if test -n "$DUMPBIN"; then
5440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5441 $as_echo "$DUMPBIN" >&6; }
5442 else
5443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 $as_echo "no" >&6; }
5445 fi
5446
5447
5448     test -n "$DUMPBIN" && break
5449   done
5450 fi
5451 if test -z "$DUMPBIN"; then
5452   ac_ct_DUMPBIN=$DUMPBIN
5453   for ac_prog in dumpbin "link -dump"
5454 do
5455   # Extract the first word of "$ac_prog", so it can be a program name with args.
5456 set dummy $ac_prog; ac_word=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5460   $as_echo_n "(cached) " >&6
5461 else
5462   if test -n "$ac_ct_DUMPBIN"; then
5463   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5464 else
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH
5467 do
5468   IFS=$as_save_IFS
5469   test -z "$as_dir" && as_dir=.
5470     for ac_exec_ext in '' $ac_executable_extensions; do
5471   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5472     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5474     break 2
5475   fi
5476 done
5477   done
5478 IFS=$as_save_IFS
5479
5480 fi
5481 fi
5482 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5483 if test -n "$ac_ct_DUMPBIN"; then
5484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5485 $as_echo "$ac_ct_DUMPBIN" >&6; }
5486 else
5487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488 $as_echo "no" >&6; }
5489 fi
5490
5491
5492   test -n "$ac_ct_DUMPBIN" && break
5493 done
5494
5495   if test "x$ac_ct_DUMPBIN" = x; then
5496     DUMPBIN=":"
5497   else
5498     case $cross_compiling:$ac_tool_warned in
5499 yes:)
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5502 ac_tool_warned=yes ;;
5503 esac
5504     DUMPBIN=$ac_ct_DUMPBIN
5505   fi
5506 fi
5507
5508     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5509     *COFF*)
5510       DUMPBIN="$DUMPBIN -symbols"
5511       ;;
5512     *)
5513       DUMPBIN=:
5514       ;;
5515     esac
5516   fi
5517
5518   if test "$DUMPBIN" != ":"; then
5519     NM="$DUMPBIN"
5520   fi
5521 fi
5522 test -z "$NM" && NM=nm
5523
5524
5525
5526
5527
5528
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5530 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5531 if ${lt_cv_nm_interface+:} false; then :
5532   $as_echo_n "(cached) " >&6
5533 else
5534   lt_cv_nm_interface="BSD nm"
5535   echo "int some_variable = 0;" > conftest.$ac_ext
5536   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5537   (eval "$ac_compile" 2>conftest.err)
5538   cat conftest.err >&5
5539   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5540   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5541   cat conftest.err >&5
5542   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5543   cat conftest.out >&5
5544   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5545     lt_cv_nm_interface="MS dumpbin"
5546   fi
5547   rm -f conftest*
5548 fi
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5550 $as_echo "$lt_cv_nm_interface" >&6; }
5551
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5553 $as_echo_n "checking whether ln -s works... " >&6; }
5554 LN_S=$as_ln_s
5555 if test "$LN_S" = "ln -s"; then
5556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5557 $as_echo "yes" >&6; }
5558 else
5559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5560 $as_echo "no, using $LN_S" >&6; }
5561 fi
5562
5563 # find the maximum length of command line arguments
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5565 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5566 if ${lt_cv_sys_max_cmd_len+:} false; then :
5567   $as_echo_n "(cached) " >&6
5568 else
5569     i=0
5570   teststring="ABCD"
5571
5572   case $build_os in
5573   msdosdjgpp*)
5574     # On DJGPP, this test can blow up pretty badly due to problems in libc
5575     # (any single argument exceeding 2000 bytes causes a buffer overrun
5576     # during glob expansion).  Even if it were fixed, the result of this
5577     # check would be larger than it should be.
5578     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5579     ;;
5580
5581   gnu*)
5582     # Under GNU Hurd, this test is not required because there is
5583     # no limit to the length of command line arguments.
5584     # Libtool will interpret -1 as no limit whatsoever
5585     lt_cv_sys_max_cmd_len=-1;
5586     ;;
5587
5588   cygwin* | mingw* | cegcc*)
5589     # On Win9x/ME, this test blows up -- it succeeds, but takes
5590     # about 5 minutes as the teststring grows exponentially.
5591     # Worse, since 9x/ME are not pre-emptively multitasking,
5592     # you end up with a "frozen" computer, even though with patience
5593     # the test eventually succeeds (with a max line length of 256k).
5594     # Instead, let's just punt: use the minimum linelength reported by
5595     # all of the supported platforms: 8192 (on NT/2K/XP).
5596     lt_cv_sys_max_cmd_len=8192;
5597     ;;
5598
5599   mint*)
5600     # On MiNT this can take a long time and run out of memory.
5601     lt_cv_sys_max_cmd_len=8192;
5602     ;;
5603
5604   amigaos*)
5605     # On AmigaOS with pdksh, this test takes hours, literally.
5606     # So we just punt and use a minimum line length of 8192.
5607     lt_cv_sys_max_cmd_len=8192;
5608     ;;
5609
5610   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5611     # This has been around since 386BSD, at least.  Likely further.
5612     if test -x /sbin/sysctl; then
5613       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5614     elif test -x /usr/sbin/sysctl; then
5615       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5616     else
5617       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5618     fi
5619     # And add a safety zone
5620     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5621     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5622     ;;
5623
5624   interix*)
5625     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5626     lt_cv_sys_max_cmd_len=196608
5627     ;;
5628
5629   os2*)
5630     # The test takes a long time on OS/2.
5631     lt_cv_sys_max_cmd_len=8192
5632     ;;
5633
5634   osf*)
5635     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5636     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5637     # nice to cause kernel panics so lets avoid the loop below.
5638     # First set a reasonable default.
5639     lt_cv_sys_max_cmd_len=16384
5640     #
5641     if test -x /sbin/sysconfig; then
5642       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5643         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5644       esac
5645     fi
5646     ;;
5647   sco3.2v5*)
5648     lt_cv_sys_max_cmd_len=102400
5649     ;;
5650   sysv5* | sco5v6* | sysv4.2uw2*)
5651     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5652     if test -n "$kargmax"; then
5653       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5654     else
5655       lt_cv_sys_max_cmd_len=32768
5656     fi
5657     ;;
5658   *)
5659     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5660     if test -n "$lt_cv_sys_max_cmd_len" && \
5661         test undefined != "$lt_cv_sys_max_cmd_len"; then
5662       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5663       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5664     else
5665       # Make teststring a little bigger before we do anything with it.
5666       # a 1K string should be a reasonable start.
5667       for i in 1 2 3 4 5 6 7 8 ; do
5668         teststring=$teststring$teststring
5669       done
5670       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5671       # If test is not a shell built-in, we'll probably end up computing a
5672       # maximum length that is only half of the actual maximum length, but
5673       # we can't tell.
5674       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5675                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5676               test $i != 17 # 1/2 MB should be enough
5677       do
5678         i=`expr $i + 1`
5679         teststring=$teststring$teststring
5680       done
5681       # Only check the string length outside the loop.
5682       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5683       teststring=
5684       # Add a significant safety factor because C++ compilers can tack on
5685       # massive amounts of additional arguments before passing them to the
5686       # linker.  It appears as though 1/2 is a usable value.
5687       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5688     fi
5689     ;;
5690   esac
5691
5692 fi
5693
5694 if test -n $lt_cv_sys_max_cmd_len ; then
5695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5696 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5697 else
5698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5699 $as_echo "none" >&6; }
5700 fi
5701 max_cmd_len=$lt_cv_sys_max_cmd_len
5702
5703
5704
5705
5706
5707
5708 : ${CP="cp -f"}
5709 : ${MV="mv -f"}
5710 : ${RM="rm -f"}
5711
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5713 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5714 # Try some XSI features
5715 xsi_shell=no
5716 ( _lt_dummy="a/b/c"
5717   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5718       = c,a/b,b/c, \
5719     && eval 'test $(( 1 + 1 )) -eq 2 \
5720     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5721   && xsi_shell=yes
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5723 $as_echo "$xsi_shell" >&6; }
5724
5725
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5727 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5728 lt_shell_append=no
5729 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5730     >/dev/null 2>&1 \
5731   && lt_shell_append=yes
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5733 $as_echo "$lt_shell_append" >&6; }
5734
5735
5736 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5737   lt_unset=unset
5738 else
5739   lt_unset=false
5740 fi
5741
5742
5743
5744
5745
5746 # test EBCDIC or ASCII
5747 case `echo X|tr X '\101'` in
5748  A) # ASCII based system
5749     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5750   lt_SP2NL='tr \040 \012'
5751   lt_NL2SP='tr \015\012 \040\040'
5752   ;;
5753  *) # EBCDIC based system
5754   lt_SP2NL='tr \100 \n'
5755   lt_NL2SP='tr \r\n \100\100'
5756   ;;
5757 esac
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5768 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5769 if ${lt_cv_to_host_file_cmd+:} false; then :
5770   $as_echo_n "(cached) " >&6
5771 else
5772   case $host in
5773   *-*-mingw* )
5774     case $build in
5775       *-*-mingw* ) # actually msys
5776         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5777         ;;
5778       *-*-cygwin* )
5779         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5780         ;;
5781       * ) # otherwise, assume *nix
5782         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5783         ;;
5784     esac
5785     ;;
5786   *-*-cygwin* )
5787     case $build in
5788       *-*-mingw* ) # actually msys
5789         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5790         ;;
5791       *-*-cygwin* )
5792         lt_cv_to_host_file_cmd=func_convert_file_noop
5793         ;;
5794       * ) # otherwise, assume *nix
5795         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5796         ;;
5797     esac
5798     ;;
5799   * ) # unhandled hosts (and "normal" native builds)
5800     lt_cv_to_host_file_cmd=func_convert_file_noop
5801     ;;
5802 esac
5803
5804 fi
5805
5806 to_host_file_cmd=$lt_cv_to_host_file_cmd
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5808 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5809
5810
5811
5812
5813
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5815 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5816 if ${lt_cv_to_tool_file_cmd+:} false; then :
5817   $as_echo_n "(cached) " >&6
5818 else
5819   #assume ordinary cross tools, or native build.
5820 lt_cv_to_tool_file_cmd=func_convert_file_noop
5821 case $host in
5822   *-*-mingw* )
5823     case $build in
5824       *-*-mingw* ) # actually msys
5825         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5826         ;;
5827     esac
5828     ;;
5829 esac
5830
5831 fi
5832
5833 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5835 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5836
5837
5838
5839
5840
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5842 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5843 if ${lt_cv_ld_reload_flag+:} false; then :
5844   $as_echo_n "(cached) " >&6
5845 else
5846   lt_cv_ld_reload_flag='-r'
5847 fi
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5849 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5850 reload_flag=$lt_cv_ld_reload_flag
5851 case $reload_flag in
5852 "" | " "*) ;;
5853 *) reload_flag=" $reload_flag" ;;
5854 esac
5855 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5856 case $host_os in
5857   cygwin* | mingw* | pw32* | cegcc*)
5858     if test "$GCC" != yes; then
5859       reload_cmds=false
5860     fi
5861     ;;
5862   darwin*)
5863     if test "$GCC" = yes; then
5864       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5865     else
5866       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5867     fi
5868     ;;
5869 esac
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879 if test -n "$ac_tool_prefix"; then
5880   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5881 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5883 $as_echo_n "checking for $ac_word... " >&6; }
5884 if ${ac_cv_prog_OBJDUMP+:} false; then :
5885   $as_echo_n "(cached) " >&6
5886 else
5887   if test -n "$OBJDUMP"; then
5888   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5889 else
5890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5891 for as_dir in $PATH
5892 do
5893   IFS=$as_save_IFS
5894   test -z "$as_dir" && as_dir=.
5895     for ac_exec_ext in '' $ac_executable_extensions; do
5896   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5897     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5898     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5899     break 2
5900   fi
5901 done
5902   done
5903 IFS=$as_save_IFS
5904
5905 fi
5906 fi
5907 OBJDUMP=$ac_cv_prog_OBJDUMP
5908 if test -n "$OBJDUMP"; then
5909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5910 $as_echo "$OBJDUMP" >&6; }
5911 else
5912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913 $as_echo "no" >&6; }
5914 fi
5915
5916
5917 fi
5918 if test -z "$ac_cv_prog_OBJDUMP"; then
5919   ac_ct_OBJDUMP=$OBJDUMP
5920   # Extract the first word of "objdump", so it can be a program name with args.
5921 set dummy objdump; ac_word=$2
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923 $as_echo_n "checking for $ac_word... " >&6; }
5924 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5925   $as_echo_n "(cached) " >&6
5926 else
5927   if test -n "$ac_ct_OBJDUMP"; then
5928   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5929 else
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5931 for as_dir in $PATH
5932 do
5933   IFS=$as_save_IFS
5934   test -z "$as_dir" && as_dir=.
5935     for ac_exec_ext in '' $ac_executable_extensions; do
5936   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5937     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5939     break 2
5940   fi
5941 done
5942   done
5943 IFS=$as_save_IFS
5944
5945 fi
5946 fi
5947 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5948 if test -n "$ac_ct_OBJDUMP"; then
5949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5950 $as_echo "$ac_ct_OBJDUMP" >&6; }
5951 else
5952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5953 $as_echo "no" >&6; }
5954 fi
5955
5956   if test "x$ac_ct_OBJDUMP" = x; then
5957     OBJDUMP="false"
5958   else
5959     case $cross_compiling:$ac_tool_warned in
5960 yes:)
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5963 ac_tool_warned=yes ;;
5964 esac
5965     OBJDUMP=$ac_ct_OBJDUMP
5966   fi
5967 else
5968   OBJDUMP="$ac_cv_prog_OBJDUMP"
5969 fi
5970
5971 test -z "$OBJDUMP" && OBJDUMP=objdump
5972
5973
5974
5975
5976
5977
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5979 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5980 if ${lt_cv_deplibs_check_method+:} false; then :
5981   $as_echo_n "(cached) " >&6
5982 else
5983   lt_cv_file_magic_cmd='$MAGIC_CMD'
5984 lt_cv_file_magic_test_file=
5985 lt_cv_deplibs_check_method='unknown'
5986 # Need to set the preceding variable on all platforms that support
5987 # interlibrary dependencies.
5988 # 'none' -- dependencies not supported.
5989 # `unknown' -- same as none, but documents that we really don't know.
5990 # 'pass_all' -- all dependencies passed with no checks.
5991 # 'test_compile' -- check by making test program.
5992 # 'file_magic [[regex]]' -- check by looking for files in library path
5993 # which responds to the $file_magic_cmd with a given extended regex.
5994 # If you have `file' or equivalent on your system and you're not sure
5995 # whether `pass_all' will *always* work, you probably want this one.
5996
5997 case $host_os in
5998 aix[4-9]*)
5999   lt_cv_deplibs_check_method=pass_all
6000   ;;
6001
6002 beos*)
6003   lt_cv_deplibs_check_method=pass_all
6004   ;;
6005
6006 bsdi[45]*)
6007   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6008   lt_cv_file_magic_cmd='/usr/bin/file -L'
6009   lt_cv_file_magic_test_file=/shlib/libc.so
6010   ;;
6011
6012 cygwin*)
6013   # func_win32_libid is a shell function defined in ltmain.sh
6014   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6015   lt_cv_file_magic_cmd='func_win32_libid'
6016   ;;
6017
6018 mingw* | pw32*)
6019   # Base MSYS/MinGW do not provide the 'file' command needed by
6020   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6021   # unless we find 'file', for example because we are cross-compiling.
6022   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6023   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6024     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6025     lt_cv_file_magic_cmd='func_win32_libid'
6026   else
6027     # Keep this pattern in sync with the one in func_win32_libid.
6028     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6029     lt_cv_file_magic_cmd='$OBJDUMP -f'
6030   fi
6031   ;;
6032
6033 cegcc*)
6034   # use the weaker test based on 'objdump'. See mingw*.
6035   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6036   lt_cv_file_magic_cmd='$OBJDUMP -f'
6037   ;;
6038
6039 darwin* | rhapsody*)
6040   lt_cv_deplibs_check_method=pass_all
6041   ;;
6042
6043 freebsd* | dragonfly*)
6044   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6045     case $host_cpu in
6046     i*86 )
6047       # Not sure whether the presence of OpenBSD here was a mistake.
6048       # Let's accept both of them until this is cleared up.
6049       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6050       lt_cv_file_magic_cmd=/usr/bin/file
6051       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6052       ;;
6053     esac
6054   else
6055     lt_cv_deplibs_check_method=pass_all
6056   fi
6057   ;;
6058
6059 haiku*)
6060   lt_cv_deplibs_check_method=pass_all
6061   ;;
6062
6063 hpux10.20* | hpux11*)
6064   lt_cv_file_magic_cmd=/usr/bin/file
6065   case $host_cpu in
6066   ia64*)
6067     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6068     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6069     ;;
6070   hppa*64*)
6071     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]'
6072     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6073     ;;
6074   *)
6075     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6076     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6077     ;;
6078   esac
6079   ;;
6080
6081 interix[3-9]*)
6082   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6083   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6084   ;;
6085
6086 irix5* | irix6* | nonstopux*)
6087   case $LD in
6088   *-32|*"-32 ") libmagic=32-bit;;
6089   *-n32|*"-n32 ") libmagic=N32;;
6090   *-64|*"-64 ") libmagic=64-bit;;
6091   *) libmagic=never-match;;
6092   esac
6093   lt_cv_deplibs_check_method=pass_all
6094   ;;
6095
6096 # This must be glibc/ELF.
6097 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6098   lt_cv_deplibs_check_method=pass_all
6099   ;;
6100
6101 netbsd* | netbsdelf*-gnu)
6102   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6103     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6104   else
6105     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6106   fi
6107   ;;
6108
6109 newos6*)
6110   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6111   lt_cv_file_magic_cmd=/usr/bin/file
6112   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6113   ;;
6114
6115 *nto* | *qnx*)
6116   lt_cv_deplibs_check_method=pass_all
6117   ;;
6118
6119 openbsd*)
6120   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6121     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6122   else
6123     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6124   fi
6125   ;;
6126
6127 osf3* | osf4* | osf5*)
6128   lt_cv_deplibs_check_method=pass_all
6129   ;;
6130
6131 rdos*)
6132   lt_cv_deplibs_check_method=pass_all
6133   ;;
6134
6135 solaris*)
6136   lt_cv_deplibs_check_method=pass_all
6137   ;;
6138
6139 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6140   lt_cv_deplibs_check_method=pass_all
6141   ;;
6142
6143 sysv4 | sysv4.3*)
6144   case $host_vendor in
6145   motorola)
6146     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]'
6147     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6148     ;;
6149   ncr)
6150     lt_cv_deplibs_check_method=pass_all
6151     ;;
6152   sequent)
6153     lt_cv_file_magic_cmd='/bin/file'
6154     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6155     ;;
6156   sni)
6157     lt_cv_file_magic_cmd='/bin/file'
6158     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6159     lt_cv_file_magic_test_file=/lib/libc.so
6160     ;;
6161   siemens)
6162     lt_cv_deplibs_check_method=pass_all
6163     ;;
6164   pc)
6165     lt_cv_deplibs_check_method=pass_all
6166     ;;
6167   esac
6168   ;;
6169
6170 tpf*)
6171   lt_cv_deplibs_check_method=pass_all
6172   ;;
6173 esac
6174
6175 fi
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6177 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6178
6179 file_magic_glob=
6180 want_nocaseglob=no
6181 if test "$build" = "$host"; then
6182   case $host_os in
6183   mingw* | pw32*)
6184     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6185       want_nocaseglob=yes
6186     else
6187       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6188     fi
6189     ;;
6190   esac
6191 fi
6192
6193 file_magic_cmd=$lt_cv_file_magic_cmd
6194 deplibs_check_method=$lt_cv_deplibs_check_method
6195 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218 if test -n "$ac_tool_prefix"; then
6219   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6220 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6222 $as_echo_n "checking for $ac_word... " >&6; }
6223 if ${ac_cv_prog_DLLTOOL+:} false; then :
6224   $as_echo_n "(cached) " >&6
6225 else
6226   if test -n "$DLLTOOL"; then
6227   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6228 else
6229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6230 for as_dir in $PATH
6231 do
6232   IFS=$as_save_IFS
6233   test -z "$as_dir" && as_dir=.
6234     for ac_exec_ext in '' $ac_executable_extensions; do
6235   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6236     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6238     break 2
6239   fi
6240 done
6241   done
6242 IFS=$as_save_IFS
6243
6244 fi
6245 fi
6246 DLLTOOL=$ac_cv_prog_DLLTOOL
6247 if test -n "$DLLTOOL"; then
6248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6249 $as_echo "$DLLTOOL" >&6; }
6250 else
6251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6252 $as_echo "no" >&6; }
6253 fi
6254
6255
6256 fi
6257 if test -z "$ac_cv_prog_DLLTOOL"; then
6258   ac_ct_DLLTOOL=$DLLTOOL
6259   # Extract the first word of "dlltool", so it can be a program name with args.
6260 set dummy dlltool; ac_word=$2
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6262 $as_echo_n "checking for $ac_word... " >&6; }
6263 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6264   $as_echo_n "(cached) " >&6
6265 else
6266   if test -n "$ac_ct_DLLTOOL"; then
6267   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6268 else
6269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6270 for as_dir in $PATH
6271 do
6272   IFS=$as_save_IFS
6273   test -z "$as_dir" && as_dir=.
6274     for ac_exec_ext in '' $ac_executable_extensions; do
6275   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6276     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6277     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6278     break 2
6279   fi
6280 done
6281   done
6282 IFS=$as_save_IFS
6283
6284 fi
6285 fi
6286 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6287 if test -n "$ac_ct_DLLTOOL"; then
6288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6289 $as_echo "$ac_ct_DLLTOOL" >&6; }
6290 else
6291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6292 $as_echo "no" >&6; }
6293 fi
6294
6295   if test "x$ac_ct_DLLTOOL" = x; then
6296     DLLTOOL="false"
6297   else
6298     case $cross_compiling:$ac_tool_warned in
6299 yes:)
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6302 ac_tool_warned=yes ;;
6303 esac
6304     DLLTOOL=$ac_ct_DLLTOOL
6305   fi
6306 else
6307   DLLTOOL="$ac_cv_prog_DLLTOOL"
6308 fi
6309
6310 test -z "$DLLTOOL" && DLLTOOL=dlltool
6311
6312
6313
6314
6315
6316
6317
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6319 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6320 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6321   $as_echo_n "(cached) " >&6
6322 else
6323   lt_cv_sharedlib_from_linklib_cmd='unknown'
6324
6325 case $host_os in
6326 cygwin* | mingw* | pw32* | cegcc*)
6327   # two different shell functions defined in ltmain.sh
6328   # decide which to use based on capabilities of $DLLTOOL
6329   case `$DLLTOOL --help 2>&1` in
6330   *--identify-strict*)
6331     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6332     ;;
6333   *)
6334     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6335     ;;
6336   esac
6337   ;;
6338 *)
6339   # fallback: assume linklib IS sharedlib
6340   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6341   ;;
6342 esac
6343
6344 fi
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6346 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6347 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6348 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6349
6350
6351
6352
6353
6354
6355
6356
6357 if test -n "$ac_tool_prefix"; then
6358   for ac_prog in ar
6359   do
6360     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6361 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6363 $as_echo_n "checking for $ac_word... " >&6; }
6364 if ${ac_cv_prog_AR+:} false; then :
6365   $as_echo_n "(cached) " >&6
6366 else
6367   if test -n "$AR"; then
6368   ac_cv_prog_AR="$AR" # Let the user override the test.
6369 else
6370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6371 for as_dir in $PATH
6372 do
6373   IFS=$as_save_IFS
6374   test -z "$as_dir" && as_dir=.
6375     for ac_exec_ext in '' $ac_executable_extensions; do
6376   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6377     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6378     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6379     break 2
6380   fi
6381 done
6382   done
6383 IFS=$as_save_IFS
6384
6385 fi
6386 fi
6387 AR=$ac_cv_prog_AR
6388 if test -n "$AR"; then
6389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6390 $as_echo "$AR" >&6; }
6391 else
6392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6393 $as_echo "no" >&6; }
6394 fi
6395
6396
6397     test -n "$AR" && break
6398   done
6399 fi
6400 if test -z "$AR"; then
6401   ac_ct_AR=$AR
6402   for ac_prog in ar
6403 do
6404   # Extract the first word of "$ac_prog", so it can be a program name with args.
6405 set dummy $ac_prog; ac_word=$2
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6407 $as_echo_n "checking for $ac_word... " >&6; }
6408 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6409   $as_echo_n "(cached) " >&6
6410 else
6411   if test -n "$ac_ct_AR"; then
6412   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6413 else
6414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6415 for as_dir in $PATH
6416 do
6417   IFS=$as_save_IFS
6418   test -z "$as_dir" && as_dir=.
6419     for ac_exec_ext in '' $ac_executable_extensions; do
6420   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6421     ac_cv_prog_ac_ct_AR="$ac_prog"
6422     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6423     break 2
6424   fi
6425 done
6426   done
6427 IFS=$as_save_IFS
6428
6429 fi
6430 fi
6431 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6432 if test -n "$ac_ct_AR"; then
6433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6434 $as_echo "$ac_ct_AR" >&6; }
6435 else
6436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6437 $as_echo "no" >&6; }
6438 fi
6439
6440
6441   test -n "$ac_ct_AR" && break
6442 done
6443
6444   if test "x$ac_ct_AR" = x; then
6445     AR="false"
6446   else
6447     case $cross_compiling:$ac_tool_warned in
6448 yes:)
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6451 ac_tool_warned=yes ;;
6452 esac
6453     AR=$ac_ct_AR
6454   fi
6455 fi
6456
6457 : ${AR=ar}
6458 : ${AR_FLAGS=cru}
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6471 $as_echo_n "checking for archiver @FILE support... " >&6; }
6472 if ${lt_cv_ar_at_file+:} false; then :
6473   $as_echo_n "(cached) " >&6
6474 else
6475   lt_cv_ar_at_file=no
6476    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6477 /* end confdefs.h.  */
6478
6479 int
6480 main ()
6481 {
6482
6483   ;
6484   return 0;
6485 }
6486 _ACEOF
6487 if ac_fn_c_try_compile "$LINENO"; then :
6488   echo conftest.$ac_objext > conftest.lst
6489       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6490       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6491   (eval $lt_ar_try) 2>&5
6492   ac_status=$?
6493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6494   test $ac_status = 0; }
6495       if test "$ac_status" -eq 0; then
6496         # Ensure the archiver fails upon bogus file names.
6497         rm -f conftest.$ac_objext libconftest.a
6498         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6499   (eval $lt_ar_try) 2>&5
6500   ac_status=$?
6501   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6502   test $ac_status = 0; }
6503         if test "$ac_status" -ne 0; then
6504           lt_cv_ar_at_file=@
6505         fi
6506       fi
6507       rm -f conftest.* libconftest.a
6508
6509 fi
6510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6511
6512 fi
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6514 $as_echo "$lt_cv_ar_at_file" >&6; }
6515
6516 if test "x$lt_cv_ar_at_file" = xno; then
6517   archiver_list_spec=
6518 else
6519   archiver_list_spec=$lt_cv_ar_at_file
6520 fi
6521
6522
6523
6524
6525
6526
6527
6528 if test -n "$ac_tool_prefix"; then
6529   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6530 set dummy ${ac_tool_prefix}strip; ac_word=$2
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6532 $as_echo_n "checking for $ac_word... " >&6; }
6533 if ${ac_cv_prog_STRIP+:} false; then :
6534   $as_echo_n "(cached) " >&6
6535 else
6536   if test -n "$STRIP"; then
6537   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6538 else
6539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6540 for as_dir in $PATH
6541 do
6542   IFS=$as_save_IFS
6543   test -z "$as_dir" && as_dir=.
6544     for ac_exec_ext in '' $ac_executable_extensions; do
6545   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6546     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6548     break 2
6549   fi
6550 done
6551   done
6552 IFS=$as_save_IFS
6553
6554 fi
6555 fi
6556 STRIP=$ac_cv_prog_STRIP
6557 if test -n "$STRIP"; then
6558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6559 $as_echo "$STRIP" >&6; }
6560 else
6561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6562 $as_echo "no" >&6; }
6563 fi
6564
6565
6566 fi
6567 if test -z "$ac_cv_prog_STRIP"; then
6568   ac_ct_STRIP=$STRIP
6569   # Extract the first word of "strip", so it can be a program name with args.
6570 set dummy strip; ac_word=$2
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6572 $as_echo_n "checking for $ac_word... " >&6; }
6573 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6574   $as_echo_n "(cached) " >&6
6575 else
6576   if test -n "$ac_ct_STRIP"; then
6577   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6578 else
6579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6580 for as_dir in $PATH
6581 do
6582   IFS=$as_save_IFS
6583   test -z "$as_dir" && as_dir=.
6584     for ac_exec_ext in '' $ac_executable_extensions; do
6585   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6586     ac_cv_prog_ac_ct_STRIP="strip"
6587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6588     break 2
6589   fi
6590 done
6591   done
6592 IFS=$as_save_IFS
6593
6594 fi
6595 fi
6596 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6597 if test -n "$ac_ct_STRIP"; then
6598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6599 $as_echo "$ac_ct_STRIP" >&6; }
6600 else
6601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6602 $as_echo "no" >&6; }
6603 fi
6604
6605   if test "x$ac_ct_STRIP" = x; then
6606     STRIP=":"
6607   else
6608     case $cross_compiling:$ac_tool_warned in
6609 yes:)
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6612 ac_tool_warned=yes ;;
6613 esac
6614     STRIP=$ac_ct_STRIP
6615   fi
6616 else
6617   STRIP="$ac_cv_prog_STRIP"
6618 fi
6619
6620 test -z "$STRIP" && STRIP=:
6621
6622
6623
6624
6625
6626
6627 if test -n "$ac_tool_prefix"; then
6628   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6629 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6631 $as_echo_n "checking for $ac_word... " >&6; }
6632 if ${ac_cv_prog_RANLIB+:} false; then :
6633   $as_echo_n "(cached) " >&6
6634 else
6635   if test -n "$RANLIB"; then
6636   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6637 else
6638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6639 for as_dir in $PATH
6640 do
6641   IFS=$as_save_IFS
6642   test -z "$as_dir" && as_dir=.
6643     for ac_exec_ext in '' $ac_executable_extensions; do
6644   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6645     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6646     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6647     break 2
6648   fi
6649 done
6650   done
6651 IFS=$as_save_IFS
6652
6653 fi
6654 fi
6655 RANLIB=$ac_cv_prog_RANLIB
6656 if test -n "$RANLIB"; then
6657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6658 $as_echo "$RANLIB" >&6; }
6659 else
6660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6661 $as_echo "no" >&6; }
6662 fi
6663
6664
6665 fi
6666 if test -z "$ac_cv_prog_RANLIB"; then
6667   ac_ct_RANLIB=$RANLIB
6668   # Extract the first word of "ranlib", so it can be a program name with args.
6669 set dummy ranlib; ac_word=$2
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6671 $as_echo_n "checking for $ac_word... " >&6; }
6672 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6673   $as_echo_n "(cached) " >&6
6674 else
6675   if test -n "$ac_ct_RANLIB"; then
6676   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6677 else
6678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6679 for as_dir in $PATH
6680 do
6681   IFS=$as_save_IFS
6682   test -z "$as_dir" && as_dir=.
6683     for ac_exec_ext in '' $ac_executable_extensions; do
6684   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6685     ac_cv_prog_ac_ct_RANLIB="ranlib"
6686     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6687     break 2
6688   fi
6689 done
6690   done
6691 IFS=$as_save_IFS
6692
6693 fi
6694 fi
6695 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6696 if test -n "$ac_ct_RANLIB"; then
6697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6698 $as_echo "$ac_ct_RANLIB" >&6; }
6699 else
6700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6701 $as_echo "no" >&6; }
6702 fi
6703
6704   if test "x$ac_ct_RANLIB" = x; then
6705     RANLIB=":"
6706   else
6707     case $cross_compiling:$ac_tool_warned in
6708 yes:)
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6711 ac_tool_warned=yes ;;
6712 esac
6713     RANLIB=$ac_ct_RANLIB
6714   fi
6715 else
6716   RANLIB="$ac_cv_prog_RANLIB"
6717 fi
6718
6719 test -z "$RANLIB" && RANLIB=:
6720
6721
6722
6723
6724
6725
6726 # Determine commands to create old-style static archives.
6727 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6728 old_postinstall_cmds='chmod 644 $oldlib'
6729 old_postuninstall_cmds=
6730
6731 if test -n "$RANLIB"; then
6732   case $host_os in
6733   openbsd*)
6734     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6735     ;;
6736   *)
6737     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6738     ;;
6739   esac
6740   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6741 fi
6742
6743 case $host_os in
6744   darwin*)
6745     lock_old_archive_extraction=yes ;;
6746   *)
6747     lock_old_archive_extraction=no ;;
6748 esac
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788 # If no C compiler was specified, use CC.
6789 LTCC=${LTCC-"$CC"}
6790
6791 # If no C compiler flags were specified, use CFLAGS.
6792 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6793
6794 # Allow CC to be a program name with arguments.
6795 compiler=$CC
6796
6797
6798 # Check for command to grab the raw symbol name followed by C symbol from nm.
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6800 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6801 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6802   $as_echo_n "(cached) " >&6
6803 else
6804
6805 # These are sane defaults that work on at least a few old systems.
6806 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6807
6808 # Character class describing NM global symbol codes.
6809 symcode='[BCDEGRST]'
6810
6811 # Regexp to match symbols that can be accessed directly from C.
6812 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6813
6814 # Define system-specific variables.
6815 case $host_os in
6816 aix*)
6817   symcode='[BCDT]'
6818   ;;
6819 cygwin* | mingw* | pw32* | cegcc*)
6820   symcode='[ABCDGISTW]'
6821   ;;
6822 hpux*)
6823   if test "$host_cpu" = ia64; then
6824     symcode='[ABCDEGRST]'
6825   fi
6826   ;;
6827 irix* | nonstopux*)
6828   symcode='[BCDEGRST]'
6829   ;;
6830 osf*)
6831   symcode='[BCDEGQRST]'
6832   ;;
6833 solaris*)
6834   symcode='[BDRT]'
6835   ;;
6836 sco3.2v5*)
6837   symcode='[DT]'
6838   ;;
6839 sysv4.2uw2*)
6840   symcode='[DT]'
6841   ;;
6842 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6843   symcode='[ABDT]'
6844   ;;
6845 sysv4)
6846   symcode='[DFNSTU]'
6847   ;;
6848 esac
6849
6850 # If we're using GNU nm, then use its standard symbol codes.
6851 case `$NM -V 2>&1` in
6852 *GNU* | *'with BFD'*)
6853   symcode='[ABCDGIRSTW]' ;;
6854 esac
6855
6856 # Transform an extracted symbol line into a proper C declaration.
6857 # Some systems (esp. on ia64) link data and code symbols differently,
6858 # so use this general approach.
6859 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6860
6861 # Transform an extracted symbol line into symbol name and symbol address
6862 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6863 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'"
6864
6865 # Handle CRLF in mingw tool chain
6866 opt_cr=
6867 case $build_os in
6868 mingw*)
6869   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6870   ;;
6871 esac
6872
6873 # Try without a prefix underscore, then with it.
6874 for ac_symprfx in "" "_"; do
6875
6876   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6877   symxfrm="\\1 $ac_symprfx\\2 \\2"
6878
6879   # Write the raw and C identifiers.
6880   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6881     # Fake it for dumpbin and say T for any non-static function
6882     # and D for any global variable.
6883     # Also find C++ and __fastcall symbols from MSVC++,
6884     # which start with @ or ?.
6885     lt_cv_sys_global_symbol_pipe="$AWK '"\
6886 "     {last_section=section; section=\$ 3};"\
6887 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6888 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6889 "     \$ 0!~/External *\|/{next};"\
6890 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6891 "     {if(hide[section]) next};"\
6892 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6893 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6894 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6895 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6896 "     ' prfx=^$ac_symprfx"
6897   else
6898     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6899   fi
6900   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6901
6902   # Check to see that the pipe works correctly.
6903   pipe_works=no
6904
6905   rm -f conftest*
6906   cat > conftest.$ac_ext <<_LT_EOF
6907 #ifdef __cplusplus
6908 extern "C" {
6909 #endif
6910 char nm_test_var;
6911 void nm_test_func(void);
6912 void nm_test_func(void){}
6913 #ifdef __cplusplus
6914 }
6915 #endif
6916 int main(){nm_test_var='a';nm_test_func();return(0);}
6917 _LT_EOF
6918
6919   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6920   (eval $ac_compile) 2>&5
6921   ac_status=$?
6922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6923   test $ac_status = 0; }; then
6924     # Now try to grab the symbols.
6925     nlist=conftest.nm
6926     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6927   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6928   ac_status=$?
6929   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6930   test $ac_status = 0; } && test -s "$nlist"; then
6931       # Try sorting and uniquifying the output.
6932       if sort "$nlist" | uniq > "$nlist"T; then
6933         mv -f "$nlist"T "$nlist"
6934       else
6935         rm -f "$nlist"T
6936       fi
6937
6938       # Make sure that we snagged all the symbols we need.
6939       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6940         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6941           cat <<_LT_EOF > conftest.$ac_ext
6942 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6943 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6944 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6945    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6946 # define LT_DLSYM_CONST
6947 #elif defined(__osf__)
6948 /* This system does not cope well with relocations in const data.  */
6949 # define LT_DLSYM_CONST
6950 #else
6951 # define LT_DLSYM_CONST const
6952 #endif
6953
6954 #ifdef __cplusplus
6955 extern "C" {
6956 #endif
6957
6958 _LT_EOF
6959           # Now generate the symbol file.
6960           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6961
6962           cat <<_LT_EOF >> conftest.$ac_ext
6963
6964 /* The mapping between symbol names and symbols.  */
6965 LT_DLSYM_CONST struct {
6966   const char *name;
6967   void       *address;
6968 }
6969 lt__PROGRAM__LTX_preloaded_symbols[] =
6970 {
6971   { "@PROGRAM@", (void *) 0 },
6972 _LT_EOF
6973           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6974           cat <<\_LT_EOF >> conftest.$ac_ext
6975   {0, (void *) 0}
6976 };
6977
6978 /* This works around a problem in FreeBSD linker */
6979 #ifdef FREEBSD_WORKAROUND
6980 static const void *lt_preloaded_setup() {
6981   return lt__PROGRAM__LTX_preloaded_symbols;
6982 }
6983 #endif
6984
6985 #ifdef __cplusplus
6986 }
6987 #endif
6988 _LT_EOF
6989           # Now try linking the two files.
6990           mv conftest.$ac_objext conftstm.$ac_objext
6991           lt_globsym_save_LIBS=$LIBS
6992           lt_globsym_save_CFLAGS=$CFLAGS
6993           LIBS="conftstm.$ac_objext"
6994           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6995           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6996   (eval $ac_link) 2>&5
6997   ac_status=$?
6998   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6999   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7000             pipe_works=yes
7001           fi
7002           LIBS=$lt_globsym_save_LIBS
7003           CFLAGS=$lt_globsym_save_CFLAGS
7004         else
7005           echo "cannot find nm_test_func in $nlist" >&5
7006         fi
7007       else
7008         echo "cannot find nm_test_var in $nlist" >&5
7009       fi
7010     else
7011       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7012     fi
7013   else
7014     echo "$progname: failed program was:" >&5
7015     cat conftest.$ac_ext >&5
7016   fi
7017   rm -rf conftest* conftst*
7018
7019   # Do not use the global_symbol_pipe unless it works.
7020   if test "$pipe_works" = yes; then
7021     break
7022   else
7023     lt_cv_sys_global_symbol_pipe=
7024   fi
7025 done
7026
7027 fi
7028
7029 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7030   lt_cv_sys_global_symbol_to_cdecl=
7031 fi
7032 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7034 $as_echo "failed" >&6; }
7035 else
7036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7037 $as_echo "ok" >&6; }
7038 fi
7039
7040 # Response file support.
7041 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7042   nm_file_list_spec='@'
7043 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7044   nm_file_list_spec='@'
7045 fi
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7074 $as_echo_n "checking for sysroot... " >&6; }
7075
7076 # Check whether --with-sysroot was given.
7077 if test "${with_sysroot+set}" = set; then :
7078   withval=$with_sysroot;
7079 else
7080   with_sysroot=no
7081 fi
7082
7083
7084 lt_sysroot=
7085 case ${with_sysroot} in #(
7086  yes)
7087    if test "$GCC" = yes; then
7088      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7089    fi
7090    ;; #(
7091  /*)
7092    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7093    ;; #(
7094  no|'')
7095    ;; #(
7096  *)
7097    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7098 $as_echo "${with_sysroot}" >&6; }
7099    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7100    ;;
7101 esac
7102
7103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7104 $as_echo "${lt_sysroot:-no}" >&6; }
7105
7106
7107
7108
7109
7110 # Check whether --enable-libtool-lock was given.
7111 if test "${enable_libtool_lock+set}" = set; then :
7112   enableval=$enable_libtool_lock;
7113 fi
7114
7115 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7116
7117 # Some flags need to be propagated to the compiler or linker for good
7118 # libtool support.
7119 case $host in
7120 ia64-*-hpux*)
7121   # Find out which ABI we are using.
7122   echo 'int i;' > conftest.$ac_ext
7123   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7124   (eval $ac_compile) 2>&5
7125   ac_status=$?
7126   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7127   test $ac_status = 0; }; then
7128     case `/usr/bin/file conftest.$ac_objext` in
7129       *ELF-32*)
7130         HPUX_IA64_MODE="32"
7131         ;;
7132       *ELF-64*)
7133         HPUX_IA64_MODE="64"
7134         ;;
7135     esac
7136   fi
7137   rm -rf conftest*
7138   ;;
7139 *-*-irix6*)
7140   # Find out which ABI we are using.
7141   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7142   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7143   (eval $ac_compile) 2>&5
7144   ac_status=$?
7145   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7146   test $ac_status = 0; }; then
7147     if test "$lt_cv_prog_gnu_ld" = yes; then
7148       case `/usr/bin/file conftest.$ac_objext` in
7149         *32-bit*)
7150           LD="${LD-ld} -melf32bsmip"
7151           ;;
7152         *N32*)
7153           LD="${LD-ld} -melf32bmipn32"
7154           ;;
7155         *64-bit*)
7156           LD="${LD-ld} -melf64bmip"
7157         ;;
7158       esac
7159     else
7160       case `/usr/bin/file conftest.$ac_objext` in
7161         *32-bit*)
7162           LD="${LD-ld} -32"
7163           ;;
7164         *N32*)
7165           LD="${LD-ld} -n32"
7166           ;;
7167         *64-bit*)
7168           LD="${LD-ld} -64"
7169           ;;
7170       esac
7171     fi
7172   fi
7173   rm -rf conftest*
7174   ;;
7175
7176 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7177 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7178   # Find out which ABI we are using.
7179   echo 'int i;' > conftest.$ac_ext
7180   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7181   (eval $ac_compile) 2>&5
7182   ac_status=$?
7183   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7184   test $ac_status = 0; }; then
7185     case `/usr/bin/file conftest.o` in
7186       *32-bit*)
7187         case $host in
7188           x86_64-*kfreebsd*-gnu)
7189             LD="${LD-ld} -m elf_i386_fbsd"
7190             ;;
7191           x86_64-*linux*)
7192             case `/usr/bin/file conftest.o` in
7193               *x86-64*)
7194                 LD="${LD-ld} -m elf32_x86_64"
7195                 ;;
7196               *)
7197                 LD="${LD-ld} -m elf_i386"
7198                 ;;
7199             esac
7200             ;;
7201           powerpc64le-*)
7202             LD="${LD-ld} -m elf32lppclinux"
7203             ;;
7204           powerpc64-*)
7205             LD="${LD-ld} -m elf32ppclinux"
7206             ;;
7207           s390x-*linux*)
7208             LD="${LD-ld} -m elf_s390"
7209             ;;
7210           sparc64-*linux*)
7211             LD="${LD-ld} -m elf32_sparc"
7212             ;;
7213         esac
7214         ;;
7215       *64-bit*)
7216         case $host in
7217           x86_64-*kfreebsd*-gnu)
7218             LD="${LD-ld} -m elf_x86_64_fbsd"
7219             ;;
7220           x86_64-*linux*)
7221             LD="${LD-ld} -m elf_x86_64"
7222             ;;
7223           powerpcle-*)
7224             LD="${LD-ld} -m elf64lppc"
7225             ;;
7226           powerpc-*)
7227             LD="${LD-ld} -m elf64ppc"
7228             ;;
7229           s390*-*linux*|s390*-*tpf*)
7230             LD="${LD-ld} -m elf64_s390"
7231             ;;
7232           sparc*-*linux*)
7233             LD="${LD-ld} -m elf64_sparc"
7234             ;;
7235         esac
7236         ;;
7237     esac
7238   fi
7239   rm -rf conftest*
7240   ;;
7241
7242 *-*-sco3.2v5*)
7243   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7244   SAVE_CFLAGS="$CFLAGS"
7245   CFLAGS="$CFLAGS -belf"
7246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7247 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7248 if ${lt_cv_cc_needs_belf+:} false; then :
7249   $as_echo_n "(cached) " >&6
7250 else
7251   ac_ext=c
7252 ac_cpp='$CPP $CPPFLAGS'
7253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7256
7257      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7258 /* end confdefs.h.  */
7259
7260 int
7261 main ()
7262 {
7263
7264   ;
7265   return 0;
7266 }
7267 _ACEOF
7268 if ac_fn_c_try_link "$LINENO"; then :
7269   lt_cv_cc_needs_belf=yes
7270 else
7271   lt_cv_cc_needs_belf=no
7272 fi
7273 rm -f core conftest.err conftest.$ac_objext \
7274     conftest$ac_exeext conftest.$ac_ext
7275      ac_ext=c
7276 ac_cpp='$CPP $CPPFLAGS'
7277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7280
7281 fi
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7283 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7284   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7285     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7286     CFLAGS="$SAVE_CFLAGS"
7287   fi
7288   ;;
7289 *-*solaris*)
7290   # Find out which ABI we are using.
7291   echo 'int i;' > conftest.$ac_ext
7292   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7293   (eval $ac_compile) 2>&5
7294   ac_status=$?
7295   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7296   test $ac_status = 0; }; then
7297     case `/usr/bin/file conftest.o` in
7298     *64-bit*)
7299       case $lt_cv_prog_gnu_ld in
7300       yes*)
7301         case $host in
7302         i?86-*-solaris*)
7303           LD="${LD-ld} -m elf_x86_64"
7304           ;;
7305         sparc*-*-solaris*)
7306           LD="${LD-ld} -m elf64_sparc"
7307           ;;
7308         esac
7309         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7310         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7311           LD="${LD-ld}_sol2"
7312         fi
7313         ;;
7314       *)
7315         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7316           LD="${LD-ld} -64"
7317         fi
7318         ;;
7319       esac
7320       ;;
7321     esac
7322   fi
7323   rm -rf conftest*
7324   ;;
7325 esac
7326
7327 need_locks="$enable_libtool_lock"
7328
7329 if test -n "$ac_tool_prefix"; then
7330   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7331 set dummy ${ac_tool_prefix}mt; ac_word=$2
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7333 $as_echo_n "checking for $ac_word... " >&6; }
7334 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7335   $as_echo_n "(cached) " >&6
7336 else
7337   if test -n "$MANIFEST_TOOL"; then
7338   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7339 else
7340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7341 for as_dir in $PATH
7342 do
7343   IFS=$as_save_IFS
7344   test -z "$as_dir" && as_dir=.
7345     for ac_exec_ext in '' $ac_executable_extensions; do
7346   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7347     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7349     break 2
7350   fi
7351 done
7352   done
7353 IFS=$as_save_IFS
7354
7355 fi
7356 fi
7357 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7358 if test -n "$MANIFEST_TOOL"; then
7359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7360 $as_echo "$MANIFEST_TOOL" >&6; }
7361 else
7362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7363 $as_echo "no" >&6; }
7364 fi
7365
7366
7367 fi
7368 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7369   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7370   # Extract the first word of "mt", so it can be a program name with args.
7371 set dummy mt; ac_word=$2
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7373 $as_echo_n "checking for $ac_word... " >&6; }
7374 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7375   $as_echo_n "(cached) " >&6
7376 else
7377   if test -n "$ac_ct_MANIFEST_TOOL"; then
7378   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7379 else
7380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7381 for as_dir in $PATH
7382 do
7383   IFS=$as_save_IFS
7384   test -z "$as_dir" && as_dir=.
7385     for ac_exec_ext in '' $ac_executable_extensions; do
7386   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7387     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7389     break 2
7390   fi
7391 done
7392   done
7393 IFS=$as_save_IFS
7394
7395 fi
7396 fi
7397 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7398 if test -n "$ac_ct_MANIFEST_TOOL"; then
7399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7400 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7401 else
7402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7403 $as_echo "no" >&6; }
7404 fi
7405
7406   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7407     MANIFEST_TOOL=":"
7408   else
7409     case $cross_compiling:$ac_tool_warned in
7410 yes:)
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7413 ac_tool_warned=yes ;;
7414 esac
7415     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7416   fi
7417 else
7418   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7419 fi
7420
7421 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7423 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7424 if ${lt_cv_path_mainfest_tool+:} false; then :
7425   $as_echo_n "(cached) " >&6
7426 else
7427   lt_cv_path_mainfest_tool=no
7428   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7429   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7430   cat conftest.err >&5
7431   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7432     lt_cv_path_mainfest_tool=yes
7433   fi
7434   rm -f conftest*
7435 fi
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7437 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7438 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7439   MANIFEST_TOOL=:
7440 fi
7441
7442
7443
7444
7445
7446
7447   case $host_os in
7448     rhapsody* | darwin*)
7449     if test -n "$ac_tool_prefix"; then
7450   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7451 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7453 $as_echo_n "checking for $ac_word... " >&6; }
7454 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7455   $as_echo_n "(cached) " >&6
7456 else
7457   if test -n "$DSYMUTIL"; then
7458   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7459 else
7460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7461 for as_dir in $PATH
7462 do
7463   IFS=$as_save_IFS
7464   test -z "$as_dir" && as_dir=.
7465     for ac_exec_ext in '' $ac_executable_extensions; do
7466   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7467     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7468     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7469     break 2
7470   fi
7471 done
7472   done
7473 IFS=$as_save_IFS
7474
7475 fi
7476 fi
7477 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7478 if test -n "$DSYMUTIL"; then
7479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7480 $as_echo "$DSYMUTIL" >&6; }
7481 else
7482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7483 $as_echo "no" >&6; }
7484 fi
7485
7486
7487 fi
7488 if test -z "$ac_cv_prog_DSYMUTIL"; then
7489   ac_ct_DSYMUTIL=$DSYMUTIL
7490   # Extract the first word of "dsymutil", so it can be a program name with args.
7491 set dummy dsymutil; ac_word=$2
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7493 $as_echo_n "checking for $ac_word... " >&6; }
7494 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7495   $as_echo_n "(cached) " >&6
7496 else
7497   if test -n "$ac_ct_DSYMUTIL"; then
7498   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7499 else
7500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7501 for as_dir in $PATH
7502 do
7503   IFS=$as_save_IFS
7504   test -z "$as_dir" && as_dir=.
7505     for ac_exec_ext in '' $ac_executable_extensions; do
7506   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7507     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7508     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7509     break 2
7510   fi
7511 done
7512   done
7513 IFS=$as_save_IFS
7514
7515 fi
7516 fi
7517 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7518 if test -n "$ac_ct_DSYMUTIL"; then
7519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7520 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7521 else
7522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7523 $as_echo "no" >&6; }
7524 fi
7525
7526   if test "x$ac_ct_DSYMUTIL" = x; then
7527     DSYMUTIL=":"
7528   else
7529     case $cross_compiling:$ac_tool_warned in
7530 yes:)
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7532 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7533 ac_tool_warned=yes ;;
7534 esac
7535     DSYMUTIL=$ac_ct_DSYMUTIL
7536   fi
7537 else
7538   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7539 fi
7540
7541     if test -n "$ac_tool_prefix"; then
7542   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7543 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7545 $as_echo_n "checking for $ac_word... " >&6; }
7546 if ${ac_cv_prog_NMEDIT+:} false; then :
7547   $as_echo_n "(cached) " >&6
7548 else
7549   if test -n "$NMEDIT"; then
7550   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7551 else
7552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7553 for as_dir in $PATH
7554 do
7555   IFS=$as_save_IFS
7556   test -z "$as_dir" && as_dir=.
7557     for ac_exec_ext in '' $ac_executable_extensions; do
7558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7559     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7561     break 2
7562   fi
7563 done
7564   done
7565 IFS=$as_save_IFS
7566
7567 fi
7568 fi
7569 NMEDIT=$ac_cv_prog_NMEDIT
7570 if test -n "$NMEDIT"; then
7571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7572 $as_echo "$NMEDIT" >&6; }
7573 else
7574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7575 $as_echo "no" >&6; }
7576 fi
7577
7578
7579 fi
7580 if test -z "$ac_cv_prog_NMEDIT"; then
7581   ac_ct_NMEDIT=$NMEDIT
7582   # Extract the first word of "nmedit", so it can be a program name with args.
7583 set dummy nmedit; ac_word=$2
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7585 $as_echo_n "checking for $ac_word... " >&6; }
7586 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7587   $as_echo_n "(cached) " >&6
7588 else
7589   if test -n "$ac_ct_NMEDIT"; then
7590   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7591 else
7592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7593 for as_dir in $PATH
7594 do
7595   IFS=$as_save_IFS
7596   test -z "$as_dir" && as_dir=.
7597     for ac_exec_ext in '' $ac_executable_extensions; do
7598   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7599     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7600     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7601     break 2
7602   fi
7603 done
7604   done
7605 IFS=$as_save_IFS
7606
7607 fi
7608 fi
7609 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7610 if test -n "$ac_ct_NMEDIT"; then
7611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7612 $as_echo "$ac_ct_NMEDIT" >&6; }
7613 else
7614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7615 $as_echo "no" >&6; }
7616 fi
7617
7618   if test "x$ac_ct_NMEDIT" = x; then
7619     NMEDIT=":"
7620   else
7621     case $cross_compiling:$ac_tool_warned in
7622 yes:)
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7625 ac_tool_warned=yes ;;
7626 esac
7627     NMEDIT=$ac_ct_NMEDIT
7628   fi
7629 else
7630   NMEDIT="$ac_cv_prog_NMEDIT"
7631 fi
7632
7633     if test -n "$ac_tool_prefix"; then
7634   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7635 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7637 $as_echo_n "checking for $ac_word... " >&6; }
7638 if ${ac_cv_prog_LIPO+:} false; then :
7639   $as_echo_n "(cached) " >&6
7640 else
7641   if test -n "$LIPO"; then
7642   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7643 else
7644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7645 for as_dir in $PATH
7646 do
7647   IFS=$as_save_IFS
7648   test -z "$as_dir" && as_dir=.
7649     for ac_exec_ext in '' $ac_executable_extensions; do
7650   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7651     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7653     break 2
7654   fi
7655 done
7656   done
7657 IFS=$as_save_IFS
7658
7659 fi
7660 fi
7661 LIPO=$ac_cv_prog_LIPO
7662 if test -n "$LIPO"; then
7663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7664 $as_echo "$LIPO" >&6; }
7665 else
7666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7667 $as_echo "no" >&6; }
7668 fi
7669
7670
7671 fi
7672 if test -z "$ac_cv_prog_LIPO"; then
7673   ac_ct_LIPO=$LIPO
7674   # Extract the first word of "lipo", so it can be a program name with args.
7675 set dummy lipo; ac_word=$2
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7677 $as_echo_n "checking for $ac_word... " >&6; }
7678 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7679   $as_echo_n "(cached) " >&6
7680 else
7681   if test -n "$ac_ct_LIPO"; then
7682   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7683 else
7684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7685 for as_dir in $PATH
7686 do
7687   IFS=$as_save_IFS
7688   test -z "$as_dir" && as_dir=.
7689     for ac_exec_ext in '' $ac_executable_extensions; do
7690   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7691     ac_cv_prog_ac_ct_LIPO="lipo"
7692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7693     break 2
7694   fi
7695 done
7696   done
7697 IFS=$as_save_IFS
7698
7699 fi
7700 fi
7701 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7702 if test -n "$ac_ct_LIPO"; then
7703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7704 $as_echo "$ac_ct_LIPO" >&6; }
7705 else
7706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7707 $as_echo "no" >&6; }
7708 fi
7709
7710   if test "x$ac_ct_LIPO" = x; then
7711     LIPO=":"
7712   else
7713     case $cross_compiling:$ac_tool_warned in
7714 yes:)
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7717 ac_tool_warned=yes ;;
7718 esac
7719     LIPO=$ac_ct_LIPO
7720   fi
7721 else
7722   LIPO="$ac_cv_prog_LIPO"
7723 fi
7724
7725     if test -n "$ac_tool_prefix"; then
7726   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7727 set dummy ${ac_tool_prefix}otool; ac_word=$2
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7729 $as_echo_n "checking for $ac_word... " >&6; }
7730 if ${ac_cv_prog_OTOOL+:} false; then :
7731   $as_echo_n "(cached) " >&6
7732 else
7733   if test -n "$OTOOL"; then
7734   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7735 else
7736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7737 for as_dir in $PATH
7738 do
7739   IFS=$as_save_IFS
7740   test -z "$as_dir" && as_dir=.
7741     for ac_exec_ext in '' $ac_executable_extensions; do
7742   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7743     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7745     break 2
7746   fi
7747 done
7748   done
7749 IFS=$as_save_IFS
7750
7751 fi
7752 fi
7753 OTOOL=$ac_cv_prog_OTOOL
7754 if test -n "$OTOOL"; then
7755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7756 $as_echo "$OTOOL" >&6; }
7757 else
7758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7759 $as_echo "no" >&6; }
7760 fi
7761
7762
7763 fi
7764 if test -z "$ac_cv_prog_OTOOL"; then
7765   ac_ct_OTOOL=$OTOOL
7766   # Extract the first word of "otool", so it can be a program name with args.
7767 set dummy otool; ac_word=$2
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7769 $as_echo_n "checking for $ac_word... " >&6; }
7770 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7771   $as_echo_n "(cached) " >&6
7772 else
7773   if test -n "$ac_ct_OTOOL"; then
7774   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7775 else
7776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7777 for as_dir in $PATH
7778 do
7779   IFS=$as_save_IFS
7780   test -z "$as_dir" && as_dir=.
7781     for ac_exec_ext in '' $ac_executable_extensions; do
7782   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7783     ac_cv_prog_ac_ct_OTOOL="otool"
7784     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7785     break 2
7786   fi
7787 done
7788   done
7789 IFS=$as_save_IFS
7790
7791 fi
7792 fi
7793 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7794 if test -n "$ac_ct_OTOOL"; then
7795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7796 $as_echo "$ac_ct_OTOOL" >&6; }
7797 else
7798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7799 $as_echo "no" >&6; }
7800 fi
7801
7802   if test "x$ac_ct_OTOOL" = x; then
7803     OTOOL=":"
7804   else
7805     case $cross_compiling:$ac_tool_warned in
7806 yes:)
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7809 ac_tool_warned=yes ;;
7810 esac
7811     OTOOL=$ac_ct_OTOOL
7812   fi
7813 else
7814   OTOOL="$ac_cv_prog_OTOOL"
7815 fi
7816
7817     if test -n "$ac_tool_prefix"; then
7818   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7819 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7821 $as_echo_n "checking for $ac_word... " >&6; }
7822 if ${ac_cv_prog_OTOOL64+:} false; then :
7823   $as_echo_n "(cached) " >&6
7824 else
7825   if test -n "$OTOOL64"; then
7826   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7827 else
7828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7829 for as_dir in $PATH
7830 do
7831   IFS=$as_save_IFS
7832   test -z "$as_dir" && as_dir=.
7833     for ac_exec_ext in '' $ac_executable_extensions; do
7834   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7835     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7836     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7837     break 2
7838   fi
7839 done
7840   done
7841 IFS=$as_save_IFS
7842
7843 fi
7844 fi
7845 OTOOL64=$ac_cv_prog_OTOOL64
7846 if test -n "$OTOOL64"; then
7847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7848 $as_echo "$OTOOL64" >&6; }
7849 else
7850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7851 $as_echo "no" >&6; }
7852 fi
7853
7854
7855 fi
7856 if test -z "$ac_cv_prog_OTOOL64"; then
7857   ac_ct_OTOOL64=$OTOOL64
7858   # Extract the first word of "otool64", so it can be a program name with args.
7859 set dummy otool64; ac_word=$2
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7861 $as_echo_n "checking for $ac_word... " >&6; }
7862 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7863   $as_echo_n "(cached) " >&6
7864 else
7865   if test -n "$ac_ct_OTOOL64"; then
7866   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7867 else
7868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7869 for as_dir in $PATH
7870 do
7871   IFS=$as_save_IFS
7872   test -z "$as_dir" && as_dir=.
7873     for ac_exec_ext in '' $ac_executable_extensions; do
7874   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7875     ac_cv_prog_ac_ct_OTOOL64="otool64"
7876     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7877     break 2
7878   fi
7879 done
7880   done
7881 IFS=$as_save_IFS
7882
7883 fi
7884 fi
7885 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7886 if test -n "$ac_ct_OTOOL64"; then
7887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7888 $as_echo "$ac_ct_OTOOL64" >&6; }
7889 else
7890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7891 $as_echo "no" >&6; }
7892 fi
7893
7894   if test "x$ac_ct_OTOOL64" = x; then
7895     OTOOL64=":"
7896   else
7897     case $cross_compiling:$ac_tool_warned in
7898 yes:)
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7901 ac_tool_warned=yes ;;
7902 esac
7903     OTOOL64=$ac_ct_OTOOL64
7904   fi
7905 else
7906   OTOOL64="$ac_cv_prog_OTOOL64"
7907 fi
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7936 $as_echo_n "checking for -single_module linker flag... " >&6; }
7937 if ${lt_cv_apple_cc_single_mod+:} false; then :
7938   $as_echo_n "(cached) " >&6
7939 else
7940   lt_cv_apple_cc_single_mod=no
7941       if test -z "${LT_MULTI_MODULE}"; then
7942         # By default we will add the -single_module flag. You can override
7943         # by either setting the environment variable LT_MULTI_MODULE
7944         # non-empty at configure time, or by adding -multi_module to the
7945         # link flags.
7946         rm -rf libconftest.dylib*
7947         echo "int foo(void){return 1;}" > conftest.c
7948         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7949 -dynamiclib -Wl,-single_module conftest.c" >&5
7950         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7951           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7952         _lt_result=$?
7953         # If there is a non-empty error log, and "single_module"
7954         # appears in it, assume the flag caused a linker warning
7955         if test -s conftest.err && $GREP single_module conftest.err; then
7956           cat conftest.err >&5
7957         # Otherwise, if the output was created with a 0 exit code from
7958         # the compiler, it worked.
7959         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7960           lt_cv_apple_cc_single_mod=yes
7961         else
7962           cat conftest.err >&5
7963         fi
7964         rm -rf libconftest.dylib*
7965         rm -f conftest.*
7966       fi
7967 fi
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7969 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7970
7971     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7972 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7973 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7974   $as_echo_n "(cached) " >&6
7975 else
7976   lt_cv_ld_exported_symbols_list=no
7977       save_LDFLAGS=$LDFLAGS
7978       echo "_main" > conftest.sym
7979       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7981 /* end confdefs.h.  */
7982
7983 int
7984 main ()
7985 {
7986
7987   ;
7988   return 0;
7989 }
7990 _ACEOF
7991 if ac_fn_c_try_link "$LINENO"; then :
7992   lt_cv_ld_exported_symbols_list=yes
7993 else
7994   lt_cv_ld_exported_symbols_list=no
7995 fi
7996 rm -f core conftest.err conftest.$ac_objext \
7997     conftest$ac_exeext conftest.$ac_ext
7998         LDFLAGS="$save_LDFLAGS"
7999
8000 fi
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8002 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8003
8004     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8005 $as_echo_n "checking for -force_load linker flag... " >&6; }
8006 if ${lt_cv_ld_force_load+:} false; then :
8007   $as_echo_n "(cached) " >&6
8008 else
8009   lt_cv_ld_force_load=no
8010       cat > conftest.c << _LT_EOF
8011 int forced_loaded() { return 2;}
8012 _LT_EOF
8013       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8014       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8015       echo "$AR cru libconftest.a conftest.o" >&5
8016       $AR cru libconftest.a conftest.o 2>&5
8017       echo "$RANLIB libconftest.a" >&5
8018       $RANLIB libconftest.a 2>&5
8019       cat > conftest.c << _LT_EOF
8020 int main() { return 0;}
8021 _LT_EOF
8022       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8023       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8024       _lt_result=$?
8025       if test -s conftest.err && $GREP force_load conftest.err; then
8026         cat conftest.err >&5
8027       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8028         lt_cv_ld_force_load=yes
8029       else
8030         cat conftest.err >&5
8031       fi
8032         rm -f conftest.err libconftest.a conftest conftest.c
8033         rm -rf conftest.dSYM
8034
8035 fi
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8037 $as_echo "$lt_cv_ld_force_load" >&6; }
8038     case $host_os in
8039     rhapsody* | darwin1.[012])
8040       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8041     darwin1.*)
8042       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8043     darwin*) # darwin 5.x on
8044       # if running on 10.5 or later, the deployment target defaults
8045       # to the OS version, if on x86, and 10.4, the deployment
8046       # target defaults to 10.4. Don't you love it?
8047       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8048         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8049           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8050         10.[012]*)
8051           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8052         10.*)
8053           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8054       esac
8055     ;;
8056   esac
8057     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8058       _lt_dar_single_mod='$single_module'
8059     fi
8060     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8061       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8062     else
8063       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8064     fi
8065     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8066       _lt_dsymutil='~$DSYMUTIL $lib || :'
8067     else
8068       _lt_dsymutil=
8069     fi
8070     ;;
8071   esac
8072
8073 ac_ext=c
8074 ac_cpp='$CPP $CPPFLAGS'
8075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8079 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8080 # On Suns, sometimes $CPP names a directory.
8081 if test -n "$CPP" && test -d "$CPP"; then
8082   CPP=
8083 fi
8084 if test -z "$CPP"; then
8085   if ${ac_cv_prog_CPP+:} false; then :
8086   $as_echo_n "(cached) " >&6
8087 else
8088       # Double quotes because CPP needs to be expanded
8089     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8090     do
8091       ac_preproc_ok=false
8092 for ac_c_preproc_warn_flag in '' yes
8093 do
8094   # Use a header file that comes with gcc, so configuring glibc
8095   # with a fresh cross-compiler works.
8096   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8097   # <limits.h> exists even on freestanding compilers.
8098   # On the NeXT, cc -E runs the code through the compiler's parser,
8099   # not just through cpp. "Syntax error" is here to catch this case.
8100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8101 /* end confdefs.h.  */
8102 #ifdef __STDC__
8103 # include <limits.h>
8104 #else
8105 # include <assert.h>
8106 #endif
8107                      Syntax error
8108 _ACEOF
8109 if ac_fn_c_try_cpp "$LINENO"; then :
8110
8111 else
8112   # Broken: fails on valid input.
8113 continue
8114 fi
8115 rm -f conftest.err conftest.i conftest.$ac_ext
8116
8117   # OK, works on sane cases.  Now check whether nonexistent headers
8118   # can be detected and how.
8119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8120 /* end confdefs.h.  */
8121 #include <ac_nonexistent.h>
8122 _ACEOF
8123 if ac_fn_c_try_cpp "$LINENO"; then :
8124   # Broken: success on invalid input.
8125 continue
8126 else
8127   # Passes both tests.
8128 ac_preproc_ok=:
8129 break
8130 fi
8131 rm -f conftest.err conftest.i conftest.$ac_ext
8132
8133 done
8134 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8135 rm -f conftest.i conftest.err conftest.$ac_ext
8136 if $ac_preproc_ok; then :
8137   break
8138 fi
8139
8140     done
8141     ac_cv_prog_CPP=$CPP
8142
8143 fi
8144   CPP=$ac_cv_prog_CPP
8145 else
8146   ac_cv_prog_CPP=$CPP
8147 fi
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8149 $as_echo "$CPP" >&6; }
8150 ac_preproc_ok=false
8151 for ac_c_preproc_warn_flag in '' yes
8152 do
8153   # Use a header file that comes with gcc, so configuring glibc
8154   # with a fresh cross-compiler works.
8155   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8156   # <limits.h> exists even on freestanding compilers.
8157   # On the NeXT, cc -E runs the code through the compiler's parser,
8158   # not just through cpp. "Syntax error" is here to catch this case.
8159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8160 /* end confdefs.h.  */
8161 #ifdef __STDC__
8162 # include <limits.h>
8163 #else
8164 # include <assert.h>
8165 #endif
8166                      Syntax error
8167 _ACEOF
8168 if ac_fn_c_try_cpp "$LINENO"; then :
8169
8170 else
8171   # Broken: fails on valid input.
8172 continue
8173 fi
8174 rm -f conftest.err conftest.i conftest.$ac_ext
8175
8176   # OK, works on sane cases.  Now check whether nonexistent headers
8177   # can be detected and how.
8178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8179 /* end confdefs.h.  */
8180 #include <ac_nonexistent.h>
8181 _ACEOF
8182 if ac_fn_c_try_cpp "$LINENO"; then :
8183   # Broken: success on invalid input.
8184 continue
8185 else
8186   # Passes both tests.
8187 ac_preproc_ok=:
8188 break
8189 fi
8190 rm -f conftest.err conftest.i conftest.$ac_ext
8191
8192 done
8193 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8194 rm -f conftest.i conftest.err conftest.$ac_ext
8195 if $ac_preproc_ok; then :
8196
8197 else
8198   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8200 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8201 See \`config.log' for more details" "$LINENO" 5; }
8202 fi
8203
8204 ac_ext=c
8205 ac_cpp='$CPP $CPPFLAGS'
8206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8209
8210
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8212 $as_echo_n "checking for ANSI C header files... " >&6; }
8213 if ${ac_cv_header_stdc+:} false; then :
8214   $as_echo_n "(cached) " >&6
8215 else
8216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8217 /* end confdefs.h.  */
8218 #include <stdlib.h>
8219 #include <stdarg.h>
8220 #include <string.h>
8221 #include <float.h>
8222
8223 int
8224 main ()
8225 {
8226
8227   ;
8228   return 0;
8229 }
8230 _ACEOF
8231 if ac_fn_c_try_compile "$LINENO"; then :
8232   ac_cv_header_stdc=yes
8233 else
8234   ac_cv_header_stdc=no
8235 fi
8236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8237
8238 if test $ac_cv_header_stdc = yes; then
8239   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8241 /* end confdefs.h.  */
8242 #include <string.h>
8243
8244 _ACEOF
8245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8246   $EGREP "memchr" >/dev/null 2>&1; then :
8247
8248 else
8249   ac_cv_header_stdc=no
8250 fi
8251 rm -f conftest*
8252
8253 fi
8254
8255 if test $ac_cv_header_stdc = yes; then
8256   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8258 /* end confdefs.h.  */
8259 #include <stdlib.h>
8260
8261 _ACEOF
8262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8263   $EGREP "free" >/dev/null 2>&1; then :
8264
8265 else
8266   ac_cv_header_stdc=no
8267 fi
8268 rm -f conftest*
8269
8270 fi
8271
8272 if test $ac_cv_header_stdc = yes; then
8273   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8274   if test "$cross_compiling" = yes; then :
8275   :
8276 else
8277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8278 /* end confdefs.h.  */
8279 #include <ctype.h>
8280 #include <stdlib.h>
8281 #if ((' ' & 0x0FF) == 0x020)
8282 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8283 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8284 #else
8285 # define ISLOWER(c) \
8286                    (('a' <= (c) && (c) <= 'i') \
8287                      || ('j' <= (c) && (c) <= 'r') \
8288                      || ('s' <= (c) && (c) <= 'z'))
8289 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8290 #endif
8291
8292 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8293 int
8294 main ()
8295 {
8296   int i;
8297   for (i = 0; i < 256; i++)
8298     if (XOR (islower (i), ISLOWER (i))
8299         || toupper (i) != TOUPPER (i))
8300       return 2;
8301   return 0;
8302 }
8303 _ACEOF
8304 if ac_fn_c_try_run "$LINENO"; then :
8305
8306 else
8307   ac_cv_header_stdc=no
8308 fi
8309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8310   conftest.$ac_objext conftest.beam conftest.$ac_ext
8311 fi
8312
8313 fi
8314 fi
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8316 $as_echo "$ac_cv_header_stdc" >&6; }
8317 if test $ac_cv_header_stdc = yes; then
8318
8319 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8320
8321 fi
8322
8323 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8324 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8325                   inttypes.h stdint.h unistd.h
8326 do :
8327   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8328 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8329 "
8330 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8331   cat >>confdefs.h <<_ACEOF
8332 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8333 _ACEOF
8334
8335 fi
8336
8337 done
8338
8339
8340 for ac_header in dlfcn.h
8341 do :
8342   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8343 "
8344 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8345   cat >>confdefs.h <<_ACEOF
8346 #define HAVE_DLFCN_H 1
8347 _ACEOF
8348
8349 fi
8350
8351 done
8352
8353
8354
8355 func_stripname_cnf ()
8356 {
8357   case ${2} in
8358   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8359   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8360   esac
8361 } # func_stripname_cnf
8362
8363
8364
8365
8366
8367 # Set options
8368 enable_dlopen=yes
8369 enable_win32_dll=yes
8370
8371 case $host in
8372 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8373   if test -n "$ac_tool_prefix"; then
8374   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8375 set dummy ${ac_tool_prefix}as; ac_word=$2
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8377 $as_echo_n "checking for $ac_word... " >&6; }
8378 if ${ac_cv_prog_AS+:} false; then :
8379   $as_echo_n "(cached) " >&6
8380 else
8381   if test -n "$AS"; then
8382   ac_cv_prog_AS="$AS" # Let the user override the test.
8383 else
8384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8385 for as_dir in $PATH
8386 do
8387   IFS=$as_save_IFS
8388   test -z "$as_dir" && as_dir=.
8389     for ac_exec_ext in '' $ac_executable_extensions; do
8390   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8391     ac_cv_prog_AS="${ac_tool_prefix}as"
8392     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8393     break 2
8394   fi
8395 done
8396   done
8397 IFS=$as_save_IFS
8398
8399 fi
8400 fi
8401 AS=$ac_cv_prog_AS
8402 if test -n "$AS"; then
8403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8404 $as_echo "$AS" >&6; }
8405 else
8406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8407 $as_echo "no" >&6; }
8408 fi
8409
8410
8411 fi
8412 if test -z "$ac_cv_prog_AS"; then
8413   ac_ct_AS=$AS
8414   # Extract the first word of "as", so it can be a program name with args.
8415 set dummy as; ac_word=$2
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8417 $as_echo_n "checking for $ac_word... " >&6; }
8418 if ${ac_cv_prog_ac_ct_AS+:} false; then :
8419   $as_echo_n "(cached) " >&6
8420 else
8421   if test -n "$ac_ct_AS"; then
8422   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8423 else
8424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8425 for as_dir in $PATH
8426 do
8427   IFS=$as_save_IFS
8428   test -z "$as_dir" && as_dir=.
8429     for ac_exec_ext in '' $ac_executable_extensions; do
8430   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8431     ac_cv_prog_ac_ct_AS="as"
8432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8433     break 2
8434   fi
8435 done
8436   done
8437 IFS=$as_save_IFS
8438
8439 fi
8440 fi
8441 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8442 if test -n "$ac_ct_AS"; then
8443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8444 $as_echo "$ac_ct_AS" >&6; }
8445 else
8446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8447 $as_echo "no" >&6; }
8448 fi
8449
8450   if test "x$ac_ct_AS" = x; then
8451     AS="false"
8452   else
8453     case $cross_compiling:$ac_tool_warned in
8454 yes:)
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8457 ac_tool_warned=yes ;;
8458 esac
8459     AS=$ac_ct_AS
8460   fi
8461 else
8462   AS="$ac_cv_prog_AS"
8463 fi
8464
8465   if test -n "$ac_tool_prefix"; then
8466   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8467 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8469 $as_echo_n "checking for $ac_word... " >&6; }
8470 if ${ac_cv_prog_DLLTOOL+:} false; then :
8471   $as_echo_n "(cached) " >&6
8472 else
8473   if test -n "$DLLTOOL"; then
8474   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8475 else
8476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8477 for as_dir in $PATH
8478 do
8479   IFS=$as_save_IFS
8480   test -z "$as_dir" && as_dir=.
8481     for ac_exec_ext in '' $ac_executable_extensions; do
8482   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8483     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8485     break 2
8486   fi
8487 done
8488   done
8489 IFS=$as_save_IFS
8490
8491 fi
8492 fi
8493 DLLTOOL=$ac_cv_prog_DLLTOOL
8494 if test -n "$DLLTOOL"; then
8495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8496 $as_echo "$DLLTOOL" >&6; }
8497 else
8498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8499 $as_echo "no" >&6; }
8500 fi
8501
8502
8503 fi
8504 if test -z "$ac_cv_prog_DLLTOOL"; then
8505   ac_ct_DLLTOOL=$DLLTOOL
8506   # Extract the first word of "dlltool", so it can be a program name with args.
8507 set dummy dlltool; ac_word=$2
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8509 $as_echo_n "checking for $ac_word... " >&6; }
8510 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8511   $as_echo_n "(cached) " >&6
8512 else
8513   if test -n "$ac_ct_DLLTOOL"; then
8514   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8515 else
8516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8517 for as_dir in $PATH
8518 do
8519   IFS=$as_save_IFS
8520   test -z "$as_dir" && as_dir=.
8521     for ac_exec_ext in '' $ac_executable_extensions; do
8522   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8523     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8524     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8525     break 2
8526   fi
8527 done
8528   done
8529 IFS=$as_save_IFS
8530
8531 fi
8532 fi
8533 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8534 if test -n "$ac_ct_DLLTOOL"; then
8535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8536 $as_echo "$ac_ct_DLLTOOL" >&6; }
8537 else
8538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8539 $as_echo "no" >&6; }
8540 fi
8541
8542   if test "x$ac_ct_DLLTOOL" = x; then
8543     DLLTOOL="false"
8544   else
8545     case $cross_compiling:$ac_tool_warned in
8546 yes:)
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8549 ac_tool_warned=yes ;;
8550 esac
8551     DLLTOOL=$ac_ct_DLLTOOL
8552   fi
8553 else
8554   DLLTOOL="$ac_cv_prog_DLLTOOL"
8555 fi
8556
8557   if test -n "$ac_tool_prefix"; then
8558   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8559 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8561 $as_echo_n "checking for $ac_word... " >&6; }
8562 if ${ac_cv_prog_OBJDUMP+:} false; then :
8563   $as_echo_n "(cached) " >&6
8564 else
8565   if test -n "$OBJDUMP"; then
8566   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8567 else
8568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8569 for as_dir in $PATH
8570 do
8571   IFS=$as_save_IFS
8572   test -z "$as_dir" && as_dir=.
8573     for ac_exec_ext in '' $ac_executable_extensions; do
8574   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8575     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8577     break 2
8578   fi
8579 done
8580   done
8581 IFS=$as_save_IFS
8582
8583 fi
8584 fi
8585 OBJDUMP=$ac_cv_prog_OBJDUMP
8586 if test -n "$OBJDUMP"; then
8587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8588 $as_echo "$OBJDUMP" >&6; }
8589 else
8590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8591 $as_echo "no" >&6; }
8592 fi
8593
8594
8595 fi
8596 if test -z "$ac_cv_prog_OBJDUMP"; then
8597   ac_ct_OBJDUMP=$OBJDUMP
8598   # Extract the first word of "objdump", so it can be a program name with args.
8599 set dummy objdump; ac_word=$2
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8601 $as_echo_n "checking for $ac_word... " >&6; }
8602 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8603   $as_echo_n "(cached) " >&6
8604 else
8605   if test -n "$ac_ct_OBJDUMP"; then
8606   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8607 else
8608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8609 for as_dir in $PATH
8610 do
8611   IFS=$as_save_IFS
8612   test -z "$as_dir" && as_dir=.
8613     for ac_exec_ext in '' $ac_executable_extensions; do
8614   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8615     ac_cv_prog_ac_ct_OBJDUMP="objdump"
8616     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8617     break 2
8618   fi
8619 done
8620   done
8621 IFS=$as_save_IFS
8622
8623 fi
8624 fi
8625 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8626 if test -n "$ac_ct_OBJDUMP"; then
8627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8628 $as_echo "$ac_ct_OBJDUMP" >&6; }
8629 else
8630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8631 $as_echo "no" >&6; }
8632 fi
8633
8634   if test "x$ac_ct_OBJDUMP" = x; then
8635     OBJDUMP="false"
8636   else
8637     case $cross_compiling:$ac_tool_warned in
8638 yes:)
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8641 ac_tool_warned=yes ;;
8642 esac
8643     OBJDUMP=$ac_ct_OBJDUMP
8644   fi
8645 else
8646   OBJDUMP="$ac_cv_prog_OBJDUMP"
8647 fi
8648
8649   ;;
8650 esac
8651
8652 test -z "$AS" && AS=as
8653
8654
8655
8656
8657
8658 test -z "$DLLTOOL" && DLLTOOL=dlltool
8659
8660
8661
8662
8663
8664 test -z "$OBJDUMP" && OBJDUMP=objdump
8665
8666
8667
8668
8669 # Check whether --enable-static was given.
8670 if test "${enable_static+set}" = set; then :
8671   enableval=$enable_static; p=${PACKAGE-default}
8672     case $enableval in
8673     yes) enable_static=yes ;;
8674     no) enable_static=no ;;
8675     *)
8676      enable_static=no
8677       # Look at the argument we got.  We use all the common list separators.
8678       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8679       for pkg in $enableval; do
8680         IFS="$lt_save_ifs"
8681         if test "X$pkg" = "X$p"; then
8682           enable_static=yes
8683         fi
8684       done
8685       IFS="$lt_save_ifs"
8686       ;;
8687     esac
8688 else
8689   enable_static=no
8690 fi
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703             # Check whether --enable-shared was given.
8704 if test "${enable_shared+set}" = set; then :
8705   enableval=$enable_shared; p=${PACKAGE-default}
8706     case $enableval in
8707     yes) enable_shared=yes ;;
8708     no) enable_shared=no ;;
8709     *)
8710       enable_shared=no
8711       # Look at the argument we got.  We use all the common list separators.
8712       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8713       for pkg in $enableval; do
8714         IFS="$lt_save_ifs"
8715         if test "X$pkg" = "X$p"; then
8716           enable_shared=yes
8717         fi
8718       done
8719       IFS="$lt_save_ifs"
8720       ;;
8721     esac
8722 else
8723   enable_shared=yes
8724 fi
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736 # Check whether --with-pic was given.
8737 if test "${with_pic+set}" = set; then :
8738   withval=$with_pic; lt_p=${PACKAGE-default}
8739     case $withval in
8740     yes|no) pic_mode=$withval ;;
8741     *)
8742       pic_mode=default
8743       # Look at the argument we got.  We use all the common list separators.
8744       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8745       for lt_pkg in $withval; do
8746         IFS="$lt_save_ifs"
8747         if test "X$lt_pkg" = "X$lt_p"; then
8748           pic_mode=yes
8749         fi
8750       done
8751       IFS="$lt_save_ifs"
8752       ;;
8753     esac
8754 else
8755   pic_mode=default
8756 fi
8757
8758
8759 test -z "$pic_mode" && pic_mode=default
8760
8761
8762
8763
8764
8765
8766
8767   # Check whether --enable-fast-install was given.
8768 if test "${enable_fast_install+set}" = set; then :
8769   enableval=$enable_fast_install; p=${PACKAGE-default}
8770     case $enableval in
8771     yes) enable_fast_install=yes ;;
8772     no) enable_fast_install=no ;;
8773     *)
8774       enable_fast_install=no
8775       # Look at the argument we got.  We use all the common list separators.
8776       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8777       for pkg in $enableval; do
8778         IFS="$lt_save_ifs"
8779         if test "X$pkg" = "X$p"; then
8780           enable_fast_install=yes
8781         fi
8782       done
8783       IFS="$lt_save_ifs"
8784       ;;
8785     esac
8786 else
8787   enable_fast_install=yes
8788 fi
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800 # This can be used to rebuild libtool when needed
8801 LIBTOOL_DEPS="$ltmain"
8802
8803 # Always use our own libtool.
8804 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835 test -z "$LN_S" && LN_S="ln -s"
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850 if test -n "${ZSH_VERSION+set}" ; then
8851    setopt NO_GLOB_SUBST
8852 fi
8853
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8855 $as_echo_n "checking for objdir... " >&6; }
8856 if ${lt_cv_objdir+:} false; then :
8857   $as_echo_n "(cached) " >&6
8858 else
8859   rm -f .libs 2>/dev/null
8860 mkdir .libs 2>/dev/null
8861 if test -d .libs; then
8862   lt_cv_objdir=.libs
8863 else
8864   # MS-DOS does not allow filenames that begin with a dot.
8865   lt_cv_objdir=_libs
8866 fi
8867 rmdir .libs 2>/dev/null
8868 fi
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8870 $as_echo "$lt_cv_objdir" >&6; }
8871 objdir=$lt_cv_objdir
8872
8873
8874
8875
8876
8877 cat >>confdefs.h <<_ACEOF
8878 #define LT_OBJDIR "$lt_cv_objdir/"
8879 _ACEOF
8880
8881
8882
8883
8884 case $host_os in
8885 aix3*)
8886   # AIX sometimes has problems with the GCC collect2 program.  For some
8887   # reason, if we set the COLLECT_NAMES environment variable, the problems
8888   # vanish in a puff of smoke.
8889   if test "X${COLLECT_NAMES+set}" != Xset; then
8890     COLLECT_NAMES=
8891     export COLLECT_NAMES
8892   fi
8893   ;;
8894 esac
8895
8896 # Global variables:
8897 ofile=libtool
8898 can_build_shared=yes
8899
8900 # All known linkers require a `.a' archive for static linking (except MSVC,
8901 # which needs '.lib').
8902 libext=a
8903
8904 with_gnu_ld="$lt_cv_prog_gnu_ld"
8905
8906 old_CC="$CC"
8907 old_CFLAGS="$CFLAGS"
8908
8909 # Set sane defaults for various variables
8910 test -z "$CC" && CC=cc
8911 test -z "$LTCC" && LTCC=$CC
8912 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8913 test -z "$LD" && LD=ld
8914 test -z "$ac_objext" && ac_objext=o
8915
8916 for cc_temp in $compiler""; do
8917   case $cc_temp in
8918     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8919     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8920     \-*) ;;
8921     *) break;;
8922   esac
8923 done
8924 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8925
8926
8927 # Only perform the check for file, if the check method requires it
8928 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8929 case $deplibs_check_method in
8930 file_magic*)
8931   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8932     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8933 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8934 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8935   $as_echo_n "(cached) " >&6
8936 else
8937   case $MAGIC_CMD in
8938 [\\/*] |  ?:[\\/]*)
8939   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8940   ;;
8941 *)
8942   lt_save_MAGIC_CMD="$MAGIC_CMD"
8943   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8944   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8945   for ac_dir in $ac_dummy; do
8946     IFS="$lt_save_ifs"
8947     test -z "$ac_dir" && ac_dir=.
8948     if test -f $ac_dir/${ac_tool_prefix}file; then
8949       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8950       if test -n "$file_magic_test_file"; then
8951         case $deplibs_check_method in
8952         "file_magic "*)
8953           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8954           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8955           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8956             $EGREP "$file_magic_regex" > /dev/null; then
8957             :
8958           else
8959             cat <<_LT_EOF 1>&2
8960
8961 *** Warning: the command libtool uses to detect shared libraries,
8962 *** $file_magic_cmd, produces output that libtool cannot recognize.
8963 *** The result is that libtool may fail to recognize shared libraries
8964 *** as such.  This will affect the creation of libtool libraries that
8965 *** depend on shared libraries, but programs linked with such libtool
8966 *** libraries will work regardless of this problem.  Nevertheless, you
8967 *** may want to report the problem to your system manager and/or to
8968 *** bug-libtool@gnu.org
8969
8970 _LT_EOF
8971           fi ;;
8972         esac
8973       fi
8974       break
8975     fi
8976   done
8977   IFS="$lt_save_ifs"
8978   MAGIC_CMD="$lt_save_MAGIC_CMD"
8979   ;;
8980 esac
8981 fi
8982
8983 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8984 if test -n "$MAGIC_CMD"; then
8985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8986 $as_echo "$MAGIC_CMD" >&6; }
8987 else
8988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8989 $as_echo "no" >&6; }
8990 fi
8991
8992
8993
8994
8995
8996 if test -z "$lt_cv_path_MAGIC_CMD"; then
8997   if test -n "$ac_tool_prefix"; then
8998     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8999 $as_echo_n "checking for file... " >&6; }
9000 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9001   $as_echo_n "(cached) " >&6
9002 else
9003   case $MAGIC_CMD in
9004 [\\/*] |  ?:[\\/]*)
9005   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9006   ;;
9007 *)
9008   lt_save_MAGIC_CMD="$MAGIC_CMD"
9009   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9010   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9011   for ac_dir in $ac_dummy; do
9012     IFS="$lt_save_ifs"
9013     test -z "$ac_dir" && ac_dir=.
9014     if test -f $ac_dir/file; then
9015       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9016       if test -n "$file_magic_test_file"; then
9017         case $deplibs_check_method in
9018         "file_magic "*)
9019           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9020           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9021           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9022             $EGREP "$file_magic_regex" > /dev/null; then
9023             :
9024           else
9025             cat <<_LT_EOF 1>&2
9026
9027 *** Warning: the command libtool uses to detect shared libraries,
9028 *** $file_magic_cmd, produces output that libtool cannot recognize.
9029 *** The result is that libtool may fail to recognize shared libraries
9030 *** as such.  This will affect the creation of libtool libraries that
9031 *** depend on shared libraries, but programs linked with such libtool
9032 *** libraries will work regardless of this problem.  Nevertheless, you
9033 *** may want to report the problem to your system manager and/or to
9034 *** bug-libtool@gnu.org
9035
9036 _LT_EOF
9037           fi ;;
9038         esac
9039       fi
9040       break
9041     fi
9042   done
9043   IFS="$lt_save_ifs"
9044   MAGIC_CMD="$lt_save_MAGIC_CMD"
9045   ;;
9046 esac
9047 fi
9048
9049 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9050 if test -n "$MAGIC_CMD"; then
9051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9052 $as_echo "$MAGIC_CMD" >&6; }
9053 else
9054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9055 $as_echo "no" >&6; }
9056 fi
9057
9058
9059   else
9060     MAGIC_CMD=:
9061   fi
9062 fi
9063
9064   fi
9065   ;;
9066 esac
9067
9068 # Use C for the default configuration in the libtool script
9069
9070 lt_save_CC="$CC"
9071 ac_ext=c
9072 ac_cpp='$CPP $CPPFLAGS'
9073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9076
9077
9078 # Source file extension for C test sources.
9079 ac_ext=c
9080
9081 # Object file extension for compiled C test sources.
9082 objext=o
9083 objext=$objext
9084
9085 # Code to be used in simple compile tests
9086 lt_simple_compile_test_code="int some_variable = 0;"
9087
9088 # Code to be used in simple link tests
9089 lt_simple_link_test_code='int main(){return(0);}'
9090
9091
9092
9093
9094
9095
9096
9097 # If no C compiler was specified, use CC.
9098 LTCC=${LTCC-"$CC"}
9099
9100 # If no C compiler flags were specified, use CFLAGS.
9101 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9102
9103 # Allow CC to be a program name with arguments.
9104 compiler=$CC
9105
9106 # Save the default compiler, since it gets overwritten when the other
9107 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9108 compiler_DEFAULT=$CC
9109
9110 # save warnings/boilerplate of simple test code
9111 ac_outfile=conftest.$ac_objext
9112 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9113 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9114 _lt_compiler_boilerplate=`cat conftest.err`
9115 $RM conftest*
9116
9117 ac_outfile=conftest.$ac_objext
9118 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9119 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9120 _lt_linker_boilerplate=`cat conftest.err`
9121 $RM -r conftest*
9122
9123
9124 ## CAVEAT EMPTOR:
9125 ## There is no encapsulation within the following macros, do not change
9126 ## the running order or otherwise move them around unless you know exactly
9127 ## what you are doing...
9128 if test -n "$compiler"; then
9129
9130 lt_prog_compiler_no_builtin_flag=
9131
9132 if test "$GCC" = yes; then
9133   case $cc_basename in
9134   nvcc*)
9135     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9136   *)
9137     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9138   esac
9139
9140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9141 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9142 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9143   $as_echo_n "(cached) " >&6
9144 else
9145   lt_cv_prog_compiler_rtti_exceptions=no
9146    ac_outfile=conftest.$ac_objext
9147    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9148    lt_compiler_flag="-fno-rtti -fno-exceptions"
9149    # Insert the option either (1) after the last *FLAGS variable, or
9150    # (2) before a word containing "conftest.", or (3) at the end.
9151    # Note that $ac_compile itself does not contain backslashes and begins
9152    # with a dollar sign (not a hyphen), so the echo should work correctly.
9153    # The option is referenced via a variable to avoid confusing sed.
9154    lt_compile=`echo "$ac_compile" | $SED \
9155    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9156    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9157    -e 's:$: $lt_compiler_flag:'`
9158    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9159    (eval "$lt_compile" 2>conftest.err)
9160    ac_status=$?
9161    cat conftest.err >&5
9162    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9163    if (exit $ac_status) && test -s "$ac_outfile"; then
9164      # The compiler can only warn and ignore the option if not recognized
9165      # So say no if there are warnings other than the usual output.
9166      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9167      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9168      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9169        lt_cv_prog_compiler_rtti_exceptions=yes
9170      fi
9171    fi
9172    $RM conftest*
9173
9174 fi
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9176 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9177
9178 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9179     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9180 else
9181     :
9182 fi
9183
9184 fi
9185
9186
9187
9188
9189
9190
9191   lt_prog_compiler_wl=
9192 lt_prog_compiler_pic=
9193 lt_prog_compiler_static=
9194
9195
9196   if test "$GCC" = yes; then
9197     lt_prog_compiler_wl='-Wl,'
9198     lt_prog_compiler_static='-static'
9199
9200     case $host_os in
9201       aix*)
9202       # All AIX code is PIC.
9203       if test "$host_cpu" = ia64; then
9204         # AIX 5 now supports IA64 processor
9205         lt_prog_compiler_static='-Bstatic'
9206       fi
9207       ;;
9208
9209     amigaos*)
9210       case $host_cpu in
9211       powerpc)
9212             # see comment about AmigaOS4 .so support
9213             lt_prog_compiler_pic='-fPIC'
9214         ;;
9215       m68k)
9216             # FIXME: we need at least 68020 code to build shared libraries, but
9217             # adding the `-m68020' flag to GCC prevents building anything better,
9218             # like `-m68040'.
9219             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9220         ;;
9221       esac
9222       ;;
9223
9224     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9225       # PIC is the default for these OSes.
9226       ;;
9227
9228     mingw* | cygwin* | pw32* | os2* | cegcc*)
9229       # This hack is so that the source file can tell whether it is being
9230       # built for inclusion in a dll (and should export symbols for example).
9231       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9232       # (--disable-auto-import) libraries
9233       lt_prog_compiler_pic='-DDLL_EXPORT'
9234       ;;
9235
9236     darwin* | rhapsody*)
9237       # PIC is the default on this platform
9238       # Common symbols not allowed in MH_DYLIB files
9239       lt_prog_compiler_pic='-fno-common'
9240       ;;
9241
9242     haiku*)
9243       # PIC is the default for Haiku.
9244       # The "-static" flag exists, but is broken.
9245       lt_prog_compiler_static=
9246       ;;
9247
9248     hpux*)
9249       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9250       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9251       # sets the default TLS model and affects inlining.
9252       case $host_cpu in
9253       hppa*64*)
9254         # +Z the default
9255         ;;
9256       *)
9257         lt_prog_compiler_pic='-fPIC'
9258         ;;
9259       esac
9260       ;;
9261
9262     interix[3-9]*)
9263       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9264       # Instead, we relocate shared libraries at runtime.
9265       ;;
9266
9267     msdosdjgpp*)
9268       # Just because we use GCC doesn't mean we suddenly get shared libraries
9269       # on systems that don't support them.
9270       lt_prog_compiler_can_build_shared=no
9271       enable_shared=no
9272       ;;
9273
9274     *nto* | *qnx*)
9275       # QNX uses GNU C++, but need to define -shared option too, otherwise
9276       # it will coredump.
9277       lt_prog_compiler_pic='-fPIC -shared'
9278       ;;
9279
9280     sysv4*MP*)
9281       if test -d /usr/nec; then
9282         lt_prog_compiler_pic=-Kconform_pic
9283       fi
9284       ;;
9285
9286     *)
9287       lt_prog_compiler_pic='-fPIC'
9288       ;;
9289     esac
9290
9291     case $cc_basename in
9292     nvcc*) # Cuda Compiler Driver 2.2
9293       lt_prog_compiler_wl='-Xlinker '
9294       if test -n "$lt_prog_compiler_pic"; then
9295         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9296       fi
9297       ;;
9298     esac
9299   else
9300     # PORTME Check for flag to pass linker flags through the system compiler.
9301     case $host_os in
9302     aix*)
9303       lt_prog_compiler_wl='-Wl,'
9304       if test "$host_cpu" = ia64; then
9305         # AIX 5 now supports IA64 processor
9306         lt_prog_compiler_static='-Bstatic'
9307       else
9308         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9309       fi
9310       ;;
9311
9312     mingw* | cygwin* | pw32* | os2* | cegcc*)
9313       # This hack is so that the source file can tell whether it is being
9314       # built for inclusion in a dll (and should export symbols for example).
9315       lt_prog_compiler_pic='-DDLL_EXPORT'
9316       ;;
9317
9318     hpux9* | hpux10* | hpux11*)
9319       lt_prog_compiler_wl='-Wl,'
9320       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9321       # not for PA HP-UX.
9322       case $host_cpu in
9323       hppa*64*|ia64*)
9324         # +Z the default
9325         ;;
9326       *)
9327         lt_prog_compiler_pic='+Z'
9328         ;;
9329       esac
9330       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9331       lt_prog_compiler_static='${wl}-a ${wl}archive'
9332       ;;
9333
9334     irix5* | irix6* | nonstopux*)
9335       lt_prog_compiler_wl='-Wl,'
9336       # PIC (with -KPIC) is the default.
9337       lt_prog_compiler_static='-non_shared'
9338       ;;
9339
9340     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9341       case $cc_basename in
9342       # old Intel for x86_64 which still supported -KPIC.
9343       ecc*)
9344         lt_prog_compiler_wl='-Wl,'
9345         lt_prog_compiler_pic='-KPIC'
9346         lt_prog_compiler_static='-static'
9347         ;;
9348       # icc used to be incompatible with GCC.
9349       # ICC 10 doesn't accept -KPIC any more.
9350       icc* | ifort*)
9351         lt_prog_compiler_wl='-Wl,'
9352         lt_prog_compiler_pic='-fPIC'
9353         lt_prog_compiler_static='-static'
9354         ;;
9355       # Lahey Fortran 8.1.
9356       lf95*)
9357         lt_prog_compiler_wl='-Wl,'
9358         lt_prog_compiler_pic='--shared'
9359         lt_prog_compiler_static='--static'
9360         ;;
9361       nagfor*)
9362         # NAG Fortran compiler
9363         lt_prog_compiler_wl='-Wl,-Wl,,'
9364         lt_prog_compiler_pic='-PIC'
9365         lt_prog_compiler_static='-Bstatic'
9366         ;;
9367       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9368         # Portland Group compilers (*not* the Pentium gcc compiler,
9369         # which looks to be a dead project)
9370         lt_prog_compiler_wl='-Wl,'
9371         lt_prog_compiler_pic='-fpic'
9372         lt_prog_compiler_static='-Bstatic'
9373         ;;
9374       ccc*)
9375         lt_prog_compiler_wl='-Wl,'
9376         # All Alpha code is PIC.
9377         lt_prog_compiler_static='-non_shared'
9378         ;;
9379       xl* | bgxl* | bgf* | mpixl*)
9380         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9381         lt_prog_compiler_wl='-Wl,'
9382         lt_prog_compiler_pic='-qpic'
9383         lt_prog_compiler_static='-qstaticlink'
9384         ;;
9385       *)
9386         case `$CC -V 2>&1 | sed 5q` in
9387         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9388           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9389           lt_prog_compiler_pic='-KPIC'
9390           lt_prog_compiler_static='-Bstatic'
9391           lt_prog_compiler_wl=''
9392           ;;
9393         *Sun\ F* | *Sun*Fortran*)
9394           lt_prog_compiler_pic='-KPIC'
9395           lt_prog_compiler_static='-Bstatic'
9396           lt_prog_compiler_wl='-Qoption ld '
9397           ;;
9398         *Sun\ C*)
9399           # Sun C 5.9
9400           lt_prog_compiler_pic='-KPIC'
9401           lt_prog_compiler_static='-Bstatic'
9402           lt_prog_compiler_wl='-Wl,'
9403           ;;
9404         *Intel*\ [CF]*Compiler*)
9405           lt_prog_compiler_wl='-Wl,'
9406           lt_prog_compiler_pic='-fPIC'
9407           lt_prog_compiler_static='-static'
9408           ;;
9409         *Portland\ Group*)
9410           lt_prog_compiler_wl='-Wl,'
9411           lt_prog_compiler_pic='-fpic'
9412           lt_prog_compiler_static='-Bstatic'
9413           ;;
9414         esac
9415         ;;
9416       esac
9417       ;;
9418
9419     newsos6)
9420       lt_prog_compiler_pic='-KPIC'
9421       lt_prog_compiler_static='-Bstatic'
9422       ;;
9423
9424     *nto* | *qnx*)
9425       # QNX uses GNU C++, but need to define -shared option too, otherwise
9426       # it will coredump.
9427       lt_prog_compiler_pic='-fPIC -shared'
9428       ;;
9429
9430     osf3* | osf4* | osf5*)
9431       lt_prog_compiler_wl='-Wl,'
9432       # All OSF/1 code is PIC.
9433       lt_prog_compiler_static='-non_shared'
9434       ;;
9435
9436     rdos*)
9437       lt_prog_compiler_static='-non_shared'
9438       ;;
9439
9440     solaris*)
9441       lt_prog_compiler_pic='-KPIC'
9442       lt_prog_compiler_static='-Bstatic'
9443       case $cc_basename in
9444       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9445         lt_prog_compiler_wl='-Qoption ld ';;
9446       *)
9447         lt_prog_compiler_wl='-Wl,';;
9448       esac
9449       ;;
9450
9451     sunos4*)
9452       lt_prog_compiler_wl='-Qoption ld '
9453       lt_prog_compiler_pic='-PIC'
9454       lt_prog_compiler_static='-Bstatic'
9455       ;;
9456
9457     sysv4 | sysv4.2uw2* | sysv4.3*)
9458       lt_prog_compiler_wl='-Wl,'
9459       lt_prog_compiler_pic='-KPIC'
9460       lt_prog_compiler_static='-Bstatic'
9461       ;;
9462
9463     sysv4*MP*)
9464       if test -d /usr/nec ;then
9465         lt_prog_compiler_pic='-Kconform_pic'
9466         lt_prog_compiler_static='-Bstatic'
9467       fi
9468       ;;
9469
9470     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9471       lt_prog_compiler_wl='-Wl,'
9472       lt_prog_compiler_pic='-KPIC'
9473       lt_prog_compiler_static='-Bstatic'
9474       ;;
9475
9476     unicos*)
9477       lt_prog_compiler_wl='-Wl,'
9478       lt_prog_compiler_can_build_shared=no
9479       ;;
9480
9481     uts4*)
9482       lt_prog_compiler_pic='-pic'
9483       lt_prog_compiler_static='-Bstatic'
9484       ;;
9485
9486     *)
9487       lt_prog_compiler_can_build_shared=no
9488       ;;
9489     esac
9490   fi
9491
9492 case $host_os in
9493   # For platforms which do not support PIC, -DPIC is meaningless:
9494   *djgpp*)
9495     lt_prog_compiler_pic=
9496     ;;
9497   *)
9498     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9499     ;;
9500 esac
9501
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9503 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9504 if ${lt_cv_prog_compiler_pic+:} false; then :
9505   $as_echo_n "(cached) " >&6
9506 else
9507   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9508 fi
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9510 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9511 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9512
9513 #
9514 # Check to make sure the PIC flag actually works.
9515 #
9516 if test -n "$lt_prog_compiler_pic"; then
9517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9518 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9519 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9520   $as_echo_n "(cached) " >&6
9521 else
9522   lt_cv_prog_compiler_pic_works=no
9523    ac_outfile=conftest.$ac_objext
9524    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9525    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9526    # Insert the option either (1) after the last *FLAGS variable, or
9527    # (2) before a word containing "conftest.", or (3) at the end.
9528    # Note that $ac_compile itself does not contain backslashes and begins
9529    # with a dollar sign (not a hyphen), so the echo should work correctly.
9530    # The option is referenced via a variable to avoid confusing sed.
9531    lt_compile=`echo "$ac_compile" | $SED \
9532    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9533    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9534    -e 's:$: $lt_compiler_flag:'`
9535    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9536    (eval "$lt_compile" 2>conftest.err)
9537    ac_status=$?
9538    cat conftest.err >&5
9539    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540    if (exit $ac_status) && test -s "$ac_outfile"; then
9541      # The compiler can only warn and ignore the option if not recognized
9542      # So say no if there are warnings other than the usual output.
9543      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9544      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9545      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9546        lt_cv_prog_compiler_pic_works=yes
9547      fi
9548    fi
9549    $RM conftest*
9550
9551 fi
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9553 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9554
9555 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9556     case $lt_prog_compiler_pic in
9557      "" | " "*) ;;
9558      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9559      esac
9560 else
9561     lt_prog_compiler_pic=
9562      lt_prog_compiler_can_build_shared=no
9563 fi
9564
9565 fi
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577 #
9578 # Check to make sure the static flag actually works.
9579 #
9580 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9582 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9583 if ${lt_cv_prog_compiler_static_works+:} false; then :
9584   $as_echo_n "(cached) " >&6
9585 else
9586   lt_cv_prog_compiler_static_works=no
9587    save_LDFLAGS="$LDFLAGS"
9588    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9589    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9590    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9591      # The linker can only warn and ignore the option if not recognized
9592      # So say no if there are warnings
9593      if test -s conftest.err; then
9594        # Append any errors to the config.log.
9595        cat conftest.err 1>&5
9596        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9597        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9598        if diff conftest.exp conftest.er2 >/dev/null; then
9599          lt_cv_prog_compiler_static_works=yes
9600        fi
9601      else
9602        lt_cv_prog_compiler_static_works=yes
9603      fi
9604    fi
9605    $RM -r conftest*
9606    LDFLAGS="$save_LDFLAGS"
9607
9608 fi
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9610 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9611
9612 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9613     :
9614 else
9615     lt_prog_compiler_static=
9616 fi
9617
9618
9619
9620
9621
9622
9623
9624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9625 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9626 if ${lt_cv_prog_compiler_c_o+:} false; then :
9627   $as_echo_n "(cached) " >&6
9628 else
9629   lt_cv_prog_compiler_c_o=no
9630    $RM -r conftest 2>/dev/null
9631    mkdir conftest
9632    cd conftest
9633    mkdir out
9634    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9635
9636    lt_compiler_flag="-o out/conftest2.$ac_objext"
9637    # Insert the option either (1) after the last *FLAGS variable, or
9638    # (2) before a word containing "conftest.", or (3) at the end.
9639    # Note that $ac_compile itself does not contain backslashes and begins
9640    # with a dollar sign (not a hyphen), so the echo should work correctly.
9641    lt_compile=`echo "$ac_compile" | $SED \
9642    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9643    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9644    -e 's:$: $lt_compiler_flag:'`
9645    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9646    (eval "$lt_compile" 2>out/conftest.err)
9647    ac_status=$?
9648    cat out/conftest.err >&5
9649    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9650    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9651    then
9652      # The compiler can only warn and ignore the option if not recognized
9653      # So say no if there are warnings
9654      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9655      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9656      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9657        lt_cv_prog_compiler_c_o=yes
9658      fi
9659    fi
9660    chmod u+w . 2>&5
9661    $RM conftest*
9662    # SGI C++ compiler will create directory out/ii_files/ for
9663    # template instantiation
9664    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9665    $RM out/* && rmdir out
9666    cd ..
9667    $RM -r conftest
9668    $RM conftest*
9669
9670 fi
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9672 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9673
9674
9675
9676
9677
9678
9679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9680 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9681 if ${lt_cv_prog_compiler_c_o+:} false; then :
9682   $as_echo_n "(cached) " >&6
9683 else
9684   lt_cv_prog_compiler_c_o=no
9685    $RM -r conftest 2>/dev/null
9686    mkdir conftest
9687    cd conftest
9688    mkdir out
9689    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9690
9691    lt_compiler_flag="-o out/conftest2.$ac_objext"
9692    # Insert the option either (1) after the last *FLAGS variable, or
9693    # (2) before a word containing "conftest.", or (3) at the end.
9694    # Note that $ac_compile itself does not contain backslashes and begins
9695    # with a dollar sign (not a hyphen), so the echo should work correctly.
9696    lt_compile=`echo "$ac_compile" | $SED \
9697    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9698    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9699    -e 's:$: $lt_compiler_flag:'`
9700    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9701    (eval "$lt_compile" 2>out/conftest.err)
9702    ac_status=$?
9703    cat out/conftest.err >&5
9704    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9706    then
9707      # The compiler can only warn and ignore the option if not recognized
9708      # So say no if there are warnings
9709      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9710      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9711      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9712        lt_cv_prog_compiler_c_o=yes
9713      fi
9714    fi
9715    chmod u+w . 2>&5
9716    $RM conftest*
9717    # SGI C++ compiler will create directory out/ii_files/ for
9718    # template instantiation
9719    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9720    $RM out/* && rmdir out
9721    cd ..
9722    $RM -r conftest
9723    $RM conftest*
9724
9725 fi
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9727 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9728
9729
9730
9731
9732 hard_links="nottested"
9733 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9734   # do not overwrite the value of need_locks provided by the user
9735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9736 $as_echo_n "checking if we can lock with hard links... " >&6; }
9737   hard_links=yes
9738   $RM conftest*
9739   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9740   touch conftest.a
9741   ln conftest.a conftest.b 2>&5 || hard_links=no
9742   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9744 $as_echo "$hard_links" >&6; }
9745   if test "$hard_links" = no; then
9746     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9747 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9748     need_locks=warn
9749   fi
9750 else
9751   need_locks=no
9752 fi
9753
9754
9755
9756
9757
9758
9759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9760 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9761
9762   runpath_var=
9763   allow_undefined_flag=
9764   always_export_symbols=no
9765   archive_cmds=
9766   archive_expsym_cmds=
9767   compiler_needs_object=no
9768   enable_shared_with_static_runtimes=no
9769   export_dynamic_flag_spec=
9770   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9771   hardcode_automatic=no
9772   hardcode_direct=no
9773   hardcode_direct_absolute=no
9774   hardcode_libdir_flag_spec=
9775   hardcode_libdir_separator=
9776   hardcode_minus_L=no
9777   hardcode_shlibpath_var=unsupported
9778   inherit_rpath=no
9779   link_all_deplibs=unknown
9780   module_cmds=
9781   module_expsym_cmds=
9782   old_archive_from_new_cmds=
9783   old_archive_from_expsyms_cmds=
9784   thread_safe_flag_spec=
9785   whole_archive_flag_spec=
9786   # include_expsyms should be a list of space-separated symbols to be *always*
9787   # included in the symbol list
9788   include_expsyms=
9789   # exclude_expsyms can be an extended regexp of symbols to exclude
9790   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9791   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9792   # as well as any symbol that contains `d'.
9793   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9794   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9795   # platforms (ab)use it in PIC code, but their linkers get confused if
9796   # the symbol is explicitly referenced.  Since portable code cannot
9797   # rely on this symbol name, it's probably fine to never include it in
9798   # preloaded symbol tables.
9799   # Exclude shared library initialization/finalization symbols.
9800   extract_expsyms_cmds=
9801
9802   case $host_os in
9803   cygwin* | mingw* | pw32* | cegcc*)
9804     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9805     # When not using gcc, we currently assume that we are using
9806     # Microsoft Visual C++.
9807     if test "$GCC" != yes; then
9808       with_gnu_ld=no
9809     fi
9810     ;;
9811   interix*)
9812     # we just hope/assume this is gcc and not c89 (= MSVC++)
9813     with_gnu_ld=yes
9814     ;;
9815   openbsd*)
9816     with_gnu_ld=no
9817     ;;
9818   linux* | k*bsd*-gnu | gnu*)
9819     link_all_deplibs=no
9820     ;;
9821   esac
9822
9823   ld_shlibs=yes
9824
9825   # On some targets, GNU ld is compatible enough with the native linker
9826   # that we're better off using the native interface for both.
9827   lt_use_gnu_ld_interface=no
9828   if test "$with_gnu_ld" = yes; then
9829     case $host_os in
9830       aix*)
9831         # The AIX port of GNU ld has always aspired to compatibility
9832         # with the native linker.  However, as the warning in the GNU ld
9833         # block says, versions before 2.19.5* couldn't really create working
9834         # shared libraries, regardless of the interface used.
9835         case `$LD -v 2>&1` in
9836           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9837           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9838           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9839           *)
9840             lt_use_gnu_ld_interface=yes
9841             ;;
9842         esac
9843         ;;
9844       *)
9845         lt_use_gnu_ld_interface=yes
9846         ;;
9847     esac
9848   fi
9849
9850   if test "$lt_use_gnu_ld_interface" = yes; then
9851     # If archive_cmds runs LD, not CC, wlarc should be empty
9852     wlarc='${wl}'
9853
9854     # Set some defaults for GNU ld with shared library support. These
9855     # are reset later if shared libraries are not supported. Putting them
9856     # here allows them to be overridden if necessary.
9857     runpath_var=LD_RUN_PATH
9858     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9859     export_dynamic_flag_spec='${wl}--export-dynamic'
9860     # ancient GNU ld didn't support --whole-archive et. al.
9861     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9862       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9863     else
9864       whole_archive_flag_spec=
9865     fi
9866     supports_anon_versioning=no
9867     case `$LD -v 2>&1` in
9868       *GNU\ gold*) supports_anon_versioning=yes ;;
9869       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9870       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9871       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9872       *\ 2.11.*) ;; # other 2.11 versions
9873       *) supports_anon_versioning=yes ;;
9874     esac
9875
9876     # See if GNU ld supports shared libraries.
9877     case $host_os in
9878     aix[3-9]*)
9879       # On AIX/PPC, the GNU linker is very broken
9880       if test "$host_cpu" != ia64; then
9881         ld_shlibs=no
9882         cat <<_LT_EOF 1>&2
9883
9884 *** Warning: the GNU linker, at least up to release 2.19, is reported
9885 *** to be unable to reliably create shared libraries on AIX.
9886 *** Therefore, libtool is disabling shared libraries support.  If you
9887 *** really care for shared libraries, you may want to install binutils
9888 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9889 *** You will then need to restart the configuration process.
9890
9891 _LT_EOF
9892       fi
9893       ;;
9894
9895     amigaos*)
9896       case $host_cpu in
9897       powerpc)
9898             # see comment about AmigaOS4 .so support
9899             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9900             archive_expsym_cmds=''
9901         ;;
9902       m68k)
9903             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)'
9904             hardcode_libdir_flag_spec='-L$libdir'
9905             hardcode_minus_L=yes
9906         ;;
9907       esac
9908       ;;
9909
9910     beos*)
9911       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9912         allow_undefined_flag=unsupported
9913         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9914         # support --undefined.  This deserves some investigation.  FIXME
9915         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9916       else
9917         ld_shlibs=no
9918       fi
9919       ;;
9920
9921     cygwin* | mingw* | pw32* | cegcc*)
9922       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9923       # as there is no search path for DLLs.
9924       hardcode_libdir_flag_spec='-L$libdir'
9925       export_dynamic_flag_spec='${wl}--export-all-symbols'
9926       allow_undefined_flag=unsupported
9927       always_export_symbols=no
9928       enable_shared_with_static_runtimes=yes
9929       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'
9930       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9931
9932       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9933         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9934         # If the export-symbols file already is a .def file (1st line
9935         # is EXPORTS), use it as is; otherwise, prepend...
9936         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9937           cp $export_symbols $output_objdir/$soname.def;
9938         else
9939           echo EXPORTS > $output_objdir/$soname.def;
9940           cat $export_symbols >> $output_objdir/$soname.def;
9941         fi~
9942         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9943       else
9944         ld_shlibs=no
9945       fi
9946       ;;
9947
9948     haiku*)
9949       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9950       link_all_deplibs=yes
9951       ;;
9952
9953     interix[3-9]*)
9954       hardcode_direct=no
9955       hardcode_shlibpath_var=no
9956       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9957       export_dynamic_flag_spec='${wl}-E'
9958       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9959       # Instead, shared libraries are loaded at an image base (0x10000000 by
9960       # default) and relocated if they conflict, which is a slow very memory
9961       # consuming and fragmenting process.  To avoid this, we pick a random,
9962       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9963       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9964       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9965       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'
9966       ;;
9967
9968     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9969       tmp_diet=no
9970       if test "$host_os" = linux-dietlibc; then
9971         case $cc_basename in
9972           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9973         esac
9974       fi
9975       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9976          && test "$tmp_diet" = no
9977       then
9978         tmp_addflag=' $pic_flag'
9979         tmp_sharedflag='-shared'
9980         case $cc_basename,$host_cpu in
9981         pgcc*)                          # Portland Group C compiler
9982           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'
9983           tmp_addflag=' $pic_flag'
9984           ;;
9985         pgf77* | pgf90* | pgf95* | pgfortran*)
9986                                         # Portland Group f77 and f90 compilers
9987           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'
9988           tmp_addflag=' $pic_flag -Mnomain' ;;
9989         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9990           tmp_addflag=' -i_dynamic' ;;
9991         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9992           tmp_addflag=' -i_dynamic -nofor_main' ;;
9993         ifc* | ifort*)                  # Intel Fortran compiler
9994           tmp_addflag=' -nofor_main' ;;
9995         lf95*)                          # Lahey Fortran 8.1
9996           whole_archive_flag_spec=
9997           tmp_sharedflag='--shared' ;;
9998         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9999           tmp_sharedflag='-qmkshrobj'
10000           tmp_addflag= ;;
10001         nvcc*)  # Cuda Compiler Driver 2.2
10002           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'
10003           compiler_needs_object=yes
10004           ;;
10005         esac
10006         case `$CC -V 2>&1 | sed 5q` in
10007         *Sun\ C*)                       # Sun C 5.9
10008           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'
10009           compiler_needs_object=yes
10010           tmp_sharedflag='-G' ;;
10011         *Sun\ F*)                       # Sun Fortran 8.3
10012           tmp_sharedflag='-G' ;;
10013         esac
10014         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10015
10016         if test "x$supports_anon_versioning" = xyes; then
10017           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10018             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10019             echo "local: *; };" >> $output_objdir/$libname.ver~
10020             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10021         fi
10022
10023         case $cc_basename in
10024         xlf* | bgf* | bgxlf* | mpixlf*)
10025           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10026           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10027           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10028           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10029           if test "x$supports_anon_versioning" = xyes; then
10030             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10031               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10032               echo "local: *; };" >> $output_objdir/$libname.ver~
10033               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10034           fi
10035           ;;
10036         esac
10037       else
10038         ld_shlibs=no
10039       fi
10040       ;;
10041
10042     netbsd* | netbsdelf*-gnu)
10043       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10044         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10045         wlarc=
10046       else
10047         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10048         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10049       fi
10050       ;;
10051
10052     solaris*)
10053       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10054         ld_shlibs=no
10055         cat <<_LT_EOF 1>&2
10056
10057 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10058 *** create shared libraries on Solaris systems.  Therefore, libtool
10059 *** is disabling shared libraries support.  We urge you to upgrade GNU
10060 *** binutils to release 2.9.1 or newer.  Another option is to modify
10061 *** your PATH or compiler configuration so that the native linker is
10062 *** used, and then restart.
10063
10064 _LT_EOF
10065       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10066         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10067         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10068       else
10069         ld_shlibs=no
10070       fi
10071       ;;
10072
10073     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10074       case `$LD -v 2>&1` in
10075         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10076         ld_shlibs=no
10077         cat <<_LT_EOF 1>&2
10078
10079 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10080 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10081 *** is disabling shared libraries support.  We urge you to upgrade GNU
10082 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10083 *** your PATH or compiler configuration so that the native linker is
10084 *** used, and then restart.
10085
10086 _LT_EOF
10087         ;;
10088         *)
10089           # For security reasons, it is highly recommended that you always
10090           # use absolute paths for naming shared libraries, and exclude the
10091           # DT_RUNPATH tag from executables and libraries.  But doing so
10092           # requires that you compile everything twice, which is a pain.
10093           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10094             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10095             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10096             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10097           else
10098             ld_shlibs=no
10099           fi
10100         ;;
10101       esac
10102       ;;
10103
10104     sunos4*)
10105       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10106       wlarc=
10107       hardcode_direct=yes
10108       hardcode_shlibpath_var=no
10109       ;;
10110
10111     *)
10112       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10113         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10114         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10115       else
10116         ld_shlibs=no
10117       fi
10118       ;;
10119     esac
10120
10121     if test "$ld_shlibs" = no; then
10122       runpath_var=
10123       hardcode_libdir_flag_spec=
10124       export_dynamic_flag_spec=
10125       whole_archive_flag_spec=
10126     fi
10127   else
10128     # PORTME fill in a description of your system's linker (not GNU ld)
10129     case $host_os in
10130     aix3*)
10131       allow_undefined_flag=unsupported
10132       always_export_symbols=yes
10133       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'
10134       # Note: this linker hardcodes the directories in LIBPATH if there
10135       # are no directories specified by -L.
10136       hardcode_minus_L=yes
10137       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10138         # Neither direct hardcoding nor static linking is supported with a
10139         # broken collect2.
10140         hardcode_direct=unsupported
10141       fi
10142       ;;
10143
10144     aix[4-9]*)
10145       if test "$host_cpu" = ia64; then
10146         # On IA64, the linker does run time linking by default, so we don't
10147         # have to do anything special.
10148         aix_use_runtimelinking=no
10149         exp_sym_flag='-Bexport'
10150         no_entry_flag=""
10151       else
10152         # If we're using GNU nm, then we don't want the "-C" option.
10153         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10154         # Also, AIX nm treats weak defined symbols like other global
10155         # defined symbols, whereas GNU nm marks them as "W".
10156         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10157           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'
10158         else
10159           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'
10160         fi
10161         aix_use_runtimelinking=no
10162
10163         # Test if we are trying to use run time linking or normal
10164         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10165         # need to do runtime linking.
10166         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10167           for ld_flag in $LDFLAGS; do
10168           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10169             aix_use_runtimelinking=yes
10170             break
10171           fi
10172           done
10173           ;;
10174         esac
10175
10176         exp_sym_flag='-bexport'
10177         no_entry_flag='-bnoentry'
10178       fi
10179
10180       # When large executables or shared objects are built, AIX ld can
10181       # have problems creating the table of contents.  If linking a library
10182       # or program results in "error TOC overflow" add -mminimal-toc to
10183       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10184       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10185
10186       archive_cmds=''
10187       hardcode_direct=yes
10188       hardcode_direct_absolute=yes
10189       hardcode_libdir_separator=':'
10190       link_all_deplibs=yes
10191       file_list_spec='${wl}-f,'
10192
10193       if test "$GCC" = yes; then
10194         case $host_os in aix4.[012]|aix4.[012].*)
10195         # We only want to do this on AIX 4.2 and lower, the check
10196         # below for broken collect2 doesn't work under 4.3+
10197           collect2name=`${CC} -print-prog-name=collect2`
10198           if test -f "$collect2name" &&
10199            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10200           then
10201           # We have reworked collect2
10202           :
10203           else
10204           # We have old collect2
10205           hardcode_direct=unsupported
10206           # It fails to find uninstalled libraries when the uninstalled
10207           # path is not listed in the libpath.  Setting hardcode_minus_L
10208           # to unsupported forces relinking
10209           hardcode_minus_L=yes
10210           hardcode_libdir_flag_spec='-L$libdir'
10211           hardcode_libdir_separator=
10212           fi
10213           ;;
10214         esac
10215         shared_flag='-shared'
10216         if test "$aix_use_runtimelinking" = yes; then
10217           shared_flag="$shared_flag "'${wl}-G'
10218         fi
10219         link_all_deplibs=no
10220       else
10221         # not using gcc
10222         if test "$host_cpu" = ia64; then
10223         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10224         # chokes on -Wl,-G. The following line is correct:
10225           shared_flag='-G'
10226         else
10227           if test "$aix_use_runtimelinking" = yes; then
10228             shared_flag='${wl}-G'
10229           else
10230             shared_flag='${wl}-bM:SRE'
10231           fi
10232         fi
10233       fi
10234
10235       export_dynamic_flag_spec='${wl}-bexpall'
10236       # It seems that -bexpall does not export symbols beginning with
10237       # underscore (_), so it is better to generate a list of symbols to export.
10238       always_export_symbols=yes
10239       if test "$aix_use_runtimelinking" = yes; then
10240         # Warning - without using the other runtime loading flags (-brtl),
10241         # -berok will link without error, but may produce a broken library.
10242         allow_undefined_flag='-berok'
10243         # Determine the default libpath from the value encoded in an
10244         # empty executable.
10245         if test "${lt_cv_aix_libpath+set}" = set; then
10246   aix_libpath=$lt_cv_aix_libpath
10247 else
10248   if ${lt_cv_aix_libpath_+:} false; then :
10249   $as_echo_n "(cached) " >&6
10250 else
10251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10252 /* end confdefs.h.  */
10253
10254 int
10255 main ()
10256 {
10257
10258   ;
10259   return 0;
10260 }
10261 _ACEOF
10262 if ac_fn_c_try_link "$LINENO"; then :
10263
10264   lt_aix_libpath_sed='
10265       /Import File Strings/,/^$/ {
10266           /^0/ {
10267               s/^0  *\([^ ]*\) *$/\1/
10268               p
10269           }
10270       }'
10271   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10272   # Check for a 64-bit object if we didn't find anything.
10273   if test -z "$lt_cv_aix_libpath_"; then
10274     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10275   fi
10276 fi
10277 rm -f core conftest.err conftest.$ac_objext \
10278     conftest$ac_exeext conftest.$ac_ext
10279   if test -z "$lt_cv_aix_libpath_"; then
10280     lt_cv_aix_libpath_="/usr/lib:/lib"
10281   fi
10282
10283 fi
10284
10285   aix_libpath=$lt_cv_aix_libpath_
10286 fi
10287
10288         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10289         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"
10290       else
10291         if test "$host_cpu" = ia64; then
10292           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10293           allow_undefined_flag="-z nodefs"
10294           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"
10295         else
10296          # Determine the default libpath from the value encoded in an
10297          # empty executable.
10298          if test "${lt_cv_aix_libpath+set}" = set; then
10299   aix_libpath=$lt_cv_aix_libpath
10300 else
10301   if ${lt_cv_aix_libpath_+:} false; then :
10302   $as_echo_n "(cached) " >&6
10303 else
10304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10305 /* end confdefs.h.  */
10306
10307 int
10308 main ()
10309 {
10310
10311   ;
10312   return 0;
10313 }
10314 _ACEOF
10315 if ac_fn_c_try_link "$LINENO"; then :
10316
10317   lt_aix_libpath_sed='
10318       /Import File Strings/,/^$/ {
10319           /^0/ {
10320               s/^0  *\([^ ]*\) *$/\1/
10321               p
10322           }
10323       }'
10324   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10325   # Check for a 64-bit object if we didn't find anything.
10326   if test -z "$lt_cv_aix_libpath_"; then
10327     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10328   fi
10329 fi
10330 rm -f core conftest.err conftest.$ac_objext \
10331     conftest$ac_exeext conftest.$ac_ext
10332   if test -z "$lt_cv_aix_libpath_"; then
10333     lt_cv_aix_libpath_="/usr/lib:/lib"
10334   fi
10335
10336 fi
10337
10338   aix_libpath=$lt_cv_aix_libpath_
10339 fi
10340
10341          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10342           # Warning - without using the other run time loading flags,
10343           # -berok will link without error, but may produce a broken library.
10344           no_undefined_flag=' ${wl}-bernotok'
10345           allow_undefined_flag=' ${wl}-berok'
10346           if test "$with_gnu_ld" = yes; then
10347             # We only use this code for GNU lds that support --whole-archive.
10348             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10349           else
10350             # Exported symbols can be pulled into shared objects from archives
10351             whole_archive_flag_spec='$convenience'
10352           fi
10353           archive_cmds_need_lc=yes
10354           # This is similar to how AIX traditionally builds its shared libraries.
10355           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'
10356         fi
10357       fi
10358       ;;
10359
10360     amigaos*)
10361       case $host_cpu in
10362       powerpc)
10363             # see comment about AmigaOS4 .so support
10364             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10365             archive_expsym_cmds=''
10366         ;;
10367       m68k)
10368             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)'
10369             hardcode_libdir_flag_spec='-L$libdir'
10370             hardcode_minus_L=yes
10371         ;;
10372       esac
10373       ;;
10374
10375     bsdi[45]*)
10376       export_dynamic_flag_spec=-rdynamic
10377       ;;
10378
10379     cygwin* | mingw* | pw32* | cegcc*)
10380       # When not using gcc, we currently assume that we are using
10381       # Microsoft Visual C++.
10382       # hardcode_libdir_flag_spec is actually meaningless, as there is
10383       # no search path for DLLs.
10384       case $cc_basename in
10385       cl*)
10386         # Native MSVC
10387         hardcode_libdir_flag_spec=' '
10388         allow_undefined_flag=unsupported
10389         always_export_symbols=yes
10390         file_list_spec='@'
10391         # Tell ltmain to make .lib files, not .a files.
10392         libext=lib
10393         # Tell ltmain to make .dll files, not .so files.
10394         shrext_cmds=".dll"
10395         # FIXME: Setting linknames here is a bad hack.
10396         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10397         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10398             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10399           else
10400             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10401           fi~
10402           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10403           linknames='
10404         # The linker will not automatically build a static lib if we build a DLL.
10405         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10406         enable_shared_with_static_runtimes=yes
10407         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10408         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10409         # Don't use ranlib
10410         old_postinstall_cmds='chmod 644 $oldlib'
10411         postlink_cmds='lt_outputfile="@OUTPUT@"~
10412           lt_tool_outputfile="@TOOL_OUTPUT@"~
10413           case $lt_outputfile in
10414             *.exe|*.EXE) ;;
10415             *)
10416               lt_outputfile="$lt_outputfile.exe"
10417               lt_tool_outputfile="$lt_tool_outputfile.exe"
10418               ;;
10419           esac~
10420           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10421             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10422             $RM "$lt_outputfile.manifest";
10423           fi'
10424         ;;
10425       *)
10426         # Assume MSVC wrapper
10427         hardcode_libdir_flag_spec=' '
10428         allow_undefined_flag=unsupported
10429         # Tell ltmain to make .lib files, not .a files.
10430         libext=lib
10431         # Tell ltmain to make .dll files, not .so files.
10432         shrext_cmds=".dll"
10433         # FIXME: Setting linknames here is a bad hack.
10434         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10435         # The linker will automatically build a .lib file if we build a DLL.
10436         old_archive_from_new_cmds='true'
10437         # FIXME: Should let the user specify the lib program.
10438         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10439         enable_shared_with_static_runtimes=yes
10440         ;;
10441       esac
10442       ;;
10443
10444     darwin* | rhapsody*)
10445
10446
10447   archive_cmds_need_lc=no
10448   hardcode_direct=no
10449   hardcode_automatic=yes
10450   hardcode_shlibpath_var=unsupported
10451   if test "$lt_cv_ld_force_load" = "yes"; then
10452     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\"`'
10453
10454   else
10455     whole_archive_flag_spec=''
10456   fi
10457   link_all_deplibs=yes
10458   allow_undefined_flag="$_lt_dar_allow_undefined"
10459   case $cc_basename in
10460      ifort*) _lt_dar_can_shared=yes ;;
10461      *) _lt_dar_can_shared=$GCC ;;
10462   esac
10463   if test "$_lt_dar_can_shared" = "yes"; then
10464     output_verbose_link_cmd=func_echo_all
10465     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10466     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10467     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}"
10468     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}"
10469
10470   else
10471   ld_shlibs=no
10472   fi
10473
10474       ;;
10475
10476     dgux*)
10477       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10478       hardcode_libdir_flag_spec='-L$libdir'
10479       hardcode_shlibpath_var=no
10480       ;;
10481
10482     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10483     # support.  Future versions do this automatically, but an explicit c++rt0.o
10484     # does not break anything, and helps significantly (at the cost of a little
10485     # extra space).
10486     freebsd2.2*)
10487       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10488       hardcode_libdir_flag_spec='-R$libdir'
10489       hardcode_direct=yes
10490       hardcode_shlibpath_var=no
10491       ;;
10492
10493     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10494     freebsd2.*)
10495       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10496       hardcode_direct=yes
10497       hardcode_minus_L=yes
10498       hardcode_shlibpath_var=no
10499       ;;
10500
10501     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10502     freebsd* | dragonfly*)
10503       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10504       hardcode_libdir_flag_spec='-R$libdir'
10505       hardcode_direct=yes
10506       hardcode_shlibpath_var=no
10507       ;;
10508
10509     hpux9*)
10510       if test "$GCC" = yes; then
10511         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'
10512       else
10513         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'
10514       fi
10515       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10516       hardcode_libdir_separator=:
10517       hardcode_direct=yes
10518
10519       # hardcode_minus_L: Not really in the search PATH,
10520       # but as the default location of the library.
10521       hardcode_minus_L=yes
10522       export_dynamic_flag_spec='${wl}-E'
10523       ;;
10524
10525     hpux10*)
10526       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10527         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10528       else
10529         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10530       fi
10531       if test "$with_gnu_ld" = no; then
10532         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10533         hardcode_libdir_separator=:
10534         hardcode_direct=yes
10535         hardcode_direct_absolute=yes
10536         export_dynamic_flag_spec='${wl}-E'
10537         # hardcode_minus_L: Not really in the search PATH,
10538         # but as the default location of the library.
10539         hardcode_minus_L=yes
10540       fi
10541       ;;
10542
10543     hpux11*)
10544       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10545         case $host_cpu in
10546         hppa*64*)
10547           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10548           ;;
10549         ia64*)
10550           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10551           ;;
10552         *)
10553           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10554           ;;
10555         esac
10556       else
10557         case $host_cpu in
10558         hppa*64*)
10559           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10560           ;;
10561         ia64*)
10562           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10563           ;;
10564         *)
10565
10566           # Older versions of the 11.00 compiler do not understand -b yet
10567           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10568           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10569 $as_echo_n "checking if $CC understands -b... " >&6; }
10570 if ${lt_cv_prog_compiler__b+:} false; then :
10571   $as_echo_n "(cached) " >&6
10572 else
10573   lt_cv_prog_compiler__b=no
10574    save_LDFLAGS="$LDFLAGS"
10575    LDFLAGS="$LDFLAGS -b"
10576    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10577    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10578      # The linker can only warn and ignore the option if not recognized
10579      # So say no if there are warnings
10580      if test -s conftest.err; then
10581        # Append any errors to the config.log.
10582        cat conftest.err 1>&5
10583        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10584        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10585        if diff conftest.exp conftest.er2 >/dev/null; then
10586          lt_cv_prog_compiler__b=yes
10587        fi
10588      else
10589        lt_cv_prog_compiler__b=yes
10590      fi
10591    fi
10592    $RM -r conftest*
10593    LDFLAGS="$save_LDFLAGS"
10594
10595 fi
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10597 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10598
10599 if test x"$lt_cv_prog_compiler__b" = xyes; then
10600     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10601 else
10602     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10603 fi
10604
10605           ;;
10606         esac
10607       fi
10608       if test "$with_gnu_ld" = no; then
10609         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10610         hardcode_libdir_separator=:
10611
10612         case $host_cpu in
10613         hppa*64*|ia64*)
10614           hardcode_direct=no
10615           hardcode_shlibpath_var=no
10616           ;;
10617         *)
10618           hardcode_direct=yes
10619           hardcode_direct_absolute=yes
10620           export_dynamic_flag_spec='${wl}-E'
10621
10622           # hardcode_minus_L: Not really in the search PATH,
10623           # but as the default location of the library.
10624           hardcode_minus_L=yes
10625           ;;
10626         esac
10627       fi
10628       ;;
10629
10630     irix5* | irix6* | nonstopux*)
10631       if test "$GCC" = yes; then
10632         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'
10633         # Try to use the -exported_symbol ld option, if it does not
10634         # work, assume that -exports_file does not work either and
10635         # implicitly export all symbols.
10636         # This should be the same for all languages, so no per-tag cache variable.
10637         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10638 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10639 if ${lt_cv_irix_exported_symbol+:} false; then :
10640   $as_echo_n "(cached) " >&6
10641 else
10642   save_LDFLAGS="$LDFLAGS"
10643            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10644            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10645 /* end confdefs.h.  */
10646 int foo (void) { return 0; }
10647 _ACEOF
10648 if ac_fn_c_try_link "$LINENO"; then :
10649   lt_cv_irix_exported_symbol=yes
10650 else
10651   lt_cv_irix_exported_symbol=no
10652 fi
10653 rm -f core conftest.err conftest.$ac_objext \
10654     conftest$ac_exeext conftest.$ac_ext
10655            LDFLAGS="$save_LDFLAGS"
10656 fi
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10658 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10659         if test "$lt_cv_irix_exported_symbol" = yes; then
10660           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'
10661         fi
10662       else
10663         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'
10664         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'
10665       fi
10666       archive_cmds_need_lc='no'
10667       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10668       hardcode_libdir_separator=:
10669       inherit_rpath=yes
10670       link_all_deplibs=yes
10671       ;;
10672
10673     netbsd* | netbsdelf*-gnu)
10674       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10675         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10676       else
10677         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10678       fi
10679       hardcode_libdir_flag_spec='-R$libdir'
10680       hardcode_direct=yes
10681       hardcode_shlibpath_var=no
10682       ;;
10683
10684     newsos6)
10685       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10686       hardcode_direct=yes
10687       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10688       hardcode_libdir_separator=:
10689       hardcode_shlibpath_var=no
10690       ;;
10691
10692     *nto* | *qnx*)
10693       ;;
10694
10695     openbsd*)
10696       if test -f /usr/libexec/ld.so; then
10697         hardcode_direct=yes
10698         hardcode_shlibpath_var=no
10699         hardcode_direct_absolute=yes
10700         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10701           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10702           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10703           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10704           export_dynamic_flag_spec='${wl}-E'
10705         else
10706           case $host_os in
10707            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10708              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10709              hardcode_libdir_flag_spec='-R$libdir'
10710              ;;
10711            *)
10712              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10713              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10714              ;;
10715           esac
10716         fi
10717       else
10718         ld_shlibs=no
10719       fi
10720       ;;
10721
10722     os2*)
10723       hardcode_libdir_flag_spec='-L$libdir'
10724       hardcode_minus_L=yes
10725       allow_undefined_flag=unsupported
10726       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'
10727       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10728       ;;
10729
10730     osf3*)
10731       if test "$GCC" = yes; then
10732         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10733         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'
10734       else
10735         allow_undefined_flag=' -expect_unresolved \*'
10736         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'
10737       fi
10738       archive_cmds_need_lc='no'
10739       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10740       hardcode_libdir_separator=:
10741       ;;
10742
10743     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10744       if test "$GCC" = yes; then
10745         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10746         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'
10747         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10748       else
10749         allow_undefined_flag=' -expect_unresolved \*'
10750         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'
10751         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~
10752         $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'
10753
10754         # Both c and cxx compiler support -rpath directly
10755         hardcode_libdir_flag_spec='-rpath $libdir'
10756       fi
10757       archive_cmds_need_lc='no'
10758       hardcode_libdir_separator=:
10759       ;;
10760
10761     solaris*)
10762       no_undefined_flag=' -z defs'
10763       if test "$GCC" = yes; then
10764         wlarc='${wl}'
10765         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10766         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10767           $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'
10768       else
10769         case `$CC -V 2>&1` in
10770         *"Compilers 5.0"*)
10771           wlarc=''
10772           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10773           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10774           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10775           ;;
10776         *)
10777           wlarc='${wl}'
10778           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10779           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10780           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10781           ;;
10782         esac
10783       fi
10784       hardcode_libdir_flag_spec='-R$libdir'
10785       hardcode_shlibpath_var=no
10786       case $host_os in
10787       solaris2.[0-5] | solaris2.[0-5].*) ;;
10788       *)
10789         # The compiler driver will combine and reorder linker options,
10790         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10791         # but is careful enough not to reorder.
10792         # Supported since Solaris 2.6 (maybe 2.5.1?)
10793         if test "$GCC" = yes; then
10794           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10795         else
10796           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10797         fi
10798         ;;
10799       esac
10800       link_all_deplibs=yes
10801       ;;
10802
10803     sunos4*)
10804       if test "x$host_vendor" = xsequent; then
10805         # Use $CC to link under sequent, because it throws in some extra .o
10806         # files that make .init and .fini sections work.
10807         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10808       else
10809         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10810       fi
10811       hardcode_libdir_flag_spec='-L$libdir'
10812       hardcode_direct=yes
10813       hardcode_minus_L=yes
10814       hardcode_shlibpath_var=no
10815       ;;
10816
10817     sysv4)
10818       case $host_vendor in
10819         sni)
10820           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10821           hardcode_direct=yes # is this really true???
10822         ;;
10823         siemens)
10824           ## LD is ld it makes a PLAMLIB
10825           ## CC just makes a GrossModule.
10826           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10827           reload_cmds='$CC -r -o $output$reload_objs'
10828           hardcode_direct=no
10829         ;;
10830         motorola)
10831           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10832           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10833         ;;
10834       esac
10835       runpath_var='LD_RUN_PATH'
10836       hardcode_shlibpath_var=no
10837       ;;
10838
10839     sysv4.3*)
10840       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10841       hardcode_shlibpath_var=no
10842       export_dynamic_flag_spec='-Bexport'
10843       ;;
10844
10845     sysv4*MP*)
10846       if test -d /usr/nec; then
10847         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10848         hardcode_shlibpath_var=no
10849         runpath_var=LD_RUN_PATH
10850         hardcode_runpath_var=yes
10851         ld_shlibs=yes
10852       fi
10853       ;;
10854
10855     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10856       no_undefined_flag='${wl}-z,text'
10857       archive_cmds_need_lc=no
10858       hardcode_shlibpath_var=no
10859       runpath_var='LD_RUN_PATH'
10860
10861       if test "$GCC" = yes; then
10862         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10863         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10864       else
10865         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10866         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10867       fi
10868       ;;
10869
10870     sysv5* | sco3.2v5* | sco5v6*)
10871       # Note: We can NOT use -z defs as we might desire, because we do not
10872       # link with -lc, and that would cause any symbols used from libc to
10873       # always be unresolved, which means just about no library would
10874       # ever link correctly.  If we're not using GNU ld we use -z text
10875       # though, which does catch some bad symbols but isn't as heavy-handed
10876       # as -z defs.
10877       no_undefined_flag='${wl}-z,text'
10878       allow_undefined_flag='${wl}-z,nodefs'
10879       archive_cmds_need_lc=no
10880       hardcode_shlibpath_var=no
10881       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10882       hardcode_libdir_separator=':'
10883       link_all_deplibs=yes
10884       export_dynamic_flag_spec='${wl}-Bexport'
10885       runpath_var='LD_RUN_PATH'
10886
10887       if test "$GCC" = yes; then
10888         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10889         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10890       else
10891         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10892         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10893       fi
10894       ;;
10895
10896     uts4*)
10897       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10898       hardcode_libdir_flag_spec='-L$libdir'
10899       hardcode_shlibpath_var=no
10900       ;;
10901
10902     *)
10903       ld_shlibs=no
10904       ;;
10905     esac
10906
10907     if test x$host_vendor = xsni; then
10908       case $host in
10909       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10910         export_dynamic_flag_spec='${wl}-Blargedynsym'
10911         ;;
10912       esac
10913     fi
10914   fi
10915
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10917 $as_echo "$ld_shlibs" >&6; }
10918 test "$ld_shlibs" = no && can_build_shared=no
10919
10920 with_gnu_ld=$with_gnu_ld
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936 #
10937 # Do we need to explicitly link libc?
10938 #
10939 case "x$archive_cmds_need_lc" in
10940 x|xyes)
10941   # Assume -lc should be added
10942   archive_cmds_need_lc=yes
10943
10944   if test "$enable_shared" = yes && test "$GCC" = yes; then
10945     case $archive_cmds in
10946     *'~'*)
10947       # FIXME: we may have to deal with multi-command sequences.
10948       ;;
10949     '$CC '*)
10950       # Test whether the compiler implicitly links with -lc since on some
10951       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10952       # to ld, don't add -lc before -lgcc.
10953       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10954 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10955 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10956   $as_echo_n "(cached) " >&6
10957 else
10958   $RM conftest*
10959         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10960
10961         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10962   (eval $ac_compile) 2>&5
10963   ac_status=$?
10964   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10965   test $ac_status = 0; } 2>conftest.err; then
10966           soname=conftest
10967           lib=conftest
10968           libobjs=conftest.$ac_objext
10969           deplibs=
10970           wl=$lt_prog_compiler_wl
10971           pic_flag=$lt_prog_compiler_pic
10972           compiler_flags=-v
10973           linker_flags=-v
10974           verstring=
10975           output_objdir=.
10976           libname=conftest
10977           lt_save_allow_undefined_flag=$allow_undefined_flag
10978           allow_undefined_flag=
10979           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10980   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10981   ac_status=$?
10982   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10983   test $ac_status = 0; }
10984           then
10985             lt_cv_archive_cmds_need_lc=no
10986           else
10987             lt_cv_archive_cmds_need_lc=yes
10988           fi
10989           allow_undefined_flag=$lt_save_allow_undefined_flag
10990         else
10991           cat conftest.err 1>&5
10992         fi
10993         $RM conftest*
10994
10995 fi
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10997 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10998       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10999       ;;
11000     esac
11001   fi
11002   ;;
11003 esac
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11157 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11158
11159 if test "$GCC" = yes; then
11160   case $host_os in
11161     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11162     *) lt_awk_arg="/^libraries:/" ;;
11163   esac
11164   case $host_os in
11165     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11166     *) lt_sed_strip_eq="s,=/,/,g" ;;
11167   esac
11168   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11169   case $lt_search_path_spec in
11170   *\;*)
11171     # if the path contains ";" then we assume it to be the separator
11172     # otherwise default to the standard path separator (i.e. ":") - it is
11173     # assumed that no part of a normal pathname contains ";" but that should
11174     # okay in the real world where ";" in dirpaths is itself problematic.
11175     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11176     ;;
11177   *)
11178     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11179     ;;
11180   esac
11181   # Ok, now we have the path, separated by spaces, we can step through it
11182   # and add multilib dir if necessary.
11183   lt_tmp_lt_search_path_spec=
11184   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11185   for lt_sys_path in $lt_search_path_spec; do
11186     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11187       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11188     else
11189       test -d "$lt_sys_path" && \
11190         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11191     fi
11192   done
11193   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11194 BEGIN {RS=" "; FS="/|\n";} {
11195   lt_foo="";
11196   lt_count=0;
11197   for (lt_i = NF; lt_i > 0; lt_i--) {
11198     if ($lt_i != "" && $lt_i != ".") {
11199       if ($lt_i == "..") {
11200         lt_count++;
11201       } else {
11202         if (lt_count == 0) {
11203           lt_foo="/" $lt_i lt_foo;
11204         } else {
11205           lt_count--;
11206         }
11207       }
11208     }
11209   }
11210   if (lt_foo != "") { lt_freq[lt_foo]++; }
11211   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11212 }'`
11213   # AWK program above erroneously prepends '/' to C:/dos/paths
11214   # for these hosts.
11215   case $host_os in
11216     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11217       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11218   esac
11219   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11220 else
11221   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11222 fi
11223 library_names_spec=
11224 libname_spec='lib$name'
11225 soname_spec=
11226 shrext_cmds=".so"
11227 postinstall_cmds=
11228 postuninstall_cmds=
11229 finish_cmds=
11230 finish_eval=
11231 shlibpath_var=
11232 shlibpath_overrides_runpath=unknown
11233 version_type=none
11234 dynamic_linker="$host_os ld.so"
11235 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11236 need_lib_prefix=unknown
11237 hardcode_into_libs=no
11238
11239 # when you set need_version to no, make sure it does not cause -set_version
11240 # flags to be left without arguments
11241 need_version=unknown
11242
11243 case $host_os in
11244 aix3*)
11245   version_type=linux # correct to gnu/linux during the next big refactor
11246   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11247   shlibpath_var=LIBPATH
11248
11249   # AIX 3 has no versioning support, so we append a major version to the name.
11250   soname_spec='${libname}${release}${shared_ext}$major'
11251   ;;
11252
11253 aix[4-9]*)
11254   version_type=linux # correct to gnu/linux during the next big refactor
11255   need_lib_prefix=no
11256   need_version=no
11257   hardcode_into_libs=yes
11258   if test "$host_cpu" = ia64; then
11259     # AIX 5 supports IA64
11260     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11261     shlibpath_var=LD_LIBRARY_PATH
11262   else
11263     # With GCC up to 2.95.x, collect2 would create an import file
11264     # for dependence libraries.  The import file would start with
11265     # the line `#! .'.  This would cause the generated library to
11266     # depend on `.', always an invalid library.  This was fixed in
11267     # development snapshots of GCC prior to 3.0.
11268     case $host_os in
11269       aix4 | aix4.[01] | aix4.[01].*)
11270       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11271            echo ' yes '
11272            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11273         :
11274       else
11275         can_build_shared=no
11276       fi
11277       ;;
11278     esac
11279     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11280     # soname into executable. Probably we can add versioning support to
11281     # collect2, so additional links can be useful in future.
11282     if test "$aix_use_runtimelinking" = yes; then
11283       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11284       # instead of lib<name>.a to let people know that these are not
11285       # typical AIX shared libraries.
11286       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11287     else
11288       # We preserve .a as extension for shared libraries through AIX4.2
11289       # and later when we are not doing run time linking.
11290       library_names_spec='${libname}${release}.a $libname.a'
11291       soname_spec='${libname}${release}${shared_ext}$major'
11292     fi
11293     shlibpath_var=LIBPATH
11294   fi
11295   ;;
11296
11297 amigaos*)
11298   case $host_cpu in
11299   powerpc)
11300     # Since July 2007 AmigaOS4 officially supports .so libraries.
11301     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11302     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11303     ;;
11304   m68k)
11305     library_names_spec='$libname.ixlibrary $libname.a'
11306     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11307     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'
11308     ;;
11309   esac
11310   ;;
11311
11312 beos*)
11313   library_names_spec='${libname}${shared_ext}'
11314   dynamic_linker="$host_os ld.so"
11315   shlibpath_var=LIBRARY_PATH
11316   ;;
11317
11318 bsdi[45]*)
11319   version_type=linux # correct to gnu/linux during the next big refactor
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   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11324   shlibpath_var=LD_LIBRARY_PATH
11325   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11326   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11327   # the default ld.so.conf also contains /usr/contrib/lib and
11328   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11329   # libtool to hard-code these into programs
11330   ;;
11331
11332 cygwin* | mingw* | pw32* | cegcc*)
11333   version_type=windows
11334   shrext_cmds=".dll"
11335   need_version=no
11336   need_lib_prefix=no
11337
11338   case $GCC,$cc_basename in
11339   yes,*)
11340     # gcc
11341     library_names_spec='$libname.dll.a'
11342     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11343     postinstall_cmds='base_file=`basename \${file}`~
11344       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11345       dldir=$destdir/`dirname \$dlpath`~
11346       test -d \$dldir || mkdir -p \$dldir~
11347       $install_prog $dir/$dlname \$dldir/$dlname~
11348       chmod a+x \$dldir/$dlname~
11349       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11350         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11351       fi'
11352     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11353       dlpath=$dir/\$dldll~
11354        $RM \$dlpath'
11355     shlibpath_overrides_runpath=yes
11356
11357     case $host_os in
11358     cygwin*)
11359       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11360       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11361
11362       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11363       ;;
11364     mingw* | cegcc*)
11365       # MinGW DLLs use traditional 'lib' prefix
11366       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11367       ;;
11368     pw32*)
11369       # pw32 DLLs use 'pw' prefix rather than 'lib'
11370       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11371       ;;
11372     esac
11373     dynamic_linker='Win32 ld.exe'
11374     ;;
11375
11376   *,cl*)
11377     # Native MSVC
11378     libname_spec='$name'
11379     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11380     library_names_spec='${libname}.dll.lib'
11381
11382     case $build_os in
11383     mingw*)
11384       sys_lib_search_path_spec=
11385       lt_save_ifs=$IFS
11386       IFS=';'
11387       for lt_path in $LIB
11388       do
11389         IFS=$lt_save_ifs
11390         # Let DOS variable expansion print the short 8.3 style file name.
11391         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11392         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11393       done
11394       IFS=$lt_save_ifs
11395       # Convert to MSYS style.
11396       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11397       ;;
11398     cygwin*)
11399       # Convert to unix form, then to dos form, then back to unix form
11400       # but this time dos style (no spaces!) so that the unix form looks
11401       # like /cygdrive/c/PROGRA~1:/cygdr...
11402       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11403       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11404       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11405       ;;
11406     *)
11407       sys_lib_search_path_spec="$LIB"
11408       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11409         # It is most probably a Windows format PATH.
11410         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11411       else
11412         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11413       fi
11414       # FIXME: find the short name or the path components, as spaces are
11415       # common. (e.g. "Program Files" -> "PROGRA~1")
11416       ;;
11417     esac
11418
11419     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11420     postinstall_cmds='base_file=`basename \${file}`~
11421       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11422       dldir=$destdir/`dirname \$dlpath`~
11423       test -d \$dldir || mkdir -p \$dldir~
11424       $install_prog $dir/$dlname \$dldir/$dlname'
11425     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11426       dlpath=$dir/\$dldll~
11427        $RM \$dlpath'
11428     shlibpath_overrides_runpath=yes
11429     dynamic_linker='Win32 link.exe'
11430     ;;
11431
11432   *)
11433     # Assume MSVC wrapper
11434     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11435     dynamic_linker='Win32 ld.exe'
11436     ;;
11437   esac
11438   # FIXME: first we should search . and the directory the executable is in
11439   shlibpath_var=PATH
11440   ;;
11441
11442 darwin* | rhapsody*)
11443   dynamic_linker="$host_os dyld"
11444   version_type=darwin
11445   need_lib_prefix=no
11446   need_version=no
11447   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11448   soname_spec='${libname}${release}${major}$shared_ext'
11449   shlibpath_overrides_runpath=yes
11450   shlibpath_var=DYLD_LIBRARY_PATH
11451   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11452
11453   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11454   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11455   ;;
11456
11457 dgux*)
11458   version_type=linux # correct to gnu/linux during the next big refactor
11459   need_lib_prefix=no
11460   need_version=no
11461   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11462   soname_spec='${libname}${release}${shared_ext}$major'
11463   shlibpath_var=LD_LIBRARY_PATH
11464   ;;
11465
11466 freebsd* | dragonfly*)
11467   # DragonFly does not have aout.  When/if they implement a new
11468   # versioning mechanism, adjust this.
11469   if test -x /usr/bin/objformat; then
11470     objformat=`/usr/bin/objformat`
11471   else
11472     case $host_os in
11473     freebsd[23].*) objformat=aout ;;
11474     *) objformat=elf ;;
11475     esac
11476   fi
11477   version_type=freebsd-$objformat
11478   case $version_type in
11479     freebsd-elf*)
11480       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11481       need_version=no
11482       need_lib_prefix=no
11483       ;;
11484     freebsd-*)
11485       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11486       need_version=yes
11487       ;;
11488   esac
11489   shlibpath_var=LD_LIBRARY_PATH
11490   case $host_os in
11491   freebsd2.*)
11492     shlibpath_overrides_runpath=yes
11493     ;;
11494   freebsd3.[01]* | freebsdelf3.[01]*)
11495     shlibpath_overrides_runpath=yes
11496     hardcode_into_libs=yes
11497     ;;
11498   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11499   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11500     shlibpath_overrides_runpath=no
11501     hardcode_into_libs=yes
11502     ;;
11503   *) # from 4.6 on, and DragonFly
11504     shlibpath_overrides_runpath=yes
11505     hardcode_into_libs=yes
11506     ;;
11507   esac
11508   ;;
11509
11510 haiku*)
11511   version_type=linux # correct to gnu/linux during the next big refactor
11512   need_lib_prefix=no
11513   need_version=no
11514   dynamic_linker="$host_os runtime_loader"
11515   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11516   soname_spec='${libname}${release}${shared_ext}$major'
11517   shlibpath_var=LIBRARY_PATH
11518   shlibpath_overrides_runpath=yes
11519   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11520   hardcode_into_libs=yes
11521   ;;
11522
11523 hpux9* | hpux10* | hpux11*)
11524   # Give a soname corresponding to the major version so that dld.sl refuses to
11525   # link against other versions.
11526   version_type=sunos
11527   need_lib_prefix=no
11528   need_version=no
11529   case $host_cpu in
11530   ia64*)
11531     shrext_cmds='.so'
11532     hardcode_into_libs=yes
11533     dynamic_linker="$host_os dld.so"
11534     shlibpath_var=LD_LIBRARY_PATH
11535     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11536     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11537     soname_spec='${libname}${release}${shared_ext}$major'
11538     if test "X$HPUX_IA64_MODE" = X32; then
11539       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11540     else
11541       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11542     fi
11543     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11544     ;;
11545   hppa*64*)
11546     shrext_cmds='.sl'
11547     hardcode_into_libs=yes
11548     dynamic_linker="$host_os dld.sl"
11549     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11550     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11551     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11552     soname_spec='${libname}${release}${shared_ext}$major'
11553     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11554     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11555     ;;
11556   *)
11557     shrext_cmds='.sl'
11558     dynamic_linker="$host_os dld.sl"
11559     shlibpath_var=SHLIB_PATH
11560     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11561     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11562     soname_spec='${libname}${release}${shared_ext}$major'
11563     ;;
11564   esac
11565   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11566   postinstall_cmds='chmod 555 $lib'
11567   # or fails outright, so override atomically:
11568   install_override_mode=555
11569   ;;
11570
11571 interix[3-9]*)
11572   version_type=linux # correct to gnu/linux during the next big refactor
11573   need_lib_prefix=no
11574   need_version=no
11575   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11576   soname_spec='${libname}${release}${shared_ext}$major'
11577   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11578   shlibpath_var=LD_LIBRARY_PATH
11579   shlibpath_overrides_runpath=no
11580   hardcode_into_libs=yes
11581   ;;
11582
11583 irix5* | irix6* | nonstopux*)
11584   case $host_os in
11585     nonstopux*) version_type=nonstopux ;;
11586     *)
11587         if test "$lt_cv_prog_gnu_ld" = yes; then
11588                 version_type=linux # correct to gnu/linux during the next big refactor
11589         else
11590                 version_type=irix
11591         fi ;;
11592   esac
11593   need_lib_prefix=no
11594   need_version=no
11595   soname_spec='${libname}${release}${shared_ext}$major'
11596   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11597   case $host_os in
11598   irix5* | nonstopux*)
11599     libsuff= shlibsuff=
11600     ;;
11601   *)
11602     case $LD in # libtool.m4 will add one of these switches to LD
11603     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11604       libsuff= shlibsuff= libmagic=32-bit;;
11605     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11606       libsuff=32 shlibsuff=N32 libmagic=N32;;
11607     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11608       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11609     *) libsuff= shlibsuff= libmagic=never-match;;
11610     esac
11611     ;;
11612   esac
11613   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11614   shlibpath_overrides_runpath=no
11615   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11616   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11617   hardcode_into_libs=yes
11618   ;;
11619
11620 # No shared lib support for Linux oldld, aout, or coff.
11621 linux*oldld* | linux*aout* | linux*coff*)
11622   dynamic_linker=no
11623   ;;
11624
11625 # This must be glibc/ELF.
11626 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11627   version_type=linux # correct to gnu/linux during the next big refactor
11628   need_lib_prefix=no
11629   need_version=no
11630   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11631   soname_spec='${libname}${release}${shared_ext}$major'
11632   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11633   shlibpath_var=LD_LIBRARY_PATH
11634   shlibpath_overrides_runpath=no
11635
11636   # Some binutils ld are patched to set DT_RUNPATH
11637   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11638   $as_echo_n "(cached) " >&6
11639 else
11640   lt_cv_shlibpath_overrides_runpath=no
11641     save_LDFLAGS=$LDFLAGS
11642     save_libdir=$libdir
11643     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11644          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11645     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h.  */
11647
11648 int
11649 main ()
11650 {
11651
11652   ;
11653   return 0;
11654 }
11655 _ACEOF
11656 if ac_fn_c_try_link "$LINENO"; then :
11657   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11658   lt_cv_shlibpath_overrides_runpath=yes
11659 fi
11660 fi
11661 rm -f core conftest.err conftest.$ac_objext \
11662     conftest$ac_exeext conftest.$ac_ext
11663     LDFLAGS=$save_LDFLAGS
11664     libdir=$save_libdir
11665
11666 fi
11667
11668   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11669
11670   # This implies no fast_install, which is unacceptable.
11671   # Some rework will be needed to allow for fast_install
11672   # before this can be enabled.
11673   hardcode_into_libs=yes
11674
11675   # Append ld.so.conf contents to the search path
11676   if test -f /etc/ld.so.conf; then
11677     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' ' '`
11678     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11679   fi
11680
11681   # We used to test for /lib/ld.so.1 and disable shared libraries on
11682   # powerpc, because MkLinux only supported shared libraries with the
11683   # GNU dynamic linker.  Since this was broken with cross compilers,
11684   # most powerpc-linux boxes support dynamic linking these days and
11685   # people can always --disable-shared, the test was removed, and we
11686   # assume the GNU/Linux dynamic linker is in use.
11687   dynamic_linker='GNU/Linux ld.so'
11688   ;;
11689
11690 netbsdelf*-gnu)
11691   version_type=linux
11692   need_lib_prefix=no
11693   need_version=no
11694   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11695   soname_spec='${libname}${release}${shared_ext}$major'
11696   shlibpath_var=LD_LIBRARY_PATH
11697   shlibpath_overrides_runpath=no
11698   hardcode_into_libs=yes
11699   dynamic_linker='NetBSD ld.elf_so'
11700   ;;
11701
11702 netbsd*)
11703   version_type=sunos
11704   need_lib_prefix=no
11705   need_version=no
11706   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11707     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11708     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11709     dynamic_linker='NetBSD (a.out) ld.so'
11710   else
11711     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11712     soname_spec='${libname}${release}${shared_ext}$major'
11713     dynamic_linker='NetBSD ld.elf_so'
11714   fi
11715   shlibpath_var=LD_LIBRARY_PATH
11716   shlibpath_overrides_runpath=yes
11717   hardcode_into_libs=yes
11718   ;;
11719
11720 newsos6)
11721   version_type=linux # correct to gnu/linux during the next big refactor
11722   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11723   shlibpath_var=LD_LIBRARY_PATH
11724   shlibpath_overrides_runpath=yes
11725   ;;
11726
11727 *nto* | *qnx*)
11728   version_type=qnx
11729   need_lib_prefix=no
11730   need_version=no
11731   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11732   soname_spec='${libname}${release}${shared_ext}$major'
11733   shlibpath_var=LD_LIBRARY_PATH
11734   shlibpath_overrides_runpath=no
11735   hardcode_into_libs=yes
11736   dynamic_linker='ldqnx.so'
11737   ;;
11738
11739 openbsd*)
11740   version_type=sunos
11741   sys_lib_dlsearch_path_spec="/usr/lib"
11742   need_lib_prefix=no
11743   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11744   case $host_os in
11745     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11746     *)                          need_version=no  ;;
11747   esac
11748   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11749   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11750   shlibpath_var=LD_LIBRARY_PATH
11751   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11752     case $host_os in
11753       openbsd2.[89] | openbsd2.[89].*)
11754         shlibpath_overrides_runpath=no
11755         ;;
11756       *)
11757         shlibpath_overrides_runpath=yes
11758         ;;
11759       esac
11760   else
11761     shlibpath_overrides_runpath=yes
11762   fi
11763   ;;
11764
11765 os2*)
11766   libname_spec='$name'
11767   shrext_cmds=".dll"
11768   need_lib_prefix=no
11769   library_names_spec='$libname${shared_ext} $libname.a'
11770   dynamic_linker='OS/2 ld.exe'
11771   shlibpath_var=LIBPATH
11772   ;;
11773
11774 osf3* | osf4* | osf5*)
11775   version_type=osf
11776   need_lib_prefix=no
11777   need_version=no
11778   soname_spec='${libname}${release}${shared_ext}$major'
11779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11780   shlibpath_var=LD_LIBRARY_PATH
11781   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11782   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11783   ;;
11784
11785 rdos*)
11786   dynamic_linker=no
11787   ;;
11788
11789 solaris*)
11790   version_type=linux # correct to gnu/linux during the next big refactor
11791   need_lib_prefix=no
11792   need_version=no
11793   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11794   soname_spec='${libname}${release}${shared_ext}$major'
11795   shlibpath_var=LD_LIBRARY_PATH
11796   shlibpath_overrides_runpath=yes
11797   hardcode_into_libs=yes
11798   # ldd complains unless libraries are executable
11799   postinstall_cmds='chmod +x $lib'
11800   ;;
11801
11802 sunos4*)
11803   version_type=sunos
11804   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11805   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11806   shlibpath_var=LD_LIBRARY_PATH
11807   shlibpath_overrides_runpath=yes
11808   if test "$with_gnu_ld" = yes; then
11809     need_lib_prefix=no
11810   fi
11811   need_version=yes
11812   ;;
11813
11814 sysv4 | sysv4.3*)
11815   version_type=linux # correct to gnu/linux during the next big refactor
11816   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11817   soname_spec='${libname}${release}${shared_ext}$major'
11818   shlibpath_var=LD_LIBRARY_PATH
11819   case $host_vendor in
11820     sni)
11821       shlibpath_overrides_runpath=no
11822       need_lib_prefix=no
11823       runpath_var=LD_RUN_PATH
11824       ;;
11825     siemens)
11826       need_lib_prefix=no
11827       ;;
11828     motorola)
11829       need_lib_prefix=no
11830       need_version=no
11831       shlibpath_overrides_runpath=no
11832       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11833       ;;
11834   esac
11835   ;;
11836
11837 sysv4*MP*)
11838   if test -d /usr/nec ;then
11839     version_type=linux # correct to gnu/linux during the next big refactor
11840     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11841     soname_spec='$libname${shared_ext}.$major'
11842     shlibpath_var=LD_LIBRARY_PATH
11843   fi
11844   ;;
11845
11846 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11847   version_type=freebsd-elf
11848   need_lib_prefix=no
11849   need_version=no
11850   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11851   soname_spec='${libname}${release}${shared_ext}$major'
11852   shlibpath_var=LD_LIBRARY_PATH
11853   shlibpath_overrides_runpath=yes
11854   hardcode_into_libs=yes
11855   if test "$with_gnu_ld" = yes; then
11856     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11857   else
11858     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11859     case $host_os in
11860       sco3.2v5*)
11861         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11862         ;;
11863     esac
11864   fi
11865   sys_lib_dlsearch_path_spec='/usr/lib'
11866   ;;
11867
11868 tpf*)
11869   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11870   version_type=linux # correct to gnu/linux during the next big refactor
11871   need_lib_prefix=no
11872   need_version=no
11873   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11874   shlibpath_var=LD_LIBRARY_PATH
11875   shlibpath_overrides_runpath=no
11876   hardcode_into_libs=yes
11877   ;;
11878
11879 uts4*)
11880   version_type=linux # correct to gnu/linux during the next big refactor
11881   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11882   soname_spec='${libname}${release}${shared_ext}$major'
11883   shlibpath_var=LD_LIBRARY_PATH
11884   ;;
11885
11886 *)
11887   dynamic_linker=no
11888   ;;
11889 esac
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11891 $as_echo "$dynamic_linker" >&6; }
11892 test "$dynamic_linker" = no && can_build_shared=no
11893
11894 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11895 if test "$GCC" = yes; then
11896   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11897 fi
11898
11899 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11900   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11901 fi
11902 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11903   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11904 fi
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11998 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11999 hardcode_action=
12000 if test -n "$hardcode_libdir_flag_spec" ||
12001    test -n "$runpath_var" ||
12002    test "X$hardcode_automatic" = "Xyes" ; then
12003
12004   # We can hardcode non-existent directories.
12005   if test "$hardcode_direct" != no &&
12006      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12007      # have to relink, otherwise we might link with an installed library
12008      # when we should be linking with a yet-to-be-installed one
12009      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12010      test "$hardcode_minus_L" != no; then
12011     # Linking always hardcodes the temporary library directory.
12012     hardcode_action=relink
12013   else
12014     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12015     hardcode_action=immediate
12016   fi
12017 else
12018   # We cannot hardcode anything, or else we can only hardcode existing
12019   # directories.
12020   hardcode_action=unsupported
12021 fi
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12023 $as_echo "$hardcode_action" >&6; }
12024
12025 if test "$hardcode_action" = relink ||
12026    test "$inherit_rpath" = yes; then
12027   # Fast installation is not supported
12028   enable_fast_install=no
12029 elif test "$shlibpath_overrides_runpath" = yes ||
12030      test "$enable_shared" = no; then
12031   # Fast installation is not necessary
12032   enable_fast_install=needless
12033 fi
12034
12035
12036
12037
12038
12039
12040   if test "x$enable_dlopen" != xyes; then
12041   enable_dlopen=unknown
12042   enable_dlopen_self=unknown
12043   enable_dlopen_self_static=unknown
12044 else
12045   lt_cv_dlopen=no
12046   lt_cv_dlopen_libs=
12047
12048   case $host_os in
12049   beos*)
12050     lt_cv_dlopen="load_add_on"
12051     lt_cv_dlopen_libs=
12052     lt_cv_dlopen_self=yes
12053     ;;
12054
12055   mingw* | pw32* | cegcc*)
12056     lt_cv_dlopen="LoadLibrary"
12057     lt_cv_dlopen_libs=
12058     ;;
12059
12060   cygwin*)
12061     lt_cv_dlopen="dlopen"
12062     lt_cv_dlopen_libs=
12063     ;;
12064
12065   darwin*)
12066   # if libdl is installed we need to link against it
12067     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12068 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12069 if ${ac_cv_lib_dl_dlopen+:} false; then :
12070   $as_echo_n "(cached) " >&6
12071 else
12072   ac_check_lib_save_LIBS=$LIBS
12073 LIBS="-ldl  $LIBS"
12074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12075 /* end confdefs.h.  */
12076
12077 /* Override any GCC internal prototype to avoid an error.
12078    Use char because int might match the return type of a GCC
12079    builtin and then its argument prototype would still apply.  */
12080 #ifdef __cplusplus
12081 extern "C"
12082 #endif
12083 char dlopen ();
12084 int
12085 main ()
12086 {
12087 return dlopen ();
12088   ;
12089   return 0;
12090 }
12091 _ACEOF
12092 if ac_fn_c_try_link "$LINENO"; then :
12093   ac_cv_lib_dl_dlopen=yes
12094 else
12095   ac_cv_lib_dl_dlopen=no
12096 fi
12097 rm -f core conftest.err conftest.$ac_objext \
12098     conftest$ac_exeext conftest.$ac_ext
12099 LIBS=$ac_check_lib_save_LIBS
12100 fi
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12102 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12103 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12104   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12105 else
12106
12107     lt_cv_dlopen="dyld"
12108     lt_cv_dlopen_libs=
12109     lt_cv_dlopen_self=yes
12110
12111 fi
12112
12113     ;;
12114
12115   *)
12116     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12117 if test "x$ac_cv_func_shl_load" = xyes; then :
12118   lt_cv_dlopen="shl_load"
12119 else
12120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12121 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12122 if ${ac_cv_lib_dld_shl_load+:} false; then :
12123   $as_echo_n "(cached) " >&6
12124 else
12125   ac_check_lib_save_LIBS=$LIBS
12126 LIBS="-ldld  $LIBS"
12127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12128 /* end confdefs.h.  */
12129
12130 /* Override any GCC internal prototype to avoid an error.
12131    Use char because int might match the return type of a GCC
12132    builtin and then its argument prototype would still apply.  */
12133 #ifdef __cplusplus
12134 extern "C"
12135 #endif
12136 char shl_load ();
12137 int
12138 main ()
12139 {
12140 return shl_load ();
12141   ;
12142   return 0;
12143 }
12144 _ACEOF
12145 if ac_fn_c_try_link "$LINENO"; then :
12146   ac_cv_lib_dld_shl_load=yes
12147 else
12148   ac_cv_lib_dld_shl_load=no
12149 fi
12150 rm -f core conftest.err conftest.$ac_objext \
12151     conftest$ac_exeext conftest.$ac_ext
12152 LIBS=$ac_check_lib_save_LIBS
12153 fi
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12155 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12156 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12157   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12158 else
12159   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12160 if test "x$ac_cv_func_dlopen" = xyes; then :
12161   lt_cv_dlopen="dlopen"
12162 else
12163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12164 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12165 if ${ac_cv_lib_dl_dlopen+:} false; then :
12166   $as_echo_n "(cached) " >&6
12167 else
12168   ac_check_lib_save_LIBS=$LIBS
12169 LIBS="-ldl  $LIBS"
12170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h.  */
12172
12173 /* Override any GCC internal prototype to avoid an error.
12174    Use char because int might match the return type of a GCC
12175    builtin and then its argument prototype would still apply.  */
12176 #ifdef __cplusplus
12177 extern "C"
12178 #endif
12179 char dlopen ();
12180 int
12181 main ()
12182 {
12183 return dlopen ();
12184   ;
12185   return 0;
12186 }
12187 _ACEOF
12188 if ac_fn_c_try_link "$LINENO"; then :
12189   ac_cv_lib_dl_dlopen=yes
12190 else
12191   ac_cv_lib_dl_dlopen=no
12192 fi
12193 rm -f core conftest.err conftest.$ac_objext \
12194     conftest$ac_exeext conftest.$ac_ext
12195 LIBS=$ac_check_lib_save_LIBS
12196 fi
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12198 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12199 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12200   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12201 else
12202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12203 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12204 if ${ac_cv_lib_svld_dlopen+:} false; then :
12205   $as_echo_n "(cached) " >&6
12206 else
12207   ac_check_lib_save_LIBS=$LIBS
12208 LIBS="-lsvld  $LIBS"
12209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12210 /* end confdefs.h.  */
12211
12212 /* Override any GCC internal prototype to avoid an error.
12213    Use char because int might match the return type of a GCC
12214    builtin and then its argument prototype would still apply.  */
12215 #ifdef __cplusplus
12216 extern "C"
12217 #endif
12218 char dlopen ();
12219 int
12220 main ()
12221 {
12222 return dlopen ();
12223   ;
12224   return 0;
12225 }
12226 _ACEOF
12227 if ac_fn_c_try_link "$LINENO"; then :
12228   ac_cv_lib_svld_dlopen=yes
12229 else
12230   ac_cv_lib_svld_dlopen=no
12231 fi
12232 rm -f core conftest.err conftest.$ac_objext \
12233     conftest$ac_exeext conftest.$ac_ext
12234 LIBS=$ac_check_lib_save_LIBS
12235 fi
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12237 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12238 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12239   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12240 else
12241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12242 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12243 if ${ac_cv_lib_dld_dld_link+:} false; then :
12244   $as_echo_n "(cached) " >&6
12245 else
12246   ac_check_lib_save_LIBS=$LIBS
12247 LIBS="-ldld  $LIBS"
12248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12249 /* end confdefs.h.  */
12250
12251 /* Override any GCC internal prototype to avoid an error.
12252    Use char because int might match the return type of a GCC
12253    builtin and then its argument prototype would still apply.  */
12254 #ifdef __cplusplus
12255 extern "C"
12256 #endif
12257 char dld_link ();
12258 int
12259 main ()
12260 {
12261 return dld_link ();
12262   ;
12263   return 0;
12264 }
12265 _ACEOF
12266 if ac_fn_c_try_link "$LINENO"; then :
12267   ac_cv_lib_dld_dld_link=yes
12268 else
12269   ac_cv_lib_dld_dld_link=no
12270 fi
12271 rm -f core conftest.err conftest.$ac_objext \
12272     conftest$ac_exeext conftest.$ac_ext
12273 LIBS=$ac_check_lib_save_LIBS
12274 fi
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12276 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12277 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12278   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12279 fi
12280
12281
12282 fi
12283
12284
12285 fi
12286
12287
12288 fi
12289
12290
12291 fi
12292
12293
12294 fi
12295
12296     ;;
12297   esac
12298
12299   if test "x$lt_cv_dlopen" != xno; then
12300     enable_dlopen=yes
12301   else
12302     enable_dlopen=no
12303   fi
12304
12305   case $lt_cv_dlopen in
12306   dlopen)
12307     save_CPPFLAGS="$CPPFLAGS"
12308     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12309
12310     save_LDFLAGS="$LDFLAGS"
12311     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12312
12313     save_LIBS="$LIBS"
12314     LIBS="$lt_cv_dlopen_libs $LIBS"
12315
12316     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12317 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12318 if ${lt_cv_dlopen_self+:} false; then :
12319   $as_echo_n "(cached) " >&6
12320 else
12321           if test "$cross_compiling" = yes; then :
12322   lt_cv_dlopen_self=cross
12323 else
12324   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12325   lt_status=$lt_dlunknown
12326   cat > conftest.$ac_ext <<_LT_EOF
12327 #line $LINENO "configure"
12328 #include "confdefs.h"
12329
12330 #if HAVE_DLFCN_H
12331 #include <dlfcn.h>
12332 #endif
12333
12334 #include <stdio.h>
12335
12336 #ifdef RTLD_GLOBAL
12337 #  define LT_DLGLOBAL           RTLD_GLOBAL
12338 #else
12339 #  ifdef DL_GLOBAL
12340 #    define LT_DLGLOBAL         DL_GLOBAL
12341 #  else
12342 #    define LT_DLGLOBAL         0
12343 #  endif
12344 #endif
12345
12346 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12347    find out it does not work in some platform. */
12348 #ifndef LT_DLLAZY_OR_NOW
12349 #  ifdef RTLD_LAZY
12350 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12351 #  else
12352 #    ifdef DL_LAZY
12353 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12354 #    else
12355 #      ifdef RTLD_NOW
12356 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12357 #      else
12358 #        ifdef DL_NOW
12359 #          define LT_DLLAZY_OR_NOW      DL_NOW
12360 #        else
12361 #          define LT_DLLAZY_OR_NOW      0
12362 #        endif
12363 #      endif
12364 #    endif
12365 #  endif
12366 #endif
12367
12368 /* When -fvisbility=hidden is used, assume the code has been annotated
12369    correspondingly for the symbols needed.  */
12370 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12371 int fnord () __attribute__((visibility("default")));
12372 #endif
12373
12374 int fnord () { return 42; }
12375 int main ()
12376 {
12377   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12378   int status = $lt_dlunknown;
12379
12380   if (self)
12381     {
12382       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12383       else
12384         {
12385           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12386           else puts (dlerror ());
12387         }
12388       /* dlclose (self); */
12389     }
12390   else
12391     puts (dlerror ());
12392
12393   return status;
12394 }
12395 _LT_EOF
12396   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12397   (eval $ac_link) 2>&5
12398   ac_status=$?
12399   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12400   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12401     (./conftest; exit; ) >&5 2>/dev/null
12402     lt_status=$?
12403     case x$lt_status in
12404       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12405       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12406       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12407     esac
12408   else :
12409     # compilation failed
12410     lt_cv_dlopen_self=no
12411   fi
12412 fi
12413 rm -fr conftest*
12414
12415
12416 fi
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12418 $as_echo "$lt_cv_dlopen_self" >&6; }
12419
12420     if test "x$lt_cv_dlopen_self" = xyes; then
12421       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12422       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12423 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12424 if ${lt_cv_dlopen_self_static+:} false; then :
12425   $as_echo_n "(cached) " >&6
12426 else
12427           if test "$cross_compiling" = yes; then :
12428   lt_cv_dlopen_self_static=cross
12429 else
12430   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12431   lt_status=$lt_dlunknown
12432   cat > conftest.$ac_ext <<_LT_EOF
12433 #line $LINENO "configure"
12434 #include "confdefs.h"
12435
12436 #if HAVE_DLFCN_H
12437 #include <dlfcn.h>
12438 #endif
12439
12440 #include <stdio.h>
12441
12442 #ifdef RTLD_GLOBAL
12443 #  define LT_DLGLOBAL           RTLD_GLOBAL
12444 #else
12445 #  ifdef DL_GLOBAL
12446 #    define LT_DLGLOBAL         DL_GLOBAL
12447 #  else
12448 #    define LT_DLGLOBAL         0
12449 #  endif
12450 #endif
12451
12452 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12453    find out it does not work in some platform. */
12454 #ifndef LT_DLLAZY_OR_NOW
12455 #  ifdef RTLD_LAZY
12456 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12457 #  else
12458 #    ifdef DL_LAZY
12459 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12460 #    else
12461 #      ifdef RTLD_NOW
12462 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12463 #      else
12464 #        ifdef DL_NOW
12465 #          define LT_DLLAZY_OR_NOW      DL_NOW
12466 #        else
12467 #          define LT_DLLAZY_OR_NOW      0
12468 #        endif
12469 #      endif
12470 #    endif
12471 #  endif
12472 #endif
12473
12474 /* When -fvisbility=hidden is used, assume the code has been annotated
12475    correspondingly for the symbols needed.  */
12476 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12477 int fnord () __attribute__((visibility("default")));
12478 #endif
12479
12480 int fnord () { return 42; }
12481 int main ()
12482 {
12483   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12484   int status = $lt_dlunknown;
12485
12486   if (self)
12487     {
12488       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12489       else
12490         {
12491           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12492           else puts (dlerror ());
12493         }
12494       /* dlclose (self); */
12495     }
12496   else
12497     puts (dlerror ());
12498
12499   return status;
12500 }
12501 _LT_EOF
12502   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12503   (eval $ac_link) 2>&5
12504   ac_status=$?
12505   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12506   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12507     (./conftest; exit; ) >&5 2>/dev/null
12508     lt_status=$?
12509     case x$lt_status in
12510       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12511       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12512       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12513     esac
12514   else :
12515     # compilation failed
12516     lt_cv_dlopen_self_static=no
12517   fi
12518 fi
12519 rm -fr conftest*
12520
12521
12522 fi
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12524 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12525     fi
12526
12527     CPPFLAGS="$save_CPPFLAGS"
12528     LDFLAGS="$save_LDFLAGS"
12529     LIBS="$save_LIBS"
12530     ;;
12531   esac
12532
12533   case $lt_cv_dlopen_self in
12534   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12535   *) enable_dlopen_self=unknown ;;
12536   esac
12537
12538   case $lt_cv_dlopen_self_static in
12539   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12540   *) enable_dlopen_self_static=unknown ;;
12541   esac
12542 fi
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560 striplib=
12561 old_striplib=
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12563 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12564 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12565   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12566   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12568 $as_echo "yes" >&6; }
12569 else
12570 # FIXME - insert some real tests, host_os isn't really good enough
12571   case $host_os in
12572   darwin*)
12573     if test -n "$STRIP" ; then
12574       striplib="$STRIP -x"
12575       old_striplib="$STRIP -S"
12576       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12577 $as_echo "yes" >&6; }
12578     else
12579       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12580 $as_echo "no" >&6; }
12581     fi
12582     ;;
12583   *)
12584     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12585 $as_echo "no" >&6; }
12586     ;;
12587   esac
12588 fi
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601   # Report which library types will actually be built
12602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12603 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12605 $as_echo "$can_build_shared" >&6; }
12606
12607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12608 $as_echo_n "checking whether to build shared libraries... " >&6; }
12609   test "$can_build_shared" = "no" && enable_shared=no
12610
12611   # On AIX, shared libraries and static libraries use the same namespace, and
12612   # are all built from PIC.
12613   case $host_os in
12614   aix3*)
12615     test "$enable_shared" = yes && enable_static=no
12616     if test -n "$RANLIB"; then
12617       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12618       postinstall_cmds='$RANLIB $lib'
12619     fi
12620     ;;
12621
12622   aix[4-9]*)
12623     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12624       test "$enable_shared" = yes && enable_static=no
12625     fi
12626     ;;
12627   esac
12628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12629 $as_echo "$enable_shared" >&6; }
12630
12631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12632 $as_echo_n "checking whether to build static libraries... " >&6; }
12633   # Make sure either enable_shared or enable_static is yes.
12634   test "$enable_shared" = yes || enable_static=yes
12635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12636 $as_echo "$enable_static" >&6; }
12637
12638
12639
12640
12641 fi
12642 ac_ext=c
12643 ac_cpp='$CPP $CPPFLAGS'
12644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12647
12648 CC="$lt_save_CC"
12649
12650       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12651     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12652     (test "X$CXX" != "Xg++"))) ; then
12653   ac_ext=cpp
12654 ac_cpp='$CXXCPP $CPPFLAGS'
12655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12659 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12660 if test -z "$CXXCPP"; then
12661   if ${ac_cv_prog_CXXCPP+:} false; then :
12662   $as_echo_n "(cached) " >&6
12663 else
12664       # Double quotes because CXXCPP needs to be expanded
12665     for CXXCPP in "$CXX -E" "/lib/cpp"
12666     do
12667       ac_preproc_ok=false
12668 for ac_cxx_preproc_warn_flag in '' yes
12669 do
12670   # Use a header file that comes with gcc, so configuring glibc
12671   # with a fresh cross-compiler works.
12672   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12673   # <limits.h> exists even on freestanding compilers.
12674   # On the NeXT, cc -E runs the code through the compiler's parser,
12675   # not just through cpp. "Syntax error" is here to catch this case.
12676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h.  */
12678 #ifdef __STDC__
12679 # include <limits.h>
12680 #else
12681 # include <assert.h>
12682 #endif
12683                      Syntax error
12684 _ACEOF
12685 if ac_fn_cxx_try_cpp "$LINENO"; then :
12686
12687 else
12688   # Broken: fails on valid input.
12689 continue
12690 fi
12691 rm -f conftest.err conftest.i conftest.$ac_ext
12692
12693   # OK, works on sane cases.  Now check whether nonexistent headers
12694   # can be detected and how.
12695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12696 /* end confdefs.h.  */
12697 #include <ac_nonexistent.h>
12698 _ACEOF
12699 if ac_fn_cxx_try_cpp "$LINENO"; then :
12700   # Broken: success on invalid input.
12701 continue
12702 else
12703   # Passes both tests.
12704 ac_preproc_ok=:
12705 break
12706 fi
12707 rm -f conftest.err conftest.i conftest.$ac_ext
12708
12709 done
12710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12711 rm -f conftest.i conftest.err conftest.$ac_ext
12712 if $ac_preproc_ok; then :
12713   break
12714 fi
12715
12716     done
12717     ac_cv_prog_CXXCPP=$CXXCPP
12718
12719 fi
12720   CXXCPP=$ac_cv_prog_CXXCPP
12721 else
12722   ac_cv_prog_CXXCPP=$CXXCPP
12723 fi
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12725 $as_echo "$CXXCPP" >&6; }
12726 ac_preproc_ok=false
12727 for ac_cxx_preproc_warn_flag in '' yes
12728 do
12729   # Use a header file that comes with gcc, so configuring glibc
12730   # with a fresh cross-compiler works.
12731   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12732   # <limits.h> exists even on freestanding compilers.
12733   # On the NeXT, cc -E runs the code through the compiler's parser,
12734   # not just through cpp. "Syntax error" is here to catch this case.
12735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12736 /* end confdefs.h.  */
12737 #ifdef __STDC__
12738 # include <limits.h>
12739 #else
12740 # include <assert.h>
12741 #endif
12742                      Syntax error
12743 _ACEOF
12744 if ac_fn_cxx_try_cpp "$LINENO"; then :
12745
12746 else
12747   # Broken: fails on valid input.
12748 continue
12749 fi
12750 rm -f conftest.err conftest.i conftest.$ac_ext
12751
12752   # OK, works on sane cases.  Now check whether nonexistent headers
12753   # can be detected and how.
12754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12755 /* end confdefs.h.  */
12756 #include <ac_nonexistent.h>
12757 _ACEOF
12758 if ac_fn_cxx_try_cpp "$LINENO"; then :
12759   # Broken: success on invalid input.
12760 continue
12761 else
12762   # Passes both tests.
12763 ac_preproc_ok=:
12764 break
12765 fi
12766 rm -f conftest.err conftest.i conftest.$ac_ext
12767
12768 done
12769 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12770 rm -f conftest.i conftest.err conftest.$ac_ext
12771 if $ac_preproc_ok; then :
12772
12773 else
12774   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12776 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12777 See \`config.log' for more details" "$LINENO" 5; }
12778 fi
12779
12780 ac_ext=c
12781 ac_cpp='$CPP $CPPFLAGS'
12782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12785
12786 else
12787   _lt_caught_CXX_error=yes
12788 fi
12789
12790 ac_ext=cpp
12791 ac_cpp='$CXXCPP $CPPFLAGS'
12792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12795
12796 archive_cmds_need_lc_CXX=no
12797 allow_undefined_flag_CXX=
12798 always_export_symbols_CXX=no
12799 archive_expsym_cmds_CXX=
12800 compiler_needs_object_CXX=no
12801 export_dynamic_flag_spec_CXX=
12802 hardcode_direct_CXX=no
12803 hardcode_direct_absolute_CXX=no
12804 hardcode_libdir_flag_spec_CXX=
12805 hardcode_libdir_separator_CXX=
12806 hardcode_minus_L_CXX=no
12807 hardcode_shlibpath_var_CXX=unsupported
12808 hardcode_automatic_CXX=no
12809 inherit_rpath_CXX=no
12810 module_cmds_CXX=
12811 module_expsym_cmds_CXX=
12812 link_all_deplibs_CXX=unknown
12813 old_archive_cmds_CXX=$old_archive_cmds
12814 reload_flag_CXX=$reload_flag
12815 reload_cmds_CXX=$reload_cmds
12816 no_undefined_flag_CXX=
12817 whole_archive_flag_spec_CXX=
12818 enable_shared_with_static_runtimes_CXX=no
12819
12820 # Source file extension for C++ test sources.
12821 ac_ext=cpp
12822
12823 # Object file extension for compiled C++ test sources.
12824 objext=o
12825 objext_CXX=$objext
12826
12827 # No sense in running all these tests if we already determined that
12828 # the CXX compiler isn't working.  Some variables (like enable_shared)
12829 # are currently assumed to apply to all compilers on this platform,
12830 # and will be corrupted by setting them based on a non-working compiler.
12831 if test "$_lt_caught_CXX_error" != yes; then
12832   # Code to be used in simple compile tests
12833   lt_simple_compile_test_code="int some_variable = 0;"
12834
12835   # Code to be used in simple link tests
12836   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12837
12838   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12839
12840
12841
12842
12843
12844
12845 # If no C compiler was specified, use CC.
12846 LTCC=${LTCC-"$CC"}
12847
12848 # If no C compiler flags were specified, use CFLAGS.
12849 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12850
12851 # Allow CC to be a program name with arguments.
12852 compiler=$CC
12853
12854
12855   # save warnings/boilerplate of simple test code
12856   ac_outfile=conftest.$ac_objext
12857 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12858 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12859 _lt_compiler_boilerplate=`cat conftest.err`
12860 $RM conftest*
12861
12862   ac_outfile=conftest.$ac_objext
12863 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12864 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12865 _lt_linker_boilerplate=`cat conftest.err`
12866 $RM -r conftest*
12867
12868
12869   # Allow CC to be a program name with arguments.
12870   lt_save_CC=$CC
12871   lt_save_CFLAGS=$CFLAGS
12872   lt_save_LD=$LD
12873   lt_save_GCC=$GCC
12874   GCC=$GXX
12875   lt_save_with_gnu_ld=$with_gnu_ld
12876   lt_save_path_LD=$lt_cv_path_LD
12877   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12878     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12879   else
12880     $as_unset lt_cv_prog_gnu_ld
12881   fi
12882   if test -n "${lt_cv_path_LDCXX+set}"; then
12883     lt_cv_path_LD=$lt_cv_path_LDCXX
12884   else
12885     $as_unset lt_cv_path_LD
12886   fi
12887   test -z "${LDCXX+set}" || LD=$LDCXX
12888   CC=${CXX-"c++"}
12889   CFLAGS=$CXXFLAGS
12890   compiler=$CC
12891   compiler_CXX=$CC
12892   for cc_temp in $compiler""; do
12893   case $cc_temp in
12894     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12895     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12896     \-*) ;;
12897     *) break;;
12898   esac
12899 done
12900 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12901
12902
12903   if test -n "$compiler"; then
12904     # We don't want -fno-exception when compiling C++ code, so set the
12905     # no_builtin_flag separately
12906     if test "$GXX" = yes; then
12907       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12908     else
12909       lt_prog_compiler_no_builtin_flag_CXX=
12910     fi
12911
12912     if test "$GXX" = yes; then
12913       # Set up default GNU C++ configuration
12914
12915
12916
12917 # Check whether --with-gnu-ld was given.
12918 if test "${with_gnu_ld+set}" = set; then :
12919   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12920 else
12921   with_gnu_ld=no
12922 fi
12923
12924 ac_prog=ld
12925 if test "$GCC" = yes; then
12926   # Check if gcc -print-prog-name=ld gives a path.
12927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12928 $as_echo_n "checking for ld used by $CC... " >&6; }
12929   case $host in
12930   *-*-mingw*)
12931     # gcc leaves a trailing carriage return which upsets mingw
12932     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12933   *)
12934     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12935   esac
12936   case $ac_prog in
12937     # Accept absolute paths.
12938     [\\/]* | ?:[\\/]*)
12939       re_direlt='/[^/][^/]*/\.\./'
12940       # Canonicalize the pathname of ld
12941       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12942       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12943         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12944       done
12945       test -z "$LD" && LD="$ac_prog"
12946       ;;
12947   "")
12948     # If it fails, then pretend we aren't using GCC.
12949     ac_prog=ld
12950     ;;
12951   *)
12952     # If it is relative, then search for the first ld in PATH.
12953     with_gnu_ld=unknown
12954     ;;
12955   esac
12956 elif test "$with_gnu_ld" = yes; then
12957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12958 $as_echo_n "checking for GNU ld... " >&6; }
12959 else
12960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12961 $as_echo_n "checking for non-GNU ld... " >&6; }
12962 fi
12963 if ${lt_cv_path_LD+:} false; then :
12964   $as_echo_n "(cached) " >&6
12965 else
12966   if test -z "$LD"; then
12967   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12968   for ac_dir in $PATH; do
12969     IFS="$lt_save_ifs"
12970     test -z "$ac_dir" && ac_dir=.
12971     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12972       lt_cv_path_LD="$ac_dir/$ac_prog"
12973       # Check to see if the program is GNU ld.  I'd rather use --version,
12974       # but apparently some variants of GNU ld only accept -v.
12975       # Break only if it was the GNU/non-GNU ld that we prefer.
12976       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12977       *GNU* | *'with BFD'*)
12978         test "$with_gnu_ld" != no && break
12979         ;;
12980       *)
12981         test "$with_gnu_ld" != yes && break
12982         ;;
12983       esac
12984     fi
12985   done
12986   IFS="$lt_save_ifs"
12987 else
12988   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12989 fi
12990 fi
12991
12992 LD="$lt_cv_path_LD"
12993 if test -n "$LD"; then
12994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12995 $as_echo "$LD" >&6; }
12996 else
12997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12998 $as_echo "no" >&6; }
12999 fi
13000 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13002 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13003 if ${lt_cv_prog_gnu_ld+:} false; then :
13004   $as_echo_n "(cached) " >&6
13005 else
13006   # I'd rather use --version here, but apparently some GNU lds only accept -v.
13007 case `$LD -v 2>&1 </dev/null` in
13008 *GNU* | *'with BFD'*)
13009   lt_cv_prog_gnu_ld=yes
13010   ;;
13011 *)
13012   lt_cv_prog_gnu_ld=no
13013   ;;
13014 esac
13015 fi
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13017 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13018 with_gnu_ld=$lt_cv_prog_gnu_ld
13019
13020
13021
13022
13023
13024
13025
13026       # Check if GNU C++ uses GNU ld as the underlying linker, since the
13027       # archiving commands below assume that GNU ld is being used.
13028       if test "$with_gnu_ld" = yes; then
13029         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13030         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'
13031
13032         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13033         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13034
13035         # If archive_cmds runs LD, not CC, wlarc should be empty
13036         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13037         #     investigate it a little bit more. (MM)
13038         wlarc='${wl}'
13039
13040         # ancient GNU ld didn't support --whole-archive et. al.
13041         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13042           $GREP 'no-whole-archive' > /dev/null; then
13043           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13044         else
13045           whole_archive_flag_spec_CXX=
13046         fi
13047       else
13048         with_gnu_ld=no
13049         wlarc=
13050
13051         # A generic and very simple default shared library creation
13052         # command for GNU C++ for the case where it uses the native
13053         # linker, instead of GNU ld.  If possible, this setting should
13054         # overridden to take advantage of the native linker features on
13055         # the platform it is being used on.
13056         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13057       fi
13058
13059       # Commands to make compiler produce verbose output that lists
13060       # what "hidden" libraries, object files and flags are used when
13061       # linking a shared library.
13062       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13063
13064     else
13065       GXX=no
13066       with_gnu_ld=no
13067       wlarc=
13068     fi
13069
13070     # PORTME: fill in a description of your system's C++ link characteristics
13071     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13072 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13073     ld_shlibs_CXX=yes
13074     case $host_os in
13075       aix3*)
13076         # FIXME: insert proper C++ library support
13077         ld_shlibs_CXX=no
13078         ;;
13079       aix[4-9]*)
13080         if test "$host_cpu" = ia64; then
13081           # On IA64, the linker does run time linking by default, so we don't
13082           # have to do anything special.
13083           aix_use_runtimelinking=no
13084           exp_sym_flag='-Bexport'
13085           no_entry_flag=""
13086         else
13087           aix_use_runtimelinking=no
13088
13089           # Test if we are trying to use run time linking or normal
13090           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13091           # need to do runtime linking.
13092           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13093             for ld_flag in $LDFLAGS; do
13094               case $ld_flag in
13095               *-brtl*)
13096                 aix_use_runtimelinking=yes
13097                 break
13098                 ;;
13099               esac
13100             done
13101             ;;
13102           esac
13103
13104           exp_sym_flag='-bexport'
13105           no_entry_flag='-bnoentry'
13106         fi
13107
13108         # When large executables or shared objects are built, AIX ld can
13109         # have problems creating the table of contents.  If linking a library
13110         # or program results in "error TOC overflow" add -mminimal-toc to
13111         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13112         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13113
13114         archive_cmds_CXX=''
13115         hardcode_direct_CXX=yes
13116         hardcode_direct_absolute_CXX=yes
13117         hardcode_libdir_separator_CXX=':'
13118         link_all_deplibs_CXX=yes
13119         file_list_spec_CXX='${wl}-f,'
13120
13121         if test "$GXX" = yes; then
13122           case $host_os in aix4.[012]|aix4.[012].*)
13123           # We only want to do this on AIX 4.2 and lower, the check
13124           # below for broken collect2 doesn't work under 4.3+
13125           collect2name=`${CC} -print-prog-name=collect2`
13126           if test -f "$collect2name" &&
13127              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13128           then
13129             # We have reworked collect2
13130             :
13131           else
13132             # We have old collect2
13133             hardcode_direct_CXX=unsupported
13134             # It fails to find uninstalled libraries when the uninstalled
13135             # path is not listed in the libpath.  Setting hardcode_minus_L
13136             # to unsupported forces relinking
13137             hardcode_minus_L_CXX=yes
13138             hardcode_libdir_flag_spec_CXX='-L$libdir'
13139             hardcode_libdir_separator_CXX=
13140           fi
13141           esac
13142           shared_flag='-shared'
13143           if test "$aix_use_runtimelinking" = yes; then
13144             shared_flag="$shared_flag "'${wl}-G'
13145           fi
13146         else
13147           # not using gcc
13148           if test "$host_cpu" = ia64; then
13149           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13150           # chokes on -Wl,-G. The following line is correct:
13151           shared_flag='-G'
13152           else
13153             if test "$aix_use_runtimelinking" = yes; then
13154               shared_flag='${wl}-G'
13155             else
13156               shared_flag='${wl}-bM:SRE'
13157             fi
13158           fi
13159         fi
13160
13161         export_dynamic_flag_spec_CXX='${wl}-bexpall'
13162         # It seems that -bexpall does not export symbols beginning with
13163         # underscore (_), so it is better to generate a list of symbols to
13164         # export.
13165         always_export_symbols_CXX=yes
13166         if test "$aix_use_runtimelinking" = yes; then
13167           # Warning - without using the other runtime loading flags (-brtl),
13168           # -berok will link without error, but may produce a broken library.
13169           allow_undefined_flag_CXX='-berok'
13170           # Determine the default libpath from the value encoded in an empty
13171           # executable.
13172           if test "${lt_cv_aix_libpath+set}" = set; then
13173   aix_libpath=$lt_cv_aix_libpath
13174 else
13175   if ${lt_cv_aix_libpath__CXX+:} false; then :
13176   $as_echo_n "(cached) " >&6
13177 else
13178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13179 /* end confdefs.h.  */
13180
13181 int
13182 main ()
13183 {
13184
13185   ;
13186   return 0;
13187 }
13188 _ACEOF
13189 if ac_fn_cxx_try_link "$LINENO"; then :
13190
13191   lt_aix_libpath_sed='
13192       /Import File Strings/,/^$/ {
13193           /^0/ {
13194               s/^0  *\([^ ]*\) *$/\1/
13195               p
13196           }
13197       }'
13198   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13199   # Check for a 64-bit object if we didn't find anything.
13200   if test -z "$lt_cv_aix_libpath__CXX"; then
13201     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13202   fi
13203 fi
13204 rm -f core conftest.err conftest.$ac_objext \
13205     conftest$ac_exeext conftest.$ac_ext
13206   if test -z "$lt_cv_aix_libpath__CXX"; then
13207     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13208   fi
13209
13210 fi
13211
13212   aix_libpath=$lt_cv_aix_libpath__CXX
13213 fi
13214
13215           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13216
13217           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"
13218         else
13219           if test "$host_cpu" = ia64; then
13220             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13221             allow_undefined_flag_CXX="-z nodefs"
13222             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"
13223           else
13224             # Determine the default libpath from the value encoded in an
13225             # empty executable.
13226             if test "${lt_cv_aix_libpath+set}" = set; then
13227   aix_libpath=$lt_cv_aix_libpath
13228 else
13229   if ${lt_cv_aix_libpath__CXX+:} false; then :
13230   $as_echo_n "(cached) " >&6
13231 else
13232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13233 /* end confdefs.h.  */
13234
13235 int
13236 main ()
13237 {
13238
13239   ;
13240   return 0;
13241 }
13242 _ACEOF
13243 if ac_fn_cxx_try_link "$LINENO"; then :
13244
13245   lt_aix_libpath_sed='
13246       /Import File Strings/,/^$/ {
13247           /^0/ {
13248               s/^0  *\([^ ]*\) *$/\1/
13249               p
13250           }
13251       }'
13252   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13253   # Check for a 64-bit object if we didn't find anything.
13254   if test -z "$lt_cv_aix_libpath__CXX"; then
13255     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13256   fi
13257 fi
13258 rm -f core conftest.err conftest.$ac_objext \
13259     conftest$ac_exeext conftest.$ac_ext
13260   if test -z "$lt_cv_aix_libpath__CXX"; then
13261     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13262   fi
13263
13264 fi
13265
13266   aix_libpath=$lt_cv_aix_libpath__CXX
13267 fi
13268
13269             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13270             # Warning - without using the other run time loading flags,
13271             # -berok will link without error, but may produce a broken library.
13272             no_undefined_flag_CXX=' ${wl}-bernotok'
13273             allow_undefined_flag_CXX=' ${wl}-berok'
13274             if test "$with_gnu_ld" = yes; then
13275               # We only use this code for GNU lds that support --whole-archive.
13276               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13277             else
13278               # Exported symbols can be pulled into shared objects from archives
13279               whole_archive_flag_spec_CXX='$convenience'
13280             fi
13281             archive_cmds_need_lc_CXX=yes
13282             # This is similar to how AIX traditionally builds its shared
13283             # libraries.
13284             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'
13285           fi
13286         fi
13287         ;;
13288
13289       beos*)
13290         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13291           allow_undefined_flag_CXX=unsupported
13292           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13293           # support --undefined.  This deserves some investigation.  FIXME
13294           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13295         else
13296           ld_shlibs_CXX=no
13297         fi
13298         ;;
13299
13300       chorus*)
13301         case $cc_basename in
13302           *)
13303           # FIXME: insert proper C++ library support
13304           ld_shlibs_CXX=no
13305           ;;
13306         esac
13307         ;;
13308
13309       cygwin* | mingw* | pw32* | cegcc*)
13310         case $GXX,$cc_basename in
13311         ,cl* | no,cl*)
13312           # Native MSVC
13313           # hardcode_libdir_flag_spec is actually meaningless, as there is
13314           # no search path for DLLs.
13315           hardcode_libdir_flag_spec_CXX=' '
13316           allow_undefined_flag_CXX=unsupported
13317           always_export_symbols_CXX=yes
13318           file_list_spec_CXX='@'
13319           # Tell ltmain to make .lib files, not .a files.
13320           libext=lib
13321           # Tell ltmain to make .dll files, not .so files.
13322           shrext_cmds=".dll"
13323           # FIXME: Setting linknames here is a bad hack.
13324           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13325           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13326               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13327             else
13328               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13329             fi~
13330             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13331             linknames='
13332           # The linker will not automatically build a static lib if we build a DLL.
13333           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13334           enable_shared_with_static_runtimes_CXX=yes
13335           # Don't use ranlib
13336           old_postinstall_cmds_CXX='chmod 644 $oldlib'
13337           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13338             lt_tool_outputfile="@TOOL_OUTPUT@"~
13339             case $lt_outputfile in
13340               *.exe|*.EXE) ;;
13341               *)
13342                 lt_outputfile="$lt_outputfile.exe"
13343                 lt_tool_outputfile="$lt_tool_outputfile.exe"
13344                 ;;
13345             esac~
13346             func_to_tool_file "$lt_outputfile"~
13347             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13348               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13349               $RM "$lt_outputfile.manifest";
13350             fi'
13351           ;;
13352         *)
13353           # g++
13354           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13355           # as there is no search path for DLLs.
13356           hardcode_libdir_flag_spec_CXX='-L$libdir'
13357           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13358           allow_undefined_flag_CXX=unsupported
13359           always_export_symbols_CXX=no
13360           enable_shared_with_static_runtimes_CXX=yes
13361
13362           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13363             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'
13364             # If the export-symbols file already is a .def file (1st line
13365             # is EXPORTS), use it as is; otherwise, prepend...
13366             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13367               cp $export_symbols $output_objdir/$soname.def;
13368             else
13369               echo EXPORTS > $output_objdir/$soname.def;
13370               cat $export_symbols >> $output_objdir/$soname.def;
13371             fi~
13372             $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'
13373           else
13374             ld_shlibs_CXX=no
13375           fi
13376           ;;
13377         esac
13378         ;;
13379       darwin* | rhapsody*)
13380
13381
13382   archive_cmds_need_lc_CXX=no
13383   hardcode_direct_CXX=no
13384   hardcode_automatic_CXX=yes
13385   hardcode_shlibpath_var_CXX=unsupported
13386   if test "$lt_cv_ld_force_load" = "yes"; then
13387     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\"`'
13388
13389   else
13390     whole_archive_flag_spec_CXX=''
13391   fi
13392   link_all_deplibs_CXX=yes
13393   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13394   case $cc_basename in
13395      ifort*) _lt_dar_can_shared=yes ;;
13396      *) _lt_dar_can_shared=$GCC ;;
13397   esac
13398   if test "$_lt_dar_can_shared" = "yes"; then
13399     output_verbose_link_cmd=func_echo_all
13400     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}"
13401     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13402     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}"
13403     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}"
13404        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13405       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}"
13406       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}"
13407     fi
13408
13409   else
13410   ld_shlibs_CXX=no
13411   fi
13412
13413         ;;
13414
13415       dgux*)
13416         case $cc_basename in
13417           ec++*)
13418             # FIXME: insert proper C++ library support
13419             ld_shlibs_CXX=no
13420             ;;
13421           ghcx*)
13422             # Green Hills C++ Compiler
13423             # FIXME: insert proper C++ library support
13424             ld_shlibs_CXX=no
13425             ;;
13426           *)
13427             # FIXME: insert proper C++ library support
13428             ld_shlibs_CXX=no
13429             ;;
13430         esac
13431         ;;
13432
13433       freebsd2.*)
13434         # C++ shared libraries reported to be fairly broken before
13435         # switch to ELF
13436         ld_shlibs_CXX=no
13437         ;;
13438
13439       freebsd-elf*)
13440         archive_cmds_need_lc_CXX=no
13441         ;;
13442
13443       freebsd* | dragonfly*)
13444         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13445         # conventions
13446         ld_shlibs_CXX=yes
13447         ;;
13448
13449       haiku*)
13450         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13451         link_all_deplibs_CXX=yes
13452         ;;
13453
13454       hpux9*)
13455         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13456         hardcode_libdir_separator_CXX=:
13457         export_dynamic_flag_spec_CXX='${wl}-E'
13458         hardcode_direct_CXX=yes
13459         hardcode_minus_L_CXX=yes # Not in the search PATH,
13460                                              # but as the default
13461                                              # location of the library.
13462
13463         case $cc_basename in
13464           CC*)
13465             # FIXME: insert proper C++ library support
13466             ld_shlibs_CXX=no
13467             ;;
13468           aCC*)
13469             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'
13470             # Commands to make compiler produce verbose output that lists
13471             # what "hidden" libraries, object files and flags are used when
13472             # linking a shared library.
13473             #
13474             # There doesn't appear to be a way to prevent this compiler from
13475             # explicitly linking system object files so we need to strip them
13476             # from the output so that they don't get included in the library
13477             # dependencies.
13478             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"'
13479             ;;
13480           *)
13481             if test "$GXX" = yes; then
13482               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'
13483             else
13484               # FIXME: insert proper C++ library support
13485               ld_shlibs_CXX=no
13486             fi
13487             ;;
13488         esac
13489         ;;
13490
13491       hpux10*|hpux11*)
13492         if test $with_gnu_ld = no; then
13493           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13494           hardcode_libdir_separator_CXX=:
13495
13496           case $host_cpu in
13497             hppa*64*|ia64*)
13498               ;;
13499             *)
13500               export_dynamic_flag_spec_CXX='${wl}-E'
13501               ;;
13502           esac
13503         fi
13504         case $host_cpu in
13505           hppa*64*|ia64*)
13506             hardcode_direct_CXX=no
13507             hardcode_shlibpath_var_CXX=no
13508             ;;
13509           *)
13510             hardcode_direct_CXX=yes
13511             hardcode_direct_absolute_CXX=yes
13512             hardcode_minus_L_CXX=yes # Not in the search PATH,
13513                                                  # but as the default
13514                                                  # location of the library.
13515             ;;
13516         esac
13517
13518         case $cc_basename in
13519           CC*)
13520             # FIXME: insert proper C++ library support
13521             ld_shlibs_CXX=no
13522             ;;
13523           aCC*)
13524             case $host_cpu in
13525               hppa*64*)
13526                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13527                 ;;
13528               ia64*)
13529                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13530                 ;;
13531               *)
13532                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13533                 ;;
13534             esac
13535             # Commands to make compiler produce verbose output that lists
13536             # what "hidden" libraries, object files and flags are used when
13537             # linking a shared library.
13538             #
13539             # There doesn't appear to be a way to prevent this compiler from
13540             # explicitly linking system object files so we need to strip them
13541             # from the output so that they don't get included in the library
13542             # dependencies.
13543             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"'
13544             ;;
13545           *)
13546             if test "$GXX" = yes; then
13547               if test $with_gnu_ld = no; then
13548                 case $host_cpu in
13549                   hppa*64*)
13550                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13551                     ;;
13552                   ia64*)
13553                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13554                     ;;
13555                   *)
13556                     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'
13557                     ;;
13558                 esac
13559               fi
13560             else
13561               # FIXME: insert proper C++ library support
13562               ld_shlibs_CXX=no
13563             fi
13564             ;;
13565         esac
13566         ;;
13567
13568       interix[3-9]*)
13569         hardcode_direct_CXX=no
13570         hardcode_shlibpath_var_CXX=no
13571         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13572         export_dynamic_flag_spec_CXX='${wl}-E'
13573         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13574         # Instead, shared libraries are loaded at an image base (0x10000000 by
13575         # default) and relocated if they conflict, which is a slow very memory
13576         # consuming and fragmenting process.  To avoid this, we pick a random,
13577         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13578         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13579         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'
13580         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'
13581         ;;
13582       irix5* | irix6*)
13583         case $cc_basename in
13584           CC*)
13585             # SGI C++
13586             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'
13587
13588             # Archives containing C++ object files must be created using
13589             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13590             # necessary to make sure instantiated templates are included
13591             # in the archive.
13592             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13593             ;;
13594           *)
13595             if test "$GXX" = yes; then
13596               if test "$with_gnu_ld" = no; then
13597                 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'
13598               else
13599                 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'
13600               fi
13601             fi
13602             link_all_deplibs_CXX=yes
13603             ;;
13604         esac
13605         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13606         hardcode_libdir_separator_CXX=:
13607         inherit_rpath_CXX=yes
13608         ;;
13609
13610       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13611         case $cc_basename in
13612           KCC*)
13613             # Kuck and Associates, Inc. (KAI) C++ Compiler
13614
13615             # KCC will only create a shared library if the output file
13616             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13617             # to its proper name (with version) after linking.
13618             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'
13619             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'
13620             # Commands to make compiler produce verbose output that lists
13621             # what "hidden" libraries, object files and flags are used when
13622             # linking a shared library.
13623             #
13624             # There doesn't appear to be a way to prevent this compiler from
13625             # explicitly linking system object files so we need to strip them
13626             # from the output so that they don't get included in the library
13627             # dependencies.
13628             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"'
13629
13630             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13631             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13632
13633             # Archives containing C++ object files must be created using
13634             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13635             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13636             ;;
13637           icpc* | ecpc* )
13638             # Intel C++
13639             with_gnu_ld=yes
13640             # version 8.0 and above of icpc choke on multiply defined symbols
13641             # if we add $predep_objects and $postdep_objects, however 7.1 and
13642             # earlier do not add the objects themselves.
13643             case `$CC -V 2>&1` in
13644               *"Version 7."*)
13645                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13646                 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'
13647                 ;;
13648               *)  # Version 8.0 or newer
13649                 tmp_idyn=
13650                 case $host_cpu in
13651                   ia64*) tmp_idyn=' -i_dynamic';;
13652                 esac
13653                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13654                 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'
13655                 ;;
13656             esac
13657             archive_cmds_need_lc_CXX=no
13658             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13659             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13660             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13661             ;;
13662           pgCC* | pgcpp*)
13663             # Portland Group C++ compiler
13664             case `$CC -V` in
13665             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13666               prelink_cmds_CXX='tpldir=Template.dir~
13667                 rm -rf $tpldir~
13668                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13669                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13670               old_archive_cmds_CXX='tpldir=Template.dir~
13671                 rm -rf $tpldir~
13672                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13673                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13674                 $RANLIB $oldlib'
13675               archive_cmds_CXX='tpldir=Template.dir~
13676                 rm -rf $tpldir~
13677                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13678                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13679               archive_expsym_cmds_CXX='tpldir=Template.dir~
13680                 rm -rf $tpldir~
13681                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13682                 $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'
13683               ;;
13684             *) # Version 6 and above use weak symbols
13685               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13686               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'
13687               ;;
13688             esac
13689
13690             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13691             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13692             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'
13693             ;;
13694           cxx*)
13695             # Compaq C++
13696             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13697             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'
13698
13699             runpath_var=LD_RUN_PATH
13700             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13701             hardcode_libdir_separator_CXX=:
13702
13703             # Commands to make compiler produce verbose output that lists
13704             # what "hidden" libraries, object files and flags are used when
13705             # linking a shared library.
13706             #
13707             # There doesn't appear to be a way to prevent this compiler from
13708             # explicitly linking system object files so we need to strip them
13709             # from the output so that they don't get included in the library
13710             # dependencies.
13711             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'
13712             ;;
13713           xl* | mpixl* | bgxl*)
13714             # IBM XL 8.0 on PPC, with GNU ld
13715             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13716             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13717             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13718             if test "x$supports_anon_versioning" = xyes; then
13719               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13720                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13721                 echo "local: *; };" >> $output_objdir/$libname.ver~
13722                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13723             fi
13724             ;;
13725           *)
13726             case `$CC -V 2>&1 | sed 5q` in
13727             *Sun\ C*)
13728               # Sun C++ 5.9
13729               no_undefined_flag_CXX=' -zdefs'
13730               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13731               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'
13732               hardcode_libdir_flag_spec_CXX='-R$libdir'
13733               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'
13734               compiler_needs_object_CXX=yes
13735
13736               # Not sure whether something based on
13737               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13738               # would be better.
13739               output_verbose_link_cmd='func_echo_all'
13740
13741               # Archives containing C++ object files must be created using
13742               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13743               # necessary to make sure instantiated templates are included
13744               # in the archive.
13745               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13746               ;;
13747             esac
13748             ;;
13749         esac
13750         ;;
13751
13752       lynxos*)
13753         # FIXME: insert proper C++ library support
13754         ld_shlibs_CXX=no
13755         ;;
13756
13757       m88k*)
13758         # FIXME: insert proper C++ library support
13759         ld_shlibs_CXX=no
13760         ;;
13761
13762       mvs*)
13763         case $cc_basename in
13764           cxx*)
13765             # FIXME: insert proper C++ library support
13766             ld_shlibs_CXX=no
13767             ;;
13768           *)
13769             # FIXME: insert proper C++ library support
13770             ld_shlibs_CXX=no
13771             ;;
13772         esac
13773         ;;
13774
13775       netbsd*)
13776         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13777           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13778           wlarc=
13779           hardcode_libdir_flag_spec_CXX='-R$libdir'
13780           hardcode_direct_CXX=yes
13781           hardcode_shlibpath_var_CXX=no
13782         fi
13783         # Workaround some broken pre-1.5 toolchains
13784         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13785         ;;
13786
13787       *nto* | *qnx*)
13788         ld_shlibs_CXX=yes
13789         ;;
13790
13791       openbsd2*)
13792         # C++ shared libraries are fairly broken
13793         ld_shlibs_CXX=no
13794         ;;
13795
13796       openbsd*)
13797         if test -f /usr/libexec/ld.so; then
13798           hardcode_direct_CXX=yes
13799           hardcode_shlibpath_var_CXX=no
13800           hardcode_direct_absolute_CXX=yes
13801           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13802           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13803           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13804             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13805             export_dynamic_flag_spec_CXX='${wl}-E'
13806             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13807           fi
13808           output_verbose_link_cmd=func_echo_all
13809         else
13810           ld_shlibs_CXX=no
13811         fi
13812         ;;
13813
13814       osf3* | osf4* | osf5*)
13815         case $cc_basename in
13816           KCC*)
13817             # Kuck and Associates, Inc. (KAI) C++ Compiler
13818
13819             # KCC will only create a shared library if the output file
13820             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13821             # to its proper name (with version) after linking.
13822             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'
13823
13824             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13825             hardcode_libdir_separator_CXX=:
13826
13827             # Archives containing C++ object files must be created using
13828             # the KAI C++ compiler.
13829             case $host in
13830               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13831               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13832             esac
13833             ;;
13834           RCC*)
13835             # Rational C++ 2.4.1
13836             # FIXME: insert proper C++ library support
13837             ld_shlibs_CXX=no
13838             ;;
13839           cxx*)
13840             case $host in
13841               osf3*)
13842                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13843                 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'
13844                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13845                 ;;
13846               *)
13847                 allow_undefined_flag_CXX=' -expect_unresolved \*'
13848                 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'
13849                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13850                   echo "-hidden">> $lib.exp~
13851                   $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~
13852                   $RM $lib.exp'
13853                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13854                 ;;
13855             esac
13856
13857             hardcode_libdir_separator_CXX=:
13858
13859             # Commands to make compiler produce verbose output that lists
13860             # what "hidden" libraries, object files and flags are used when
13861             # linking a shared library.
13862             #
13863             # There doesn't appear to be a way to prevent this compiler from
13864             # explicitly linking system object files so we need to strip them
13865             # from the output so that they don't get included in the library
13866             # dependencies.
13867             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"'
13868             ;;
13869           *)
13870             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13871               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13872               case $host in
13873                 osf3*)
13874                   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'
13875                   ;;
13876                 *)
13877                   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'
13878                   ;;
13879               esac
13880
13881               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13882               hardcode_libdir_separator_CXX=:
13883
13884               # Commands to make compiler produce verbose output that lists
13885               # what "hidden" libraries, object files and flags are used when
13886               # linking a shared library.
13887               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13888
13889             else
13890               # FIXME: insert proper C++ library support
13891               ld_shlibs_CXX=no
13892             fi
13893             ;;
13894         esac
13895         ;;
13896
13897       psos*)
13898         # FIXME: insert proper C++ library support
13899         ld_shlibs_CXX=no
13900         ;;
13901
13902       sunos4*)
13903         case $cc_basename in
13904           CC*)
13905             # Sun C++ 4.x
13906             # FIXME: insert proper C++ library support
13907             ld_shlibs_CXX=no
13908             ;;
13909           lcc*)
13910             # Lucid
13911             # FIXME: insert proper C++ library support
13912             ld_shlibs_CXX=no
13913             ;;
13914           *)
13915             # FIXME: insert proper C++ library support
13916             ld_shlibs_CXX=no
13917             ;;
13918         esac
13919         ;;
13920
13921       solaris*)
13922         case $cc_basename in
13923           CC* | sunCC*)
13924             # Sun C++ 4.2, 5.x and Centerline C++
13925             archive_cmds_need_lc_CXX=yes
13926             no_undefined_flag_CXX=' -zdefs'
13927             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13928             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13929               $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'
13930
13931             hardcode_libdir_flag_spec_CXX='-R$libdir'
13932             hardcode_shlibpath_var_CXX=no
13933             case $host_os in
13934               solaris2.[0-5] | solaris2.[0-5].*) ;;
13935               *)
13936                 # The compiler driver will combine and reorder linker options,
13937                 # but understands `-z linker_flag'.
13938                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13939                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13940                 ;;
13941             esac
13942             link_all_deplibs_CXX=yes
13943
13944             output_verbose_link_cmd='func_echo_all'
13945
13946             # Archives containing C++ object files must be created using
13947             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13948             # necessary to make sure instantiated templates are included
13949             # in the archive.
13950             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13951             ;;
13952           gcx*)
13953             # Green Hills C++ Compiler
13954             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13955
13956             # The C++ compiler must be used to create the archive.
13957             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13958             ;;
13959           *)
13960             # GNU C++ compiler with Solaris linker
13961             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13962               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13963               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13964                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13965                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13966                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13967
13968                 # Commands to make compiler produce verbose output that lists
13969                 # what "hidden" libraries, object files and flags are used when
13970                 # linking a shared library.
13971                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13972               else
13973                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13974                 # platform.
13975                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13976                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13977                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13978
13979                 # Commands to make compiler produce verbose output that lists
13980                 # what "hidden" libraries, object files and flags are used when
13981                 # linking a shared library.
13982                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13983               fi
13984
13985               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13986               case $host_os in
13987                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13988                 *)
13989                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13990                   ;;
13991               esac
13992             fi
13993             ;;
13994         esac
13995         ;;
13996
13997     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13998       no_undefined_flag_CXX='${wl}-z,text'
13999       archive_cmds_need_lc_CXX=no
14000       hardcode_shlibpath_var_CXX=no
14001       runpath_var='LD_RUN_PATH'
14002
14003       case $cc_basename in
14004         CC*)
14005           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14006           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14007           ;;
14008         *)
14009           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14010           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14011           ;;
14012       esac
14013       ;;
14014
14015       sysv5* | sco3.2v5* | sco5v6*)
14016         # Note: We can NOT use -z defs as we might desire, because we do not
14017         # link with -lc, and that would cause any symbols used from libc to
14018         # always be unresolved, which means just about no library would
14019         # ever link correctly.  If we're not using GNU ld we use -z text
14020         # though, which does catch some bad symbols but isn't as heavy-handed
14021         # as -z defs.
14022         no_undefined_flag_CXX='${wl}-z,text'
14023         allow_undefined_flag_CXX='${wl}-z,nodefs'
14024         archive_cmds_need_lc_CXX=no
14025         hardcode_shlibpath_var_CXX=no
14026         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14027         hardcode_libdir_separator_CXX=':'
14028         link_all_deplibs_CXX=yes
14029         export_dynamic_flag_spec_CXX='${wl}-Bexport'
14030         runpath_var='LD_RUN_PATH'
14031
14032         case $cc_basename in
14033           CC*)
14034             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14035             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14036             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14037               '"$old_archive_cmds_CXX"
14038             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14039               '"$reload_cmds_CXX"
14040             ;;
14041           *)
14042             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14043             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14044             ;;
14045         esac
14046       ;;
14047
14048       tandem*)
14049         case $cc_basename in
14050           NCC*)
14051             # NonStop-UX NCC 3.20
14052             # FIXME: insert proper C++ library support
14053             ld_shlibs_CXX=no
14054             ;;
14055           *)
14056             # FIXME: insert proper C++ library support
14057             ld_shlibs_CXX=no
14058             ;;
14059         esac
14060         ;;
14061
14062       vxworks*)
14063         # FIXME: insert proper C++ library support
14064         ld_shlibs_CXX=no
14065         ;;
14066
14067       *)
14068         # FIXME: insert proper C++ library support
14069         ld_shlibs_CXX=no
14070         ;;
14071     esac
14072
14073     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14074 $as_echo "$ld_shlibs_CXX" >&6; }
14075     test "$ld_shlibs_CXX" = no && can_build_shared=no
14076
14077     GCC_CXX="$GXX"
14078     LD_CXX="$LD"
14079
14080     ## CAVEAT EMPTOR:
14081     ## There is no encapsulation within the following macros, do not change
14082     ## the running order or otherwise move them around unless you know exactly
14083     ## what you are doing...
14084     # Dependencies to place before and after the object being linked:
14085 predep_objects_CXX=
14086 postdep_objects_CXX=
14087 predeps_CXX=
14088 postdeps_CXX=
14089 compiler_lib_search_path_CXX=
14090
14091 cat > conftest.$ac_ext <<_LT_EOF
14092 class Foo
14093 {
14094 public:
14095   Foo (void) { a = 0; }
14096 private:
14097   int a;
14098 };
14099 _LT_EOF
14100
14101
14102 _lt_libdeps_save_CFLAGS=$CFLAGS
14103 case "$CC $CFLAGS " in #(
14104 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14105 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14106 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14107 esac
14108
14109 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14110   (eval $ac_compile) 2>&5
14111   ac_status=$?
14112   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14113   test $ac_status = 0; }; then
14114   # Parse the compiler output and extract the necessary
14115   # objects, libraries and library flags.
14116
14117   # Sentinel used to keep track of whether or not we are before
14118   # the conftest object file.
14119   pre_test_object_deps_done=no
14120
14121   for p in `eval "$output_verbose_link_cmd"`; do
14122     case ${prev}${p} in
14123
14124     -L* | -R* | -l*)
14125        # Some compilers place space between "-{L,R}" and the path.
14126        # Remove the space.
14127        if test $p = "-L" ||
14128           test $p = "-R"; then
14129          prev=$p
14130          continue
14131        fi
14132
14133        # Expand the sysroot to ease extracting the directories later.
14134        if test -z "$prev"; then
14135          case $p in
14136          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14137          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14138          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14139          esac
14140        fi
14141        case $p in
14142        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14143        esac
14144        if test "$pre_test_object_deps_done" = no; then
14145          case ${prev} in
14146          -L | -R)
14147            # Internal compiler library paths should come after those
14148            # provided the user.  The postdeps already come after the
14149            # user supplied libs so there is no need to process them.
14150            if test -z "$compiler_lib_search_path_CXX"; then
14151              compiler_lib_search_path_CXX="${prev}${p}"
14152            else
14153              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14154            fi
14155            ;;
14156          # The "-l" case would never come before the object being
14157          # linked, so don't bother handling this case.
14158          esac
14159        else
14160          if test -z "$postdeps_CXX"; then
14161            postdeps_CXX="${prev}${p}"
14162          else
14163            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14164          fi
14165        fi
14166        prev=
14167        ;;
14168
14169     *.lto.$objext) ;; # Ignore GCC LTO objects
14170     *.$objext)
14171        # This assumes that the test object file only shows up
14172        # once in the compiler output.
14173        if test "$p" = "conftest.$objext"; then
14174          pre_test_object_deps_done=yes
14175          continue
14176        fi
14177
14178        if test "$pre_test_object_deps_done" = no; then
14179          if test -z "$predep_objects_CXX"; then
14180            predep_objects_CXX="$p"
14181          else
14182            predep_objects_CXX="$predep_objects_CXX $p"
14183          fi
14184        else
14185          if test -z "$postdep_objects_CXX"; then
14186            postdep_objects_CXX="$p"
14187          else
14188            postdep_objects_CXX="$postdep_objects_CXX $p"
14189          fi
14190        fi
14191        ;;
14192
14193     *) ;; # Ignore the rest.
14194
14195     esac
14196   done
14197
14198   # Clean up.
14199   rm -f a.out a.exe
14200 else
14201   echo "libtool.m4: error: problem compiling CXX test program"
14202 fi
14203
14204 $RM -f confest.$objext
14205 CFLAGS=$_lt_libdeps_save_CFLAGS
14206
14207 # PORTME: override above test on systems where it is broken
14208 case $host_os in
14209 interix[3-9]*)
14210   # Interix 3.5 installs completely hosed .la files for C++, so rather than
14211   # hack all around it, let's just trust "g++" to DTRT.
14212   predep_objects_CXX=
14213   postdep_objects_CXX=
14214   postdeps_CXX=
14215   ;;
14216
14217 linux*)
14218   case `$CC -V 2>&1 | sed 5q` in
14219   *Sun\ C*)
14220     # Sun C++ 5.9
14221
14222     # The more standards-conforming stlport4 library is
14223     # incompatible with the Cstd library. Avoid specifying
14224     # it if it's in CXXFLAGS. Ignore libCrun as
14225     # -library=stlport4 depends on it.
14226     case " $CXX $CXXFLAGS " in
14227     *" -library=stlport4 "*)
14228       solaris_use_stlport4=yes
14229       ;;
14230     esac
14231
14232     if test "$solaris_use_stlport4" != yes; then
14233       postdeps_CXX='-library=Cstd -library=Crun'
14234     fi
14235     ;;
14236   esac
14237   ;;
14238
14239 solaris*)
14240   case $cc_basename in
14241   CC* | sunCC*)
14242     # The more standards-conforming stlport4 library is
14243     # incompatible with the Cstd library. Avoid specifying
14244     # it if it's in CXXFLAGS. Ignore libCrun as
14245     # -library=stlport4 depends on it.
14246     case " $CXX $CXXFLAGS " in
14247     *" -library=stlport4 "*)
14248       solaris_use_stlport4=yes
14249       ;;
14250     esac
14251
14252     # Adding this requires a known-good setup of shared libraries for
14253     # Sun compiler versions before 5.6, else PIC objects from an old
14254     # archive will be linked into the output, leading to subtle bugs.
14255     if test "$solaris_use_stlport4" != yes; then
14256       postdeps_CXX='-library=Cstd -library=Crun'
14257     fi
14258     ;;
14259   esac
14260   ;;
14261 esac
14262
14263
14264 case " $postdeps_CXX " in
14265 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14266 esac
14267  compiler_lib_search_dirs_CXX=
14268 if test -n "${compiler_lib_search_path_CXX}"; then
14269  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14270 fi
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302     lt_prog_compiler_wl_CXX=
14303 lt_prog_compiler_pic_CXX=
14304 lt_prog_compiler_static_CXX=
14305
14306
14307   # C++ specific cases for pic, static, wl, etc.
14308   if test "$GXX" = yes; then
14309     lt_prog_compiler_wl_CXX='-Wl,'
14310     lt_prog_compiler_static_CXX='-static'
14311
14312     case $host_os in
14313     aix*)
14314       # All AIX code is PIC.
14315       if test "$host_cpu" = ia64; then
14316         # AIX 5 now supports IA64 processor
14317         lt_prog_compiler_static_CXX='-Bstatic'
14318       fi
14319       ;;
14320
14321     amigaos*)
14322       case $host_cpu in
14323       powerpc)
14324             # see comment about AmigaOS4 .so support
14325             lt_prog_compiler_pic_CXX='-fPIC'
14326         ;;
14327       m68k)
14328             # FIXME: we need at least 68020 code to build shared libraries, but
14329             # adding the `-m68020' flag to GCC prevents building anything better,
14330             # like `-m68040'.
14331             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14332         ;;
14333       esac
14334       ;;
14335
14336     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14337       # PIC is the default for these OSes.
14338       ;;
14339     mingw* | cygwin* | os2* | pw32* | cegcc*)
14340       # This hack is so that the source file can tell whether it is being
14341       # built for inclusion in a dll (and should export symbols for example).
14342       # Although the cygwin gcc ignores -fPIC, still need this for old-style
14343       # (--disable-auto-import) libraries
14344       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14345       ;;
14346     darwin* | rhapsody*)
14347       # PIC is the default on this platform
14348       # Common symbols not allowed in MH_DYLIB files
14349       lt_prog_compiler_pic_CXX='-fno-common'
14350       ;;
14351     *djgpp*)
14352       # DJGPP does not support shared libraries at all
14353       lt_prog_compiler_pic_CXX=
14354       ;;
14355     haiku*)
14356       # PIC is the default for Haiku.
14357       # The "-static" flag exists, but is broken.
14358       lt_prog_compiler_static_CXX=
14359       ;;
14360     interix[3-9]*)
14361       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14362       # Instead, we relocate shared libraries at runtime.
14363       ;;
14364     sysv4*MP*)
14365       if test -d /usr/nec; then
14366         lt_prog_compiler_pic_CXX=-Kconform_pic
14367       fi
14368       ;;
14369     hpux*)
14370       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14371       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14372       # sets the default TLS model and affects inlining.
14373       case $host_cpu in
14374       hppa*64*)
14375         ;;
14376       *)
14377         lt_prog_compiler_pic_CXX='-fPIC'
14378         ;;
14379       esac
14380       ;;
14381     *qnx* | *nto*)
14382       # QNX uses GNU C++, but need to define -shared option too, otherwise
14383       # it will coredump.
14384       lt_prog_compiler_pic_CXX='-fPIC -shared'
14385       ;;
14386     *)
14387       lt_prog_compiler_pic_CXX='-fPIC'
14388       ;;
14389     esac
14390   else
14391     case $host_os in
14392       aix[4-9]*)
14393         # All AIX code is PIC.
14394         if test "$host_cpu" = ia64; then
14395           # AIX 5 now supports IA64 processor
14396           lt_prog_compiler_static_CXX='-Bstatic'
14397         else
14398           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14399         fi
14400         ;;
14401       chorus*)
14402         case $cc_basename in
14403         cxch68*)
14404           # Green Hills C++ Compiler
14405           # _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"
14406           ;;
14407         esac
14408         ;;
14409       mingw* | cygwin* | os2* | pw32* | cegcc*)
14410         # This hack is so that the source file can tell whether it is being
14411         # built for inclusion in a dll (and should export symbols for example).
14412         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14413         ;;
14414       dgux*)
14415         case $cc_basename in
14416           ec++*)
14417             lt_prog_compiler_pic_CXX='-KPIC'
14418             ;;
14419           ghcx*)
14420             # Green Hills C++ Compiler
14421             lt_prog_compiler_pic_CXX='-pic'
14422             ;;
14423           *)
14424             ;;
14425         esac
14426         ;;
14427       freebsd* | dragonfly*)
14428         # FreeBSD uses GNU C++
14429         ;;
14430       hpux9* | hpux10* | hpux11*)
14431         case $cc_basename in
14432           CC*)
14433             lt_prog_compiler_wl_CXX='-Wl,'
14434             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14435             if test "$host_cpu" != ia64; then
14436               lt_prog_compiler_pic_CXX='+Z'
14437             fi
14438             ;;
14439           aCC*)
14440             lt_prog_compiler_wl_CXX='-Wl,'
14441             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14442             case $host_cpu in
14443             hppa*64*|ia64*)
14444               # +Z the default
14445               ;;
14446             *)
14447               lt_prog_compiler_pic_CXX='+Z'
14448               ;;
14449             esac
14450             ;;
14451           *)
14452             ;;
14453         esac
14454         ;;
14455       interix*)
14456         # This is c89, which is MS Visual C++ (no shared libs)
14457         # Anyone wants to do a port?
14458         ;;
14459       irix5* | irix6* | nonstopux*)
14460         case $cc_basename in
14461           CC*)
14462             lt_prog_compiler_wl_CXX='-Wl,'
14463             lt_prog_compiler_static_CXX='-non_shared'
14464             # CC pic flag -KPIC is the default.
14465             ;;
14466           *)
14467             ;;
14468         esac
14469         ;;
14470       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14471         case $cc_basename in
14472           KCC*)
14473             # KAI C++ Compiler
14474             lt_prog_compiler_wl_CXX='--backend -Wl,'
14475             lt_prog_compiler_pic_CXX='-fPIC'
14476             ;;
14477           ecpc* )
14478             # old Intel C++ for x86_64 which still supported -KPIC.
14479             lt_prog_compiler_wl_CXX='-Wl,'
14480             lt_prog_compiler_pic_CXX='-KPIC'
14481             lt_prog_compiler_static_CXX='-static'
14482             ;;
14483           icpc* )
14484             # Intel C++, used to be incompatible with GCC.
14485             # ICC 10 doesn't accept -KPIC any more.
14486             lt_prog_compiler_wl_CXX='-Wl,'
14487             lt_prog_compiler_pic_CXX='-fPIC'
14488             lt_prog_compiler_static_CXX='-static'
14489             ;;
14490           pgCC* | pgcpp*)
14491             # Portland Group C++ compiler
14492             lt_prog_compiler_wl_CXX='-Wl,'
14493             lt_prog_compiler_pic_CXX='-fpic'
14494             lt_prog_compiler_static_CXX='-Bstatic'
14495             ;;
14496           cxx*)
14497             # Compaq C++
14498             # Make sure the PIC flag is empty.  It appears that all Alpha
14499             # Linux and Compaq Tru64 Unix objects are PIC.
14500             lt_prog_compiler_pic_CXX=
14501             lt_prog_compiler_static_CXX='-non_shared'
14502             ;;
14503           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14504             # IBM XL 8.0, 9.0 on PPC and BlueGene
14505             lt_prog_compiler_wl_CXX='-Wl,'
14506             lt_prog_compiler_pic_CXX='-qpic'
14507             lt_prog_compiler_static_CXX='-qstaticlink'
14508             ;;
14509           *)
14510             case `$CC -V 2>&1 | sed 5q` in
14511             *Sun\ C*)
14512               # Sun C++ 5.9
14513               lt_prog_compiler_pic_CXX='-KPIC'
14514               lt_prog_compiler_static_CXX='-Bstatic'
14515               lt_prog_compiler_wl_CXX='-Qoption ld '
14516               ;;
14517             esac
14518             ;;
14519         esac
14520         ;;
14521       lynxos*)
14522         ;;
14523       m88k*)
14524         ;;
14525       mvs*)
14526         case $cc_basename in
14527           cxx*)
14528             lt_prog_compiler_pic_CXX='-W c,exportall'
14529             ;;
14530           *)
14531             ;;
14532         esac
14533         ;;
14534       netbsd* | netbsdelf*-gnu)
14535         ;;
14536       *qnx* | *nto*)
14537         # QNX uses GNU C++, but need to define -shared option too, otherwise
14538         # it will coredump.
14539         lt_prog_compiler_pic_CXX='-fPIC -shared'
14540         ;;
14541       osf3* | osf4* | osf5*)
14542         case $cc_basename in
14543           KCC*)
14544             lt_prog_compiler_wl_CXX='--backend -Wl,'
14545             ;;
14546           RCC*)
14547             # Rational C++ 2.4.1
14548             lt_prog_compiler_pic_CXX='-pic'
14549             ;;
14550           cxx*)
14551             # Digital/Compaq C++
14552             lt_prog_compiler_wl_CXX='-Wl,'
14553             # Make sure the PIC flag is empty.  It appears that all Alpha
14554             # Linux and Compaq Tru64 Unix objects are PIC.
14555             lt_prog_compiler_pic_CXX=
14556             lt_prog_compiler_static_CXX='-non_shared'
14557             ;;
14558           *)
14559             ;;
14560         esac
14561         ;;
14562       psos*)
14563         ;;
14564       solaris*)
14565         case $cc_basename in
14566           CC* | sunCC*)
14567             # Sun C++ 4.2, 5.x and Centerline C++
14568             lt_prog_compiler_pic_CXX='-KPIC'
14569             lt_prog_compiler_static_CXX='-Bstatic'
14570             lt_prog_compiler_wl_CXX='-Qoption ld '
14571             ;;
14572           gcx*)
14573             # Green Hills C++ Compiler
14574             lt_prog_compiler_pic_CXX='-PIC'
14575             ;;
14576           *)
14577             ;;
14578         esac
14579         ;;
14580       sunos4*)
14581         case $cc_basename in
14582           CC*)
14583             # Sun C++ 4.x
14584             lt_prog_compiler_pic_CXX='-pic'
14585             lt_prog_compiler_static_CXX='-Bstatic'
14586             ;;
14587           lcc*)
14588             # Lucid
14589             lt_prog_compiler_pic_CXX='-pic'
14590             ;;
14591           *)
14592             ;;
14593         esac
14594         ;;
14595       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14596         case $cc_basename in
14597           CC*)
14598             lt_prog_compiler_wl_CXX='-Wl,'
14599             lt_prog_compiler_pic_CXX='-KPIC'
14600             lt_prog_compiler_static_CXX='-Bstatic'
14601             ;;
14602         esac
14603         ;;
14604       tandem*)
14605         case $cc_basename in
14606           NCC*)
14607             # NonStop-UX NCC 3.20
14608             lt_prog_compiler_pic_CXX='-KPIC'
14609             ;;
14610           *)
14611             ;;
14612         esac
14613         ;;
14614       vxworks*)
14615         ;;
14616       *)
14617         lt_prog_compiler_can_build_shared_CXX=no
14618         ;;
14619     esac
14620   fi
14621
14622 case $host_os in
14623   # For platforms which do not support PIC, -DPIC is meaningless:
14624   *djgpp*)
14625     lt_prog_compiler_pic_CXX=
14626     ;;
14627   *)
14628     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14629     ;;
14630 esac
14631
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14633 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14634 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14635   $as_echo_n "(cached) " >&6
14636 else
14637   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14638 fi
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14640 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14641 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14642
14643 #
14644 # Check to make sure the PIC flag actually works.
14645 #
14646 if test -n "$lt_prog_compiler_pic_CXX"; then
14647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14648 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14649 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14650   $as_echo_n "(cached) " >&6
14651 else
14652   lt_cv_prog_compiler_pic_works_CXX=no
14653    ac_outfile=conftest.$ac_objext
14654    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14655    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14656    # Insert the option either (1) after the last *FLAGS variable, or
14657    # (2) before a word containing "conftest.", or (3) at the end.
14658    # Note that $ac_compile itself does not contain backslashes and begins
14659    # with a dollar sign (not a hyphen), so the echo should work correctly.
14660    # The option is referenced via a variable to avoid confusing sed.
14661    lt_compile=`echo "$ac_compile" | $SED \
14662    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14663    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14664    -e 's:$: $lt_compiler_flag:'`
14665    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14666    (eval "$lt_compile" 2>conftest.err)
14667    ac_status=$?
14668    cat conftest.err >&5
14669    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670    if (exit $ac_status) && test -s "$ac_outfile"; then
14671      # The compiler can only warn and ignore the option if not recognized
14672      # So say no if there are warnings other than the usual output.
14673      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14674      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14675      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14676        lt_cv_prog_compiler_pic_works_CXX=yes
14677      fi
14678    fi
14679    $RM conftest*
14680
14681 fi
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14683 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14684
14685 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14686     case $lt_prog_compiler_pic_CXX in
14687      "" | " "*) ;;
14688      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14689      esac
14690 else
14691     lt_prog_compiler_pic_CXX=
14692      lt_prog_compiler_can_build_shared_CXX=no
14693 fi
14694
14695 fi
14696
14697
14698
14699
14700
14701 #
14702 # Check to make sure the static flag actually works.
14703 #
14704 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14706 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14707 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14708   $as_echo_n "(cached) " >&6
14709 else
14710   lt_cv_prog_compiler_static_works_CXX=no
14711    save_LDFLAGS="$LDFLAGS"
14712    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14713    echo "$lt_simple_link_test_code" > conftest.$ac_ext
14714    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14715      # The linker can only warn and ignore the option if not recognized
14716      # So say no if there are warnings
14717      if test -s conftest.err; then
14718        # Append any errors to the config.log.
14719        cat conftest.err 1>&5
14720        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14721        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14722        if diff conftest.exp conftest.er2 >/dev/null; then
14723          lt_cv_prog_compiler_static_works_CXX=yes
14724        fi
14725      else
14726        lt_cv_prog_compiler_static_works_CXX=yes
14727      fi
14728    fi
14729    $RM -r conftest*
14730    LDFLAGS="$save_LDFLAGS"
14731
14732 fi
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14734 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14735
14736 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14737     :
14738 else
14739     lt_prog_compiler_static_CXX=
14740 fi
14741
14742
14743
14744
14745     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14746 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14747 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14748   $as_echo_n "(cached) " >&6
14749 else
14750   lt_cv_prog_compiler_c_o_CXX=no
14751    $RM -r conftest 2>/dev/null
14752    mkdir conftest
14753    cd conftest
14754    mkdir out
14755    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14756
14757    lt_compiler_flag="-o out/conftest2.$ac_objext"
14758    # Insert the option either (1) after the last *FLAGS variable, or
14759    # (2) before a word containing "conftest.", or (3) at the end.
14760    # Note that $ac_compile itself does not contain backslashes and begins
14761    # with a dollar sign (not a hyphen), so the echo should work correctly.
14762    lt_compile=`echo "$ac_compile" | $SED \
14763    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14764    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14765    -e 's:$: $lt_compiler_flag:'`
14766    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14767    (eval "$lt_compile" 2>out/conftest.err)
14768    ac_status=$?
14769    cat out/conftest.err >&5
14770    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14772    then
14773      # The compiler can only warn and ignore the option if not recognized
14774      # So say no if there are warnings
14775      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14776      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14777      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14778        lt_cv_prog_compiler_c_o_CXX=yes
14779      fi
14780    fi
14781    chmod u+w . 2>&5
14782    $RM conftest*
14783    # SGI C++ compiler will create directory out/ii_files/ for
14784    # template instantiation
14785    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14786    $RM out/* && rmdir out
14787    cd ..
14788    $RM -r conftest
14789    $RM conftest*
14790
14791 fi
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14793 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14794
14795
14796
14797     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14798 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14799 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14800   $as_echo_n "(cached) " >&6
14801 else
14802   lt_cv_prog_compiler_c_o_CXX=no
14803    $RM -r conftest 2>/dev/null
14804    mkdir conftest
14805    cd conftest
14806    mkdir out
14807    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14808
14809    lt_compiler_flag="-o out/conftest2.$ac_objext"
14810    # Insert the option either (1) after the last *FLAGS variable, or
14811    # (2) before a word containing "conftest.", or (3) at the end.
14812    # Note that $ac_compile itself does not contain backslashes and begins
14813    # with a dollar sign (not a hyphen), so the echo should work correctly.
14814    lt_compile=`echo "$ac_compile" | $SED \
14815    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14816    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14817    -e 's:$: $lt_compiler_flag:'`
14818    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14819    (eval "$lt_compile" 2>out/conftest.err)
14820    ac_status=$?
14821    cat out/conftest.err >&5
14822    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14824    then
14825      # The compiler can only warn and ignore the option if not recognized
14826      # So say no if there are warnings
14827      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14828      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14829      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14830        lt_cv_prog_compiler_c_o_CXX=yes
14831      fi
14832    fi
14833    chmod u+w . 2>&5
14834    $RM conftest*
14835    # SGI C++ compiler will create directory out/ii_files/ for
14836    # template instantiation
14837    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14838    $RM out/* && rmdir out
14839    cd ..
14840    $RM -r conftest
14841    $RM conftest*
14842
14843 fi
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14845 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14846
14847
14848
14849
14850 hard_links="nottested"
14851 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14852   # do not overwrite the value of need_locks provided by the user
14853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14854 $as_echo_n "checking if we can lock with hard links... " >&6; }
14855   hard_links=yes
14856   $RM conftest*
14857   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14858   touch conftest.a
14859   ln conftest.a conftest.b 2>&5 || hard_links=no
14860   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14862 $as_echo "$hard_links" >&6; }
14863   if test "$hard_links" = no; then
14864     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14865 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14866     need_locks=warn
14867   fi
14868 else
14869   need_locks=no
14870 fi
14871
14872
14873
14874     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14875 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14876
14877   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14878   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14879   case $host_os in
14880   aix[4-9]*)
14881     # If we're using GNU nm, then we don't want the "-C" option.
14882     # -C means demangle to AIX nm, but means don't demangle with GNU nm
14883     # Also, AIX nm treats weak defined symbols like other global defined
14884     # symbols, whereas GNU nm marks them as "W".
14885     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14886       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'
14887     else
14888       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'
14889     fi
14890     ;;
14891   pw32*)
14892     export_symbols_cmds_CXX="$ltdll_cmds"
14893     ;;
14894   cygwin* | mingw* | cegcc*)
14895     case $cc_basename in
14896     cl*)
14897       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14898       ;;
14899     *)
14900       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'
14901       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14902       ;;
14903     esac
14904     ;;
14905   linux* | k*bsd*-gnu | gnu*)
14906     link_all_deplibs_CXX=no
14907     ;;
14908   *)
14909     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14910     ;;
14911   esac
14912
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14914 $as_echo "$ld_shlibs_CXX" >&6; }
14915 test "$ld_shlibs_CXX" = no && can_build_shared=no
14916
14917 with_gnu_ld_CXX=$with_gnu_ld
14918
14919
14920
14921
14922
14923
14924 #
14925 # Do we need to explicitly link libc?
14926 #
14927 case "x$archive_cmds_need_lc_CXX" in
14928 x|xyes)
14929   # Assume -lc should be added
14930   archive_cmds_need_lc_CXX=yes
14931
14932   if test "$enable_shared" = yes && test "$GCC" = yes; then
14933     case $archive_cmds_CXX in
14934     *'~'*)
14935       # FIXME: we may have to deal with multi-command sequences.
14936       ;;
14937     '$CC '*)
14938       # Test whether the compiler implicitly links with -lc since on some
14939       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14940       # to ld, don't add -lc before -lgcc.
14941       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14942 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14943 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14944   $as_echo_n "(cached) " >&6
14945 else
14946   $RM conftest*
14947         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14948
14949         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14950   (eval $ac_compile) 2>&5
14951   ac_status=$?
14952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14953   test $ac_status = 0; } 2>conftest.err; then
14954           soname=conftest
14955           lib=conftest
14956           libobjs=conftest.$ac_objext
14957           deplibs=
14958           wl=$lt_prog_compiler_wl_CXX
14959           pic_flag=$lt_prog_compiler_pic_CXX
14960           compiler_flags=-v
14961           linker_flags=-v
14962           verstring=
14963           output_objdir=.
14964           libname=conftest
14965           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14966           allow_undefined_flag_CXX=
14967           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14968   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14969   ac_status=$?
14970   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14971   test $ac_status = 0; }
14972           then
14973             lt_cv_archive_cmds_need_lc_CXX=no
14974           else
14975             lt_cv_archive_cmds_need_lc_CXX=yes
14976           fi
14977           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14978         else
14979           cat conftest.err 1>&5
14980         fi
14981         $RM conftest*
14982
14983 fi
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14985 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14986       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14987       ;;
14988     esac
14989   fi
14990   ;;
14991 esac
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15055 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15056
15057 library_names_spec=
15058 libname_spec='lib$name'
15059 soname_spec=
15060 shrext_cmds=".so"
15061 postinstall_cmds=
15062 postuninstall_cmds=
15063 finish_cmds=
15064 finish_eval=
15065 shlibpath_var=
15066 shlibpath_overrides_runpath=unknown
15067 version_type=none
15068 dynamic_linker="$host_os ld.so"
15069 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15070 need_lib_prefix=unknown
15071 hardcode_into_libs=no
15072
15073 # when you set need_version to no, make sure it does not cause -set_version
15074 # flags to be left without arguments
15075 need_version=unknown
15076
15077 case $host_os in
15078 aix3*)
15079   version_type=linux # correct to gnu/linux during the next big refactor
15080   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15081   shlibpath_var=LIBPATH
15082
15083   # AIX 3 has no versioning support, so we append a major version to the name.
15084   soname_spec='${libname}${release}${shared_ext}$major'
15085   ;;
15086
15087 aix[4-9]*)
15088   version_type=linux # correct to gnu/linux during the next big refactor
15089   need_lib_prefix=no
15090   need_version=no
15091   hardcode_into_libs=yes
15092   if test "$host_cpu" = ia64; then
15093     # AIX 5 supports IA64
15094     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15095     shlibpath_var=LD_LIBRARY_PATH
15096   else
15097     # With GCC up to 2.95.x, collect2 would create an import file
15098     # for dependence libraries.  The import file would start with
15099     # the line `#! .'.  This would cause the generated library to
15100     # depend on `.', always an invalid library.  This was fixed in
15101     # development snapshots of GCC prior to 3.0.
15102     case $host_os in
15103       aix4 | aix4.[01] | aix4.[01].*)
15104       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15105            echo ' yes '
15106            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15107         :
15108       else
15109         can_build_shared=no
15110       fi
15111       ;;
15112     esac
15113     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15114     # soname into executable. Probably we can add versioning support to
15115     # collect2, so additional links can be useful in future.
15116     if test "$aix_use_runtimelinking" = yes; then
15117       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15118       # instead of lib<name>.a to let people know that these are not
15119       # typical AIX shared libraries.
15120       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15121     else
15122       # We preserve .a as extension for shared libraries through AIX4.2
15123       # and later when we are not doing run time linking.
15124       library_names_spec='${libname}${release}.a $libname.a'
15125       soname_spec='${libname}${release}${shared_ext}$major'
15126     fi
15127     shlibpath_var=LIBPATH
15128   fi
15129   ;;
15130
15131 amigaos*)
15132   case $host_cpu in
15133   powerpc)
15134     # Since July 2007 AmigaOS4 officially supports .so libraries.
15135     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15136     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15137     ;;
15138   m68k)
15139     library_names_spec='$libname.ixlibrary $libname.a'
15140     # Create ${libname}_ixlibrary.a entries in /sys/libs.
15141     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'
15142     ;;
15143   esac
15144   ;;
15145
15146 beos*)
15147   library_names_spec='${libname}${shared_ext}'
15148   dynamic_linker="$host_os ld.so"
15149   shlibpath_var=LIBRARY_PATH
15150   ;;
15151
15152 bsdi[45]*)
15153   version_type=linux # correct to gnu/linux during the next big refactor
15154   need_version=no
15155   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15156   soname_spec='${libname}${release}${shared_ext}$major'
15157   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15158   shlibpath_var=LD_LIBRARY_PATH
15159   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15160   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15161   # the default ld.so.conf also contains /usr/contrib/lib and
15162   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15163   # libtool to hard-code these into programs
15164   ;;
15165
15166 cygwin* | mingw* | pw32* | cegcc*)
15167   version_type=windows
15168   shrext_cmds=".dll"
15169   need_version=no
15170   need_lib_prefix=no
15171
15172   case $GCC,$cc_basename in
15173   yes,*)
15174     # gcc
15175     library_names_spec='$libname.dll.a'
15176     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15177     postinstall_cmds='base_file=`basename \${file}`~
15178       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15179       dldir=$destdir/`dirname \$dlpath`~
15180       test -d \$dldir || mkdir -p \$dldir~
15181       $install_prog $dir/$dlname \$dldir/$dlname~
15182       chmod a+x \$dldir/$dlname~
15183       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15184         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15185       fi'
15186     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15187       dlpath=$dir/\$dldll~
15188        $RM \$dlpath'
15189     shlibpath_overrides_runpath=yes
15190
15191     case $host_os in
15192     cygwin*)
15193       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15194       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15195
15196       ;;
15197     mingw* | cegcc*)
15198       # MinGW DLLs use traditional 'lib' prefix
15199       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15200       ;;
15201     pw32*)
15202       # pw32 DLLs use 'pw' prefix rather than 'lib'
15203       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15204       ;;
15205     esac
15206     dynamic_linker='Win32 ld.exe'
15207     ;;
15208
15209   *,cl*)
15210     # Native MSVC
15211     libname_spec='$name'
15212     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15213     library_names_spec='${libname}.dll.lib'
15214
15215     case $build_os in
15216     mingw*)
15217       sys_lib_search_path_spec=
15218       lt_save_ifs=$IFS
15219       IFS=';'
15220       for lt_path in $LIB
15221       do
15222         IFS=$lt_save_ifs
15223         # Let DOS variable expansion print the short 8.3 style file name.
15224         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15225         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15226       done
15227       IFS=$lt_save_ifs
15228       # Convert to MSYS style.
15229       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15230       ;;
15231     cygwin*)
15232       # Convert to unix form, then to dos form, then back to unix form
15233       # but this time dos style (no spaces!) so that the unix form looks
15234       # like /cygdrive/c/PROGRA~1:/cygdr...
15235       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15236       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15237       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15238       ;;
15239     *)
15240       sys_lib_search_path_spec="$LIB"
15241       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15242         # It is most probably a Windows format PATH.
15243         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15244       else
15245         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15246       fi
15247       # FIXME: find the short name or the path components, as spaces are
15248       # common. (e.g. "Program Files" -> "PROGRA~1")
15249       ;;
15250     esac
15251
15252     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15253     postinstall_cmds='base_file=`basename \${file}`~
15254       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15255       dldir=$destdir/`dirname \$dlpath`~
15256       test -d \$dldir || mkdir -p \$dldir~
15257       $install_prog $dir/$dlname \$dldir/$dlname'
15258     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15259       dlpath=$dir/\$dldll~
15260        $RM \$dlpath'
15261     shlibpath_overrides_runpath=yes
15262     dynamic_linker='Win32 link.exe'
15263     ;;
15264
15265   *)
15266     # Assume MSVC wrapper
15267     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15268     dynamic_linker='Win32 ld.exe'
15269     ;;
15270   esac
15271   # FIXME: first we should search . and the directory the executable is in
15272   shlibpath_var=PATH
15273   ;;
15274
15275 darwin* | rhapsody*)
15276   dynamic_linker="$host_os dyld"
15277   version_type=darwin
15278   need_lib_prefix=no
15279   need_version=no
15280   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15281   soname_spec='${libname}${release}${major}$shared_ext'
15282   shlibpath_overrides_runpath=yes
15283   shlibpath_var=DYLD_LIBRARY_PATH
15284   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15285
15286   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15287   ;;
15288
15289 dgux*)
15290   version_type=linux # correct to gnu/linux during the next big refactor
15291   need_lib_prefix=no
15292   need_version=no
15293   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15294   soname_spec='${libname}${release}${shared_ext}$major'
15295   shlibpath_var=LD_LIBRARY_PATH
15296   ;;
15297
15298 freebsd* | dragonfly*)
15299   # DragonFly does not have aout.  When/if they implement a new
15300   # versioning mechanism, adjust this.
15301   if test -x /usr/bin/objformat; then
15302     objformat=`/usr/bin/objformat`
15303   else
15304     case $host_os in
15305     freebsd[23].*) objformat=aout ;;
15306     *) objformat=elf ;;
15307     esac
15308   fi
15309   version_type=freebsd-$objformat
15310   case $version_type in
15311     freebsd-elf*)
15312       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15313       need_version=no
15314       need_lib_prefix=no
15315       ;;
15316     freebsd-*)
15317       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15318       need_version=yes
15319       ;;
15320   esac
15321   shlibpath_var=LD_LIBRARY_PATH
15322   case $host_os in
15323   freebsd2.*)
15324     shlibpath_overrides_runpath=yes
15325     ;;
15326   freebsd3.[01]* | freebsdelf3.[01]*)
15327     shlibpath_overrides_runpath=yes
15328     hardcode_into_libs=yes
15329     ;;
15330   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15331   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15332     shlibpath_overrides_runpath=no
15333     hardcode_into_libs=yes
15334     ;;
15335   *) # from 4.6 on, and DragonFly
15336     shlibpath_overrides_runpath=yes
15337     hardcode_into_libs=yes
15338     ;;
15339   esac
15340   ;;
15341
15342 haiku*)
15343   version_type=linux # correct to gnu/linux during the next big refactor
15344   need_lib_prefix=no
15345   need_version=no
15346   dynamic_linker="$host_os runtime_loader"
15347   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15348   soname_spec='${libname}${release}${shared_ext}$major'
15349   shlibpath_var=LIBRARY_PATH
15350   shlibpath_overrides_runpath=yes
15351   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15352   hardcode_into_libs=yes
15353   ;;
15354
15355 hpux9* | hpux10* | hpux11*)
15356   # Give a soname corresponding to the major version so that dld.sl refuses to
15357   # link against other versions.
15358   version_type=sunos
15359   need_lib_prefix=no
15360   need_version=no
15361   case $host_cpu in
15362   ia64*)
15363     shrext_cmds='.so'
15364     hardcode_into_libs=yes
15365     dynamic_linker="$host_os dld.so"
15366     shlibpath_var=LD_LIBRARY_PATH
15367     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15368     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15369     soname_spec='${libname}${release}${shared_ext}$major'
15370     if test "X$HPUX_IA64_MODE" = X32; then
15371       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15372     else
15373       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15374     fi
15375     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15376     ;;
15377   hppa*64*)
15378     shrext_cmds='.sl'
15379     hardcode_into_libs=yes
15380     dynamic_linker="$host_os dld.sl"
15381     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15382     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15383     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15384     soname_spec='${libname}${release}${shared_ext}$major'
15385     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15386     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15387     ;;
15388   *)
15389     shrext_cmds='.sl'
15390     dynamic_linker="$host_os dld.sl"
15391     shlibpath_var=SHLIB_PATH
15392     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15393     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15394     soname_spec='${libname}${release}${shared_ext}$major'
15395     ;;
15396   esac
15397   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15398   postinstall_cmds='chmod 555 $lib'
15399   # or fails outright, so override atomically:
15400   install_override_mode=555
15401   ;;
15402
15403 interix[3-9]*)
15404   version_type=linux # correct to gnu/linux during the next big refactor
15405   need_lib_prefix=no
15406   need_version=no
15407   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15408   soname_spec='${libname}${release}${shared_ext}$major'
15409   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15410   shlibpath_var=LD_LIBRARY_PATH
15411   shlibpath_overrides_runpath=no
15412   hardcode_into_libs=yes
15413   ;;
15414
15415 irix5* | irix6* | nonstopux*)
15416   case $host_os in
15417     nonstopux*) version_type=nonstopux ;;
15418     *)
15419         if test "$lt_cv_prog_gnu_ld" = yes; then
15420                 version_type=linux # correct to gnu/linux during the next big refactor
15421         else
15422                 version_type=irix
15423         fi ;;
15424   esac
15425   need_lib_prefix=no
15426   need_version=no
15427   soname_spec='${libname}${release}${shared_ext}$major'
15428   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15429   case $host_os in
15430   irix5* | nonstopux*)
15431     libsuff= shlibsuff=
15432     ;;
15433   *)
15434     case $LD in # libtool.m4 will add one of these switches to LD
15435     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15436       libsuff= shlibsuff= libmagic=32-bit;;
15437     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15438       libsuff=32 shlibsuff=N32 libmagic=N32;;
15439     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15440       libsuff=64 shlibsuff=64 libmagic=64-bit;;
15441     *) libsuff= shlibsuff= libmagic=never-match;;
15442     esac
15443     ;;
15444   esac
15445   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15446   shlibpath_overrides_runpath=no
15447   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15448   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15449   hardcode_into_libs=yes
15450   ;;
15451
15452 # No shared lib support for Linux oldld, aout, or coff.
15453 linux*oldld* | linux*aout* | linux*coff*)
15454   dynamic_linker=no
15455   ;;
15456
15457 # This must be glibc/ELF.
15458 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15459   version_type=linux # correct to gnu/linux during the next big refactor
15460   need_lib_prefix=no
15461   need_version=no
15462   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15463   soname_spec='${libname}${release}${shared_ext}$major'
15464   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15465   shlibpath_var=LD_LIBRARY_PATH
15466   shlibpath_overrides_runpath=no
15467
15468   # Some binutils ld are patched to set DT_RUNPATH
15469   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15470   $as_echo_n "(cached) " >&6
15471 else
15472   lt_cv_shlibpath_overrides_runpath=no
15473     save_LDFLAGS=$LDFLAGS
15474     save_libdir=$libdir
15475     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15476          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15477     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15478 /* end confdefs.h.  */
15479
15480 int
15481 main ()
15482 {
15483
15484   ;
15485   return 0;
15486 }
15487 _ACEOF
15488 if ac_fn_cxx_try_link "$LINENO"; then :
15489   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15490   lt_cv_shlibpath_overrides_runpath=yes
15491 fi
15492 fi
15493 rm -f core conftest.err conftest.$ac_objext \
15494     conftest$ac_exeext conftest.$ac_ext
15495     LDFLAGS=$save_LDFLAGS
15496     libdir=$save_libdir
15497
15498 fi
15499
15500   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15501
15502   # This implies no fast_install, which is unacceptable.
15503   # Some rework will be needed to allow for fast_install
15504   # before this can be enabled.
15505   hardcode_into_libs=yes
15506
15507   # Append ld.so.conf contents to the search path
15508   if test -f /etc/ld.so.conf; then
15509     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' ' '`
15510     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15511   fi
15512
15513   # We used to test for /lib/ld.so.1 and disable shared libraries on
15514   # powerpc, because MkLinux only supported shared libraries with the
15515   # GNU dynamic linker.  Since this was broken with cross compilers,
15516   # most powerpc-linux boxes support dynamic linking these days and
15517   # people can always --disable-shared, the test was removed, and we
15518   # assume the GNU/Linux dynamic linker is in use.
15519   dynamic_linker='GNU/Linux ld.so'
15520   ;;
15521
15522 netbsdelf*-gnu)
15523   version_type=linux
15524   need_lib_prefix=no
15525   need_version=no
15526   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15527   soname_spec='${libname}${release}${shared_ext}$major'
15528   shlibpath_var=LD_LIBRARY_PATH
15529   shlibpath_overrides_runpath=no
15530   hardcode_into_libs=yes
15531   dynamic_linker='NetBSD ld.elf_so'
15532   ;;
15533
15534 netbsd*)
15535   version_type=sunos
15536   need_lib_prefix=no
15537   need_version=no
15538   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15539     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15540     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15541     dynamic_linker='NetBSD (a.out) ld.so'
15542   else
15543     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15544     soname_spec='${libname}${release}${shared_ext}$major'
15545     dynamic_linker='NetBSD ld.elf_so'
15546   fi
15547   shlibpath_var=LD_LIBRARY_PATH
15548   shlibpath_overrides_runpath=yes
15549   hardcode_into_libs=yes
15550   ;;
15551
15552 newsos6)
15553   version_type=linux # correct to gnu/linux during the next big refactor
15554   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15555   shlibpath_var=LD_LIBRARY_PATH
15556   shlibpath_overrides_runpath=yes
15557   ;;
15558
15559 *nto* | *qnx*)
15560   version_type=qnx
15561   need_lib_prefix=no
15562   need_version=no
15563   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15564   soname_spec='${libname}${release}${shared_ext}$major'
15565   shlibpath_var=LD_LIBRARY_PATH
15566   shlibpath_overrides_runpath=no
15567   hardcode_into_libs=yes
15568   dynamic_linker='ldqnx.so'
15569   ;;
15570
15571 openbsd*)
15572   version_type=sunos
15573   sys_lib_dlsearch_path_spec="/usr/lib"
15574   need_lib_prefix=no
15575   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15576   case $host_os in
15577     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
15578     *)                          need_version=no  ;;
15579   esac
15580   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15581   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15582   shlibpath_var=LD_LIBRARY_PATH
15583   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15584     case $host_os in
15585       openbsd2.[89] | openbsd2.[89].*)
15586         shlibpath_overrides_runpath=no
15587         ;;
15588       *)
15589         shlibpath_overrides_runpath=yes
15590         ;;
15591       esac
15592   else
15593     shlibpath_overrides_runpath=yes
15594   fi
15595   ;;
15596
15597 os2*)
15598   libname_spec='$name'
15599   shrext_cmds=".dll"
15600   need_lib_prefix=no
15601   library_names_spec='$libname${shared_ext} $libname.a'
15602   dynamic_linker='OS/2 ld.exe'
15603   shlibpath_var=LIBPATH
15604   ;;
15605
15606 osf3* | osf4* | osf5*)
15607   version_type=osf
15608   need_lib_prefix=no
15609   need_version=no
15610   soname_spec='${libname}${release}${shared_ext}$major'
15611   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15612   shlibpath_var=LD_LIBRARY_PATH
15613   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15614   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15615   ;;
15616
15617 rdos*)
15618   dynamic_linker=no
15619   ;;
15620
15621 solaris*)
15622   version_type=linux # correct to gnu/linux during the next big refactor
15623   need_lib_prefix=no
15624   need_version=no
15625   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15626   soname_spec='${libname}${release}${shared_ext}$major'
15627   shlibpath_var=LD_LIBRARY_PATH
15628   shlibpath_overrides_runpath=yes
15629   hardcode_into_libs=yes
15630   # ldd complains unless libraries are executable
15631   postinstall_cmds='chmod +x $lib'
15632   ;;
15633
15634 sunos4*)
15635   version_type=sunos
15636   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15637   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15638   shlibpath_var=LD_LIBRARY_PATH
15639   shlibpath_overrides_runpath=yes
15640   if test "$with_gnu_ld" = yes; then
15641     need_lib_prefix=no
15642   fi
15643   need_version=yes
15644   ;;
15645
15646 sysv4 | sysv4.3*)
15647   version_type=linux # correct to gnu/linux during the next big refactor
15648   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15649   soname_spec='${libname}${release}${shared_ext}$major'
15650   shlibpath_var=LD_LIBRARY_PATH
15651   case $host_vendor in
15652     sni)
15653       shlibpath_overrides_runpath=no
15654       need_lib_prefix=no
15655       runpath_var=LD_RUN_PATH
15656       ;;
15657     siemens)
15658       need_lib_prefix=no
15659       ;;
15660     motorola)
15661       need_lib_prefix=no
15662       need_version=no
15663       shlibpath_overrides_runpath=no
15664       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15665       ;;
15666   esac
15667   ;;
15668
15669 sysv4*MP*)
15670   if test -d /usr/nec ;then
15671     version_type=linux # correct to gnu/linux during the next big refactor
15672     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15673     soname_spec='$libname${shared_ext}.$major'
15674     shlibpath_var=LD_LIBRARY_PATH
15675   fi
15676   ;;
15677
15678 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15679   version_type=freebsd-elf
15680   need_lib_prefix=no
15681   need_version=no
15682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15683   soname_spec='${libname}${release}${shared_ext}$major'
15684   shlibpath_var=LD_LIBRARY_PATH
15685   shlibpath_overrides_runpath=yes
15686   hardcode_into_libs=yes
15687   if test "$with_gnu_ld" = yes; then
15688     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15689   else
15690     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15691     case $host_os in
15692       sco3.2v5*)
15693         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15694         ;;
15695     esac
15696   fi
15697   sys_lib_dlsearch_path_spec='/usr/lib'
15698   ;;
15699
15700 tpf*)
15701   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15702   version_type=linux # correct to gnu/linux during the next big refactor
15703   need_lib_prefix=no
15704   need_version=no
15705   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15706   shlibpath_var=LD_LIBRARY_PATH
15707   shlibpath_overrides_runpath=no
15708   hardcode_into_libs=yes
15709   ;;
15710
15711 uts4*)
15712   version_type=linux # correct to gnu/linux during the next big refactor
15713   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15714   soname_spec='${libname}${release}${shared_ext}$major'
15715   shlibpath_var=LD_LIBRARY_PATH
15716   ;;
15717
15718 *)
15719   dynamic_linker=no
15720   ;;
15721 esac
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15723 $as_echo "$dynamic_linker" >&6; }
15724 test "$dynamic_linker" = no && can_build_shared=no
15725
15726 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15727 if test "$GCC" = yes; then
15728   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15729 fi
15730
15731 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15732   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15733 fi
15734 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15735   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15736 fi
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15776 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15777 hardcode_action_CXX=
15778 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15779    test -n "$runpath_var_CXX" ||
15780    test "X$hardcode_automatic_CXX" = "Xyes" ; then
15781
15782   # We can hardcode non-existent directories.
15783   if test "$hardcode_direct_CXX" != no &&
15784      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15785      # have to relink, otherwise we might link with an installed library
15786      # when we should be linking with a yet-to-be-installed one
15787      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15788      test "$hardcode_minus_L_CXX" != no; then
15789     # Linking always hardcodes the temporary library directory.
15790     hardcode_action_CXX=relink
15791   else
15792     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15793     hardcode_action_CXX=immediate
15794   fi
15795 else
15796   # We cannot hardcode anything, or else we can only hardcode existing
15797   # directories.
15798   hardcode_action_CXX=unsupported
15799 fi
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15801 $as_echo "$hardcode_action_CXX" >&6; }
15802
15803 if test "$hardcode_action_CXX" = relink ||
15804    test "$inherit_rpath_CXX" = yes; then
15805   # Fast installation is not supported
15806   enable_fast_install=no
15807 elif test "$shlibpath_overrides_runpath" = yes ||
15808      test "$enable_shared" = no; then
15809   # Fast installation is not necessary
15810   enable_fast_install=needless
15811 fi
15812
15813
15814
15815
15816
15817
15818
15819   fi # test -n "$compiler"
15820
15821   CC=$lt_save_CC
15822   CFLAGS=$lt_save_CFLAGS
15823   LDCXX=$LD
15824   LD=$lt_save_LD
15825   GCC=$lt_save_GCC
15826   with_gnu_ld=$lt_save_with_gnu_ld
15827   lt_cv_path_LDCXX=$lt_cv_path_LD
15828   lt_cv_path_LD=$lt_save_path_LD
15829   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15830   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15831 fi # test "$_lt_caught_CXX_error" != yes
15832
15833 ac_ext=c
15834 ac_cpp='$CPP $CPPFLAGS'
15835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853         ac_config_commands="$ac_config_commands libtool"
15854
15855
15856
15857
15858 # Only expand once:
15859
15860
15861
15862 LIBXMLXX_MODULES='libxml-2.0 >= 2.7.7 glibmm-2.4 >= 2.32.0'
15863
15864
15865
15866
15867
15868
15869
15870
15871 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15872         if test -n "$ac_tool_prefix"; then
15873   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15874 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15876 $as_echo_n "checking for $ac_word... " >&6; }
15877 if ${ac_cv_path_PKG_CONFIG+:} false; then :
15878   $as_echo_n "(cached) " >&6
15879 else
15880   case $PKG_CONFIG in
15881   [\\/]* | ?:[\\/]*)
15882   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15883   ;;
15884   *)
15885   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15886 for as_dir in $PATH
15887 do
15888   IFS=$as_save_IFS
15889   test -z "$as_dir" && as_dir=.
15890     for ac_exec_ext in '' $ac_executable_extensions; do
15891   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15892     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15894     break 2
15895   fi
15896 done
15897   done
15898 IFS=$as_save_IFS
15899
15900   ;;
15901 esac
15902 fi
15903 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15904 if test -n "$PKG_CONFIG"; then
15905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15906 $as_echo "$PKG_CONFIG" >&6; }
15907 else
15908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15909 $as_echo "no" >&6; }
15910 fi
15911
15912
15913 fi
15914 if test -z "$ac_cv_path_PKG_CONFIG"; then
15915   ac_pt_PKG_CONFIG=$PKG_CONFIG
15916   # Extract the first word of "pkg-config", so it can be a program name with args.
15917 set dummy pkg-config; ac_word=$2
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15919 $as_echo_n "checking for $ac_word... " >&6; }
15920 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15921   $as_echo_n "(cached) " >&6
15922 else
15923   case $ac_pt_PKG_CONFIG in
15924   [\\/]* | ?:[\\/]*)
15925   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15926   ;;
15927   *)
15928   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15929 for as_dir in $PATH
15930 do
15931   IFS=$as_save_IFS
15932   test -z "$as_dir" && as_dir=.
15933     for ac_exec_ext in '' $ac_executable_extensions; do
15934   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15935     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15937     break 2
15938   fi
15939 done
15940   done
15941 IFS=$as_save_IFS
15942
15943   ;;
15944 esac
15945 fi
15946 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15947 if test -n "$ac_pt_PKG_CONFIG"; then
15948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15949 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15950 else
15951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15952 $as_echo "no" >&6; }
15953 fi
15954
15955   if test "x$ac_pt_PKG_CONFIG" = x; then
15956     PKG_CONFIG=""
15957   else
15958     case $cross_compiling:$ac_tool_warned in
15959 yes:)
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15962 ac_tool_warned=yes ;;
15963 esac
15964     PKG_CONFIG=$ac_pt_PKG_CONFIG
15965   fi
15966 else
15967   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15968 fi
15969
15970 fi
15971 if test -n "$PKG_CONFIG"; then
15972         _pkg_min_version=0.9.0
15973         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15974 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15975         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15976                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15977 $as_echo "yes" >&6; }
15978         else
15979                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15980 $as_echo "no" >&6; }
15981                 PKG_CONFIG=""
15982         fi
15983 fi
15984
15985 pkg_failed=no
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXMLXX" >&5
15987 $as_echo_n "checking for LIBXMLXX... " >&6; }
15988
15989 if test -n "$LIBXMLXX_CFLAGS"; then
15990     pkg_cv_LIBXMLXX_CFLAGS="$LIBXMLXX_CFLAGS"
15991  elif test -n "$PKG_CONFIG"; then
15992     if test -n "$PKG_CONFIG" && \
15993     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXMLXX_MODULES\""; } >&5
15994   ($PKG_CONFIG --exists --print-errors "$LIBXMLXX_MODULES") 2>&5
15995   ac_status=$?
15996   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15997   test $ac_status = 0; }; then
15998   pkg_cv_LIBXMLXX_CFLAGS=`$PKG_CONFIG --cflags "$LIBXMLXX_MODULES" 2>/dev/null`
15999                       test "x$?" != "x0" && pkg_failed=yes
16000 else
16001   pkg_failed=yes
16002 fi
16003  else
16004     pkg_failed=untried
16005 fi
16006 if test -n "$LIBXMLXX_LIBS"; then
16007     pkg_cv_LIBXMLXX_LIBS="$LIBXMLXX_LIBS"
16008  elif test -n "$PKG_CONFIG"; then
16009     if test -n "$PKG_CONFIG" && \
16010     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXMLXX_MODULES\""; } >&5
16011   ($PKG_CONFIG --exists --print-errors "$LIBXMLXX_MODULES") 2>&5
16012   ac_status=$?
16013   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16014   test $ac_status = 0; }; then
16015   pkg_cv_LIBXMLXX_LIBS=`$PKG_CONFIG --libs "$LIBXMLXX_MODULES" 2>/dev/null`
16016                       test "x$?" != "x0" && pkg_failed=yes
16017 else
16018   pkg_failed=yes
16019 fi
16020  else
16021     pkg_failed=untried
16022 fi
16023
16024
16025
16026 if test $pkg_failed = yes; then
16027         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16028 $as_echo "no" >&6; }
16029
16030 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16031         _pkg_short_errors_supported=yes
16032 else
16033         _pkg_short_errors_supported=no
16034 fi
16035         if test $_pkg_short_errors_supported = yes; then
16036                 LIBXMLXX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$LIBXMLXX_MODULES" 2>&1`
16037         else
16038                 LIBXMLXX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$LIBXMLXX_MODULES" 2>&1`
16039         fi
16040         # Put the nasty error message in config.log where it belongs
16041         echo "$LIBXMLXX_PKG_ERRORS" >&5
16042
16043         as_fn_error $? "Package requirements ($LIBXMLXX_MODULES) were not met:
16044
16045 $LIBXMLXX_PKG_ERRORS
16046
16047 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16048 installed software in a non-standard prefix.
16049
16050 Alternatively, you may set the environment variables LIBXMLXX_CFLAGS
16051 and LIBXMLXX_LIBS to avoid the need to call pkg-config.
16052 See the pkg-config man page for more details." "$LINENO" 5
16053 elif test $pkg_failed = untried; then
16054         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16055 $as_echo "no" >&6; }
16056         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16058 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16059 is in your PATH or set the PKG_CONFIG environment variable to the full
16060 path to pkg-config.
16061
16062 Alternatively, you may set the environment variables LIBXMLXX_CFLAGS
16063 and LIBXMLXX_LIBS to avoid the need to call pkg-config.
16064 See the pkg-config man page for more details.
16065
16066 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16067 See \`config.log' for more details" "$LINENO" 5; }
16068 else
16069         LIBXMLXX_CFLAGS=$pkg_cv_LIBXMLXX_CFLAGS
16070         LIBXMLXX_LIBS=$pkg_cv_LIBXMLXX_LIBS
16071         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16072 $as_echo "yes" >&6; }
16073
16074 fi
16075
16076 ac_ext=cpp
16077 ac_cpp='$CXXCPP $CPPFLAGS'
16078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16081
16082
16083 for ac_header in string list map
16084 do :
16085   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16086 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16087 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16088   cat >>confdefs.h <<_ACEOF
16089 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16090 _ACEOF
16091
16092 else
16093   as_fn_error $? "required headers not found" "$LINENO" 5
16094 fi
16095
16096 done
16097
16098
16099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ library supports std::exception_ptr" >&5
16100 $as_echo_n "checking whether C++ library supports std::exception_ptr... " >&6; }
16101 if ${libxmlxx_cv_cxx_has_exception_ptr+:} false; then :
16102   $as_echo_n "(cached) " >&6
16103 else
16104
16105     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16106 /* end confdefs.h.  */
16107
16108       #include <exception>
16109
16110 int
16111 main ()
16112 {
16113
16114       try
16115       {
16116         throw "custom error";
16117       }
16118       catch(...)
16119       {
16120         std::exception_ptr ep = std::current_exception();
16121         std::rethrow_exception(ep);
16122       }
16123
16124   ;
16125   return 0;
16126 }
16127 _ACEOF
16128 if ac_fn_cxx_try_compile "$LINENO"; then :
16129   libxmlxx_cv_cxx_has_exception_ptr='yes'
16130 else
16131   libxmlxx_cv_cxx_has_exception_ptr='no'
16132
16133 fi
16134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16135
16136 fi
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libxmlxx_cv_cxx_has_exception_ptr" >&5
16138 $as_echo "$libxmlxx_cv_cxx_has_exception_ptr" >&6; }
16139
16140   if test "x${libxmlxx_cv_cxx_has_exception_ptr}" = 'xyes'; then :
16141
16142 $as_echo "#define LIBXMLXX_HAVE_EXCEPTION_PTR 1" >>confdefs.h
16143
16144 fi
16145
16146
16147 # Extract the first word of "perl", so it can be a program name with args.
16148 set dummy perl; ac_word=$2
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16150 $as_echo_n "checking for $ac_word... " >&6; }
16151 if ${ac_cv_path_PERL+:} false; then :
16152   $as_echo_n "(cached) " >&6
16153 else
16154   case $PERL in
16155   [\\/]* | ?:[\\/]*)
16156   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
16157   ;;
16158   *)
16159   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16160 for as_dir in $PATH
16161 do
16162   IFS=$as_save_IFS
16163   test -z "$as_dir" && as_dir=.
16164     for ac_exec_ext in '' $ac_executable_extensions; do
16165   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16166     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
16167     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16168     break 2
16169   fi
16170 done
16171   done
16172 IFS=$as_save_IFS
16173
16174   test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
16175   ;;
16176 esac
16177 fi
16178 PERL=$ac_cv_path_PERL
16179 if test -n "$PERL"; then
16180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16181 $as_echo "$PERL" >&6; }
16182 else
16183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16184 $as_echo "no" >&6; }
16185 fi
16186
16187
16188
16189 # Extract the first word of "dot", so it can be a program name with args.
16190 set dummy dot; ac_word=$2
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16192 $as_echo_n "checking for $ac_word... " >&6; }
16193 if ${ac_cv_path_DOT+:} false; then :
16194   $as_echo_n "(cached) " >&6
16195 else
16196   case $DOT in
16197   [\\/]* | ?:[\\/]*)
16198   ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
16199   ;;
16200   *)
16201   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16202 for as_dir in $PATH
16203 do
16204   IFS=$as_save_IFS
16205   test -z "$as_dir" && as_dir=.
16206     for ac_exec_ext in '' $ac_executable_extensions; do
16207   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16208     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
16209     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16210     break 2
16211   fi
16212 done
16213   done
16214 IFS=$as_save_IFS
16215
16216   test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="dot"
16217   ;;
16218 esac
16219 fi
16220 DOT=$ac_cv_path_DOT
16221 if test -n "$DOT"; then
16222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
16223 $as_echo "$DOT" >&6; }
16224 else
16225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16226 $as_echo "no" >&6; }
16227 fi
16228
16229
16230 # Extract the first word of "doxygen", so it can be a program name with args.
16231 set dummy doxygen; ac_word=$2
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16233 $as_echo_n "checking for $ac_word... " >&6; }
16234 if ${ac_cv_path_DOXYGEN+:} false; then :
16235   $as_echo_n "(cached) " >&6
16236 else
16237   case $DOXYGEN in
16238   [\\/]* | ?:[\\/]*)
16239   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
16240   ;;
16241   *)
16242   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16243 for as_dir in $PATH
16244 do
16245   IFS=$as_save_IFS
16246   test -z "$as_dir" && as_dir=.
16247     for ac_exec_ext in '' $ac_executable_extensions; do
16248   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16249     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
16250     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16251     break 2
16252   fi
16253 done
16254   done
16255 IFS=$as_save_IFS
16256
16257   test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="doxygen"
16258   ;;
16259 esac
16260 fi
16261 DOXYGEN=$ac_cv_path_DOXYGEN
16262 if test -n "$DOXYGEN"; then
16263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
16264 $as_echo "$DOXYGEN" >&6; }
16265 else
16266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16267 $as_echo "no" >&6; }
16268 fi
16269
16270
16271 # Extract the first word of "xsltproc", so it can be a program name with args.
16272 set dummy xsltproc; ac_word=$2
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16274 $as_echo_n "checking for $ac_word... " >&6; }
16275 if ${ac_cv_path_XSLTPROC+:} false; then :
16276   $as_echo_n "(cached) " >&6
16277 else
16278   case $XSLTPROC in
16279   [\\/]* | ?:[\\/]*)
16280   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
16281   ;;
16282   *)
16283   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16284 for as_dir in $PATH
16285 do
16286   IFS=$as_save_IFS
16287   test -z "$as_dir" && as_dir=.
16288     for ac_exec_ext in '' $ac_executable_extensions; do
16289   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16290     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
16291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16292     break 2
16293   fi
16294 done
16295   done
16296 IFS=$as_save_IFS
16297
16298   test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="xsltproc"
16299   ;;
16300 esac
16301 fi
16302 XSLTPROC=$ac_cv_path_XSLTPROC
16303 if test -n "$XSLTPROC"; then
16304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
16305 $as_echo "$XSLTPROC" >&6; }
16306 else
16307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16308 $as_echo "no" >&6; }
16309 fi
16310
16311
16312 # Check whether --enable-documentation was given.
16313 if test "${enable_documentation+set}" = set; then :
16314   enableval=$enable_documentation; ENABLE_DOCUMENTATION=$enableval
16315 else
16316   ENABLE_DOCUMENTATION=auto
16317 fi
16318
16319 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16320
16321   mm_err=
16322   if test "x$MMDOCTOOLDIR" = x; then :
16323   mm_err='The mm-common-util module is available, but the installation of mm-common on this
16324 machine is missing the shared documentation utilities of the GNOME C++
16325 bindings.  It may be necessary to upgrade to a more recent release of
16326 mm-common in order to build '$PACKAGE_NAME' and install the documentation.'
16327 elif test "x$PERL" = xperl; then :
16328   mm_err='Perl is required for installing the documentation.'
16329 elif test "x$USE_MAINTAINER_MODE" != xno; then :
16330
16331     test "x$DOT" != xdot || mm_err=' dot'
16332     test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen"
16333     test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc"
16334     test -z "$mm_err" || mm_err='The documentation cannot be generated because
16335 not all of the required tools are available:'$mm_err
16336
16337 fi
16338   if test -z "$mm_err"; then :
16339   ENABLE_DOCUMENTATION=yes
16340 elif test "x$ENABLE_DOCUMENTATION" = xyes; then :
16341   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16343 as_fn_error $? "$mm_err
16344 See \`config.log' for more details" "$LINENO" 5; }
16345 else
16346   ENABLE_DOCUMENTATION=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $mm_err" >&5
16347 $as_echo "$as_me: WARNING: $mm_err" >&2;}
16348 fi
16349
16350 fi
16351  if test "x$ENABLE_DOCUMENTATION" = xyes; then
16352   ENABLE_DOCUMENTATION_TRUE=
16353   ENABLE_DOCUMENTATION_FALSE='#'
16354 else
16355   ENABLE_DOCUMENTATION_TRUE='#'
16356   ENABLE_DOCUMENTATION_FALSE=
16357 fi
16358
16359 DOXYGEN_TAGFILES=
16360
16361 DOCINSTALL_FLAGS=
16362
16363
16364 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16365     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstdc documentation" >&5
16366 $as_echo_n "checking for libstdc documentation... " >&6; }
16367
16368 # Check whether --with-libstdc-doc was given.
16369 if test "${with_libstdc_doc+set}" = set; then :
16370   withval=$with_libstdc_doc;
16371     mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16372     mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16373     mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16374     test "x$mm_tagname" != x || mm_tagname="libstdc++.tag"
16375     test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16376 else
16377
16378     mm_htmlrefdir=
16379     mm_tagname="libstdc++.tag"
16380     mm_tagpath=$mm_tagname
16381 fi
16382
16383   # Prepend working direcory if the tag file path starts with ./ or ../
16384   case $mm_tagpath in #(
16385   .[\\/]*|..[\\/]*) :
16386     mm_tagpath=`pwd`/$mm_tagpath ;; #(
16387   *) :
16388      ;;
16389 esac
16390
16391   # If no local directory was specified, get the default from the .pc file
16392   if test "x$mm_htmlrefdir" = x; then :
16393
16394     mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "mm-common-libstdc++" 2>&5`
16395 fi
16396   # If the user specified a Web URL, allow it to override the public location
16397   case $mm_htmlrefdir in #(
16398   http://*|https://*) :
16399     mm_htmlrefpub=$mm_htmlrefdir ;; #(
16400   *) :
16401
16402     mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "mm-common-libstdc++" 2>&5`
16403     test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16404     test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16405    ;;
16406 esac
16407   # The user-supplied tag-file name takes precedence if it includes the path
16408   case $mm_tagpath in #(
16409   *[\\/]*) :
16410      ;; #(
16411   *) :
16412
16413     mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "mm-common-libstdc++" 2>&5`
16414     test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16415    ;;
16416 esac
16417   # Remove trailing slashes and translate to URI
16418   mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16419   mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16420
16421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16422 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16423
16424   if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16425   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libstdc++.tag not found" >&5
16426 $as_echo "$as_me: WARNING: Doxygen tag file libstdc++.tag not found" >&2;}
16427 fi
16428   if test "x$mm_htmlrefdir" = x; then :
16429   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libstdc documentation not set" >&5
16430 $as_echo "$as_me: WARNING: Location of external libstdc documentation not set" >&2;}
16431 else
16432   if test "x$DOCINSTALL_FLAGS" = x; then :
16433   DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16434 else
16435   DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16436 fi
16437 fi
16438
16439   if test "x$mm_htmlrefpub" = x; then :
16440   mm_val=$mm_tagpath
16441 else
16442   mm_val="$mm_tagpath=$mm_htmlrefpub"
16443 fi
16444   if test "x$DOXYGEN_TAGFILES" = x; then :
16445   DOXYGEN_TAGFILES=\"$mm_val\"
16446 else
16447   DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16448 fi
16449 fi
16450 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16451     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigc documentation" >&5
16452 $as_echo_n "checking for libsigc documentation... " >&6; }
16453
16454 # Check whether --with-libsigc-doc was given.
16455 if test "${with_libsigc_doc+set}" = set; then :
16456   withval=$with_libsigc_doc;
16457     mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16458     mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16459     mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16460     test "x$mm_tagname" != x || mm_tagname="libsigc++-2.0.tag"
16461     test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16462 else
16463
16464     mm_htmlrefdir=
16465     mm_tagname="libsigc++-2.0.tag"
16466     mm_tagpath=$mm_tagname
16467 fi
16468
16469   # Prepend working direcory if the tag file path starts with ./ or ../
16470   case $mm_tagpath in #(
16471   .[\\/]*|..[\\/]*) :
16472     mm_tagpath=`pwd`/$mm_tagpath ;; #(
16473   *) :
16474      ;;
16475 esac
16476
16477   # If no local directory was specified, get the default from the .pc file
16478   if test "x$mm_htmlrefdir" = x; then :
16479
16480     mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "sigc++-2.0" 2>&5`
16481 fi
16482   # If the user specified a Web URL, allow it to override the public location
16483   case $mm_htmlrefdir in #(
16484   http://*|https://*) :
16485     mm_htmlrefpub=$mm_htmlrefdir ;; #(
16486   *) :
16487
16488     mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "sigc++-2.0" 2>&5`
16489     test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16490     test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16491    ;;
16492 esac
16493   # The user-supplied tag-file name takes precedence if it includes the path
16494   case $mm_tagpath in #(
16495   *[\\/]*) :
16496      ;; #(
16497   *) :
16498
16499     mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "sigc++-2.0" 2>&5`
16500     test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16501    ;;
16502 esac
16503   # Remove trailing slashes and translate to URI
16504   mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16505   mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16506
16507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16508 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16509
16510   if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16511   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&5
16512 $as_echo "$as_me: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&2;}
16513 fi
16514   if test "x$mm_htmlrefdir" = x; then :
16515   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libsigc documentation not set" >&5
16516 $as_echo "$as_me: WARNING: Location of external libsigc documentation not set" >&2;}
16517 else
16518   if test "x$DOCINSTALL_FLAGS" = x; then :
16519   DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16520 else
16521   DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16522 fi
16523 fi
16524
16525   if test "x$mm_htmlrefpub" = x; then :
16526   mm_val=$mm_tagpath
16527 else
16528   mm_val="$mm_tagpath=$mm_htmlrefpub"
16529 fi
16530   if test "x$DOXYGEN_TAGFILES" = x; then :
16531   DOXYGEN_TAGFILES=\"$mm_val\"
16532 else
16533   DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16534 fi
16535 fi
16536 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16537     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibmm documentation" >&5
16538 $as_echo_n "checking for glibmm documentation... " >&6; }
16539
16540 # Check whether --with-glibmm-doc was given.
16541 if test "${with_glibmm_doc+set}" = set; then :
16542   withval=$with_glibmm_doc;
16543     mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16544     mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16545     mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16546     test "x$mm_tagname" != x || mm_tagname="glibmm-2.4.tag"
16547     test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16548 else
16549
16550     mm_htmlrefdir=
16551     mm_tagname="glibmm-2.4.tag"
16552     mm_tagpath=$mm_tagname
16553 fi
16554
16555   # Prepend working direcory if the tag file path starts with ./ or ../
16556   case $mm_tagpath in #(
16557   .[\\/]*|..[\\/]*) :
16558     mm_tagpath=`pwd`/$mm_tagpath ;; #(
16559   *) :
16560      ;;
16561 esac
16562
16563   # If no local directory was specified, get the default from the .pc file
16564   if test "x$mm_htmlrefdir" = x; then :
16565
16566     mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "glibmm-2.4" 2>&5`
16567 fi
16568   # If the user specified a Web URL, allow it to override the public location
16569   case $mm_htmlrefdir in #(
16570   http://*|https://*) :
16571     mm_htmlrefpub=$mm_htmlrefdir ;; #(
16572   *) :
16573
16574     mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "glibmm-2.4" 2>&5`
16575     test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16576     test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16577    ;;
16578 esac
16579   # The user-supplied tag-file name takes precedence if it includes the path
16580   case $mm_tagpath in #(
16581   *[\\/]*) :
16582      ;; #(
16583   *) :
16584
16585     mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "glibmm-2.4" 2>&5`
16586     test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16587    ;;
16588 esac
16589   # Remove trailing slashes and translate to URI
16590   mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16591   mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16592
16593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16594 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16595
16596   if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16597   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&5
16598 $as_echo "$as_me: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&2;}
16599 fi
16600   if test "x$mm_htmlrefdir" = x; then :
16601   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external glibmm documentation not set" >&5
16602 $as_echo "$as_me: WARNING: Location of external glibmm documentation not set" >&2;}
16603 else
16604   if test "x$DOCINSTALL_FLAGS" = x; then :
16605   DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16606 else
16607   DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16608 fi
16609 fi
16610
16611   if test "x$mm_htmlrefpub" = x; then :
16612   mm_val=$mm_tagpath
16613 else
16614   mm_val="$mm_tagpath=$mm_htmlrefpub"
16615 fi
16616   if test "x$DOXYGEN_TAGFILES" = x; then :
16617   DOXYGEN_TAGFILES=\"$mm_val\"
16618 else
16619   DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16620 fi
16621 fi
16622
16623 # Evaluate the --enable-warnings=level option.
16624 # Check whether --enable-warnings was given.
16625 if test "${enable_warnings+set}" = set; then :
16626   enableval=$enable_warnings; mm_enable_warnings=$enableval
16627 else
16628   mm_enable_warnings=min
16629 fi
16630
16631 case $ac_compile in #(
16632   *'$CXXFLAGS '*) :
16633     mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.${ac_ext-cc}" ;; #(
16634   *'$CFLAGS '*) :
16635     mm_lang=C mm_cc=$CC mm_conftest="conftest.${ac_ext-c}" ;; #(
16636   *) :
16637     as_fn_error $? "current language is neither C nor C++" "$LINENO" 5 ;;
16638 esac
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which $mm_lang compiler warning flags to use" >&5
16640 $as_echo_n "checking which $mm_lang compiler warning flags to use... " >&6; }
16641 mm_deprecation_flags=
16642 mm_tested_flags=
16643 case $mm_enable_warnings in #(
16644   no) :
16645     mm_warning_flags= ;; #(
16646   max) :
16647     mm_warning_flags="-pedantic -Wall -Wextra -Wformat-security -Wshadow -Wno-long-long" ;; #(
16648   fatal) :
16649     mm_warning_flags="-pedantic -Wall -Wextra -Wformat-security -Wshadow -Wno-long-long -Werror"
16650          for mm_prefix in G GLIBMM SIGCXX
16651          do
16652            mm_deprecation_flags="$mm_deprecation_flags-D${mm_prefix}_DISABLE_DEPRECATED "
16653          done ;; #(
16654   *) :
16655     mm_warning_flags="-Wall" ;;
16656 esac
16657 if test "x$mm_warning_flags" != x; then :
16658
16659   # Keep in mind that the dummy source must be devoid of any
16660   # problems that might cause diagnostics.
16661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16662 /* end confdefs.h.  */
16663
16664 int main(int argc, char** argv) { return (argv != 0) ? argc : 0; }
16665
16666 _ACEOF
16667   for mm_flag in $mm_warning_flags
16668   do
16669     # Test whether the compiler accepts the flag.  Look at standard output,
16670     # since GCC only shows a warning message if an option is not supported.
16671     mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed`
16672     rm -f "conftest.${OBJEXT-o}"
16673
16674     if test "x$mm_cc_out" = x; then :
16675   if test "x$mm_tested_flags" = x; then :
16676   mm_tested_flags=$mm_flag
16677 else
16678   mm_tested_flags="$mm_tested_flags $mm_flag"
16679 fi
16680 else
16681   cat <<_MMEOF >&5
16682 $mm_cc: $mm_cc_out
16683 _MMEOF
16684
16685 fi
16686   done
16687   rm -f "$mm_conftest"
16688
16689 fi
16690 mm_all_flags=$mm_deprecation_flags$mm_tested_flags
16691 LIBXMLXX_WXXFLAGS=$mm_all_flags
16692
16693 test "x$mm_all_flags" != x || mm_all_flags=none
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_all_flags" >&5
16695 $as_echo "$mm_all_flags" >&6; }
16696
16697 # Offer the ability to omit some API from the library.
16698 # Check whether --enable-deprecated-api was given.
16699 if test "${enable_deprecated_api+set}" = set; then :
16700   enableval=$enable_deprecated_api; mm_enable_deprecated_api=$enableval
16701 else
16702   mm_enable_deprecated_api=yes
16703 fi
16704 if test "x$mm_enable_deprecated_api" = xno; then :
16705   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Deprecated API will not be built, breaking compatibility.
16706 Do not use this option for distribution packages." >&5
16707 $as_echo "$as_me: WARNING: Deprecated API will not be built, breaking compatibility.
16708 Do not use this option for distribution packages." >&2;}
16709 else
16710   { $as_echo "$as_me:${as_lineno-$LINENO}: Deprecated API will be built, for backwards-compatibility." >&5
16711 $as_echo "$as_me: Deprecated API will be built, for backwards-compatibility." >&6;}
16712 fi
16713  if test "x$mm_enable_deprecated_api" = xno; then
16714   DISABLE_DEPRECATED_API_TRUE=
16715   DISABLE_DEPRECATED_API_FALSE='#'
16716 else
16717   DISABLE_DEPRECATED_API_TRUE='#'
16718   DISABLE_DEPRECATED_API_FALSE=
16719 fi
16720
16721 if test "x$mm_enable_deprecated_api" = xno; then :
16722
16723 $as_echo "#define LIBXMLXX_DISABLE_DEPRECATED 1" >>confdefs.h
16724
16725
16726 fi
16727
16728 # Extract the first word of "xmllint", so it can be a program name with args.
16729 set dummy xmllint; ac_word=$2
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16731 $as_echo_n "checking for $ac_word... " >&6; }
16732 if ${ac_cv_path_XMLLINT+:} false; then :
16733   $as_echo_n "(cached) " >&6
16734 else
16735   case $XMLLINT in
16736   [\\/]* | ?:[\\/]*)
16737   ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
16738   ;;
16739   *)
16740   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16741 for as_dir in $PATH
16742 do
16743   IFS=$as_save_IFS
16744   test -z "$as_dir" && as_dir=.
16745     for ac_exec_ext in '' $ac_executable_extensions; do
16746   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16747     ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
16748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16749     break 2
16750   fi
16751 done
16752   done
16753 IFS=$as_save_IFS
16754
16755   test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="xmllint"
16756   ;;
16757 esac
16758 fi
16759 XMLLINT=$ac_cv_path_XMLLINT
16760 if test -n "$XMLLINT"; then
16761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
16762 $as_echo "$XMLLINT" >&6; }
16763 else
16764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16765 $as_echo "no" >&6; }
16766 fi
16767
16768
16769
16770 for ac_prog in db2latex docbook2latex
16771 do
16772   # Extract the first word of "$ac_prog", so it can be a program name with args.
16773 set dummy $ac_prog; ac_word=$2
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16775 $as_echo_n "checking for $ac_word... " >&6; }
16776 if ${ac_cv_path_DB2LATEX+:} false; then :
16777   $as_echo_n "(cached) " >&6
16778 else
16779   case $DB2LATEX in
16780   [\\/]* | ?:[\\/]*)
16781   ac_cv_path_DB2LATEX="$DB2LATEX" # Let the user override the test with a path.
16782   ;;
16783   *)
16784   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16785 for as_dir in $PATH
16786 do
16787   IFS=$as_save_IFS
16788   test -z "$as_dir" && as_dir=.
16789     for ac_exec_ext in '' $ac_executable_extensions; do
16790   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16791     ac_cv_path_DB2LATEX="$as_dir/$ac_word$ac_exec_ext"
16792     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16793     break 2
16794   fi
16795 done
16796   done
16797 IFS=$as_save_IFS
16798
16799   ;;
16800 esac
16801 fi
16802 DB2LATEX=$ac_cv_path_DB2LATEX
16803 if test -n "$DB2LATEX"; then
16804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DB2LATEX" >&5
16805 $as_echo "$DB2LATEX" >&6; }
16806 else
16807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16808 $as_echo "no" >&6; }
16809 fi
16810
16811
16812   test -n "$DB2LATEX" && break
16813 done
16814 test -n "$DB2LATEX" || DB2LATEX="db2latex"
16815
16816
16817 if $PERL -e "require v5.6.0; exit 0;" >&5 2>&5; then :
16818
16819 else
16820   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16822 as_fn_error $? "At least Perl 5.6.0 is required to build $PACKAGE_NAME.
16823 See \`config.log' for more details" "$LINENO" 5; }
16824 fi
16825
16826 ac_config_files="$ac_config_files Makefile libxml++/Makefile examples/Makefile tests/Makefile docs/Makefile docs/reference/Doxyfile MSVC_Net2010/libxml++/libxml++.rc ${LIBXMLXX_MODULE_NAME}.pc:libxml++.pc.in"
16827
16828
16829 # Copy the generated configuration headers into the MSVC project directories.
16830 ac_config_commands="$ac_config_commands MSVC_Net2010/libxml++/libxml++config.h"
16831
16832
16833 cat >confcache <<\_ACEOF
16834 # This file is a shell script that caches the results of configure
16835 # tests run on this system so they can be shared between configure
16836 # scripts and configure runs, see configure's option --config-cache.
16837 # It is not useful on other systems.  If it contains results you don't
16838 # want to keep, you may remove or edit it.
16839 #
16840 # config.status only pays attention to the cache file if you give it
16841 # the --recheck option to rerun configure.
16842 #
16843 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16844 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16845 # following values.
16846
16847 _ACEOF
16848
16849 # The following way of writing the cache mishandles newlines in values,
16850 # but we know of no workaround that is simple, portable, and efficient.
16851 # So, we kill variables containing newlines.
16852 # Ultrix sh set writes to stderr and can't be redirected directly,
16853 # and sets the high bit in the cache file unless we assign to the vars.
16854 (
16855   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16856     eval ac_val=\$$ac_var
16857     case $ac_val in #(
16858     *${as_nl}*)
16859       case $ac_var in #(
16860       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16861 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16862       esac
16863       case $ac_var in #(
16864       _ | IFS | as_nl) ;; #(
16865       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16866       *) { eval $ac_var=; unset $ac_var;} ;;
16867       esac ;;
16868     esac
16869   done
16870
16871   (set) 2>&1 |
16872     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16873     *${as_nl}ac_space=\ *)
16874       # `set' does not quote correctly, so add quotes: double-quote
16875       # substitution turns \\\\ into \\, and sed turns \\ into \.
16876       sed -n \
16877         "s/'/'\\\\''/g;
16878           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16879       ;; #(
16880     *)
16881       # `set' quotes correctly as required by POSIX, so do not add quotes.
16882       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16883       ;;
16884     esac |
16885     sort
16886 ) |
16887   sed '
16888      /^ac_cv_env_/b end
16889      t clear
16890      :clear
16891      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16892      t end
16893      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16894      :end' >>confcache
16895 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16896   if test -w "$cache_file"; then
16897     if test "x$cache_file" != "x/dev/null"; then
16898       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16899 $as_echo "$as_me: updating cache $cache_file" >&6;}
16900       if test ! -f "$cache_file" || test -h "$cache_file"; then
16901         cat confcache >"$cache_file"
16902       else
16903         case $cache_file in #(
16904         */* | ?:*)
16905           mv -f confcache "$cache_file"$$ &&
16906           mv -f "$cache_file"$$ "$cache_file" ;; #(
16907         *)
16908           mv -f confcache "$cache_file" ;;
16909         esac
16910       fi
16911     fi
16912   else
16913     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16914 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16915   fi
16916 fi
16917 rm -f confcache
16918
16919 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16920 # Let make expand exec_prefix.
16921 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16922
16923 DEFS=-DHAVE_CONFIG_H
16924
16925 ac_libobjs=
16926 ac_ltlibobjs=
16927 U=
16928 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16929   # 1. Remove the extension, and $U if already installed.
16930   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16931   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16932   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16933   #    will be set to the directory where LIBOBJS objects are built.
16934   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16935   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16936 done
16937 LIBOBJS=$ac_libobjs
16938
16939 LTLIBOBJS=$ac_ltlibobjs
16940
16941
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16943 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16944    if test -n "$am_sleep_pid"; then
16945      # Hide warnings about reused PIDs.
16946      wait $am_sleep_pid 2>/dev/null
16947    fi
16948    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16949 $as_echo "done" >&6; }
16950  if test -n "$EXEEXT"; then
16951   am__EXEEXT_TRUE=
16952   am__EXEEXT_FALSE='#'
16953 else
16954   am__EXEEXT_TRUE='#'
16955   am__EXEEXT_FALSE=
16956 fi
16957
16958 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16959   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16961 fi
16962 if test -z "${DIST_DOCTOOLS_TRUE}" && test -z "${DIST_DOCTOOLS_FALSE}"; then
16963   as_fn_error $? "conditional \"DIST_DOCTOOLS\" was never defined.
16964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16965 fi
16966 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16967   as_fn_error $? "conditional \"AMDEP\" was never defined.
16968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16969 fi
16970 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16971   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16973 fi
16974 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16975   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16977 fi
16978 if test -z "${ENABLE_DOCUMENTATION_TRUE}" && test -z "${ENABLE_DOCUMENTATION_FALSE}"; then
16979   as_fn_error $? "conditional \"ENABLE_DOCUMENTATION\" was never defined.
16980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16981 fi
16982 if test -z "${DISABLE_DEPRECATED_API_TRUE}" && test -z "${DISABLE_DEPRECATED_API_FALSE}"; then
16983   as_fn_error $? "conditional \"DISABLE_DEPRECATED_API\" was never defined.
16984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16985 fi
16986
16987 : "${CONFIG_STATUS=./config.status}"
16988 ac_write_fail=0
16989 ac_clean_files_save=$ac_clean_files
16990 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16992 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16993 as_write_fail=0
16994 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16995 #! $SHELL
16996 # Generated by $as_me.
16997 # Run this file to recreate the current configuration.
16998 # Compiler output produced by configure, useful for debugging
16999 # configure, is in config.log if it exists.
17000
17001 debug=false
17002 ac_cs_recheck=false
17003 ac_cs_silent=false
17004
17005 SHELL=\${CONFIG_SHELL-$SHELL}
17006 export SHELL
17007 _ASEOF
17008 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17009 ## -------------------- ##
17010 ## M4sh Initialization. ##
17011 ## -------------------- ##
17012
17013 # Be more Bourne compatible
17014 DUALCASE=1; export DUALCASE # for MKS sh
17015 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17016   emulate sh
17017   NULLCMD=:
17018   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17019   # is contrary to our usage.  Disable this feature.
17020   alias -g '${1+"$@"}'='"$@"'
17021   setopt NO_GLOB_SUBST
17022 else
17023   case `(set -o) 2>/dev/null` in #(
17024   *posix*) :
17025     set -o posix ;; #(
17026   *) :
17027      ;;
17028 esac
17029 fi
17030
17031
17032 as_nl='
17033 '
17034 export as_nl
17035 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17036 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17037 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17038 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17039 # Prefer a ksh shell builtin over an external printf program on Solaris,
17040 # but without wasting forks for bash or zsh.
17041 if test -z "$BASH_VERSION$ZSH_VERSION" \
17042     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17043   as_echo='print -r --'
17044   as_echo_n='print -rn --'
17045 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17046   as_echo='printf %s\n'
17047   as_echo_n='printf %s'
17048 else
17049   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17050     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17051     as_echo_n='/usr/ucb/echo -n'
17052   else
17053     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17054     as_echo_n_body='eval
17055       arg=$1;
17056       case $arg in #(
17057       *"$as_nl"*)
17058         expr "X$arg" : "X\\(.*\\)$as_nl";
17059         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17060       esac;
17061       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17062     '
17063     export as_echo_n_body
17064     as_echo_n='sh -c $as_echo_n_body as_echo'
17065   fi
17066   export as_echo_body
17067   as_echo='sh -c $as_echo_body as_echo'
17068 fi
17069
17070 # The user is always right.
17071 if test "${PATH_SEPARATOR+set}" != set; then
17072   PATH_SEPARATOR=:
17073   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17074     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17075       PATH_SEPARATOR=';'
17076   }
17077 fi
17078
17079
17080 # IFS
17081 # We need space, tab and new line, in precisely that order.  Quoting is
17082 # there to prevent editors from complaining about space-tab.
17083 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17084 # splitting by setting IFS to empty value.)
17085 IFS=" ""        $as_nl"
17086
17087 # Find who we are.  Look in the path if we contain no directory separator.
17088 as_myself=
17089 case $0 in #((
17090   *[\\/]* ) as_myself=$0 ;;
17091   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17092 for as_dir in $PATH
17093 do
17094   IFS=$as_save_IFS
17095   test -z "$as_dir" && as_dir=.
17096     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17097   done
17098 IFS=$as_save_IFS
17099
17100      ;;
17101 esac
17102 # We did not find ourselves, most probably we were run as `sh COMMAND'
17103 # in which case we are not to be found in the path.
17104 if test "x$as_myself" = x; then
17105   as_myself=$0
17106 fi
17107 if test ! -f "$as_myself"; then
17108   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17109   exit 1
17110 fi
17111
17112 # Unset variables that we do not need and which cause bugs (e.g. in
17113 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17114 # suppresses any "Segmentation fault" message there.  '((' could
17115 # trigger a bug in pdksh 5.2.14.
17116 for as_var in BASH_ENV ENV MAIL MAILPATH
17117 do eval test x\${$as_var+set} = xset \
17118   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17119 done
17120 PS1='$ '
17121 PS2='> '
17122 PS4='+ '
17123
17124 # NLS nuisances.
17125 LC_ALL=C
17126 export LC_ALL
17127 LANGUAGE=C
17128 export LANGUAGE
17129
17130 # CDPATH.
17131 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17132
17133
17134 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17135 # ----------------------------------------
17136 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17137 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17138 # script with STATUS, using 1 if that was 0.
17139 as_fn_error ()
17140 {
17141   as_status=$1; test $as_status -eq 0 && as_status=1
17142   if test "$4"; then
17143     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17144     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17145   fi
17146   $as_echo "$as_me: error: $2" >&2
17147   as_fn_exit $as_status
17148 } # as_fn_error
17149
17150
17151 # as_fn_set_status STATUS
17152 # -----------------------
17153 # Set $? to STATUS, without forking.
17154 as_fn_set_status ()
17155 {
17156   return $1
17157 } # as_fn_set_status
17158
17159 # as_fn_exit STATUS
17160 # -----------------
17161 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17162 as_fn_exit ()
17163 {
17164   set +e
17165   as_fn_set_status $1
17166   exit $1
17167 } # as_fn_exit
17168
17169 # as_fn_unset VAR
17170 # ---------------
17171 # Portably unset VAR.
17172 as_fn_unset ()
17173 {
17174   { eval $1=; unset $1;}
17175 }
17176 as_unset=as_fn_unset
17177 # as_fn_append VAR VALUE
17178 # ----------------------
17179 # Append the text in VALUE to the end of the definition contained in VAR. Take
17180 # advantage of any shell optimizations that allow amortized linear growth over
17181 # repeated appends, instead of the typical quadratic growth present in naive
17182 # implementations.
17183 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17184   eval 'as_fn_append ()
17185   {
17186     eval $1+=\$2
17187   }'
17188 else
17189   as_fn_append ()
17190   {
17191     eval $1=\$$1\$2
17192   }
17193 fi # as_fn_append
17194
17195 # as_fn_arith ARG...
17196 # ------------------
17197 # Perform arithmetic evaluation on the ARGs, and store the result in the
17198 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17199 # must be portable across $(()) and expr.
17200 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17201   eval 'as_fn_arith ()
17202   {
17203     as_val=$(( $* ))
17204   }'
17205 else
17206   as_fn_arith ()
17207   {
17208     as_val=`expr "$@" || test $? -eq 1`
17209   }
17210 fi # as_fn_arith
17211
17212
17213 if expr a : '\(a\)' >/dev/null 2>&1 &&
17214    test "X`expr 00001 : '.*\(...\)'`" = X001; then
17215   as_expr=expr
17216 else
17217   as_expr=false
17218 fi
17219
17220 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17221   as_basename=basename
17222 else
17223   as_basename=false
17224 fi
17225
17226 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17227   as_dirname=dirname
17228 else
17229   as_dirname=false
17230 fi
17231
17232 as_me=`$as_basename -- "$0" ||
17233 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17234          X"$0" : 'X\(//\)$' \| \
17235          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17236 $as_echo X/"$0" |
17237     sed '/^.*\/\([^/][^/]*\)\/*$/{
17238             s//\1/
17239             q
17240           }
17241           /^X\/\(\/\/\)$/{
17242             s//\1/
17243             q
17244           }
17245           /^X\/\(\/\).*/{
17246             s//\1/
17247             q
17248           }
17249           s/.*/./; q'`
17250
17251 # Avoid depending upon Character Ranges.
17252 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17253 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17254 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17255 as_cr_digits='0123456789'
17256 as_cr_alnum=$as_cr_Letters$as_cr_digits
17257
17258 ECHO_C= ECHO_N= ECHO_T=
17259 case `echo -n x` in #(((((
17260 -n*)
17261   case `echo 'xy\c'` in
17262   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
17263   xy)  ECHO_C='\c';;
17264   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17265        ECHO_T=' ';;
17266   esac;;
17267 *)
17268   ECHO_N='-n';;
17269 esac
17270
17271 rm -f conf$$ conf$$.exe conf$$.file
17272 if test -d conf$$.dir; then
17273   rm -f conf$$.dir/conf$$.file
17274 else
17275   rm -f conf$$.dir
17276   mkdir conf$$.dir 2>/dev/null
17277 fi
17278 if (echo >conf$$.file) 2>/dev/null; then
17279   if ln -s conf$$.file conf$$ 2>/dev/null; then
17280     as_ln_s='ln -s'
17281     # ... but there are two gotchas:
17282     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17283     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17284     # In both cases, we have to default to `cp -pR'.
17285     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17286       as_ln_s='cp -pR'
17287   elif ln conf$$.file conf$$ 2>/dev/null; then
17288     as_ln_s=ln
17289   else
17290     as_ln_s='cp -pR'
17291   fi
17292 else
17293   as_ln_s='cp -pR'
17294 fi
17295 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17296 rmdir conf$$.dir 2>/dev/null
17297
17298
17299 # as_fn_mkdir_p
17300 # -------------
17301 # Create "$as_dir" as a directory, including parents if necessary.
17302 as_fn_mkdir_p ()
17303 {
17304
17305   case $as_dir in #(
17306   -*) as_dir=./$as_dir;;
17307   esac
17308   test -d "$as_dir" || eval $as_mkdir_p || {
17309     as_dirs=
17310     while :; do
17311       case $as_dir in #(
17312       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17313       *) as_qdir=$as_dir;;
17314       esac
17315       as_dirs="'$as_qdir' $as_dirs"
17316       as_dir=`$as_dirname -- "$as_dir" ||
17317 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17318          X"$as_dir" : 'X\(//\)[^/]' \| \
17319          X"$as_dir" : 'X\(//\)$' \| \
17320          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17321 $as_echo X"$as_dir" |
17322     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17323             s//\1/
17324             q
17325           }
17326           /^X\(\/\/\)[^/].*/{
17327             s//\1/
17328             q
17329           }
17330           /^X\(\/\/\)$/{
17331             s//\1/
17332             q
17333           }
17334           /^X\(\/\).*/{
17335             s//\1/
17336             q
17337           }
17338           s/.*/./; q'`
17339       test -d "$as_dir" && break
17340     done
17341     test -z "$as_dirs" || eval "mkdir $as_dirs"
17342   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17343
17344
17345 } # as_fn_mkdir_p
17346 if mkdir -p . 2>/dev/null; then
17347   as_mkdir_p='mkdir -p "$as_dir"'
17348 else
17349   test -d ./-p && rmdir ./-p
17350   as_mkdir_p=false
17351 fi
17352
17353
17354 # as_fn_executable_p FILE
17355 # -----------------------
17356 # Test if FILE is an executable regular file.
17357 as_fn_executable_p ()
17358 {
17359   test -f "$1" && test -x "$1"
17360 } # as_fn_executable_p
17361 as_test_x='test -x'
17362 as_executable_p=as_fn_executable_p
17363
17364 # Sed expression to map a string onto a valid CPP name.
17365 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17366
17367 # Sed expression to map a string onto a valid variable name.
17368 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17369
17370
17371 exec 6>&1
17372 ## ----------------------------------- ##
17373 ## Main body of $CONFIG_STATUS script. ##
17374 ## ----------------------------------- ##
17375 _ASEOF
17376 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17377
17378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17379 # Save the log message, to keep $0 and so on meaningful, and to
17380 # report actual input values of CONFIG_FILES etc. instead of their
17381 # values after options handling.
17382 ac_log="
17383 This file was extended by libxml++ $as_me 2.91.2, which was
17384 generated by GNU Autoconf 2.69.  Invocation command line was
17385
17386   CONFIG_FILES    = $CONFIG_FILES
17387   CONFIG_HEADERS  = $CONFIG_HEADERS
17388   CONFIG_LINKS    = $CONFIG_LINKS
17389   CONFIG_COMMANDS = $CONFIG_COMMANDS
17390   $ $0 $@
17391
17392 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17393 "
17394
17395 _ACEOF
17396
17397 case $ac_config_files in *"
17398 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17399 esac
17400
17401 case $ac_config_headers in *"
17402 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17403 esac
17404
17405
17406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17407 # Files that config.status was made for.
17408 config_files="$ac_config_files"
17409 config_headers="$ac_config_headers"
17410 config_commands="$ac_config_commands"
17411
17412 _ACEOF
17413
17414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17415 ac_cs_usage="\
17416 \`$as_me' instantiates files and other configuration actions
17417 from templates according to the current configuration.  Unless the files
17418 and actions are specified as TAGs, all are instantiated by default.
17419
17420 Usage: $0 [OPTION]... [TAG]...
17421
17422   -h, --help       print this help, then exit
17423   -V, --version    print version number and configuration settings, then exit
17424       --config     print configuration, then exit
17425   -q, --quiet, --silent
17426                    do not print progress messages
17427   -d, --debug      don't remove temporary files
17428       --recheck    update $as_me by reconfiguring in the same conditions
17429       --file=FILE[:TEMPLATE]
17430                    instantiate the configuration file FILE
17431       --header=FILE[:TEMPLATE]
17432                    instantiate the configuration header FILE
17433
17434 Configuration files:
17435 $config_files
17436
17437 Configuration headers:
17438 $config_headers
17439
17440 Configuration commands:
17441 $config_commands
17442
17443 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B>.
17444 libxml++ home page: <http://libxmlplusplus.sourceforge.net/>."
17445
17446 _ACEOF
17447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17448 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17449 ac_cs_version="\\
17450 libxml++ config.status 2.91.2
17451 configured by $0, generated by GNU Autoconf 2.69,
17452   with options \\"\$ac_cs_config\\"
17453
17454 Copyright (C) 2012 Free Software Foundation, Inc.
17455 This config.status script is free software; the Free Software Foundation
17456 gives unlimited permission to copy, distribute and modify it."
17457
17458 ac_pwd='$ac_pwd'
17459 srcdir='$srcdir'
17460 INSTALL='$INSTALL'
17461 MKDIR_P='$MKDIR_P'
17462 AWK='$AWK'
17463 test -n "\$AWK" || AWK=awk
17464 _ACEOF
17465
17466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17467 # The default lists apply if the user does not specify any file.
17468 ac_need_defaults=:
17469 while test $# != 0
17470 do
17471   case $1 in
17472   --*=?*)
17473     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17474     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17475     ac_shift=:
17476     ;;
17477   --*=)
17478     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17479     ac_optarg=
17480     ac_shift=:
17481     ;;
17482   *)
17483     ac_option=$1
17484     ac_optarg=$2
17485     ac_shift=shift
17486     ;;
17487   esac
17488
17489   case $ac_option in
17490   # Handling of the options.
17491   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17492     ac_cs_recheck=: ;;
17493   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17494     $as_echo "$ac_cs_version"; exit ;;
17495   --config | --confi | --conf | --con | --co | --c )
17496     $as_echo "$ac_cs_config"; exit ;;
17497   --debug | --debu | --deb | --de | --d | -d )
17498     debug=: ;;
17499   --file | --fil | --fi | --f )
17500     $ac_shift
17501     case $ac_optarg in
17502     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17503     '') as_fn_error $? "missing file argument" ;;
17504     esac
17505     as_fn_append CONFIG_FILES " '$ac_optarg'"
17506     ac_need_defaults=false;;
17507   --header | --heade | --head | --hea )
17508     $ac_shift
17509     case $ac_optarg in
17510     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17511     esac
17512     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17513     ac_need_defaults=false;;
17514   --he | --h)
17515     # Conflict between --help and --header
17516     as_fn_error $? "ambiguous option: \`$1'
17517 Try \`$0 --help' for more information.";;
17518   --help | --hel | -h )
17519     $as_echo "$ac_cs_usage"; exit ;;
17520   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17521   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17522     ac_cs_silent=: ;;
17523
17524   # This is an error.
17525   -*) as_fn_error $? "unrecognized option: \`$1'
17526 Try \`$0 --help' for more information." ;;
17527
17528   *) as_fn_append ac_config_targets " $1"
17529      ac_need_defaults=false ;;
17530
17531   esac
17532   shift
17533 done
17534
17535 ac_configure_extra_args=
17536
17537 if $ac_cs_silent; then
17538   exec 6>/dev/null
17539   ac_configure_extra_args="$ac_configure_extra_args --silent"
17540 fi
17541
17542 _ACEOF
17543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17544 if \$ac_cs_recheck; then
17545   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17546   shift
17547   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17548   CONFIG_SHELL='$SHELL'
17549   export CONFIG_SHELL
17550   exec "\$@"
17551 fi
17552
17553 _ACEOF
17554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17555 exec 5>>config.log
17556 {
17557   echo
17558   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17559 ## Running $as_me. ##
17560 _ASBOX
17561   $as_echo "$ac_log"
17562 } >&5
17563
17564 _ACEOF
17565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17566 #
17567 # INIT-COMMANDS
17568 #
17569 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17570
17571
17572 # The HP-UX ksh and POSIX shell print the target directory to stdout
17573 # if CDPATH is set.
17574 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17575
17576 sed_quote_subst='$sed_quote_subst'
17577 double_quote_subst='$double_quote_subst'
17578 delay_variable_subst='$delay_variable_subst'
17579 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17580 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17581 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17582 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17583 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17584 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17585 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17586 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17587 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17588 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17589 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17590 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17591 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17592 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17593 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17594 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17595 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17596 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17597 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17598 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17599 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17600 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17601 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17602 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17603 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17604 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17605 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17606 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17607 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17608 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17609 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17610 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17611 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17612 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17613 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17614 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17615 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17616 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17617 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17618 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17619 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17620 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17621 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17622 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17623 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17624 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17625 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17626 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17627 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17628 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17629 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17630 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17631 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17632 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17633 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17634 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17635 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17636 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"`'
17637 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17638 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17639 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17640 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17641 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17642 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17643 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17644 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17645 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17646 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17647 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17648 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17649 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17650 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17651 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17652 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17653 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17654 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17655 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17656 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17657 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17658 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17659 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17660 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17661 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17662 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17663 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17664 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17665 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17666 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17667 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17668 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17669 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17670 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17671 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17672 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17673 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17674 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17675 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17676 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17677 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17678 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17679 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17680 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17681 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17682 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17683 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17684 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17685 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17686 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17687 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17688 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17689 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17690 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17691 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17692 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17693 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17694 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17695 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17696 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17697 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17698 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17699 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17700 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17701 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17702 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17703 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17704 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17705 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17706 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17707 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17708 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17709 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17710 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17711 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17712 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17713 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17714 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17715 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17716 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17717 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17718 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17719 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17720 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17721 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17722 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17723 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17724 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17725 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17726 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17727 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17728 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17729 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17730 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17731 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17732 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17733 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17734 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17735 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17736 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17737 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17738 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17739 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17740 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17741 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17742 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17743 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17744 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17745 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17746 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17747 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17748 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17749 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17750 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17751 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17752 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17753 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17754 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17755 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17756 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17757 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17758 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17759 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17760 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17761 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17762 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17763 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17764
17765 LTCC='$LTCC'
17766 LTCFLAGS='$LTCFLAGS'
17767 compiler='$compiler_DEFAULT'
17768
17769 # A function that is used when there is no print builtin or printf.
17770 func_fallback_echo ()
17771 {
17772   eval 'cat <<_LTECHO_EOF
17773 \$1
17774 _LTECHO_EOF'
17775 }
17776
17777 # Quote evaled strings.
17778 for var in AS \
17779 DLLTOOL \
17780 OBJDUMP \
17781 SHELL \
17782 ECHO \
17783 PATH_SEPARATOR \
17784 SED \
17785 GREP \
17786 EGREP \
17787 FGREP \
17788 LD \
17789 NM \
17790 LN_S \
17791 lt_SP2NL \
17792 lt_NL2SP \
17793 reload_flag \
17794 deplibs_check_method \
17795 file_magic_cmd \
17796 file_magic_glob \
17797 want_nocaseglob \
17798 sharedlib_from_linklib_cmd \
17799 AR \
17800 AR_FLAGS \
17801 archiver_list_spec \
17802 STRIP \
17803 RANLIB \
17804 CC \
17805 CFLAGS \
17806 compiler \
17807 lt_cv_sys_global_symbol_pipe \
17808 lt_cv_sys_global_symbol_to_cdecl \
17809 lt_cv_sys_global_symbol_to_c_name_address \
17810 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17811 nm_file_list_spec \
17812 lt_prog_compiler_no_builtin_flag \
17813 lt_prog_compiler_pic \
17814 lt_prog_compiler_wl \
17815 lt_prog_compiler_static \
17816 lt_cv_prog_compiler_c_o \
17817 need_locks \
17818 MANIFEST_TOOL \
17819 DSYMUTIL \
17820 NMEDIT \
17821 LIPO \
17822 OTOOL \
17823 OTOOL64 \
17824 shrext_cmds \
17825 export_dynamic_flag_spec \
17826 whole_archive_flag_spec \
17827 compiler_needs_object \
17828 with_gnu_ld \
17829 allow_undefined_flag \
17830 no_undefined_flag \
17831 hardcode_libdir_flag_spec \
17832 hardcode_libdir_separator \
17833 exclude_expsyms \
17834 include_expsyms \
17835 file_list_spec \
17836 variables_saved_for_relink \
17837 libname_spec \
17838 library_names_spec \
17839 soname_spec \
17840 install_override_mode \
17841 finish_eval \
17842 old_striplib \
17843 striplib \
17844 compiler_lib_search_dirs \
17845 predep_objects \
17846 postdep_objects \
17847 predeps \
17848 postdeps \
17849 compiler_lib_search_path \
17850 LD_CXX \
17851 reload_flag_CXX \
17852 compiler_CXX \
17853 lt_prog_compiler_no_builtin_flag_CXX \
17854 lt_prog_compiler_pic_CXX \
17855 lt_prog_compiler_wl_CXX \
17856 lt_prog_compiler_static_CXX \
17857 lt_cv_prog_compiler_c_o_CXX \
17858 export_dynamic_flag_spec_CXX \
17859 whole_archive_flag_spec_CXX \
17860 compiler_needs_object_CXX \
17861 with_gnu_ld_CXX \
17862 allow_undefined_flag_CXX \
17863 no_undefined_flag_CXX \
17864 hardcode_libdir_flag_spec_CXX \
17865 hardcode_libdir_separator_CXX \
17866 exclude_expsyms_CXX \
17867 include_expsyms_CXX \
17868 file_list_spec_CXX \
17869 compiler_lib_search_dirs_CXX \
17870 predep_objects_CXX \
17871 postdep_objects_CXX \
17872 predeps_CXX \
17873 postdeps_CXX \
17874 compiler_lib_search_path_CXX; do
17875     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17876     *[\\\\\\\`\\"\\\$]*)
17877       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17878       ;;
17879     *)
17880       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17881       ;;
17882     esac
17883 done
17884
17885 # Double-quote double-evaled strings.
17886 for var in reload_cmds \
17887 old_postinstall_cmds \
17888 old_postuninstall_cmds \
17889 old_archive_cmds \
17890 extract_expsyms_cmds \
17891 old_archive_from_new_cmds \
17892 old_archive_from_expsyms_cmds \
17893 archive_cmds \
17894 archive_expsym_cmds \
17895 module_cmds \
17896 module_expsym_cmds \
17897 export_symbols_cmds \
17898 prelink_cmds \
17899 postlink_cmds \
17900 postinstall_cmds \
17901 postuninstall_cmds \
17902 finish_cmds \
17903 sys_lib_search_path_spec \
17904 sys_lib_dlsearch_path_spec \
17905 reload_cmds_CXX \
17906 old_archive_cmds_CXX \
17907 old_archive_from_new_cmds_CXX \
17908 old_archive_from_expsyms_cmds_CXX \
17909 archive_cmds_CXX \
17910 archive_expsym_cmds_CXX \
17911 module_cmds_CXX \
17912 module_expsym_cmds_CXX \
17913 export_symbols_cmds_CXX \
17914 prelink_cmds_CXX \
17915 postlink_cmds_CXX; do
17916     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17917     *[\\\\\\\`\\"\\\$]*)
17918       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17919       ;;
17920     *)
17921       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17922       ;;
17923     esac
17924 done
17925
17926 ac_aux_dir='$ac_aux_dir'
17927 xsi_shell='$xsi_shell'
17928 lt_shell_append='$lt_shell_append'
17929
17930 # See if we are running on zsh, and set the options which allow our
17931 # commands through without removal of \ escapes INIT.
17932 if test -n "\${ZSH_VERSION+set}" ; then
17933    setopt NO_GLOB_SUBST
17934 fi
17935
17936
17937     PACKAGE='$PACKAGE'
17938     VERSION='$VERSION'
17939     TIMESTAMP='$TIMESTAMP'
17940     RM='$RM'
17941     ofile='$ofile'
17942
17943
17944
17945
17946
17947
17948 _ACEOF
17949
17950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17951
17952 # Handling of arguments.
17953 for ac_config_target in $ac_config_targets
17954 do
17955   case $ac_config_target in
17956     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17957     "libxml++config.h") CONFIG_HEADERS="$CONFIG_HEADERS libxml++config.h" ;;
17958     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17959     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17960     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17961     "libxml++/Makefile") CONFIG_FILES="$CONFIG_FILES libxml++/Makefile" ;;
17962     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
17963     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17964     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17965     "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;;
17966     "MSVC_Net2010/libxml++/libxml++.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2010/libxml++/libxml++.rc" ;;
17967     "${LIBXMLXX_MODULE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${LIBXMLXX_MODULE_NAME}.pc:libxml++.pc.in" ;;
17968     "MSVC_Net2010/libxml++/libxml++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2010/libxml++/libxml++config.h" ;;
17969
17970   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17971   esac
17972 done
17973
17974
17975 # If the user did not use the arguments to specify the items to instantiate,
17976 # then the envvar interface is used.  Set only those that are not.
17977 # We use the long form for the default assignment because of an extremely
17978 # bizarre bug on SunOS 4.1.3.
17979 if $ac_need_defaults; then
17980   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17981   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17982   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17983 fi
17984
17985 # Have a temporary directory for convenience.  Make it in the build tree
17986 # simply because there is no reason against having it here, and in addition,
17987 # creating and moving files from /tmp can sometimes cause problems.
17988 # Hook for its removal unless debugging.
17989 # Note that there is a small window in which the directory will not be cleaned:
17990 # after its creation but before its name has been assigned to `$tmp'.
17991 $debug ||
17992 {
17993   tmp= ac_tmp=
17994   trap 'exit_status=$?
17995   : "${ac_tmp:=$tmp}"
17996   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17997 ' 0
17998   trap 'as_fn_exit 1' 1 2 13 15
17999 }
18000 # Create a (secure) tmp directory for tmp files.
18001
18002 {
18003   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18004   test -d "$tmp"
18005 }  ||
18006 {
18007   tmp=./conf$$-$RANDOM
18008   (umask 077 && mkdir "$tmp")
18009 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18010 ac_tmp=$tmp
18011
18012 # Set up the scripts for CONFIG_FILES section.
18013 # No need to generate them if there are no CONFIG_FILES.
18014 # This happens for instance with `./config.status config.h'.
18015 if test -n "$CONFIG_FILES"; then
18016
18017
18018 ac_cr=`echo X | tr X '\015'`
18019 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18020 # But we know of no other shell where ac_cr would be empty at this
18021 # point, so we can use a bashism as a fallback.
18022 if test "x$ac_cr" = x; then
18023   eval ac_cr=\$\'\\r\'
18024 fi
18025 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18026 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18027   ac_cs_awk_cr='\\r'
18028 else
18029   ac_cs_awk_cr=$ac_cr
18030 fi
18031
18032 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18033 _ACEOF
18034
18035
18036 {
18037   echo "cat >conf$$subs.awk <<_ACEOF" &&
18038   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18039   echo "_ACEOF"
18040 } >conf$$subs.sh ||
18041   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18042 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18043 ac_delim='%!_!# '
18044 for ac_last_try in false false false false false :; do
18045   . ./conf$$subs.sh ||
18046     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18047
18048   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18049   if test $ac_delim_n = $ac_delim_num; then
18050     break
18051   elif $ac_last_try; then
18052     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18053   else
18054     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18055   fi
18056 done
18057 rm -f conf$$subs.sh
18058
18059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18060 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18061 _ACEOF
18062 sed -n '
18063 h
18064 s/^/S["/; s/!.*/"]=/
18065 p
18066 g
18067 s/^[^!]*!//
18068 :repl
18069 t repl
18070 s/'"$ac_delim"'$//
18071 t delim
18072 :nl
18073 h
18074 s/\(.\{148\}\)..*/\1/
18075 t more1
18076 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18077 p
18078 n
18079 b repl
18080 :more1
18081 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18082 p
18083 g
18084 s/.\{148\}//
18085 t nl
18086 :delim
18087 h
18088 s/\(.\{148\}\)..*/\1/
18089 t more2
18090 s/["\\]/\\&/g; s/^/"/; s/$/"/
18091 p
18092 b
18093 :more2
18094 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18095 p
18096 g
18097 s/.\{148\}//
18098 t delim
18099 ' <conf$$subs.awk | sed '
18100 /^[^""]/{
18101   N
18102   s/\n//
18103 }
18104 ' >>$CONFIG_STATUS || ac_write_fail=1
18105 rm -f conf$$subs.awk
18106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18107 _ACAWK
18108 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18109   for (key in S) S_is_set[key] = 1
18110   FS = "\a"
18111
18112 }
18113 {
18114   line = $ 0
18115   nfields = split(line, field, "@")
18116   substed = 0
18117   len = length(field[1])
18118   for (i = 2; i < nfields; i++) {
18119     key = field[i]
18120     keylen = length(key)
18121     if (S_is_set[key]) {
18122       value = S[key]
18123       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18124       len += length(value) + length(field[++i])
18125       substed = 1
18126     } else
18127       len += 1 + keylen
18128   }
18129
18130   print line
18131 }
18132
18133 _ACAWK
18134 _ACEOF
18135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18136 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18137   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18138 else
18139   cat
18140 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18141   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18142 _ACEOF
18143
18144 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18145 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18146 # trailing colons and then remove the whole line if VPATH becomes empty
18147 # (actually we leave an empty line to preserve line numbers).
18148 if test "x$srcdir" = x.; then
18149   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
18150 h
18151 s///
18152 s/^/:/
18153 s/[      ]*$/:/
18154 s/:\$(srcdir):/:/g
18155 s/:\${srcdir}:/:/g
18156 s/:@srcdir@:/:/g
18157 s/^:*//
18158 s/:*$//
18159 x
18160 s/\(=[   ]*\).*/\1/
18161 G
18162 s/\n//
18163 s/^[^=]*=[       ]*$//
18164 }'
18165 fi
18166
18167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18168 fi # test -n "$CONFIG_FILES"
18169
18170 # Set up the scripts for CONFIG_HEADERS section.
18171 # No need to generate them if there are no CONFIG_HEADERS.
18172 # This happens for instance with `./config.status Makefile'.
18173 if test -n "$CONFIG_HEADERS"; then
18174 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18175 BEGIN {
18176 _ACEOF
18177
18178 # Transform confdefs.h into an awk script `defines.awk', embedded as
18179 # here-document in config.status, that substitutes the proper values into
18180 # config.h.in to produce config.h.
18181
18182 # Create a delimiter string that does not exist in confdefs.h, to ease
18183 # handling of long lines.
18184 ac_delim='%!_!# '
18185 for ac_last_try in false false :; do
18186   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18187   if test -z "$ac_tt"; then
18188     break
18189   elif $ac_last_try; then
18190     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18191   else
18192     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18193   fi
18194 done
18195
18196 # For the awk script, D is an array of macro values keyed by name,
18197 # likewise P contains macro parameters if any.  Preserve backslash
18198 # newline sequences.
18199
18200 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18201 sed -n '
18202 s/.\{148\}/&'"$ac_delim"'/g
18203 t rset
18204 :rset
18205 s/^[     ]*#[    ]*define[       ][      ]*/ /
18206 t def
18207 d
18208 :def
18209 s/\\$//
18210 t bsnl
18211 s/["\\]/\\&/g
18212 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
18213 D["\1"]=" \3"/p
18214 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
18215 d
18216 :bsnl
18217 s/["\\]/\\&/g
18218 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
18219 D["\1"]=" \3\\\\\\n"\\/p
18220 t cont
18221 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18222 t cont
18223 d
18224 :cont
18225 n
18226 s/.\{148\}/&'"$ac_delim"'/g
18227 t clear
18228 :clear
18229 s/\\$//
18230 t bsnlc
18231 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18232 d
18233 :bsnlc
18234 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18235 b cont
18236 ' <confdefs.h | sed '
18237 s/'"$ac_delim"'/"\\\
18238 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18239
18240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18241   for (key in D) D_is_set[key] = 1
18242   FS = "\a"
18243 }
18244 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18245   line = \$ 0
18246   split(line, arg, " ")
18247   if (arg[1] == "#") {
18248     defundef = arg[2]
18249     mac1 = arg[3]
18250   } else {
18251     defundef = substr(arg[1], 2)
18252     mac1 = arg[2]
18253   }
18254   split(mac1, mac2, "(") #)
18255   macro = mac2[1]
18256   prefix = substr(line, 1, index(line, defundef) - 1)
18257   if (D_is_set[macro]) {
18258     # Preserve the white space surrounding the "#".
18259     print prefix "define", macro P[macro] D[macro]
18260     next
18261   } else {
18262     # Replace #undef with comments.  This is necessary, for example,
18263     # in the case of _POSIX_SOURCE, which is predefined and required
18264     # on some systems where configure will not decide to define it.
18265     if (defundef == "undef") {
18266       print "/*", prefix defundef, macro, "*/"
18267       next
18268     }
18269   }
18270 }
18271 { print }
18272 _ACAWK
18273 _ACEOF
18274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18275   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18276 fi # test -n "$CONFIG_HEADERS"
18277
18278
18279 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18280 shift
18281 for ac_tag
18282 do
18283   case $ac_tag in
18284   :[FHLC]) ac_mode=$ac_tag; continue;;
18285   esac
18286   case $ac_mode$ac_tag in
18287   :[FHL]*:*);;
18288   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18289   :[FH]-) ac_tag=-:-;;
18290   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18291   esac
18292   ac_save_IFS=$IFS
18293   IFS=:
18294   set x $ac_tag
18295   IFS=$ac_save_IFS
18296   shift
18297   ac_file=$1
18298   shift
18299
18300   case $ac_mode in
18301   :L) ac_source=$1;;
18302   :[FH])
18303     ac_file_inputs=
18304     for ac_f
18305     do
18306       case $ac_f in
18307       -) ac_f="$ac_tmp/stdin";;
18308       *) # Look for the file first in the build tree, then in the source tree
18309          # (if the path is not absolute).  The absolute path cannot be DOS-style,
18310          # because $ac_f cannot contain `:'.
18311          test -f "$ac_f" ||
18312            case $ac_f in
18313            [\\/$]*) false;;
18314            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18315            esac ||
18316            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18317       esac
18318       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18319       as_fn_append ac_file_inputs " '$ac_f'"
18320     done
18321
18322     # Let's still pretend it is `configure' which instantiates (i.e., don't
18323     # use $as_me), people would be surprised to read:
18324     #    /* config.h.  Generated by config.status.  */
18325     configure_input='Generated from '`
18326           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18327         `' by configure.'
18328     if test x"$ac_file" != x-; then
18329       configure_input="$ac_file.  $configure_input"
18330       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18331 $as_echo "$as_me: creating $ac_file" >&6;}
18332     fi
18333     # Neutralize special characters interpreted by sed in replacement strings.
18334     case $configure_input in #(
18335     *\&* | *\|* | *\\* )
18336        ac_sed_conf_input=`$as_echo "$configure_input" |
18337        sed 's/[\\\\&|]/\\\\&/g'`;; #(
18338     *) ac_sed_conf_input=$configure_input;;
18339     esac
18340
18341     case $ac_tag in
18342     *:-:* | *:-) cat >"$ac_tmp/stdin" \
18343       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18344     esac
18345     ;;
18346   esac
18347
18348   ac_dir=`$as_dirname -- "$ac_file" ||
18349 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18350          X"$ac_file" : 'X\(//\)[^/]' \| \
18351          X"$ac_file" : 'X\(//\)$' \| \
18352          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18353 $as_echo X"$ac_file" |
18354     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18355             s//\1/
18356             q
18357           }
18358           /^X\(\/\/\)[^/].*/{
18359             s//\1/
18360             q
18361           }
18362           /^X\(\/\/\)$/{
18363             s//\1/
18364             q
18365           }
18366           /^X\(\/\).*/{
18367             s//\1/
18368             q
18369           }
18370           s/.*/./; q'`
18371   as_dir="$ac_dir"; as_fn_mkdir_p
18372   ac_builddir=.
18373
18374 case "$ac_dir" in
18375 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18376 *)
18377   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18378   # A ".." for each directory in $ac_dir_suffix.
18379   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18380   case $ac_top_builddir_sub in
18381   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18382   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18383   esac ;;
18384 esac
18385 ac_abs_top_builddir=$ac_pwd
18386 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18387 # for backward compatibility:
18388 ac_top_builddir=$ac_top_build_prefix
18389
18390 case $srcdir in
18391   .)  # We are building in place.
18392     ac_srcdir=.
18393     ac_top_srcdir=$ac_top_builddir_sub
18394     ac_abs_top_srcdir=$ac_pwd ;;
18395   [\\/]* | ?:[\\/]* )  # Absolute name.
18396     ac_srcdir=$srcdir$ac_dir_suffix;
18397     ac_top_srcdir=$srcdir
18398     ac_abs_top_srcdir=$srcdir ;;
18399   *) # Relative name.
18400     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18401     ac_top_srcdir=$ac_top_build_prefix$srcdir
18402     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18403 esac
18404 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18405
18406
18407   case $ac_mode in
18408   :F)
18409   #
18410   # CONFIG_FILE
18411   #
18412
18413   case $INSTALL in
18414   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18415   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18416   esac
18417   ac_MKDIR_P=$MKDIR_P
18418   case $MKDIR_P in
18419   [\\/$]* | ?:[\\/]* ) ;;
18420   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18421   esac
18422 _ACEOF
18423
18424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18425 # If the template does not know about datarootdir, expand it.
18426 # FIXME: This hack should be removed a few years after 2.60.
18427 ac_datarootdir_hack=; ac_datarootdir_seen=
18428 ac_sed_dataroot='
18429 /datarootdir/ {
18430   p
18431   q
18432 }
18433 /@datadir@/p
18434 /@docdir@/p
18435 /@infodir@/p
18436 /@localedir@/p
18437 /@mandir@/p'
18438 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18439 *datarootdir*) ac_datarootdir_seen=yes;;
18440 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18441   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18442 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18443 _ACEOF
18444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18445   ac_datarootdir_hack='
18446   s&@datadir@&$datadir&g
18447   s&@docdir@&$docdir&g
18448   s&@infodir@&$infodir&g
18449   s&@localedir@&$localedir&g
18450   s&@mandir@&$mandir&g
18451   s&\\\${datarootdir}&$datarootdir&g' ;;
18452 esac
18453 _ACEOF
18454
18455 # Neutralize VPATH when `$srcdir' = `.'.
18456 # Shell code in configure.ac might set extrasub.
18457 # FIXME: do we really want to maintain this feature?
18458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18459 ac_sed_extra="$ac_vpsub
18460 $extrasub
18461 _ACEOF
18462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18463 :t
18464 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18465 s|@configure_input@|$ac_sed_conf_input|;t t
18466 s&@top_builddir@&$ac_top_builddir_sub&;t t
18467 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18468 s&@srcdir@&$ac_srcdir&;t t
18469 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18470 s&@top_srcdir@&$ac_top_srcdir&;t t
18471 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18472 s&@builddir@&$ac_builddir&;t t
18473 s&@abs_builddir@&$ac_abs_builddir&;t t
18474 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18475 s&@INSTALL@&$ac_INSTALL&;t t
18476 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18477 $ac_datarootdir_hack
18478 "
18479 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18480   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18481
18482 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18483   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18484   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18485       "$ac_tmp/out"`; test -z "$ac_out"; } &&
18486   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18487 which seems to be undefined.  Please make sure it is defined" >&5
18488 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18489 which seems to be undefined.  Please make sure it is defined" >&2;}
18490
18491   rm -f "$ac_tmp/stdin"
18492   case $ac_file in
18493   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18494   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18495   esac \
18496   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18497  ;;
18498   :H)
18499   #
18500   # CONFIG_HEADER
18501   #
18502   if test x"$ac_file" != x-; then
18503     {
18504       $as_echo "/* $configure_input  */" \
18505       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18506     } >"$ac_tmp/config.h" \
18507       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18508     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18509       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18510 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18511     else
18512       rm -f "$ac_file"
18513       mv "$ac_tmp/config.h" "$ac_file" \
18514         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18515     fi
18516   else
18517     $as_echo "/* $configure_input  */" \
18518       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18519       || as_fn_error $? "could not create -" "$LINENO" 5
18520   fi
18521 # Compute "$ac_file"'s index in $config_headers.
18522 _am_arg="$ac_file"
18523 _am_stamp_count=1
18524 for _am_header in $config_headers :; do
18525   case $_am_header in
18526     $_am_arg | $_am_arg:* )
18527       break ;;
18528     * )
18529       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18530   esac
18531 done
18532 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18533 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18534          X"$_am_arg" : 'X\(//\)[^/]' \| \
18535          X"$_am_arg" : 'X\(//\)$' \| \
18536          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18537 $as_echo X"$_am_arg" |
18538     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18539             s//\1/
18540             q
18541           }
18542           /^X\(\/\/\)[^/].*/{
18543             s//\1/
18544             q
18545           }
18546           /^X\(\/\/\)$/{
18547             s//\1/
18548             q
18549           }
18550           /^X\(\/\).*/{
18551             s//\1/
18552             q
18553           }
18554           s/.*/./; q'`/stamp-h$_am_stamp_count
18555  ;;
18556
18557   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18558 $as_echo "$as_me: executing $ac_file commands" >&6;}
18559  ;;
18560   esac
18561
18562
18563   case $ac_file$ac_mode in
18564     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18565   # Older Autoconf quotes --file arguments for eval, but not when files
18566   # are listed without --file.  Let's play safe and only enable the eval
18567   # if we detect the quoting.
18568   case $CONFIG_FILES in
18569   *\'*) eval set x "$CONFIG_FILES" ;;
18570   *)   set x $CONFIG_FILES ;;
18571   esac
18572   shift
18573   for mf
18574   do
18575     # Strip MF so we end up with the name of the file.
18576     mf=`echo "$mf" | sed -e 's/:.*$//'`
18577     # Check whether this is an Automake generated Makefile or not.
18578     # We used to match only the files named 'Makefile.in', but
18579     # some people rename them; so instead we look at the file content.
18580     # Grep'ing the first line is not enough: some people post-process
18581     # each Makefile.in and add a new line on top of each file to say so.
18582     # Grep'ing the whole file is not good either: AIX grep has a line
18583     # limit of 2048, but all sed's we know have understand at least 4000.
18584     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18585       dirpart=`$as_dirname -- "$mf" ||
18586 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18587          X"$mf" : 'X\(//\)[^/]' \| \
18588          X"$mf" : 'X\(//\)$' \| \
18589          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18590 $as_echo X"$mf" |
18591     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18592             s//\1/
18593             q
18594           }
18595           /^X\(\/\/\)[^/].*/{
18596             s//\1/
18597             q
18598           }
18599           /^X\(\/\/\)$/{
18600             s//\1/
18601             q
18602           }
18603           /^X\(\/\).*/{
18604             s//\1/
18605             q
18606           }
18607           s/.*/./; q'`
18608     else
18609       continue
18610     fi
18611     # Extract the definition of DEPDIR, am__include, and am__quote
18612     # from the Makefile without running 'make'.
18613     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18614     test -z "$DEPDIR" && continue
18615     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18616     test -z "$am__include" && continue
18617     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18618     # Find all dependency output files, they are included files with
18619     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18620     # simplest approach to changing $(DEPDIR) to its actual value in the
18621     # expansion.
18622     for file in `sed -n "
18623       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18624          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18625       # Make sure the directory exists.
18626       test -f "$dirpart/$file" && continue
18627       fdir=`$as_dirname -- "$file" ||
18628 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18629          X"$file" : 'X\(//\)[^/]' \| \
18630          X"$file" : 'X\(//\)$' \| \
18631          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18632 $as_echo X"$file" |
18633     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18634             s//\1/
18635             q
18636           }
18637           /^X\(\/\/\)[^/].*/{
18638             s//\1/
18639             q
18640           }
18641           /^X\(\/\/\)$/{
18642             s//\1/
18643             q
18644           }
18645           /^X\(\/\).*/{
18646             s//\1/
18647             q
18648           }
18649           s/.*/./; q'`
18650       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18651       # echo "creating $dirpart/$file"
18652       echo '# dummy' > "$dirpart/$file"
18653     done
18654   done
18655 }
18656  ;;
18657     "libtool":C)
18658
18659     # See if we are running on zsh, and set the options which allow our
18660     # commands through without removal of \ escapes.
18661     if test -n "${ZSH_VERSION+set}" ; then
18662       setopt NO_GLOB_SUBST
18663     fi
18664
18665     cfgfile="${ofile}T"
18666     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18667     $RM "$cfgfile"
18668
18669     cat <<_LT_EOF >> "$cfgfile"
18670 #! $SHELL
18671
18672 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18673 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18674 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18675 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18676 #
18677 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18678 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18679 #                 Foundation, Inc.
18680 #   Written by Gordon Matzigkeit, 1996
18681 #
18682 #   This file is part of GNU Libtool.
18683 #
18684 # GNU Libtool is free software; you can redistribute it and/or
18685 # modify it under the terms of the GNU General Public License as
18686 # published by the Free Software Foundation; either version 2 of
18687 # the License, or (at your option) any later version.
18688 #
18689 # As a special exception to the GNU General Public License,
18690 # if you distribute this file as part of a program or library that
18691 # is built using GNU Libtool, you may include this file under the
18692 # same distribution terms that you use for the rest of that program.
18693 #
18694 # GNU Libtool is distributed in the hope that it will be useful,
18695 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18696 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18697 # GNU General Public License for more details.
18698 #
18699 # You should have received a copy of the GNU General Public License
18700 # along with GNU Libtool; see the file COPYING.  If not, a copy
18701 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18702 # obtained by writing to the Free Software Foundation, Inc.,
18703 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18704
18705
18706 # The names of the tagged configurations supported by this script.
18707 available_tags="CXX "
18708
18709 # ### BEGIN LIBTOOL CONFIG
18710
18711 # Which release of libtool.m4 was used?
18712 macro_version=$macro_version
18713 macro_revision=$macro_revision
18714
18715 # Assembler program.
18716 AS=$lt_AS
18717
18718 # DLL creation program.
18719 DLLTOOL=$lt_DLLTOOL
18720
18721 # Object dumper program.
18722 OBJDUMP=$lt_OBJDUMP
18723
18724 # Whether or not to build static libraries.
18725 build_old_libs=$enable_static
18726
18727 # Whether or not to build shared libraries.
18728 build_libtool_libs=$enable_shared
18729
18730 # What type of objects to build.
18731 pic_mode=$pic_mode
18732
18733 # Whether or not to optimize for fast installation.
18734 fast_install=$enable_fast_install
18735
18736 # Shell to use when invoking shell scripts.
18737 SHELL=$lt_SHELL
18738
18739 # An echo program that protects backslashes.
18740 ECHO=$lt_ECHO
18741
18742 # The PATH separator for the build system.
18743 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18744
18745 # The host system.
18746 host_alias=$host_alias
18747 host=$host
18748 host_os=$host_os
18749
18750 # The build system.
18751 build_alias=$build_alias
18752 build=$build
18753 build_os=$build_os
18754
18755 # A sed program that does not truncate output.
18756 SED=$lt_SED
18757
18758 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18759 Xsed="\$SED -e 1s/^X//"
18760
18761 # A grep program that handles long lines.
18762 GREP=$lt_GREP
18763
18764 # An ERE matcher.
18765 EGREP=$lt_EGREP
18766
18767 # A literal string matcher.
18768 FGREP=$lt_FGREP
18769
18770 # A BSD- or MS-compatible name lister.
18771 NM=$lt_NM
18772
18773 # Whether we need soft or hard links.
18774 LN_S=$lt_LN_S
18775
18776 # What is the maximum length of a command?
18777 max_cmd_len=$max_cmd_len
18778
18779 # Object file suffix (normally "o").
18780 objext=$ac_objext
18781
18782 # Executable file suffix (normally "").
18783 exeext=$exeext
18784
18785 # whether the shell understands "unset".
18786 lt_unset=$lt_unset
18787
18788 # turn spaces into newlines.
18789 SP2NL=$lt_lt_SP2NL
18790
18791 # turn newlines into spaces.
18792 NL2SP=$lt_lt_NL2SP
18793
18794 # convert \$build file names to \$host format.
18795 to_host_file_cmd=$lt_cv_to_host_file_cmd
18796
18797 # convert \$build files to toolchain format.
18798 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18799
18800 # Method to check whether dependent libraries are shared objects.
18801 deplibs_check_method=$lt_deplibs_check_method
18802
18803 # Command to use when deplibs_check_method = "file_magic".
18804 file_magic_cmd=$lt_file_magic_cmd
18805
18806 # How to find potential files when deplibs_check_method = "file_magic".
18807 file_magic_glob=$lt_file_magic_glob
18808
18809 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18810 want_nocaseglob=$lt_want_nocaseglob
18811
18812 # Command to associate shared and link libraries.
18813 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18814
18815 # The archiver.
18816 AR=$lt_AR
18817
18818 # Flags to create an archive.
18819 AR_FLAGS=$lt_AR_FLAGS
18820
18821 # How to feed a file listing to the archiver.
18822 archiver_list_spec=$lt_archiver_list_spec
18823
18824 # A symbol stripping program.
18825 STRIP=$lt_STRIP
18826
18827 # Commands used to install an old-style archive.
18828 RANLIB=$lt_RANLIB
18829 old_postinstall_cmds=$lt_old_postinstall_cmds
18830 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18831
18832 # Whether to use a lock for old archive extraction.
18833 lock_old_archive_extraction=$lock_old_archive_extraction
18834
18835 # A C compiler.
18836 LTCC=$lt_CC
18837
18838 # LTCC compiler flags.
18839 LTCFLAGS=$lt_CFLAGS
18840
18841 # Take the output of nm and produce a listing of raw symbols and C names.
18842 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18843
18844 # Transform the output of nm in a proper C declaration.
18845 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18846
18847 # Transform the output of nm in a C name address pair.
18848 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18849
18850 # Transform the output of nm in a C name address pair when lib prefix is needed.
18851 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18852
18853 # Specify filename containing input files for \$NM.
18854 nm_file_list_spec=$lt_nm_file_list_spec
18855
18856 # The root where to search for dependent libraries,and in which our libraries should be installed.
18857 lt_sysroot=$lt_sysroot
18858
18859 # The name of the directory that contains temporary libtool files.
18860 objdir=$objdir
18861
18862 # Used to examine libraries when file_magic_cmd begins with "file".
18863 MAGIC_CMD=$MAGIC_CMD
18864
18865 # Must we lock files when doing compilation?
18866 need_locks=$lt_need_locks
18867
18868 # Manifest tool.
18869 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18870
18871 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18872 DSYMUTIL=$lt_DSYMUTIL
18873
18874 # Tool to change global to local symbols on Mac OS X.
18875 NMEDIT=$lt_NMEDIT
18876
18877 # Tool to manipulate fat objects and archives on Mac OS X.
18878 LIPO=$lt_LIPO
18879
18880 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18881 OTOOL=$lt_OTOOL
18882
18883 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18884 OTOOL64=$lt_OTOOL64
18885
18886 # Old archive suffix (normally "a").
18887 libext=$libext
18888
18889 # Shared library suffix (normally ".so").
18890 shrext_cmds=$lt_shrext_cmds
18891
18892 # The commands to extract the exported symbol list from a shared archive.
18893 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18894
18895 # Variables whose values should be saved in libtool wrapper scripts and
18896 # restored at link time.
18897 variables_saved_for_relink=$lt_variables_saved_for_relink
18898
18899 # Do we need the "lib" prefix for modules?
18900 need_lib_prefix=$need_lib_prefix
18901
18902 # Do we need a version for libraries?
18903 need_version=$need_version
18904
18905 # Library versioning type.
18906 version_type=$version_type
18907
18908 # Shared library runtime path variable.
18909 runpath_var=$runpath_var
18910
18911 # Shared library path variable.
18912 shlibpath_var=$shlibpath_var
18913
18914 # Is shlibpath searched before the hard-coded library search path?
18915 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18916
18917 # Format of library name prefix.
18918 libname_spec=$lt_libname_spec
18919
18920 # List of archive names.  First name is the real one, the rest are links.
18921 # The last name is the one that the linker finds with -lNAME
18922 library_names_spec=$lt_library_names_spec
18923
18924 # The coded name of the library, if different from the real name.
18925 soname_spec=$lt_soname_spec
18926
18927 # Permission mode override for installation of shared libraries.
18928 install_override_mode=$lt_install_override_mode
18929
18930 # Command to use after installation of a shared archive.
18931 postinstall_cmds=$lt_postinstall_cmds
18932
18933 # Command to use after uninstallation of a shared archive.
18934 postuninstall_cmds=$lt_postuninstall_cmds
18935
18936 # Commands used to finish a libtool library installation in a directory.
18937 finish_cmds=$lt_finish_cmds
18938
18939 # As "finish_cmds", except a single script fragment to be evaled but
18940 # not shown.
18941 finish_eval=$lt_finish_eval
18942
18943 # Whether we should hardcode library paths into libraries.
18944 hardcode_into_libs=$hardcode_into_libs
18945
18946 # Compile-time system search path for libraries.
18947 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18948
18949 # Run-time system search path for libraries.
18950 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18951
18952 # Whether dlopen is supported.
18953 dlopen_support=$enable_dlopen
18954
18955 # Whether dlopen of programs is supported.
18956 dlopen_self=$enable_dlopen_self
18957
18958 # Whether dlopen of statically linked programs is supported.
18959 dlopen_self_static=$enable_dlopen_self_static
18960
18961 # Commands to strip libraries.
18962 old_striplib=$lt_old_striplib
18963 striplib=$lt_striplib
18964
18965
18966 # The linker used to build libraries.
18967 LD=$lt_LD
18968
18969 # How to create reloadable object files.
18970 reload_flag=$lt_reload_flag
18971 reload_cmds=$lt_reload_cmds
18972
18973 # Commands used to build an old-style archive.
18974 old_archive_cmds=$lt_old_archive_cmds
18975
18976 # A language specific compiler.
18977 CC=$lt_compiler
18978
18979 # Is the compiler the GNU compiler?
18980 with_gcc=$GCC
18981
18982 # Compiler flag to turn off builtin functions.
18983 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18984
18985 # Additional compiler flags for building library objects.
18986 pic_flag=$lt_lt_prog_compiler_pic
18987
18988 # How to pass a linker flag through the compiler.
18989 wl=$lt_lt_prog_compiler_wl
18990
18991 # Compiler flag to prevent dynamic linking.
18992 link_static_flag=$lt_lt_prog_compiler_static
18993
18994 # Does compiler simultaneously support -c and -o options?
18995 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18996
18997 # Whether or not to add -lc for building shared libraries.
18998 build_libtool_need_lc=$archive_cmds_need_lc
18999
19000 # Whether or not to disallow shared libs when runtime libs are static.
19001 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19002
19003 # Compiler flag to allow reflexive dlopens.
19004 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19005
19006 # Compiler flag to generate shared objects directly from archives.
19007 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19008
19009 # Whether the compiler copes with passing no objects directly.
19010 compiler_needs_object=$lt_compiler_needs_object
19011
19012 # Create an old-style archive from a shared archive.
19013 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19014
19015 # Create a temporary old-style archive to link instead of a shared archive.
19016 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19017
19018 # Commands used to build a shared archive.
19019 archive_cmds=$lt_archive_cmds
19020 archive_expsym_cmds=$lt_archive_expsym_cmds
19021
19022 # Commands used to build a loadable module if different from building
19023 # a shared archive.
19024 module_cmds=$lt_module_cmds
19025 module_expsym_cmds=$lt_module_expsym_cmds
19026
19027 # Whether we are building with GNU ld or not.
19028 with_gnu_ld=$lt_with_gnu_ld
19029
19030 # Flag that allows shared libraries with undefined symbols to be built.
19031 allow_undefined_flag=$lt_allow_undefined_flag
19032
19033 # Flag that enforces no undefined symbols.
19034 no_undefined_flag=$lt_no_undefined_flag
19035
19036 # Flag to hardcode \$libdir into a binary during linking.
19037 # This must work even if \$libdir does not exist
19038 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19039
19040 # Whether we need a single "-rpath" flag with a separated argument.
19041 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19042
19043 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19044 # DIR into the resulting binary.
19045 hardcode_direct=$hardcode_direct
19046
19047 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19048 # DIR into the resulting binary and the resulting library dependency is
19049 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19050 # library is relocated.
19051 hardcode_direct_absolute=$hardcode_direct_absolute
19052
19053 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19054 # into the resulting binary.
19055 hardcode_minus_L=$hardcode_minus_L
19056
19057 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19058 # into the resulting binary.
19059 hardcode_shlibpath_var=$hardcode_shlibpath_var
19060
19061 # Set to "yes" if building a shared library automatically hardcodes DIR
19062 # into the library and all subsequent libraries and executables linked
19063 # against it.
19064 hardcode_automatic=$hardcode_automatic
19065
19066 # Set to yes if linker adds runtime paths of dependent libraries
19067 # to runtime path list.
19068 inherit_rpath=$inherit_rpath
19069
19070 # Whether libtool must link a program against all its dependency libraries.
19071 link_all_deplibs=$link_all_deplibs
19072
19073 # Set to "yes" if exported symbols are required.
19074 always_export_symbols=$always_export_symbols
19075
19076 # The commands to list exported symbols.
19077 export_symbols_cmds=$lt_export_symbols_cmds
19078
19079 # Symbols that should not be listed in the preloaded symbols.
19080 exclude_expsyms=$lt_exclude_expsyms
19081
19082 # Symbols that must always be exported.
19083 include_expsyms=$lt_include_expsyms
19084
19085 # Commands necessary for linking programs (against libraries) with templates.
19086 prelink_cmds=$lt_prelink_cmds
19087
19088 # Commands necessary for finishing linking programs.
19089 postlink_cmds=$lt_postlink_cmds
19090
19091 # Specify filename containing input files.
19092 file_list_spec=$lt_file_list_spec
19093
19094 # How to hardcode a shared library path into an executable.
19095 hardcode_action=$hardcode_action
19096
19097 # The directories searched by this compiler when creating a shared library.
19098 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19099
19100 # Dependencies to place before and after the objects being linked to
19101 # create a shared library.
19102 predep_objects=$lt_predep_objects
19103 postdep_objects=$lt_postdep_objects
19104 predeps=$lt_predeps
19105 postdeps=$lt_postdeps
19106
19107 # The library search path used internally by the compiler when linking
19108 # a shared library.
19109 compiler_lib_search_path=$lt_compiler_lib_search_path
19110
19111 # ### END LIBTOOL CONFIG
19112
19113 _LT_EOF
19114
19115   case $host_os in
19116   aix3*)
19117     cat <<\_LT_EOF >> "$cfgfile"
19118 # AIX sometimes has problems with the GCC collect2 program.  For some
19119 # reason, if we set the COLLECT_NAMES environment variable, the problems
19120 # vanish in a puff of smoke.
19121 if test "X${COLLECT_NAMES+set}" != Xset; then
19122   COLLECT_NAMES=
19123   export COLLECT_NAMES
19124 fi
19125 _LT_EOF
19126     ;;
19127   esac
19128
19129
19130 ltmain="$ac_aux_dir/ltmain.sh"
19131
19132
19133   # We use sed instead of cat because bash on DJGPP gets confused if
19134   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19135   # text mode, it properly converts lines to CR/LF.  This bash problem
19136   # is reportedly fixed, but why not run on old versions too?
19137   sed '$q' "$ltmain" >> "$cfgfile" \
19138      || (rm -f "$cfgfile"; exit 1)
19139
19140   if test x"$xsi_shell" = xyes; then
19141   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19142 func_dirname ()\
19143 {\
19144 \    case ${1} in\
19145 \      */*) func_dirname_result="${1%/*}${2}" ;;\
19146 \      *  ) func_dirname_result="${3}" ;;\
19147 \    esac\
19148 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19149   && mv -f "$cfgfile.tmp" "$cfgfile" \
19150     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19151 test 0 -eq $? || _lt_function_replace_fail=:
19152
19153
19154   sed -e '/^func_basename ()$/,/^} # func_basename /c\
19155 func_basename ()\
19156 {\
19157 \    func_basename_result="${1##*/}"\
19158 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19159   && mv -f "$cfgfile.tmp" "$cfgfile" \
19160     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19161 test 0 -eq $? || _lt_function_replace_fail=:
19162
19163
19164   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19165 func_dirname_and_basename ()\
19166 {\
19167 \    case ${1} in\
19168 \      */*) func_dirname_result="${1%/*}${2}" ;;\
19169 \      *  ) func_dirname_result="${3}" ;;\
19170 \    esac\
19171 \    func_basename_result="${1##*/}"\
19172 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19173   && mv -f "$cfgfile.tmp" "$cfgfile" \
19174     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19175 test 0 -eq $? || _lt_function_replace_fail=:
19176
19177
19178   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19179 func_stripname ()\
19180 {\
19181 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19182 \    # positional parameters, so assign one to ordinary parameter first.\
19183 \    func_stripname_result=${3}\
19184 \    func_stripname_result=${func_stripname_result#"${1}"}\
19185 \    func_stripname_result=${func_stripname_result%"${2}"}\
19186 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19187   && mv -f "$cfgfile.tmp" "$cfgfile" \
19188     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19189 test 0 -eq $? || _lt_function_replace_fail=:
19190
19191
19192   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19193 func_split_long_opt ()\
19194 {\
19195 \    func_split_long_opt_name=${1%%=*}\
19196 \    func_split_long_opt_arg=${1#*=}\
19197 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19198   && mv -f "$cfgfile.tmp" "$cfgfile" \
19199     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19200 test 0 -eq $? || _lt_function_replace_fail=:
19201
19202
19203   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19204 func_split_short_opt ()\
19205 {\
19206 \    func_split_short_opt_arg=${1#??}\
19207 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19208 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19209   && mv -f "$cfgfile.tmp" "$cfgfile" \
19210     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19211 test 0 -eq $? || _lt_function_replace_fail=:
19212
19213
19214   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19215 func_lo2o ()\
19216 {\
19217 \    case ${1} in\
19218 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19219 \      *)    func_lo2o_result=${1} ;;\
19220 \    esac\
19221 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19222   && mv -f "$cfgfile.tmp" "$cfgfile" \
19223     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19224 test 0 -eq $? || _lt_function_replace_fail=:
19225
19226
19227   sed -e '/^func_xform ()$/,/^} # func_xform /c\
19228 func_xform ()\
19229 {\
19230     func_xform_result=${1%.*}.lo\
19231 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19232   && mv -f "$cfgfile.tmp" "$cfgfile" \
19233     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19234 test 0 -eq $? || _lt_function_replace_fail=:
19235
19236
19237   sed -e '/^func_arith ()$/,/^} # func_arith /c\
19238 func_arith ()\
19239 {\
19240     func_arith_result=$(( $* ))\
19241 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19242   && mv -f "$cfgfile.tmp" "$cfgfile" \
19243     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19244 test 0 -eq $? || _lt_function_replace_fail=:
19245
19246
19247   sed -e '/^func_len ()$/,/^} # func_len /c\
19248 func_len ()\
19249 {\
19250     func_len_result=${#1}\
19251 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19252   && mv -f "$cfgfile.tmp" "$cfgfile" \
19253     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19254 test 0 -eq $? || _lt_function_replace_fail=:
19255
19256 fi
19257
19258 if test x"$lt_shell_append" = xyes; then
19259   sed -e '/^func_append ()$/,/^} # func_append /c\
19260 func_append ()\
19261 {\
19262     eval "${1}+=\\${2}"\
19263 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19264   && mv -f "$cfgfile.tmp" "$cfgfile" \
19265     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19266 test 0 -eq $? || _lt_function_replace_fail=:
19267
19268
19269   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19270 func_append_quoted ()\
19271 {\
19272 \    func_quote_for_eval "${2}"\
19273 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19274 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19275   && mv -f "$cfgfile.tmp" "$cfgfile" \
19276     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19277 test 0 -eq $? || _lt_function_replace_fail=:
19278
19279
19280   # Save a `func_append' function call where possible by direct use of '+='
19281   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19282     && mv -f "$cfgfile.tmp" "$cfgfile" \
19283       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19284   test 0 -eq $? || _lt_function_replace_fail=:
19285 else
19286   # Save a `func_append' function call even when '+=' is not available
19287   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19288     && mv -f "$cfgfile.tmp" "$cfgfile" \
19289       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19290   test 0 -eq $? || _lt_function_replace_fail=:
19291 fi
19292
19293 if test x"$_lt_function_replace_fail" = x":"; then
19294   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19295 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19296 fi
19297
19298
19299    mv -f "$cfgfile" "$ofile" ||
19300     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19301   chmod +x "$ofile"
19302
19303
19304     cat <<_LT_EOF >> "$ofile"
19305
19306 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19307
19308 # The linker used to build libraries.
19309 LD=$lt_LD_CXX
19310
19311 # How to create reloadable object files.
19312 reload_flag=$lt_reload_flag_CXX
19313 reload_cmds=$lt_reload_cmds_CXX
19314
19315 # Commands used to build an old-style archive.
19316 old_archive_cmds=$lt_old_archive_cmds_CXX
19317
19318 # A language specific compiler.
19319 CC=$lt_compiler_CXX
19320
19321 # Is the compiler the GNU compiler?
19322 with_gcc=$GCC_CXX
19323
19324 # Compiler flag to turn off builtin functions.
19325 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19326
19327 # Additional compiler flags for building library objects.
19328 pic_flag=$lt_lt_prog_compiler_pic_CXX
19329
19330 # How to pass a linker flag through the compiler.
19331 wl=$lt_lt_prog_compiler_wl_CXX
19332
19333 # Compiler flag to prevent dynamic linking.
19334 link_static_flag=$lt_lt_prog_compiler_static_CXX
19335
19336 # Does compiler simultaneously support -c and -o options?
19337 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19338
19339 # Whether or not to add -lc for building shared libraries.
19340 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19341
19342 # Whether or not to disallow shared libs when runtime libs are static.
19343 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19344
19345 # Compiler flag to allow reflexive dlopens.
19346 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19347
19348 # Compiler flag to generate shared objects directly from archives.
19349 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19350
19351 # Whether the compiler copes with passing no objects directly.
19352 compiler_needs_object=$lt_compiler_needs_object_CXX
19353
19354 # Create an old-style archive from a shared archive.
19355 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19356
19357 # Create a temporary old-style archive to link instead of a shared archive.
19358 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19359
19360 # Commands used to build a shared archive.
19361 archive_cmds=$lt_archive_cmds_CXX
19362 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19363
19364 # Commands used to build a loadable module if different from building
19365 # a shared archive.
19366 module_cmds=$lt_module_cmds_CXX
19367 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19368
19369 # Whether we are building with GNU ld or not.
19370 with_gnu_ld=$lt_with_gnu_ld_CXX
19371
19372 # Flag that allows shared libraries with undefined symbols to be built.
19373 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19374
19375 # Flag that enforces no undefined symbols.
19376 no_undefined_flag=$lt_no_undefined_flag_CXX
19377
19378 # Flag to hardcode \$libdir into a binary during linking.
19379 # This must work even if \$libdir does not exist
19380 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19381
19382 # Whether we need a single "-rpath" flag with a separated argument.
19383 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19384
19385 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19386 # DIR into the resulting binary.
19387 hardcode_direct=$hardcode_direct_CXX
19388
19389 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19390 # DIR into the resulting binary and the resulting library dependency is
19391 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19392 # library is relocated.
19393 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19394
19395 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19396 # into the resulting binary.
19397 hardcode_minus_L=$hardcode_minus_L_CXX
19398
19399 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19400 # into the resulting binary.
19401 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19402
19403 # Set to "yes" if building a shared library automatically hardcodes DIR
19404 # into the library and all subsequent libraries and executables linked
19405 # against it.
19406 hardcode_automatic=$hardcode_automatic_CXX
19407
19408 # Set to yes if linker adds runtime paths of dependent libraries
19409 # to runtime path list.
19410 inherit_rpath=$inherit_rpath_CXX
19411
19412 # Whether libtool must link a program against all its dependency libraries.
19413 link_all_deplibs=$link_all_deplibs_CXX
19414
19415 # Set to "yes" if exported symbols are required.
19416 always_export_symbols=$always_export_symbols_CXX
19417
19418 # The commands to list exported symbols.
19419 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19420
19421 # Symbols that should not be listed in the preloaded symbols.
19422 exclude_expsyms=$lt_exclude_expsyms_CXX
19423
19424 # Symbols that must always be exported.
19425 include_expsyms=$lt_include_expsyms_CXX
19426
19427 # Commands necessary for linking programs (against libraries) with templates.
19428 prelink_cmds=$lt_prelink_cmds_CXX
19429
19430 # Commands necessary for finishing linking programs.
19431 postlink_cmds=$lt_postlink_cmds_CXX
19432
19433 # Specify filename containing input files.
19434 file_list_spec=$lt_file_list_spec_CXX
19435
19436 # How to hardcode a shared library path into an executable.
19437 hardcode_action=$hardcode_action_CXX
19438
19439 # The directories searched by this compiler when creating a shared library.
19440 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19441
19442 # Dependencies to place before and after the objects being linked to
19443 # create a shared library.
19444 predep_objects=$lt_predep_objects_CXX
19445 postdep_objects=$lt_postdep_objects_CXX
19446 predeps=$lt_predeps_CXX
19447 postdeps=$lt_postdeps_CXX
19448
19449 # The library search path used internally by the compiler when linking
19450 # a shared library.
19451 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19452
19453 # ### END LIBTOOL TAG CONFIG: CXX
19454 _LT_EOF
19455
19456  ;;
19457     "MSVC_Net2010/libxml++/libxml++config.h":C) cp -f libxml++config.h MSVC_Net2010/libxml++/libxml++config.h ;;
19458
19459   esac
19460 done # for ac_tag
19461
19462
19463 as_fn_exit 0
19464 _ACEOF
19465 ac_clean_files=$ac_clean_files_save
19466
19467 test $ac_write_fail = 0 ||
19468   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19469
19470
19471 # configure is writing to config.log, and then calls config.status.
19472 # config.status does its own redirection, appending to config.log.
19473 # Unfortunately, on DOS this fails, as config.log is still kept open
19474 # by configure, so config.status won't be able to write to it; its
19475 # output is simply discarded.  So we exec the FD to /dev/null,
19476 # effectively closing config.log, so it can be properly (re)opened and
19477 # appended to by config.status.  When coming back to configure, we
19478 # need to make the FD available again.
19479 if test "$no_create" != yes; then
19480   ac_cs_success=:
19481   ac_config_status_args=
19482   test "$silent" = yes &&
19483     ac_config_status_args="$ac_config_status_args --quiet"
19484   exec 5>/dev/null
19485   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19486   exec 5>>config.log
19487   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19488   # would make configure fail if this is the last instruction.
19489   $ac_cs_success || as_fn_exit 1
19490 fi
19491 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19492   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19493 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19494 fi
19495